:root {
    /* Color Palette */
    --bg-base: #0a0a0c;
    --text-primary: #ffffff;
    --text-secondary: #86868b;
    --text-muted: #515154;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #00C6FF 100%);
    --gradient-secondary: linear-gradient(135deg, #AF52DE 0%, #FF2D55 100%);
    --gradient-tertiary: linear-gradient(135deg, #FF9500 0%, #FFCC00 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-highlight: rgba(255, 255, 255, 0.15);
    
    /* Elevation */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.5);
    
    /* Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.15), transparent 70%);
    top: -10%;
    left: -10%;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(175, 82, 222, 0.1), transparent 70%);
    bottom: 20%;
    right: -10%;
    animation-delay: -5s;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.08), transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.noise-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    mix-blend-mode: overlay;
}

/* Gradients text */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-primary { background-image: var(--gradient-primary); }
.gradient-secondary { background-image: var(--gradient-secondary); }
.gradient-tertiary { background-image: var(--gradient-tertiary); }

/* Buttons */
.btn-nav-download {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}
.btn-nav-download:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.btn-primary-large {
    position: relative;
    padding: 16px 36px;
    background: var(--gradient-primary);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}
.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.4);
}
.btn-glow {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: btnSweep 3s infinite;
}
@keyframes btnSweep {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.btn-secondary-large {
    padding: 16px 36px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    backdrop-filter: blur(12px);
}
.btn-secondary-large:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-highlight);
    transform: translateY(-2px);
}

/* Nav */
.premium-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 72px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}
.premium-nav.scrolled {
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.logo img {
    width: 36px; height: 36px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a:not(.btn-nav-download) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.nav-links a:not(.btn-nav-download):hover {
    color: var(--text-primary);
}
.menu-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px;
}
.menu-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--text-primary); border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}
.badge-accent {
    background: rgba(0, 122, 255, 0.1);
    border-color: rgba(0, 122, 255, 0.2);
    color: #4facfe;
}
.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}
.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Visual & Glass Panels */
.hero-visual {
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.app-mockup {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: var(--transition-bounce);
}
.app-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
    border-color: var(--glass-border-highlight);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.mac-dots {
    display: flex; gap: 8px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28C940; }

.mockup-content {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mascot-float {
    position: absolute;
    width: 50%;
    z-index: 0;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}
.status-ring {
    position: relative;
    width: 160px; height: 160px;
    z-index: 1;
}
.status-ring svg {
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}
.ring-progress {
    fill: none;
    stroke: url(#ringGradient); /* Fallback */
    stroke: #00C6FF;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 60; /* Approx 80% */
    animation: fillRing 2s ease-out forwards;
}
.status-text-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.status-score {
    display: block; font-size: 2.5rem; font-weight: 700; line-height: 1;
}
.status-label {
    display: block; font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
    100% { transform: translateY(0px) scale(1); }
}
@keyframes fillRing {
    0% { stroke-dashoffset: 283; }
    100% { stroke-dashoffset: 56; } /* 80% */
}

/* Sections */
.section {
    padding: 120px 0;
}
.section-header {
    text-align: center; margin-bottom: 80px;
}
.section-title {
    font-size: 3rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.feature-card {
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.feature-card:hover {
    transform: translateY(-8px);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-highlight);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrapper {
    position: relative; width: 56px; height: 56px; margin-bottom: 24px;
}
.feature-icon {
    width: 100%; height: 100%; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 2; color: #fff;
}
.icon-blue { background: var(--gradient-primary); }
.icon-purple { background: var(--gradient-secondary); }
.icon-orange { background: var(--gradient-tertiary); }
.icon-green { background: linear-gradient(135deg, #34C759, #30D158); }

.icon-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%; filter: blur(15px); z-index: 1; opacity: 0.5; transition: opacity 0.3s;
}
.feature-card:hover .icon-glow { opacity: 0.8; filter: blur(20px); }
.glow-blue { background: #007AFF; }
.glow-purple { background: #AF52DE; }
.glow-orange { background: #FF9500; }
.glow-green { background: #34C759; }

.feature-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.feature-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }

/* Design Section */
.design-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.design-desc {
    font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 30px;
}
.design-list li {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 500;
}
.check-icon {
    width: 24px; height: 24px; border-radius: 50%; background: rgba(52, 199, 89, 0.1);
    display: flex; align-items: center; justify-content: center; color: #34C759;
}
.check-icon svg { width: 14px; height: 14px; }

.design-visual {
    position: relative; height: 400px;
    display: flex; align-items: center; justify-content: center;
}
.abstract-shape {
    position: absolute; background: var(--gradient-primary); border-radius: 30%;
    filter: blur(40px); opacity: 0.3; animation: drift 10s infinite alternate;
}
.shape-1 { width: 200px; height: 200px; top: 10%; right: 10%; }
.shape-2 { width: 300px; height: 300px; bottom: 0; left: 10%; background: var(--gradient-secondary); animation-delay: -3s; }

.glass-showcase {
    width: 80%; height: 80%; position: relative; z-index: 2;
    display: flex; flex-direction: column;
}
.showcase-header { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.showcase-body { display: flex; flex: 1; padding: 20px; gap: 20px; }
.showcase-sidebar { width: 30%; display: flex; flex-direction: column; gap: 10px; }
.showcase-main { flex: 1; display: flex; flex-direction: column; }
.skel-line { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; }
.skel-block { height: 100px; background: rgba(255,255,255,0.05); border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.w-full { width: 100%; } .w-3-4 { width: 75%; } .w-1-2 { width: 50%; } .w-5-6 { width: 83%; } .mt-4 { margin-top: 16px; }

/* Footer */
.premium-footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px; margin-top: 60px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5));
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px;
}
.footer-slogan { margin-top: 16px; color: var(--text-secondary); font-size: 0.95rem; }
.footer-links-group h4 { font-size: 1rem; font-weight: 600; margin-bottom: 20px; color: #fff; }
.footer-links-group a { display: block; margin-bottom: 12px; color: var(--text-secondary); font-size: 0.95rem; }
.footer-links-group a:hover { color: #fff; transform: translateX(5px); }
.footer-bottom {
    padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.85rem;
}

/* Animations Trigger Classes */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: var(--delay, 0s); }
.reveal-up.active { opacity: 1; transform: translateY(0); }

.reveal-fade { opacity: 0; transition: opacity 1s ease; transition-delay: var(--delay, 0s); }
.reveal-fade.active { opacity: 1; }

.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: var(--delay, 0s); }
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* Responsive */
@media (max-width: 900px) {
    .hero-container, .design-container { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 3.5rem; }
    .hero-description { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .hero-title { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
