/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;

    --blue-500: #3B82F6;
    --blue-600: #2563EB;

    --cyan-400: #22D3EE;
    --cyan-500: #06B6D4;
    --cyan-600: #0891B2;

    --green-400: #60A5FA;
    --green-500: #3B82F6;
    --green-600: #2563EB;

    --red-500: #EF4444;
    --amber-500: #F59E0B;
    --purple-500: #8B5CF6;

    --dark-950: #030712;
    --dark-900: #0A0F1E;
    --dark-800: #0F172A;
    --dark-700: #1E293B;
    --dark-600: #334155;
    --dark-500: #475569;
    --dark-400: #64748B;
    --dark-300: #94A3B8;
    --dark-200: #CBD5E1;
    --dark-100: #E2E8F0;
    --dark-50: #F8FAFC;

    --white: #FFFFFF;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4), 0 4px 6px -4px rgba(0,0,0,0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.5), 0 8px 10px -6px rgba(0,0,0,0.4);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    color: var(--dark-200);
    background: var(--dark-950);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font-family);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--blue-500));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--dark-300);
    border: 1.5px solid var(--dark-600);
}
.btn-outline:hover {
    border-color: var(--primary-500);
    color: var(--white);
    background: rgba(99, 102, 241, 0.1);
}

.btn-cyan {
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}
.btn-cyan:hover {
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
    transform: translateY(-1px);
}
.btn-salmon {
    background: linear-gradient(135deg, #FA8072, #FF6B6B);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(250, 128, 114, 0.35);
}
.btn-salmon:hover {
    box-shadow: 0 6px 20px rgba(250, 128, 114, 0.5);
    transform: translateY(-1px);
}

.btn-white {
    background: var(--white);
    color: var(--dark-900);
    box-shadow: var(--shadow-lg);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-xl); }

.btn-ghost-light {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }

.btn-green-real {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.btn-green-real:hover {
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
    transform: translateY(-1px);
}

.btn-red {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}
.btn-red:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
}

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: var(--dark-400);
    cursor: pointer;
    transition: all 0.2s;
}
.theme-toggle:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--white);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Show sun in dark mode (to switch to light), hide moon */
.theme-icon-moon { display: none; }
.theme-icon-sun { display: block; }

/* In light mode, show moon (to switch to dark), hide sun */
[data-theme="light"] .theme-icon-moon { display: block; }
[data-theme="light"] .theme-icon-sun { display: none; }

[data-theme="light"] .theme-toggle {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.12);
    color: #475569;
}
[data-theme="light"] .theme-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #1E293B;
    border-color: rgba(99, 102, 241, 0.3);
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] body {
    background: #FFFFFF;
    color: #334155;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.85);
    border-bottom-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
}
[data-theme="light"] .logo-text { color: #0F172A; }

[data-theme="light"] .nav-link { color: #64748B; }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active { color: #0F172A; }

[data-theme="light"] .hero-gradient {
    background: linear-gradient(160deg, #F8FAFC 0%, #EEF2FF 30%, #F0F9FF 60%, #FFFFFF 100%);
}
[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
}
[data-theme="light"] .hero-orb-1 { opacity: 0.08; }
[data-theme="light"] .hero-orb-2 { opacity: 0.05; }
[data-theme="light"] .hero-orb-3 { opacity: 0.04; }

[data-theme="light"] .hero-title { color: #0F172A; }
[data-theme="light"] .hero-subtitle { color: #64748B; }



[data-theme="light"] .logo-bar {
    background: #F8FAFC;
    border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .logo-bar-title { color: #94A3B8; }
[data-theme="light"] .partner-logo { color: #94A3B8; }
[data-theme="light"] .partner-icon { opacity: 0.5; }

[data-theme="light"] .stats-section {
    background: #FFFFFF;
    border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .stat-label { color: #64748B; }
[data-theme="light"] .stat-divider { background: #E2E8F0; }

[data-theme="light"] .features-section { background: #FFFFFF; }
[data-theme="light"] .section-title { color: #0F172A; }
[data-theme="light"] .section-subtitle { color: #64748B; }

[data-theme="light"] .feature-deep-card {
    background: #F8FAFC;
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .feature-deep-card:hover {
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08), 0 0 20px rgba(99,102,241,0.08);
}
[data-theme="light"] .feature-deep-card h3 { color: #0F172A; }
[data-theme="light"] .feature-deep-card > p { color: #64748B; }
[data-theme="light"] .product-card {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .product-card:hover {
    background: rgba(0,0,0,0.04);
}
[data-theme="light"] .product-card h4 { color: #0F172A; }
[data-theme="light"] .product-card p { color: #64748B; }

[data-theme="light"] .showcase-section { background: #F8FAFC; }
[data-theme="light"] .showcase-section:nth-of-type(even) { background: #FFFFFF; }
[data-theme="light"] .showcase-list li { color: #334155; }

[data-theme="light"] .showcase-demo-card {
    background: #FFFFFF;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .demo-card-header { border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .demo-card-title { color: #334155; }
[data-theme="light"] .demo-attendance-row { color: #475569; border-bottom-color: rgba(0,0,0,0.04); }
[data-theme="light"] .demo-time { color: #94A3B8; }

[data-theme="light"] .kiosk-section { background: #FFFFFF; }
[data-theme="light"] .kiosk-content .section-subtitle { color: #64748B; }

[data-theme="light"] .phone-mockup {
    background: #FFFFFF;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
[data-theme="light"] .phone-notch { background: #F1F5F9; }
[data-theme="light"] .phone-app-name { color: #0F172A; }
[data-theme="light"] .phone-period { color: #64748B; background: rgba(0,0,0,0.04); }
[data-theme="light"] .phone-status-card { background: rgba(59,130,246,0.06); border-color: rgba(59,130,246,0.12); }
[data-theme="light"] .phone-check-circle { background: rgba(59,130,246,0.1); }
[data-theme="light"] .phone-status-detail { color: #64748B; }
[data-theme="light"] .phone-menu-item { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06); color: #475569; }
[data-theme="light"] .phone-menu-item:hover { background: rgba(99,102,241,0.06); border-color: rgba(99,102,241,0.15); }

[data-theme="light"] .districts-section {
    background: linear-gradient(135deg, #EEF2FF 0%, #F0F9FF 50%, #F5F3FF 100%);
}
[data-theme="light"] .district-card {
    background: rgba(255,255,255,0.7);
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .district-card:hover {
    background: #FFFFFF;
    border-color: rgba(99,102,241,0.3);
}
[data-theme="light"] .district-card h3 { color: #0F172A; }
[data-theme="light"] .district-card p { color: #64748B; }

[data-theme="light"] .how-it-works-section { background: #F8FAFC; }
[data-theme="light"] .step-card h3 { color: #0F172A; }
[data-theme="light"] .step-card p { color: #64748B; }
[data-theme="light"] .step-connector svg line { stroke: #CBD5E1; }

[data-theme="light"] .testimonials-section { background: #FFFFFF; }
[data-theme="light"] .testimonial-card {
    background: #F8FAFC;
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .testimonial-card:hover {
    border-color: rgba(99,102,241,0.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
[data-theme="light"] .testimonial-text { color: #475569; }
[data-theme="light"] .testimonial-author strong { color: #0F172A; }
[data-theme="light"] .testimonial-author span { color: #94A3B8; }

[data-theme="light"] .faq-section { background: #F8FAFC; }
[data-theme="light"] .faq-item {
    background: #FFFFFF;
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .faq-item.active { border-color: rgba(99,102,241,0.3); }
[data-theme="light"] .faq-question { color: #0F172A; }
[data-theme="light"] .faq-chevron { color: #94A3B8; }
[data-theme="light"] .faq-answer p { color: #64748B; }

[data-theme="light"] .footer {
    background: #F1F5F9;
    border-top-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .footer-grid { border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .footer-desc { color: #64748B; }
[data-theme="light"] .social-link { background: rgba(0,0,0,0.06); color: #64748B; }
[data-theme="light"] .social-link:hover { background: rgba(99,102,241,0.15); color: #4F46E5; }
[data-theme="light"] .footer-links-group h4 { color: #0F172A; }
[data-theme="light"] .footer-links-group a { color: #64748B; }
[data-theme="light"] .footer-links-group a:hover { color: #4F46E5; }
[data-theme="light"] .footer-bottom { color: #94A3B8; }
[data-theme="light"] .footer-legal a { color: #94A3B8; }
[data-theme="light"] .footer-legal a:hover { color: #4F46E5; }

[data-theme="light"] .mobile-toggle span { background: #0F172A; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-md); background: rgba(3, 7, 18, 0.95); }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 22px;
    color: var(--white);
    letter-spacing: 0.02em;
}
.logo-icon { display: flex; }
.logo-icon img {
    transition: filter 0.3s ease;
    filter: brightness(0) invert(1);
}
[data-theme="light"] .logo-icon img { filter: none; }
.logo-text { color: var(--white); transition: color 0.3s ease; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.mobile-menu-cta { display: none; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-400);
    border-radius: var(--radius-md);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--dark-950) 0%, #0A0F2E 30%, #0F172A 60%, var(--dark-950) 100%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: var(--primary-500);
    top: -150px; right: -100px;
    opacity: 0.12;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: var(--blue-500);
    bottom: -100px; left: -100px;
    opacity: 0.08;
}
.hero-orb-3 {
    width: 300px; height: 300px;
    background: var(--cyan-500);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.06;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-500);
    margin-bottom: 24px;
    transition: all 0.2s;
}
.hero-badge:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: var(--primary-500);
}

.badge-dot {
    width: 6px; height: 6px;
    background: var(--primary-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-500), var(--blue-500), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-cyan {
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-salmon {
    background: linear-gradient(135deg, #FA8072, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-green {
    background: linear-gradient(135deg, var(--green-400), var(--green-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-green-real {
    background: linear-gradient(135deg, #4ADE80, #22C55E, #16A34A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-red {
    background: linear-gradient(135deg, #F87171, #EF4444, #DC2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--dark-400);
    margin-bottom: 36px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== HERO VISUAL ===== */
.hero-visual { position: relative; }

.hero-screenshot-wrap {
    position: relative;
}
.hero-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}



/* ===== LOGO BAR ===== */
.logo-bar {
    padding: 40px 0;
    background: var(--dark-900);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    overflow: hidden;
}
.logo-bar-title {
    text-align: center;
    font-size: 13px; font-weight: 600;
    color: var(--dark-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.logo-scroll {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}
.logo-track {
    display: flex;
    gap: 48px;
    animation: scroll 60s linear infinite;
    width: max-content;
}
.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 13px; font-weight: 700;
    color: var(--dark-600);
    flex-shrink: 0;
    width: 120px;
    text-align: center;
}
.partner-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.7;
}
.partner-icon {
    flex-shrink: 0;
    opacity: 0.7;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== STATS ===== */
.stats-section {
    padding: 60px 0;
    background: var(--dark-950);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 42px; font-weight: 800;
    background: linear-gradient(135deg, var(--primary-500), var(--blue-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat-label { font-size: 14px; color: var(--dark-400); font-weight: 500; }
.stat-divider { width: 1px; height: 50px; background: var(--dark-700); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 60px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-500);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px; font-weight: 600;
    margin-bottom: 16px;
}
.badge-cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan-400);
    border-color: rgba(6, 182, 212, 0.2);
}
.badge-salmon {
    background: rgba(250, 128, 114, 0.15);
    color: #FA8072;
    border-color: rgba(250, 128, 114, 0.2);
}
.badge-green {
    background: rgba(59, 130, 246, 0.15);
    color: var(--green-400);
    border-color: rgba(59, 130, 246, 0.2);
}
.badge-green-real {
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    border-color: rgba(34, 197, 94, 0.25);
}
.badge-red {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border-color: rgba(239, 68, 68, 0.25);
}
.badge-dark {
    background: rgba(255,255,255,0.05);
    color: var(--primary-500);
    border: 1px solid rgba(255,255,255,0.1);
}

.section-title {
    font-size: 42px; font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 16px;
}
.section-title-light { color: var(--white); }

.section-subtitle {
    font-size: 18px;
    color: var(--dark-400);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}
.section-subtitle-light { color: rgba(255,255,255,0.5); }

/* ===== FEATURES ===== */
.features-section {
    padding: 100px 0;
    background: var(--dark-950);
}

.features-deep {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-deep-card {
    padding: 40px;
    background: var(--dark-800);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}
.feature-deep-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.feature-deep-card-full {
    grid-column: 1 / -1;
}

.feature-deep-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}
.feature-icon-blue { background: rgba(99, 102, 241, 0.15); }
.feature-icon-cyan { background: rgba(6, 182, 212, 0.15); }
.feature-icon-red { background: rgba(239, 68, 68, 0.15); }

.feature-deep-card h3 {
    font-size: 22px; font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.feature-deep-card > p {
    font-size: 16px;
    color: var(--dark-300);
    line-height: 1.7;
}

/* Product sub-cards inside Safer Entry */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.product-card {
    padding: 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}
.product-card:hover {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(255,255,255,0.05);
}
.product-card h4 {
    font-size: 16px; font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}
.product-card p {
    font-size: 14px;
    color: var(--dark-400);
    line-height: 1.65;
}

/* ===== KIOSK SECTION ===== */
.kiosk-section {
    padding: 120px 0;
    background: var(--dark-950);
    position: relative;
    overflow: hidden;
}
.kiosk-section::before {
    content: '';
    position: absolute;
    top: 20%; left: 10%;
    width: 500px; height: 500px;
    background: #3B82F6;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.04;
    pointer-events: none;
}

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

.kiosk-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.kiosk-image-wrap {
    position: relative;
    width: 420px;
    height: 560px;
}

.kiosk-photo {
    width: 420px;
    height: 560px;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.55));
}

[data-theme="light"] .kiosk-photo {
    filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.15));
}

.kiosk-glow {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: kioskPulse 4s ease-in-out infinite;
}

@keyframes kioskPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.kiosk-content {
    position: relative;
    z-index: 1;
}
.kiosk-content .section-badge { display: inline-flex; }
.kiosk-content .section-title { text-align: left; }
.kiosk-content .section-subtitle { text-align: left; margin: 0 0 28px 0; }

.badge-emerald {
    background: rgba(59, 130, 246, 0.15);
    color: var(--green-400);
    border-color: rgba(59, 130, 246, 0.25);
}
.gradient-text-emerald {
    background: linear-gradient(135deg, #60A5FA, #3B82F6, #2563EB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.check-emerald { background: rgba(59, 130, 246, 0.15); }

.btn-emerald {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}
.btn-emerald:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
    transform: translateY(-1px);
}

.kiosk-placement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.placement-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--green-400);
}

@media (max-width: 1024px) {
    .kiosk-layout { gap: 50px; }
    .kiosk-image-wrap { width: 340px; height: 453px; }
    .kiosk-photo { width: 340px; height: 453px; }
}
@media (max-width: 768px) {
    .kiosk-layout { grid-template-columns: 1fr; gap: 40px; }
    .kiosk-visual { order: -1; }
    .kiosk-image-wrap { width: 300px; height: 400px; margin: 0 auto; }
    .kiosk-photo { width: 300px; height: 400px; }
    .kiosk-section { padding: 80px 0; }
}

/* ===== SHOWCASE ===== */
.showcase-section {
    padding: 100px 0;
    background: var(--dark-900);
}
.showcase-section:nth-of-type(even) { background: var(--dark-950); }

.showcase-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.showcase-reverse .showcase-layout { direction: rtl; }
.showcase-reverse .showcase-layout > * { direction: ltr; }

.showcase-content .section-badge { display: inline-flex; }
.showcase-content .section-title { text-align: left; }
.showcase-content .section-subtitle { text-align: left; margin: 0 0 28px 0; }

.showcase-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}
.showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--dark-200);
}

.check-icon {
    flex-shrink: 0;
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-full);
    margin-top: 1px;
}
.check-cyan { background: rgba(6, 182, 212, 0.15); }
.check-salmon { background: rgba(250, 128, 114, 0.15); }
.check-green-real { background: rgba(34, 197, 94, 0.15); }
.check-red { background: rgba(239, 68, 68, 0.15); }

/* Demo cards in showcase */
.showcase-card-stack { position: relative; height: 400px; }
.showcase-demo-card {
    position: absolute;
    background: var(--dark-800);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    width: 320px;
    transition: all 0.3s ease;
}
.showcase-demo-card:hover { transform: translateY(-4px) !important; }

.card-1 { top: 0; left: 0; z-index: 3; }
.card-2 { top: 80px; left: 60px; z-index: 2; }
.card-3 { top: 160px; left: 120px; z-index: 1; }

.demo-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.demo-card-icon {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
}
.demo-card-title { font-size: 13px; font-weight: 600; color: var(--dark-200); }

.demo-card-body { padding: 12px 16px; }

.demo-attendance-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 12px;
    color: var(--dark-300);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.demo-attendance-row:last-child { border-bottom: none; }

.demo-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-green { background: var(--green-500); }
.dot-yellow { background: var(--amber-500); }
.dot-blue { background: var(--blue-500); }

.demo-time {
    margin-left: auto;
    font-size: 11px;
    color: var(--dark-500);
    font-weight: 500;
}

/* ===== PRODUCT IMAGES ===== */
.product-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-photo {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

/* Visitor Management diagonal layout */
#visitor-management .product-image-wrap {
    min-height: 300px;
    align-items: flex-start;
    justify-content: flex-start;
}

#visitor-management .product-photo {
    position: relative;
    top: 0;
    left: 0;
    animation: floatVM 5s ease-in-out infinite;
}

.floating-pass {
    position: absolute;
    width: 225px;
    height: auto;
    right: 40px;
    bottom: 30px;
    border-radius: 0;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.35));
    animation: floatPass 4.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes floatVM {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes floatPass {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-14px) rotate(-2deg); }
}
.product-card-photo {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}
.feature-card-photo {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

/* ===== VIDEO PREVIEW ===== */
.video-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 2.4 / 1;
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.video-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-preview.playing {
    aspect-ratio: 16 / 9;
}
.video-preview.playing .video-thumbnail {
    display: none;
}
.video-preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 1;
    transition: opacity 0.4s ease;
}
.video-preview.playing .video-preview-overlay {
    opacity: 0;
    pointer-events: none;
}
.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}
.video-play-btn:hover {
    transform: scale(1.1);
    background: rgba(99, 102, 241, 1);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}
.video-play-btn svg {
    margin-left: 3px;
}
.video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-preview.playing .video-iframe {
    display: block !important;
}


/* ===== ABOUT SECTION (INLINE) ===== */
.about-section {
    padding: 100px 0;
    background: var(--dark-900);
}
.about-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-team-header {
    text-align: center;
    margin: 80px 0 40px;
}
.about-team-header .section-badge { display: inline-flex; }
.team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #0A66C2;
    text-decoration: none;
    margin-top: 0;
    margin-bottom: 12px;
    padding: 4px 12px 4px 8px;
    border-radius: 20px;
    background: rgba(10, 102, 194, 0.08);
    transition: all 0.2s;
}
.team-linkedin:hover {
    background: rgba(10, 102, 194, 0.16);
    transform: translateY(-1px);
}
.team-linkedin svg { flex-shrink: 0; }

[data-theme="light"] .about-section { background: #F8FAFC; }

/* ===== PHONE MOCKUP ===== */
.student-visual {
    display: flex;
    justify-content: center;
}
.phone-mockup {
    width: 280px;
    background: var(--dark-800);
    border-radius: 36px;
    border: 3px solid rgba(255,255,255,0.1);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    position: relative;
}
.phone-notch {
    width: 120px; height: 28px;
    background: var(--dark-950);
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
}
.phone-screen { padding: 16px 20px 32px; }

.phone-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.phone-app-name {
    font-size: 18px; font-weight: 800;
    color: var(--white);
}
.phone-period {
    font-size: 12px; font-weight: 600;
    color: var(--dark-400);
    padding: 4px 10px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-full);
}

.phone-status-card {
    text-align: center;
    padding: 28px 20px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}
.phone-check-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.phone-status-text {
    font-size: 16px; font-weight: 700;
    color: var(--green-400);
    margin-bottom: 4px;
}
.phone-status-detail {
    font-size: 12px; color: var(--dark-400);
}

.phone-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.phone-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    font-size: 11px;
    color: var(--dark-300);
    transition: all 0.2s;
}
.phone-menu-item span:first-child { font-size: 22px; }
.phone-menu-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

/* ===== DISTRICTS ===== */
.districts-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #030712 0%, #0A0F2E 50%, #0F0A2A 100%);
}
.district-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.district-card {
    padding: 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}
.district-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}
.district-icon { margin-bottom: 20px; }
.district-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.district-card p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.how-it-works-section {
    padding: 100px 0;
    background: var(--dark-900);
}
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.step-card {
    text-align: center;
    padding: 40px 32px;
    max-width: 320px;
}
.step-number {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--blue-500));
    color: var(--white);
    font-size: 22px; font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 20px;
}
.step-card h3 {
    font-size: 20px; font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}
.step-card p {
    font-size: 14px;
    color: var(--dark-400);
    line-height: 1.6;
}
.step-connector {
    display: flex;
    align-items: center;
    padding-top: 60px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 100px 0;
    background: var(--dark-950);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    padding: 32px;
    background: var(--dark-800);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.2);
}
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial-stars span { color: #F59E0B; font-size: 18px; }
.testimonial-text {
    font-size: 15px;
    color: var(--dark-300);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--white); }
.testimonial-author span { font-size: 13px; color: var(--dark-500); }

/* ===== FAQ ===== */
.faq-section {
    padding: 100px 0;
    background: var(--dark-900);
}
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--dark-800);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.active {
    border-color: rgba(99, 102, 241, 0.3);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    text-align: left;
}
.faq-chevron {
    color: var(--dark-400);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--primary-500); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--dark-400);
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1E1065, var(--primary-600), #0F172A);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: var(--primary-500);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: var(--blue-500);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-title {
    font-size: 48px; font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.cta-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.65);
    max-width: 550px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; }

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 0;
    background: var(--dark-950);
    color: var(--dark-400);
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-desc {
    font-size: 14px; line-height: 1.6;
    color: var(--dark-500);
    margin-bottom: 20px;
    max-width: 280px;
}
.footer-social { display: flex; gap: 12px; }
.social-link {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    color: var(--dark-400);
    transition: all 0.2s;
}
.social-link:hover {
    background: rgba(99, 102, 241, 0.2);
    color: var(--white);
}

.footer-links-group h4 {
    font-size: 13px; font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.footer-links-group li { margin-bottom: 10px; }
.footer-links-group a {
    font-size: 14px; color: var(--dark-500);
    transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--primary-500); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--dark-500); transition: color 0.2s; }
.footer-legal a:hover { color: var(--primary-500); }

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 44px; }
    .hero-visual { max-width: 600px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .district-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: span 3; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
        position: absolute;
        top: 68px;
        left: 16px;
        right: 16px;
        border-radius: 16px;
        padding: 8px;
    }
    .mobile-toggle { display: flex; z-index: 10; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        background: rgba(30, 30, 30, 0.95);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        z-index: 1000;
        gap: 2px;
        animation: menuSlideDown 0.25s ease-out;
    }
    [data-theme="light"] .nav-links.active {
        background: rgba(255, 255, 255, 0.92);
        border-color: rgba(0,0,0,0.08);
        box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    }
    @keyframes menuSlideDown {
        from { opacity: 0; transform: translateY(-8px) scale(0.98); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .nav-links.active .nav-link {
        font-size: 17px;
        font-weight: 500;
        padding: 14px 16px;
        border-radius: 10px;
        color: var(--white);
    }
    .nav-links.active .nav-link:hover {
        background: rgba(255,255,255,0.08);
    }
    .nav-links.active .nav-link.active {
        background: none;
    }
    [data-theme="light"] .nav-links.active .nav-link {
        color: #1E293B;
    }
    [data-theme="light"] .nav-links.active .nav-link:hover {
        background: rgba(0,0,0,0.05);
    }
    [data-theme="light"] .nav-links.active .nav-link.active {
        background: none;
    }
    .nav-links.active .nav-link + .nav-link {
        border-top: 1px solid rgba(255,255,255,0.06);
        border-radius: 0;
    }
    .nav-links.active .nav-link:first-child { border-radius: 10px 10px 0 0; }
    .nav-links.active .nav-link:last-child { border-radius: 0 0 10px 10px; }
    .nav-links.active .nav-link:only-child { border-radius: 10px; }
    [data-theme="light"] .nav-links.active .nav-link + .nav-link {
        border-top-color: rgba(0,0,0,0.06);
    }
    .nav-actions .btn { display: none; }
    .nav-actions { gap: 12px; }
    .mobile-menu-cta {
        display: flex;
        margin-top: 6px;
        padding: 14px 16px;
        border-radius: 10px;
        text-align: center;
        justify-content: center;
        font-size: 17px;
        font-weight: 600;
    }

    .hero { padding: 110px 0 60px; min-height: auto; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 20px; }
    .section-title { font-size: 32px; }

    .showcase-layout { grid-template-columns: 1fr; gap: 48px; }
    .showcase-reverse .showcase-layout { direction: ltr; }
    .showcase-card-stack {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .showcase-demo-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        width: 100%;
    }

    .features-deep { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .product-photo { filter: none; }
    .floating-pass { width: 140px; right: 0; bottom: 0; filter: none; }
    #visitor-management .product-image-wrap { min-height: 260px; }
    .district-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .stats-grid { flex-wrap: wrap; gap: 24px; }
    .stat-divider { display: none; }
    .stat-item { flex: 1; min-width: 120px; }

    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { padding-top: 0; transform: rotate(90deg); }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .cta-title { font-size: 36px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 30px; }
    .section-title { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
}
