:root {
    /* TYPOGRAPHY */
    --text-xs: 11px;
    --text-sm: 13px;
    --text-base: 15px;
    --text-lg: 18px;
    --text-xl: 24px;
    --text-2xl: 32px;
    --text-3xl: 48px;

    /* RADIUS */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --bg-dark: #050507;
    --bg-page: #08080a;
    --bg-main: #0e0e12;
    --bg-surface: #131318;
    --bg-light: #1a1a22;
    --primary: #4db6ac;
    --primary-hover: #5ec4ba;
    --primary-light: #80cbc4;
    --primary-glow: rgba(77, 182, 172, 0.15);
    --primary-glow-strong: rgba(77, 182, 172, 0.3);
    --text: #f4f4f6;
    --text-secondary: #9a9aa6;
    --text-muted: #7a7a88; /* raised for WCAG AA contrast on OLED dark bg */
    --border: rgba(255, 255, 255, 0.1);
    /* Blueprint dashed borders — the site-wide motif */
    --border-dash: 1px dashed rgba(255,255,255,0.12);
    --border-dash-accent: 1px dashed rgba(77,182,172,0.3);
    --destructive: #c62828;
    --warning: #ef6c00;
    --blue: #29b6f6;
    --green: #66bb6a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
}
body {
    font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-page);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* TOP OPTICAL LIGHTBAR (LightCharge Cohesion) */
.subpage-lightbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 200;
    background: linear-gradient(90deg, transparent 0%, rgba(77, 182, 172, 0.25) 20%, #80cbc4 50%, rgba(77, 182, 172, 0.25) 80%, transparent 100%);
    box-shadow: 0 2px 24px rgba(77, 182, 172, 0.55), 0 8px 60px rgba(77, 182, 172, 0.25);
    pointer-events: none;
}

/* LOGO IMAGE */
.logo img, .footer-logo img { opacity: 0.9; }

/* PILL LINKS (More tools / Coming soon rows) */
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill-subtitle {
    font-size: 14px; font-weight: 600; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 1.5px;
    font-family: 'JetBrains Mono', monospace; margin-bottom: 20px;
}
.pill-link {
    display: inline-block; padding: 8px 20px;
    background: rgba(77, 182, 172, 0.06);
    border: 1px solid rgba(77, 182, 172, 0.15);
    border-radius: 24px; font-size: 13px; color: var(--text-secondary);
    font-family: 'Inter', 'Outfit', sans-serif; text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.pill-link:hover { border-color: var(--primary); color: var(--primary); }
.pill-note { font-size: 10px; opacity: 0.6; }
.soon-chip {
    display: inline-block; padding: 6px 16px;
    background: rgba(77, 182, 172, 0.08);
    border: 1px solid rgba(77, 182, 172, 0.15);
    border-radius: 20px; font-size: 12px; color: var(--primary);
}

/* BACKGROUND EFFECTS */
.bg-glow {
    position: absolute; top: 20%; left: 50%;
    transform: translateX(-50%); width: 1000px; height: 1000px;
    background: radial-gradient(circle, rgba(77,182,172,0.06) 0%, transparent 70%);
    pointer-events: none; z-index: -1;
}
.bg-grid {
      content: ''; position: absolute; inset: 0;
      background-image:
          linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 48px 48px; pointer-events: none; z-index: -1;
  }

/* NAV */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 40px;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(8, 8, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-lg); font-weight: 600;
    color: var(--text); text-decoration: none; letter-spacing: -0.5px;
    display: flex; align-items: center; gap: 8px;
}
.logo span { color: var(--primary); font-weight: 500; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 13px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary-light); }

/* NAVBAR DROPDOWN STYLES */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}
.dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 300px;
    background: rgba(14, 14, 18, 0.96);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.06);
    padding: 8px;
    z-index: 1000;
}
.nav-dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}
.nav-dropdown-wrapper:hover .nav-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-dropdown-content a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    text-align: left;
    text-decoration: none;
}
.nav-dropdown-content a:hover {
    background: rgba(77, 182, 172, 0.1) !important;
    color: var(--primary) !important;
}
.dd-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.dd-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.dd-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.dd-text strong {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.dd-text span {
    font-size: 10px !important;
    color: rgba(255,255,255,0.4) !important;
    font-weight: 300 !important;
    margin: 0 !important;
    display: inline !important;
    line-height: 1.2;
}

/* Responsive drop down adjustments */
@media (max-width: 768px) {
    .nav-dropdown-content {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.05);
        padding-left: 12px;
        display: none;
    }
    .nav-dropdown-wrapper.open .nav-dropdown-content {
        display: flex;
        flex-direction: column;
    }
}


/* LANG TOGGLE */
.lang-toggle {
    display: inline-flex; align-items: center;
    background: var(--bg-light); border-radius: var(--radius-xl);
    padding: 2px; cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-xs); letter-spacing: 0.5px;
}
.lang-toggle button {
    padding: 5px 12px; border: none; border-radius: var(--radius-lg);
    cursor: pointer; background: transparent;
    color: var(--text-muted); font-family: inherit;
    font-size: inherit; letter-spacing: inherit; transition: all 0.2s;
}
.lang-toggle button.active {
    background: var(--primary); color: #121212; font-weight: 600;
}

/* BUTTONS */
.btn-primary {
    display: inline-block; padding: 12px 28px;
    background: var(--primary); color: #121212;
    border-radius: var(--radius-md); font-weight: 600; font-size: var(--text-base);
    text-decoration: none; cursor: pointer; transition: all 0.25s;
    border: none;
}
.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(77, 182, 172, 0.3);
}
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: transparent;
    color: var(--text); font-weight: 400; font-size: var(--text-base);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    text-decoration: none; cursor: pointer; transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ANIMATION */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FOOTER */
footer {
    padding: 40px 24px; text-align: center;
    background: var(--bg-dark);
    border-top: 1px solid rgba(85,85,85,0.1);
}
footer p { font-size: var(--text-sm); color: var(--text-muted); }
footer a { color: var(--primary); text-decoration: none; }

/* RESPONSIVE */
/* Mobile FAB - always visible */
.mobile-fab {
    display: none;
}
@media (max-width: 768px) {
    .mobile-fab {
        display: flex; align-items: center; justify-content: center;
        position: fixed; top: 12px; right: 12px; z-index: 200;
        width: 40px; height: 40px; border-radius: 50%;
        background: rgba(26, 26, 26, 0.8); backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.1);
        color: #fff; cursor: pointer;
        box-shadow: 0 2px 12px rgba(0,0,0,0.3);
        transition: transform 0.2s, background 0.2s;
    }
    .mobile-fab:active { transform: scale(0.9); }
    .mobile-fab.fab-open {
        background: var(--primary);
        border-color: var(--primary);
    }
    .mobile-fab.fab-open svg line { stroke: #111; }
    nav {
        padding: 10px 16px;
        transition: transform 0.3s ease, background 0.3s ease;
        transform: translateY(-100%);
        background: rgba(26, 26, 26, 0.95);
    }
    nav.nav-visible { transform: translateY(0); }
    .logo img { height: 20px !important; }
    .logo { font-size: 15px !important; }
    .mobile-menu-btn { display: none !important; }
    .nav-links {
        display: none !important; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(26, 26, 26, 0.95); backdrop-filter: blur(20px);
        padding: 16px 20px; gap: 12px;
        border-bottom: 1px solid rgba(77,182,172,0.1);
    }
    .nav-links.open { display: flex !important; }
}

/* ANTI THEFT */
body {  }
input, textarea { user-select: auto; -webkit-user-select: auto; }

/* BLUEPRINT ANCHORS FOR CTA BUTTONS — moved to later block */

/* TEAL TEXT HIGHLIGHT FOR EXCLUSIVE PRO FEATURES */
.highlight-teal {
    display: inline !important;
    background: rgba(77, 182, 172, 0.15);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}


/* CENTRALIZED STYLES EXTRACTED FROM PAGES */


/* CACHE-PROOF TEAL HIGHLIGHT FIX */
.highlight-teal, 
.extra-features-list li span span.highlight-teal,
.extra-features-list li span .highlight-teal {
    display: inline !important;
    background: rgba(77, 182, 172, 0.15) !important;
    color: var(--primary) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
}

        

        

        

        

        /* ADVANCED HERO */
        .hero {
            position: relative;
            padding: 180px 24px 120px;
            display: flex; flex-direction: column;
            align-items: center;
            text-align: center;
            overflow: hidden;
            min-height: 80vh;
        }
        
        .orb-wrapper {
            position: absolute;
            z-index: 0;
            pointer-events: none;
            transition: transform 0.3s ease-out;
        }
        .orb-wrapper-1 { top: -100px; left: -100px; }
        .orb-wrapper-2 { bottom: -150px; right: -100px; }
        
        .orb {
            border-radius: var(--radius-full);
            filter: blur(100px);
            opacity: 0.5;
            animation: floatOrb 15s ease-in-out infinite alternate;
        }
        .orb-1 {
            width: 400px; height: 400px;
            background: rgba(77, 182, 172, 0.4);
        }
        .orb-2 {
            width: 500px; height: 500px;
            background: rgba(30, 100, 200, 0.3);
            animation-delay: -5s;
            animation-duration: 20s;
        }
        @keyframes floatOrb {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(100px, 50px) scale(1.2); }
        }


        .hero-content {
            position: relative; z-index: 1;
            max-width: 800px;
        }
        .hero-badge {
            display: inline-block; font-family: 'JetBrains Mono', monospace;
            font-size: var(--text-sm); color: var(--primary);
            border: 1px solid rgba(77,182,172,0.3);
            padding: 8px 20px; border-radius: var(--radius-xl);
            margin-bottom: 24px; background: rgba(77,182,172,0.1); 
            backdrop-filter: blur(10px);
            letter-spacing: 1.5px;
            box-shadow: 0 4px 15px rgba(77,182,172,0.15);
        }
        .hero h1 {
            font-size: clamp(40px, 6vw, 76px); font-weight: 700;
            line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em;
            color: #fff;
        }
        .hero h1 .teal {
            background: linear-gradient(135deg, #80cbc4, #4db6ac, #00796b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 40px rgba(77, 182, 172, 0.3);
        }
        .hero-sub {
            font-size: clamp(16px, 2.5vw, 20px); color: #c0c0c0;
            max-width: 640px; margin: 0 auto 40px; font-weight: 400;
            line-height: 1.6;
        }
        .hero-cta-group {
            display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
        }
        .hero-cta-btn {
            display: inline-flex; align-items: center; justify-content: center;
            padding: 14px 32px; border-radius: var(--radius-md); font-size: var(--text-base); font-weight: 600;
            text-decoration: none; transition: all 0.3s;
            min-height: 48px; /* Touch target optimization */
        }
        .hero-cta-primary {
            background: var(--primary); color: #111;
            box-shadow: 0 0 20px rgba(77, 182, 172, 0.4);
        }
        .hero-cta-primary:hover {
            background: #5ec4ba; transform: translateY(-2px);
            box-shadow: 0 0 30px rgba(77, 182, 172, 0.6);
        }
        .hero-cta-secondary {
            background: rgba(255,255,255,0.05); color: #fff;
            border: 1px solid rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
        }
        .hero-cta-secondary:hover {
            background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4);
            transform: translateY(-2px);
        }

        /* Mobile & iPad Optimizations */
        @media (max-width: 1024px) {
            .hero { min-height: 60vh; padding: 160px 24px 80px; }
            .orb-1 { width: 300px; height: 300px; }
            .orb-2 { width: 400px; height: 400px; }
        }
        @media (max-width: 768px) {
            .hero { padding: 140px 20px 60px; }
            .hero-cta-group { flex-direction: column; width: 100%; max-width: 350px; margin: 0 auto; gap: 12px; }
            .hero-cta-btn { width: 100%; font-size: var(--text-base); padding: 14px 24px; }
            .hero h1 { letter-spacing: -1px; }
        }

        /* PRODUCTS GRID */
        .products-section {
            max-width: 1200px; margin: 0 auto;
            padding: 20px 24px 80px;
        }
        .products-group-title {
            font-size: clamp(28px, 4vw, 44px); font-weight: 700;
            color: #fff;
            margin: 80px 0 12px;
            display: block; text-align: center;
            font-family: 'Outfit', sans-serif;
            letter-spacing: -1px;
        }
        .products-group-title .teal {
            background: linear-gradient(135deg, #80cbc4, #4db6ac, #00796b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .products-group-subtitle {
            text-align: center;
            font-size: clamp(14px, 2vw, 17px);
            color: var(--text-secondary);
            margin-bottom: 48px;
            font-weight: 300;
            line-height: 1.6;
        }

        .product-meta {
            position: relative; z-index: 1;
        }
        .product-header {
            display: flex; justify-content: space-between; align-items: flex-start;
            margin-bottom: 24px;
        }
        .product-icon {
            font-size: var(--text-2xl); width: 56px; height: 56px;
            border-radius: var(--radius-lg); background: rgba(255,255,255,0.03);
            border: 1px solid rgba(85,85,85,0.2);
            display: flex; align-items: center; justify-content: center;
            transition: transform 0.3s;
        }
        .product-card:hover .product-icon {
            transform: scale(1.1);
        }
        .product-badge {
            font-family: 'JetBrains Mono', monospace;
            font-size: var(--text-xs); font-weight: 600;
            padding: 4px 10px; border-radius: var(--radius-md);
            letter-spacing: 0.5px;
        }
        .product-badge.new {
            background: var(--primary-glow); color: var(--primary);
            border: 1px solid rgba(77,182,172,0.3);
        }

        .product-badge.soon {
            background: rgba(255,255,255,0.05); color: var(--text-muted);
            border: 1px solid rgba(85,85,85,0.2);
        }

        .product-title {
            font-size: 28px; font-weight: 700;
            margin-bottom: 12px; color: #fff !important;
            letter-spacing: -0.5px;
        }
        .featured-wide .product-title {
            font-size: var(--text-xl);
        }
        .product-desc {
            font-size: var(--text-base); color: rgba(255, 255, 255, 0.75);
            font-weight: 400; line-height: 1.6; margin-bottom: 32px;
        }

        .product-cta {
            position: relative; z-index: 1;
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            padding: 12px 24px; width: 100%;
            border-radius: var(--radius-md); font-size: var(--text-base); font-weight: 600;
            text-decoration: none; cursor: pointer; transition: all 0.25s;
        }
        .product-cta.primary-btn {
            background: var(--primary); color: #121212;
        }
        .product-cta.primary-btn:hover {
            background: var(--primary-hover);
            box-shadow: 0 4px 15px rgba(77, 182, 172, 0.3);
        }
        .product-cta.secondary-btn {
            background: transparent; color: var(--text);
            border: 1px solid var(--border);
        }
        .product-cta.secondary-btn:hover {
            border-color: var(--text); background: rgba(255,255,255,0.03);
        }

        /* PREMIUM FEATURED BANNER */
        .premium-card-large {
            background: linear-gradient(135deg, rgba(36,36,36,0.9) 0%, rgba(20,20,20,0.95) 100%);
            border: 1px solid rgba(77, 182, 172, 0.35);
            border-radius: var(--radius-xl); padding: 48px;
            position: relative; overflow: hidden;
            display: grid; grid-template-columns: 1.2fr 1fr;
            gap: 48px;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 10px 40px rgba(0,0,0,0.4);
            margin-bottom: 56px;
            text-align: left;
        }
        .premium-card-large::before {
            content: ''; position: absolute; inset: 0;
            background: radial-gradient(circle at 80% 20%, rgba(77, 182, 172, 0.12), transparent 70%);
            pointer-events: none;
        }
        .premium-card-large:hover {
            border-color: var(--primary);
            transform: translateY(-4px);
            box-shadow: 0 16px 50px rgba(77, 182, 172, 0.25);
        }
        .premium-left {
            display: flex; flex-direction: column; justify-content: space-between;
            z-index: 1; gap: 24px;
        }
        .premium-right {
            display: flex; flex-direction: column; justify-content: center;
            background: rgba(255,255,255,0.015);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius-lg); padding: 32px;
            z-index: 1;
        }
        .premium-right-title {
            font-size: var(--text-base); font-weight: 600; color: var(--primary);
            margin-bottom: 20px; border-bottom: 1px solid rgba(77,182,172,0.15);
            padding-bottom: 10px; font-family: 'Outfit', sans-serif;
            letter-spacing: 0.5px;
        }
        .premium-features-list {
            list-style: none; display: flex; flex-direction: column; gap: 16px;
        }
        .premium-features-list li {
            font-size: var(--text-sm); line-height: 1.5; color: var(--text-secondary);
        }
        .premium-features-list li strong {
            color: #fff; display: block; font-size: var(--text-base); margin-bottom: 2px;
        }
        @media (max-width: 1024px) {
            .premium-card-large {
                grid-template-columns: 1fr;
                padding: 32px;
                gap: 32px;
            }
        }

        /* FEATURED SLICE CARD */
        .featured-slice {
            grid-column: 1 / -1;
            display: grid !important;
            grid-template-columns: 1.2fr 1fr;
            gap: 32px;
            background: linear-gradient(135deg, rgba(36,36,36,0.85) 0%, rgba(20,20,20,0.95) 100%) !important;
            border-color: rgba(77, 182, 172, 0.25) !important;
            text-align: left;
        }
        .featured-wide-right {
            background: rgba(255,255,255,0.015);
            border: var(--border-dash) !important;
            border-radius: 12px !important; padding: 28px;
            display: flex; flex-direction: column;
            justify-content: center; gap: 12px;
            position: relative;
        }
        .featured-wide-right:hover .bp-dot {
            opacity: 1;
            transform: scale(1.4);
            background: #fff !important;
            box-shadow: 0 0 8px var(--hover-border, var(--primary));
        }
        .featured-slice-right-title {
            color: var(--primary) !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            text-transform: uppercase;
            letter-spacing: 1.5px !important;
            margin-bottom: 20px !important;
            font-family: 'JetBrains Mono', monospace !important;
        }
        .featured-wide-right-title {
            color: var(--primary); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.5px;
            margin-bottom: 8px; font-family: 'Outfit', sans-serif;
        }
        .featured-slice-list {
            list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: var(--text-sm); color: var(--text-secondary);
        }
        .featured-slice-list li {
            display: flex; gap: 8px; align-items: center;
        }
        @media (max-width: 1024px) {
            .featured-slice {
                grid-template-columns: 1fr;
                gap: 24px;
            }
        }

        /* FEATURED TREE CARD */
        .featured-tree {
            grid-column: 1 / -1;
            display: grid !important;
            grid-template-columns: 1.2fr 1fr;
            gap: 32px;
            background: linear-gradient(135deg, rgba(30, 48, 30, 0.4) 0%, rgba(20, 20, 20, 0.95) 100%) !important;
            border-color: rgba(102, 187, 106, 0.25) !important;
            text-align: left;
        }
        .featured-tree-right {
            background: rgba(102, 187, 106, 0.015);
            border: 1px solid rgba(102, 187, 106, 0.08);
            border-radius: var(--radius-lg); padding: 28px;
            display: flex; flex-direction: column;
            justify-content: center; gap: 12px;
        }
        .featured-tree-right-title {
            color: var(--green); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.5px;
            margin-bottom: 8px; font-family: 'Outfit', sans-serif;
        }
        .featured-tree-list {
            list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: var(--text-sm); color: var(--text-secondary);
        }
        .featured-tree-list li {
            display: flex; gap: 8px; align-items: center;
        }
        @media (max-width: 1024px) {
            .featured-tree {
                grid-template-columns: 1fr;
                gap: 24px;
            }
        }

        /* FEATURED CAMERA CARD */
        .featured-camera {
            grid-column: 1 / -1;
            display: grid !important;
            grid-template-columns: 1.2fr 1fr;
            gap: 32px;
            background: linear-gradient(135deg, rgba(30, 48, 48, 0.4) 0%, rgba(20, 20, 20, 0.95) 100%) !important;
            border-color: rgba(77, 182, 172, 0.35) !important;
            text-align: left;
        }
        .featured-camera-right {
            background: rgba(77, 182, 172, 0.015);
            border: 1px solid rgba(77, 182, 172, 0.08);
            border-radius: var(--radius-lg); padding: 28px;
            display: flex; flex-direction: column;
            justify-content: center; gap: 12px;
        }
        .featured-camera-right-title {
            color: var(--primary); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.5px;
            margin-bottom: 8px; font-family: 'Outfit', sans-serif;
        }
        .featured-camera-list {
            list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: var(--text-sm); color: var(--text-secondary);
        }
        .featured-camera-list li {
            display: flex; gap: 8px; align-items: center;
        }
        @media (max-width: 1024px) {
            .featured-camera {
                grid-template-columns: 1fr;
                gap: 24px;
            }
        }

        /* GENERAL MOBILE OPTIMIZATIONS FOR FEATURED CARDS */
        @media (max-width: 768px) {
            .premium-card-large, .featured-slice, .featured-tree, .featured-camera {
                padding: 24px 20px !important;
                gap: 20px !important;
            }
            .premium-card-large .product-cta,
            .featured-slice .product-cta,
            .featured-tree .product-cta,
            .featured-camera .product-cta {
                width: 100% !important;
                align-self: stretch !important;
                text-align: center;
                margin-top: 12px;
            }
            .premium-right,
            .featured-wide-right,
            .featured-tree-right,
            .featured-camera-right {
                padding: 20px !important;
            }
        }

        /* ABOUT / AUTHOR Section */
        .about-section {
            background: var(--bg-main); border-top: 1px solid rgba(85,85,85,0.2);
            padding: 80px 24px; text-align: center;
        }
        .about-container { max-width: 800px; margin: 0 auto; }
        .about-avatar {
            width: 80px; height: 80px; border-radius: var(--radius-full);
            background: var(--primary-glow); border: 2px solid var(--primary);
            display: flex; align-items: center; justify-content: center;
            font-size: var(--text-2xl); margin: 0 auto 24px; color: var(--primary);
            font-family: 'JetBrains Mono', monospace; font-weight: 600;
        }
        .about-name { font-size: var(--text-xl); font-weight: 600; margin-bottom: 4px; }
        .about-role {
            color: var(--primary); font-size: var(--text-base);
            font-family: 'JetBrains Mono', monospace; margin-bottom: 20px;
            letter-spacing: 0.5px;
        }
        .about-bio {
            color: var(--text-secondary); font-weight: 300;
            max-width: 540px; margin: 0 auto 28px; font-size: var(--text-base); line-height: 1.7;
        }
        .social-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
        .social-links a {
            padding: 8px 16px; border: 1px solid var(--border);
            border-radius: var(--radius-md); color: var(--text-secondary);
            text-decoration: none; font-size: var(--text-sm); transition: all 0.2s;
        }
        .social-links a:hover { border-color: var(--primary); color: var(--primary); }

        

        

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .hero { animation: fadeUp 0.8s ease-out; }
        .product-card { animation: fadeUp 0.6s ease-out both; }
        .product-card:nth-child(1) { animation-delay: 0.1s; }
        .product-card:nth-child(2) { animation-delay: 0.2s; }
        .product-card:nth-child(3) { animation-delay: 0.3s; }
        .product-card:nth-child(4) { animation-delay: 0.4s; }
        .product-card:nth-child(5) { animation-delay: 0.5s; }
        .product-card:nth-child(6) { animation-delay: 0.6s; }
        .product-card:nth-child(7) { animation-delay: 0.7s; }
        .product-card:nth-child(8) { animation-delay: 0.8s; }
        .product-card:nth-child(9) { animation-delay: 0.9s; }

        
        /* BLUEPRINT CORNER DOTS (Rayon style - anchored ONLY to core CTA buttons wrappers to avoid translation wipeout) */
        .cta-wrapper {
            position: relative;
            display: flex;
            margin-top: 24px;
        }
        .premium-left .cta-wrapper {
            width: auto;
            align-self: flex-start;
        }
        
        .bp-dot {
            position: absolute;
            width: 6px;
            height: 6px;
            background: var(--hover-border, var(--primary));
            border-radius: 0; /* Square dots */
            opacity: 0.6;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 10;
            pointer-events: none;
        }
        .bp-dot.tl { top: -3px; left: -3px; }
        .bp-dot.tr { top: -3px; right: -3px; }
        .bp-dot.bl { bottom: -3px; left: -3px; }
        .bp-dot.br { bottom: -3px; right: -3px; }
        
        .cta-wrapper:hover .bp-dot {
            opacity: 1;
            transform: scale(1.4);
            background: #fff; /* Intense white glow on hover */
            box-shadow: 0 0 8px var(--hover-border, var(--primary));
        }

        /* RAYON DASHED CARD STYLE (Cleaned up, no corner dots on cards) */
        .product-card {
            border: var(--border-dash) !important;
            border-radius: 12px !important;
            background: var(--bg-main);
            padding: 32px;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: auto;
            box-sizing: border-box;
        }
        .product-card:hover {
            border-color: var(--hover-border, var(--primary)) !important;
            transform: translateY(-6px);
            box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 30px rgba(77, 182, 172, 0.05) !important;
        }

        .product-card::before {
            content: ''; position: absolute; inset: 0;
            background: radial-gradient(circle at 50% 0%, var(--glow-color, var(--primary-glow)), transparent 70%);
            opacity: 0; transition: opacity 0.4s;
            pointer-events: none;
        }
        .product-card:hover::before { opacity: 0.8; }

        /* STATIC PRODUCTS GRID */
        .products-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 24px 80px;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
            gap: 28px;
            margin-bottom: 60px;
        }

        /* Featured Slice Card spanning full width */
        .product-card.featured-wide {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            min-height: auto;
            align-items: stretch;
        }
        
        .featured-wide-right {
            border-left: var(--border-dash);
            padding-left: 32px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        @media (max-width: 900px) {
            .product-card.featured-wide {
                grid-template-columns: 1fr;
                grid-column: auto;
            }
            .featured-wide-right {
                border-left: none;
                border-top: var(--border-dash);
                padding-left: 0;
                padding-top: 24px;
                margin-top: 8px;
            }
        }
        
        /* MOBILE: Products section responsive */
        @media (max-width: 768px) {
            .products-section {
                padding: 10px 16px 40px;
            }
            .products-group-title {
                margin: 48px 0 8px;
                font-size: clamp(22px, 6vw, 32px);
                letter-spacing: -0.5px;
            }
            .products-group-subtitle {
                margin-bottom: 28px;
                font-size: 14px;
            }
            .products-grid {
                gap: 16px;
                margin-bottom: 32px;
            }
            .product-card {
                padding: 24px 20px;
            }
            .product-title {
                font-size: 22px;
            }
            .product-desc {
                font-size: 14px;
                margin-bottom: 20px;
            }
            .marquee-container {
                display: none;
            }
        }

        .extra-features-list {
            list-style: none;
            padding: 0;
            margin: 20px 0 0 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
            border-top: var(--border-dash);
            padding-top: 16px;
        }
        .extra-features-list li {
            font-size: 14px !important;
            color: rgba(255, 255, 255, 0.75) !important;
            line-height: 1.6 !important;
            margin-bottom: 16px !important;
        }
        .extra-features-list li strong {
            display: block !important;
            font-size: 16px !important;
            color: #fff !important;
            margin-bottom: 6px !important;
            font-weight: 600 !important;
        }
        .extra-features-list li strong {
            display: block !important;
            font-size: 16px !important;
            color: #fff !important;
            margin-bottom: 6px !important;
            font-weight: 600 !important;
        }
        .extra-features-list li span {
            color: rgba(255, 255, 255, 0.65) !important;
            font-size: 14px !important;
            display: block !important;
            line-height: 1.6 !important;
            margin-top: 4px !important;
        }

        /* WELCOMING MARQUEE CSS */
        .marquee-container {
            width: 100%; margin: 40px auto 80px;
            overflow: hidden; position: relative;
            mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
            height: 180px;
        }
        .marquee-track {
            display: flex; gap: 20px; width: max-content;
        }
        .marquee-track.track-1 {
            animation: scroll-left 40s linear infinite;
            margin-bottom: 24px;
        }
        .marquee-track.track-2 {
            animation: scroll-right 45s linear infinite;
        }
        .marquee-item { width: 240px; flex-shrink: 0; cursor: pointer; display: block; text-decoration: none; color: inherit; }
        .marquee-item .marquee-title { font-size: var(--text-sm); margin-bottom: 8px; font-weight: 600; color: #fff; font-family: monospace; display: flex; justify-content: space-between; align-items: center; }
        .marquee-item .mini-sim-box { height: 100px; border: var(--border-dash); transition: border 0.3s; margin-top: 0; }
        .marquee-item:hover .mini-sim-box { border-color: var(--primary); }
        .marquee-item .sim-controls { display: none !important; }
        .marquee-item .sim-viewport { height: 100%; padding: 4px; }
        .marquee-item .detail-link-btn {
            font-size: var(--text-xs);
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            color: var(--primary);
            padding: 2px 6px;
            border-radius: 3px;
        }
        .marquee-item:hover .detail-link-btn {
            background: var(--primary);
            color: #111;
        }
        
        @keyframes scroll-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-50% - 10px)); }
        }
        @keyframes scroll-right {
            0% { transform: translateX(calc(-50% - 10px)); }
            100% { transform: translateX(0); }
        }

        /* MINI SIMULATIONS STYLES */
        .mini-sim-box {
            background: rgba(15, 15, 20, 0.4);
            border: var(--border-dash);
            border-radius: var(--radius-md);
            margin-top: 16px;
            overflow: hidden;
            transition: all 0.3s;
            position: relative;
            width: 100%;
            box-sizing: border-box;
        }
        .product-card:hover .mini-sim-box {
            border-color: var(--primary);
            background: rgba(15, 15, 20, 0.7);
        }
        .sim-viewport {
            aspect-ratio: 16 / 9;
            width: 100%;
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 0;
            box-sizing: border-box;
            overflow: hidden;
        }
        .sim-svg {
            width: 100%;
            height: 100%;
            display: block;
        }
        .sim-controls {
            display: flex;
            padding: 8px 12px;
            border-top: 1px solid rgba(255,255,255,0.05);
            align-items: center;
            gap: 8px;
            background: rgba(0,0,0,0.2);
            box-sizing: border-box;
        }
        .sim-action-btn {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            font-size: var(--text-xs);
            font-weight: 600;
            padding: 6px 12px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            width: 100%;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .sim-action-btn:hover {
            background: var(--primary);
            color: #111;
            border-color: var(--primary);
        }
        .sim-action-btn.active {
            pointer-events: none;
        }
        .sim-slider {
            flex: 1;
            accent-color: var(--green);
            cursor: pointer;
            height: 4px;
            background: rgba(255,255,255,0.1);
            border-radius: var(--radius-sm);
        }
        
        /* Material Sim Additional Styles */
        .mini-file {
            font-size: var(--text-xs);
            padding: 4px 8px;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: var(--radius-sm);
            font-family: monospace;
            color: #fff;
            transition: all 0.5s;
        }
        .mini-maps-grid {
            width: 80px;
        }
        .mini-map-tile {
            font-size: 8px;
            padding: 4px;
            background: rgba(77, 182, 172, 0.2);
            border: 1px solid rgba(77, 182, 172, 0.4);
            border-radius: var(--radius-sm);
            font-family: monospace;
            color: var(--primary);
            text-align: center;
        }
        .mini-map-tile.rgh {
            background: rgba(255, 213, 79, 0.1);
            border-color: rgba(255, 213, 79, 0.3);
            color: #ffd54f;
        }
        .mini-scene {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.5s;
        }
        .mini-box {
            width: 30px;
            height: 30px;
            position: relative;
            transform-style: preserve-3d;
            transform: rotateX(-20deg) rotateY(30deg);
            transition: transform 0.5s;
        }
        .mini-box .mini-face {
            position: absolute;
            width: 30px;
            height: 30px;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
        }
        .mini-box .mini-face.f-front { transform: translateZ(15px); }
        .mini-box .mini-face.f-top   { transform: rotateX(90deg) translateZ(15px); }
        .mini-box .mini-face.f-right { transform: rotateY(90deg) translateZ(15px); }
        
        @keyframes tree-sway {
            0% { transform: rotate(0deg); }
            50% { transform: rotate(calc(var(--wind-strength, 2deg) * var(--wind-factor, 1))); }
            100% { transform: rotate(0deg); }
        }
        .mini-tree-wrapper {
            animation: tree-sway 3s ease-in-out infinite;
        }

    


/* =========================================
   MARQUEE MINI-SIM AMBIENT ANIMATIONS
   Wireframe -> flat shading -> "neural render" reveal, looping.
   Base states keep everything but the wireframe invisible so the
   static frame (reduced motion / old browsers) stays clean.
========================================= */
.marquee-item .colored-view { opacity: 0; }
.marquee-item .scan-line { opacity: 0; }
.marquee-item .camera-frustum,
.marquee-item .house-interior,
.marquee-item .clip-plane { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
    /* AH3 Hub: render pipeline loop */
    .marquee-item .wf-lines { animation: mq-wf 10s linear infinite; }
    .marquee-item .colored-view { animation: mq-colored 10s linear infinite; }
    .marquee-item .rendered-view { animation: mq-rendered 10s linear infinite; }
    .marquee-item .scan-line { animation: mq-scan 10s linear infinite; }
    #hub-clip-rect-1, #hub-clip-rect-2 { animation: mq-clip 10s linear infinite; }

    /* Magic Tree: stronger sway than the default breeze */
    .marquee-item .mini-tree-wrapper { --wind-strength: 6deg; animation-duration: 2.4s; }

    /* Magic Material: slow tumble of the textured box */
    .marquee-item .mini-box { animation: mq-box-spin 12s linear infinite; }

    /* Magic Camera: frustum / interior / clip plane pulse */
    .marquee-item .camera-frustum { animation: mq-pulse 6s ease-in-out infinite; }
    .marquee-item .house-interior { animation: mq-pulse 6s ease-in-out infinite 0.5s; }
    .marquee-item .clip-plane { animation: mq-pulse 6s ease-in-out infinite 1s; }
}

@keyframes mq-wf {
    0%, 20% { opacity: 1; }
    30%, 88% { opacity: 0.25; }
    100% { opacity: 1; }
}
@keyframes mq-colored {
    0%, 20% { opacity: 0; }
    30%, 85% { opacity: 1; }
    95%, 100% { opacity: 0; }
}
@keyframes mq-rendered {
    0%, 88% { opacity: 1; }
    96%, 100% { opacity: 0; }
}
@keyframes mq-clip {
    0%, 35% { width: 0px; }
    60%, 97% { width: 200px; }
    100% { width: 0px; }
}
@keyframes mq-scan {
    0%, 35% { transform: translateX(0); opacity: 0; }
    36% { opacity: 1; }
    59% { opacity: 1; }
    60%, 100% { transform: translateX(200px); opacity: 0; }
}
@keyframes mq-box-spin {
    from { transform: rotateX(-20deg) rotateY(30deg); }
    to { transform: rotateX(-20deg) rotateY(390deg); }
}
@keyframes mq-pulse {
    0%, 12% { opacity: 0; }
    35%, 70% { opacity: 1; }
    92%, 100% { opacity: 0; }
}

/* =========================================
   UTILITY CLASSES (Auto-generated)
========================================= */
.flex { display: flex !important; }
.items-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.hidden { display: none !important; }
.block { display: block !important; }
.absolute { position: absolute !important; }
.relative { position: relative !important; }
.opacity-0 { opacity: 0 !important; }
.pointer-events-none { pointer-events: none !important; }
.w-full { width: 100% !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.font-semibold { font-weight: 600 !important; }
.font-light { font-weight: 300 !important; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-secondary) !important; }
.bg-surface { background: var(--bg-surface) !important; }
.inset-0 { inset: 0 !important; }
.transition-all { transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 12px !important; }
.gap-4 { gap: 16px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-6 { margin-top: 24px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-6 { margin-bottom: 24px !important; }
.mb-8 { margin-bottom: 32px !important; }
.p-0 { padding: 0 !important; }

/* RESTORED HUB SPECIFIC STYLES */
section[id] { scroll-margin-top: 80px; }
.why-section { max-width: 800px; margin: 0 auto; text-align: center; }
.why-quote {
            font-size: 18px; color: var(--text-secondary); font-weight: 300;
            line-height: 1.9; margin-bottom: 24px;
            border-left: 3px solid var(--primary); padding-left: 24px;
            text-align: left;
        }
.why-answer {
            font-size: 18px; font-weight: 600; color: var(--text);
        }
section { padding: 100px 24px; }
.features-section { max-width: 1100px; margin: 0 auto; }
.features-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
            gap: 20px;
        }
/* (feature-card styles consolidated below) */
.feature-icon {
            width: 44px; height: 44px; border-radius: 10px;
            background: var(--primary-glow); border: 1px solid rgba(77,182,172,0.2);
            display: flex; align-items: center; justify-content: center;
            font-size: 20px; margin-bottom: 20px;
        }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 16px; color: var(--text-secondary); font-weight: 300; line-height: 1.7; }
.feature-card.highlight {
            border-color: rgba(77,182,172,0.3);
            background: linear-gradient(135deg, var(--bg-main), rgba(77,182,172,0.05));
        }
.feature-card.highlight::before { opacity: 1; }
.spotlight { max-width: 1100px; margin: 0 auto; }
.spotlight-grid {
            display: grid; grid-template-columns: 1fr 1fr;
            gap: 60px; align-items: center;
        }
.spotlight-visual {
            background: var(--bg-main); border: 1px solid var(--border);
            border-radius: 12px; overflow: hidden;
        }
.terminal-bar {
            display: flex; align-items: center; gap: 6px;
            padding: 12px 16px; background: var(--bg-dark);
            border-bottom: 1px solid rgba(85,85,85,0.4);
        }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.r { background: var(--destructive); }
.terminal-dot.y { background: var(--warning); }
.terminal-dot.g { background: var(--primary); }
.terminal-title {
            margin-left: 8px; font-family: 'JetBrains Mono', monospace;
            font-size: 11px; color: var(--text-muted);
        }
.terminal-body {
            padding: 24px; font-family: 'JetBrains Mono', monospace;
            font-size: 13px; line-height: 2;
        }
.terminal-body .prompt { color: var(--primary); }
.terminal-body .cmd { color: var(--text); }
.terminal-body .output { color: var(--text-muted); }
.terminal-body .success { color: var(--primary-light); }
.spotlight-text h3 {
            font-size: 14px; font-weight: 600; color: var(--primary);
            margin-bottom: 20px; font-family: 'JetBrains Mono', monospace;
            letter-spacing: 1px;
        }
.spotlight-text h2 { font-size: 32px; font-weight: 700; letter-spacing: -1px; margin-bottom: 20px; }
.spotlight-text p { color: var(--text-secondary); font-weight: 300; margin-bottom: 16px; }
.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
            padding: 8px 0; color: var(--text-secondary);
            font-size: 16px; display: flex; align-items: center; gap: 12px;
        }
.feature-list li::before {
            content: '→'; color: var(--primary);
            font-family: 'JetBrains Mono', monospace; font-weight: 600;
        }
.about-section { max-width: 800px; margin: 0 auto; text-align: center; }
.about-card {
            background: var(--bg-main); border: 1px solid rgba(85,85,85,0.4);
            border-radius: 16px; padding: 48px; margin-top: 40px;
        }
.about-avatar {
            width: 80px; height: 80px; border-radius: 50%;
            background: var(--primary-glow); border: 2px solid var(--primary);
            display: flex; align-items: center; justify-content: center;
            font-size: 32px; margin: 0 auto 24px; color: var(--primary);
            font-family: 'JetBrains Mono', monospace; font-weight: 600;
        }
.about-name { font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.about-role {
            color: var(--primary); font-size: 14px;
            font-family: 'JetBrains Mono', monospace; margin-bottom: 20px;
        }
.about-bio {
            color: var(--text-secondary); font-weight: 300;
            max-width: 500px; margin: 0 auto 24px;
        }
.cta-section { max-width: 700px; margin: 0 auto; text-align: center; position: relative; }
.cta-section::before {
            content: ''; position: absolute; top: 50%; left: 50%;
            transform: translate(-50%, -50%); width: 500px; height: 500px;
            background: radial-gradient(circle, rgba(77,182,172,0.06) 0%, transparent 70%);
            pointer-events: none;
        }
.cta-box { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -1px; margin-bottom: 16px; }
.cta-box p { color: var(--text-secondary); font-weight: 300; margin-bottom: 40px; }
.install-cmd {
            display: inline-block; background: var(--bg-main);
            border: 1px solid var(--border); border-radius: 8px;
            padding: 16px 32px; font-family: 'JetBrains Mono', monospace;
            font-size: 14px; color: var(--text-secondary); margin-top: 24px;
        }
.install-cmd span { color: var(--primary); }
.req-grid {
            display: flex; gap: 16px; justify-content: center;
            flex-wrap: wrap; margin-top: 20px;
        }
.req-item {
            font-family: 'JetBrains Mono', monospace; font-size: 12px;
            color: var(--text-muted); padding: 6px 14px;
            border: 1px solid rgba(85,85,85,0.3); border-radius: 20px;
            background: rgba(60,60,60,0.3);
        }
.pricing-section { max-width: 900px; margin: 0 auto; text-align: center; }
.pricing-grid {
            display: grid; grid-template-columns: 1fr 1fr;
            gap: 24px; margin-top: 40px;
        }
.feature-card {
    background: var(--bg-surface); border: var(--border-dash);
    border-radius: var(--radius-lg); padding: 32px;
    transition: all 0.3s; position: relative; overflow: hidden;
}
.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; }
.workflow-section { max-width: 800px; margin: 0 auto; }
.workflow-grid { display: flex; flex-direction: column; gap: 0; margin-top: 48px; position: relative; }
.workflow-grid::before {
            content: ''; position: absolute; left: 28px; top: 28px; bottom: 28px;
            width: 2px; background: linear-gradient(to bottom, var(--primary), rgba(77,182,172,0.1));
        }
.workflow-step {
            display: flex; gap: 24px; align-items: flex-start;
            padding: 24px 0; position: relative;
        }
.workflow-num {
            width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            font-family: 'JetBrains Mono', monospace; font-size: 16px;
            font-weight: 600; color: #1a1a1a; position: relative; z-index: 1;
        }
.workflow-num.step1 { background: #4db6ac; }
.workflow-num.step2 { background: #66bb6a; }
.workflow-num.step3 { background: #ffa726; }
.workflow-num.step4 { background: #ab47bc; }
.workflow-body { flex: 1; padding-top: 4px; }
.workflow-header { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.workflow-body h3 { font-size: 18px; font-weight: 600; }
.workflow-badge {
            font-family: 'JetBrains Mono', monospace; font-size: 10px;
            letter-spacing: 0.5px; padding: 3px 10px; border-radius: 12px;
            font-weight: 600;
        }
.workflow-badge.ai-driven { background: rgba(77,182,172,0.15); color: var(--primary); }
.workflow-badge.ai-assisted { background: rgba(102,187,106,0.15); color: #66bb6a; }
.workflow-badge.human { background: rgba(255,167,38,0.15); color: #ffa726; }
.workflow-badge.ai-enhanced { background: rgba(171,71,188,0.15); color: #ab47bc; }
.workflow-body p { font-size: 15px; color: var(--text-secondary); font-weight: 300; margin-bottom: 10px; }
.workflow-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.workflow-tag {
            font-family: 'JetBrains Mono', monospace; font-size: 11px;
            color: var(--text-muted); padding: 4px 12px;
            border: 1px solid rgba(85,85,85,0.4); border-radius: 16px;
        }
@media (max-width: 768px) {
            .workflow-grid::before { left: 20px; }
            .workflow-num { width: 40px; height: 40px; font-size: 13px; }
            .workflow-step { gap: 16px; padding: 16px 0; }
            .workflow-body h3 { font-size: 16px; }
            .workflow-body p { font-size: 14px; }
        }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.cursor { animation: blink 1s infinite; color: var(--primary); }
.game-grid {
            display: grid;
            grid-template-columns: 1.1fr 1fr;
            gap: 48px;
            align-items: center;
        }
.game-pitch { /* col-1: 4 màn description */ }
.game-preview { /* col-2: terminal mock screen */ }
@media (max-width: 1024px) {
            .game-grid {
                grid-template-columns: 1fr !important;
                gap: 32px !important;
            }
            /* Visual-first trên mobile: card preview hiện TRƯỚC */
            .game-preview { order: 1; }
            .game-pitch   { order: 2; }

            /* Card preview compact hơn trên mobile */
            .game-preview .preview-title {
                font-size: 28px !important;
            }
            .game-preview .preview-padding {
                padding: 20px !important;
            }
            .game-preview .preview-tags {
                gap: 6px !important;
            }
            /* CTA buttons stack full-width trên mobile */
            .game-cta-row .btn-download,
            .game-cta-row .btn-outline {
                flex: 1;
                justify-content: center;
                min-width: 0;
            }
        }
#t2iSlideshow {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: #0a0a0a; /* fallback nếu ảnh chưa load */
        }
#t2iSlideshow .slide {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* crop nhẹ để fill — không méo, không leave space */
            object-position: center;
        }
.spotlight-grid-3-2 {
            grid-template-columns: 3fr 2fr;
            gap: 40px;
        }
@media (max-width: 1024px) {
            .spotlight-grid-3-2 {
                grid-template-columns: 1fr !important;
                gap: 32px !important;
            }
            .spotlight-grid {
                grid-template-columns: 1fr !important;
                gap: 32px !important;
            }
        }
@media (max-width: 1024px) {
            .req-grid-cards {
                grid-template-columns: 1fr !important;
                gap: 16px !important;
            }
            .stats-section {
                grid-template-columns: repeat(2, 1fr) !important;
                margin-top: 20px !important;
            }
            .pricing-grid {
                grid-template-columns: 1fr !important;
                gap: 24px !important;
            }
        }

/* INTERFACE GRID (2 Columns for UI Showcase) */
.interface-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; max-width: 1100px; margin: 0 auto; }
.interface-text { text-align: left; }
.interface-text .section-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 16px; }
.interface-text .section-desc { font-size: 16px; margin-bottom: 0; }
@media (max-width: 1024px) { .interface-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; } .interface-text { text-align: center; } }

/* MOBILE PRICING FIX — prevent text overflow on small screens */
@media (max-width: 768px) {
    .pricing-section { padding: 0 4px; }
    .price-card { padding: 28px 16px !important; }
    .price-card h3 { font-size: 18px !important; }
    .price-amount {
        font-size: 22px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    .price-amount del { font-size: 15px !important; }
    .price-amount span { font-size: 12px !important; }
    .price-period { font-size: 12px !important; }
    .price-features { max-width: 100% !important; }
    .price-features li { font-size: 13px !important; }
    .price-badge { font-size: 10px !important; }
    section { padding: 3rem 1rem !important; }
}

/* ==========================================
   SOCIAL PROOF STATS BAR
   ========================================== */
.stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 28px 24px;
    margin: -20px auto 0;
    max-width: 800px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(77, 182, 172, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    text-align: center;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(77, 182, 172, 0.15);
}
@media (max-width: 640px) {
    .stats-bar {
        gap: 16px;
        padding: 20px 16px;
        flex-wrap: wrap;
    }
    .stat-number { font-size: 20px; }
    .stat-label { font-size: 11px; }
    .stat-divider { height: 28px; }
}

.footer-links a { padding: 8px 0; display: inline-block; }

@media (max-width: 768px) {
    .orb { filter: none !important; opacity: 0.15; animation: none !important; }
    /* On phones the marquee becomes a hand-swipeable snap carousel
       (display:flex overrides an earlier mobile rule that hides it) */
    .marquee-container {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    .marquee-track { animation: none !important; }
    .marquee-item { scroll-snap-align: center; }
    /* the duplicated loop copy is pointless when scrolling by hand */
    .marquee-item[aria-hidden="true"] { display: none; }
}


/* =========================================
   SHARED SECTION HEADERS
   (product pages rely on these; hub keeps its
   scoped variant which wins by specificity)
========================================= */
.section-label {
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
    color: var(--primary); letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 12px;
    text-align: center;
}
.section-title {
    font-size: clamp(28px, 4vw, 44px); font-weight: 700;
    letter-spacing: -1px; margin-bottom: 16px; text-align: center;
}
.section-desc {
    font-size: 16px; color: var(--text-secondary);
    max-width: 600px; font-weight: 300; margin: 0 auto 60px;
    text-align: center;
}

/* =========================================
   MOBILE UX PACK
========================================= */
/* Tactile press feedback on touch devices (visual companion to haptics;
   iOS has no Vibration API so this is its only feedback channel) */
@media (hover: none) {
    .btn-primary:active, .btn-outline:active, .hero-cta-btn:active,
    .pill-link:active, .product-cta:active, .soon-chip:active,
    .mobile-fab:active, .lang-toggle button:active {
        transform: scale(0.95);
        transition: transform 0.08s ease-out;
    }
    .product-card:active, .marquee-item:active .mini-sim-box {
        transform: scale(0.985);
        transition: transform 0.12s ease-out;
    }
}

/* Small-viewport units: keep the hero stable while the mobile URL bar
   collapses/expands (vh jumps, svh does not) */
@supports (min-height: 100svh) {
    .hero { min-height: 80svh; }
    @media (max-width: 768px) {
        .hero { min-height: 62svh; }
    }
}


/* ── Flagship hero card (Magic Search on homepage) ─────────────────── */
.flagship-hero {
    display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 32px;
    max-width: 1100px; margin: 0 auto 32px; padding: 36px 40px;
    background:
        radial-gradient(circle at 88% 12%, rgba(77,182,172,0.12), transparent 45%),
        linear-gradient(135deg, var(--bg-main), rgba(77,182,172,0.05));
    border: var(--border-dash-accent) !important; border-radius: 18px; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.flagship-hero .fh-titlerow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.flagship-hero .fh-icon img { width: 46px; height: 46px; object-fit: contain; }
.flagship-hero .fh-titlerow h3 { font-size: 30px; font-weight: 700; margin: 0; letter-spacing: -0.5px; }
.flagship-hero .fh-badge,
.flagship-hero .fh-free {
    font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
    border-radius: 6px; padding: 3px 9px; letter-spacing: 0.5px;
}
.flagship-hero .fh-badge { color: var(--primary); background: var(--primary-glow); border: 1px solid rgba(77,182,172,0.35); }
.flagship-hero .fh-free { color: var(--green); background: rgba(102,187,106,0.12); border: 1px solid rgba(102,187,106,0.35); }
.flagship-hero .fh-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 22px; font-weight: 300; max-width: 560px; }
.flagship-hero .fh-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.flagship-hero .fh-right { display: flex; justify-content: center; }
.fh-mock {
    width: 100%; max-width: 320px; background: #0e0e0e; border: 1px solid rgba(77,182,172,0.25);
    border-radius: 12px; padding: 12px; box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.fh-mockbar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.fh-mockbar .fh-mchip { width: 22px; height: 22px; border-radius: 5px; flex-shrink: 0;
    background: radial-gradient(circle at 35% 30%, #d9c3a5, transparent 45%), linear-gradient(135deg,#7a5b3a,#3a2b1a); }
.fh-mockbar .fh-mline { flex: 1; height: 22px; border-radius: 5px; background: var(--bg-surface); border: var(--border-dash); }
.fh-mockbar .fh-mgo { width: 26px; height: 22px; border-radius: 5px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #10312d; background: var(--primary); }
.fh-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.fh-t { position: relative; height: 54px; border-radius: 7px; overflow: hidden; border: 2px solid transparent; }
.fh-t i { position: absolute; top: 4px; right: 4px; font-family: 'JetBrains Mono', monospace; font-size: 8.5px; font-weight: 700; color: #10312d; background: var(--primary); padding: 0 4px; border-radius: 3px; font-style: normal; }
.fh-t.t1 { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); background: radial-gradient(circle at 40% 30%, #caa878, transparent 55%), linear-gradient(135deg,#6d4d2e,#2c1f12); }
.fh-t.t2 { background: radial-gradient(circle at 50% 40%, #8fa0b8, transparent 55%), linear-gradient(135deg,#41515f,#20272e); }
.fh-t.t3 { background: radial-gradient(circle at 35% 35%, #b98a5a, transparent 55%), linear-gradient(135deg,#5a3f27,#241a10); }
.fh-t.t4 { background: radial-gradient(circle at 45% 30%, #c9b78d, transparent 55%), linear-gradient(135deg,#7a6a44,#2e281a); }
.fh-t.t5 { background: radial-gradient(circle at 40% 35%, #8f7d6b, transparent 55%), linear-gradient(135deg,#453a31,#1f1a16); }
.fh-t.t6 { background: radial-gradient(circle at 50% 30%, #b7a986, transparent 55%), linear-gradient(135deg,#6b5f43,#2a2419); }
.fh-send { margin-top: 10px; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: #10312d; background: linear-gradient(135deg,var(--primary),var(--primary-hover)); border-radius: 7px; padding: 8px; }
@media (max-width: 820px) {
    .flagship-hero { grid-template-columns: 1fr; padding: 28px 24px; }
    .flagship-hero .fh-right { display: none; }
}

/* ── Flagship hero mockup: premium polish (diverse assets + depth + motion) ── */
.flagship-hero {
    background:
        radial-gradient(circle at 90% 8%, rgba(77,182,172,0.18), transparent 42%),
        radial-gradient(circle at 8% 90%, rgba(77,182,172,0.06), transparent 45%),
        linear-gradient(135deg, var(--bg-main), rgba(77,182,172,0.05)) !important;
}
.fh-mock { animation: fhFloat 5s ease-in-out infinite; }
@keyframes fhFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.fh-t::after { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
    box-shadow: inset 0 0 22px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08); }
.fh-t.t1 { border-color: var(--primary); animation: fhPulse 2.4s ease-in-out infinite;
    background: radial-gradient(circle at 38% 28%, #e3c79c, transparent 55%), linear-gradient(135deg,#7d5a34,#2e2013); }
.fh-t.t2 { background: radial-gradient(circle at 50% 38%, #9fb6d6, transparent 55%), linear-gradient(135deg,#3f5a78,#1b2430); }
.fh-t.t3 { background: radial-gradient(circle at 42% 32%, #9ccf7e, transparent 55%), linear-gradient(135deg,#3e6b3a,#16260f); }
.fh-t.t4 { background: radial-gradient(circle at 46% 30%, #ede2cf, transparent 58%), linear-gradient(135deg,#8a7d63,#2f2a1e); }
.fh-t.t5 { background: linear-gradient(180deg,#8fd2e8 0%,#6fb6d6 45%,#c9a878 46%,#8a6a44 100%); }
.fh-t.t6 { background: radial-gradient(circle at 44% 30%, #f0b48a, transparent 55%), linear-gradient(135deg,#a8542f,#3a1c10); }
@keyframes fhPulse {
    0%,100% { box-shadow: 0 0 0 1px var(--primary), 0 0 10px rgba(77,182,172,0.25); }
    50%     { box-shadow: 0 0 0 1px var(--primary), 0 0 22px rgba(77,182,172,0.6); }
}
@media (prefers-reduced-motion: reduce) {
    .fh-mock, .fh-t.t1 { animation: none; }
}
