/* Modern FocusLab Website - Dark Theme with Glassmorphism */

/* CSS Variables */
:root {
    /* Primary gradient colors */
    --gradient-start: #6366f1;
    --gradient-mid: #8b5cf6;
    --gradient-end: #d946ef;

    /* Accent colors */
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;

    /* Dark theme backgrounds */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-strong: rgba(255, 255, 255, 0.08);

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.4);
    --text-muted: rgba(255, 255, 255, 0.25);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(139, 92, 246, 0.3);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 40px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* Animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(139, 92, 246, 0.12), transparent),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(217, 70, 239, 0.08), transparent);
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary svg,
.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-glass-strong);
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: var(--radius-xl);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
}

.logo-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.logo-text {
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid));
    transition: width var(--transition-base);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links .btn {
    padding: 10px 20px;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 14px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-note::before {
    content: '✓';
    color: var(--accent-green);
}

/* Platform Badges */
.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 8px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.platform-badge svg {
    color: var(--accent-green);
}

.platform-badge:hover {
    background: var(--bg-glass-strong);
    border-color: var(--border-light);
    color: var(--text-primary);
}

/* Phone Mockup - 3D Style */
.hero-image {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
    border-radius: 48px;
    padding: 10px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.phone-mockup:hover {
    transform: rotateY(-3deg) rotateX(2deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #12121f 0%, #0a0a14 100%);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
}

.timer-display {
    text-align: center;
    margin-top: 20px;
}

.timer-ring {
    width: 160px;
    height: 160px;
    border: 6px solid rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
}

.timer-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 6px solid transparent;
    border-top-color: var(--gradient-mid);
    border-right-color: var(--gradient-start);
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.timer-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timer-time {
    font-size: 42px;
    font-weight: 700;
    color: white;
    font-variant-numeric: tabular-nums;
}

.timer-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Proof */
.social-proof {
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-glass);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 140px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 24px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gradient-mid), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 140px 0;
    background: var(--bg-glass);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-light), var(--border-light), transparent);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    font-size: 28px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing {
    padding: 140px 0;
}

.trial-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-xl);
    margin-bottom: 60px;
    margin-top: 40px;
}

.trial-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.trial-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 8px;
}

.trial-content p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
}

@media (max-width: 768px) {
    .trial-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .trial-content h3 {
        font-size: 20px;
    }
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(99, 102, 241, 0.05));
    border-color: var(--border-glow);
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.pricing-card .badge.secondary {
    background: linear-gradient(135deg, var(--accent-green), #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.pricing-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-tertiary);
}

.price-note {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 0 0 28px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-features li.disabled::before {
    content: '✗';
    color: var(--text-muted);
}

.pricing-features li strong {
    color: var(--accent-purple);
    font-weight: 600;
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
}

.pricing-footer {
    text-align: center;
    margin-top: 48px;
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Testimonials */
.testimonials {
    padding: 140px 0;
    background: var(--bg-glass);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 80px;
}

.testimonial {
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.testimonial:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--accent-orange);
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.testimonial cite {
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: normal;
    display: block;
}

.testimonial cite strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* Download Section */
.download {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 40% 40% at 70% 70%, rgba(217, 70, 239, 0.1), transparent);
    pointer-events: none;
}

.download .container {
    position: relative;
    text-align: center;
}

.download h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.download p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .steps::before {
        display: none;
    }

    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-note {
        justify-content: center;
    }

    .phone-mockup {
        transform: none;
        width: 260px;
        height: 540px;
    }

    .phone-mockup:hover {
        transform: none;
    }

    .stats {
        flex-direction: column;
        gap: 40px;
    }

    .stat-value {
        font-size: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .features-grid,
    .steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .download h2 {
        font-size: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
}

.animate-in {
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger delays for grid items */
.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }
.feature-card:nth-child(7) { animation-delay: 0.6s; }
.feature-card:nth-child(8) { animation-delay: 0.7s; }

/* Navbar scroll state */
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Glow effect for interactive elements */
.glow-hover {
    position: relative;
}

.glow-hover::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity var(--transition-base);
}

.glow-hover:hover::after {
    opacity: 0.5;
}

/* What's New Section */
.new-features {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--bg-glass), transparent);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.new-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.new-feature-card {
    padding: 24px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.new-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.new-feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.new-feature-card:hover::before {
    opacity: 1;
}

.new-feature-card.highlight {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(99, 102, 241, 0.03));
    border-color: var(--border-glow);
}

.new-feature-card.highlight::before {
    opacity: 1;
}

.new-feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.new-feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.new-feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.new-feature-card .tag {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
}

/* Responsive for new features */
@media (max-width: 1200px) {
    .new-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .new-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .new-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .new-features-grid {
        grid-template-columns: 1fr;
    }
}

/* More Apps Section */
.more-apps {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, var(--bg-glass));
    border-top: 1px solid var(--border-subtle);
}

.more-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    text-decoration: none;
}

.app-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.app-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon span {
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.app-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.app-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
    white-space: nowrap;
}

/* Site Footer - DuttLabs Branding */
.site-footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-dark);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.duttlabs-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.brand-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-tagline {
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.site-footer .footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 14px;
    color: var(--text-tertiary);
}

.footer-app-credit {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive for more apps and site footer */
@media (max-width: 768px) {
    .more-apps-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-tagline {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
