@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Unbounded:wght@400;700;900&display=swap');

:root {
    --bg: #050505;
    --fg: #ffffff;
    --muted: #888888;
    --accent: #00D1FF;
    --accent-glow: rgba(0, 209, 255, 0.3);
    --violet: #8B5CF6;
    --border: rgba(255, 255, 255, 0.1);
    --surface: rgba(255, 255, 255, 0.03);
    
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor planned */
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    z-index: 9999;
    pointer-events: none;
    background-image: var(--noise);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 5rem;
    margin-bottom: 2rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--muted);
    font-weight: 300;
}

.section-desc {
    max-width: 800px;
    margin-bottom: 4rem;
}

.vision-text {
    max-width: 800px;
    font-size: 1.5rem;
    color: #fff;
}

.final-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.5rem;
}


/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease-out;
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
}

/* Layout Elements */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem; /* Slightly tighter to give blocks more room */
    }
}

.section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border);
}

/* Header/Nav */
.nav-logo {
    width: 65px; /* Fits elegantly inside the nav pill */
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.nav-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Language Dropdown Core Styling */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-current {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--fg);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 70px;
    text-align: center;
    text-transform: uppercase;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    color: var(--accent);
}

.lang-options {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 100px;
    z-index: 1001;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.lang-dropdown.menu-open .lang-options {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.lang-dropdown .lang-btn {
    background: none;
    border: none;
    color: var(--muted);
    padding: 0.6rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    cursor: pointer;
    text-align: center;
    border-radius: 10px;
    transition: all 0.2s ease;
    width: 100%;
    text-transform: uppercase;
}

.lang-dropdown .lang-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.lang-dropdown .lang-btn.active {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
}

.mobile-lang-dropdown {
    margin-right: 0.5rem;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 0.5rem 2rem;
    border-radius: 100px;
    display: flex;
    gap: 2rem;
    align-items: center;
}

body.is-mobile-view .nav {
    display: none !important;
}


.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

/* Navigation Refinements */
.nav a:hover, .nav a.active {
    color: var(--accent);
}

    /* Burger Menu Toggles */
    .burger-toggle {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border);
        color: var(--fg);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.6rem;
        border-radius: 100px; /* Pillow shape matching nav */
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        margin-left: 0.5rem;
        gap: 0.5rem;
    }

    .burger-toggle::after {
        content: "MENU";
        font-size: 0.65rem;
        font-family: var(--font-heading);
        letter-spacing: 0.1em;
        font-weight: 700;
        color: var(--muted);
        transition: color 0.3s ease;
    }

    /* Hide text in mobile view */
    @media (max-width: 768px) {
        .burger-toggle::after {
            display: none;
        }
        .burger-toggle {
            gap: 0;
            padding: 0.6rem;
            width: 42px;
            height: 42px;
        }
    }


.burger-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.burger-toggle:hover::after {
    color: var(--accent);
}

.mobile-burger {
    margin-left: 0;
    width: 42px;
    height: 42px;
}

/* Burger Menu Overlay Container */
.burger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(40px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.burger-overlay.is-active {
    opacity: 1;
    pointer-events: all;
}

.burger-close {
    position: absolute;
    top: 3rem;
    right: 3rem;
    background: none;
    border: none;
    color: var(--fg);
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}

.burger-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.burger-nav {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
}

.burger-nav a {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-family: var(--font-heading);
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transition: color 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.burger-overlay.is-active .burger-nav a {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered animation delays for links */
.burger-overlay.is-active .burger-nav a:nth-child(1) { transition-delay: 0.1s; }
.burger-overlay.is-active .burger-nav a:nth-child(2) { transition-delay: 0.15s; }
.burger-overlay.is-active .burger-nav a:nth-child(3) { transition-delay: 0.2s; }
.burger-overlay.is-active .burger-nav a:nth-child(4) { transition-delay: 0.25s; }
.burger-overlay.is-active .burger-nav a:nth-child(5) { transition-delay: 0.3s; }

.burger-nav a:hover {
    color: var(--accent);
    transform: scale(1.02) !important;
}

/* Hide Mobile UI by default */
.mobile-top-bar, .mobile-dock {
    display: none;
}



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 10rem 0 2rem;
    overflow: hidden; /* Stop absolute elements from triggering horizontal scroll */
}

.hero-visual {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    opacity: 0.6;
    filter: blur(2px);
    z-index: -1;
    animation: float 10s infinite alternate ease-in-out;
}

@keyframes float {
    from { transform: translateY(-45%) rotate(0deg); }
    to { transform: translateY(-55%) rotate(5deg); }
}

.hero-content {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 8.5vw, 6.8rem);
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(to bottom, #fff 40%, #444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 100%;
    display: block;
}

.hero .subheadline {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-5px);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--surface);
}

.hero-support {
    font-size: 0.9rem;
    max-width: 400px;
    opacity: 0.5;
}

/* Positioning Section */
.positioning {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
}

.positioning h2 {
    font-size: 4rem;
}

/* Lab Section */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pillar-item {
    border: 1px solid var(--border);
    padding: 2rem;
    transition: border-color 0.3s;
}

.pillar-item:hover {
    border-color: var(--accent);
}

.pillar-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Builds Section */
.build-item {
    margin-top: 8rem;
    display: flex;
    gap: 5rem;
    align-items: center;
}

.build-visual {
    flex: 0 0 450px !important;
    height: 320px !important;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem !important;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.build-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.build-visual:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.build-visual:hover::before {
    opacity: 1;
}

.build-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.build-visual:hover img {
    transform: scale(1.03);
}

.build-info {
    flex: 1;
}

.product-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.product-title-link:hover h3 {
    color: var(--accent);
}

.build-info h3 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.build-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.7rem;
    margin-bottom: 1rem;
}

/* Responsive & Mobile Specifics */
@media (max-width: 768px) {
    body {
        cursor: default;
    }
    
    .custom-cursor, .custom-cursor-dot {
        display: none;
    }

    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        position: relative;
    }

    .container {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    main {
        padding-bottom: 120px;
    }

    .nav {
        display: none; /* Hide desktop nav */
    }


    /* Bottom Mobile Dock */
    .mobile-dock {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(10, 10, 10, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        padding: 1rem 1.5rem;
        border-radius: 100px;
        display: flex;
        gap: 1.5rem;
        z-index: 2000;
        width: 90%;
        justify-content: space-around;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .mobile-dock a {
        color: var(--muted);
        text-decoration: none;
        font-size: 0.6rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .mobile-dock a.active {
        color: var(--accent);
    }

    .section {
        padding: 4rem 1.5rem 6rem; /* Reduced vertical padding and restored horizontal padding */
    }




    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.8rem); /* Slightly smaller to fit long phrases */
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 2.2rem !important; /* Forces consistency across all sections */
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .section-desc, .vision-text, .final-text {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .vision-text, .final-text {
        font-size: 1.1rem;
    }


    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    .mobile-top-bar {
        position: fixed;
        top: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 3rem); /* Matches container padding */
        background: rgba(10, 10, 10, 0.85);
        backdrop-filter: blur(25px);
        border: 1px solid var(--border);
        padding: 0.5rem 1rem 0.5rem 1.5rem;
        border-radius: 100px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 2000;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .mobile-nav-logo {
        width: 70px;
    }

    .mobile-nav-logo img {
        width: 100%;
        height: auto;
        display: block;
    }

    .lab-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
        padding-right: 0.5rem; /* Safety buffer */
    }

    .pillar-item {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }


    .build-item {
        margin-top: 4rem;
        flex-direction: column-reverse;
        gap: 2.5rem;
        align-items: flex-start;
    }

    .build-visual {
        flex: none;
        width: 100%;
        height: 250px;
        padding: 0.5rem;
    }

    .build-info h3 {
        font-size: 2.2rem;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        padding-right: 0.5rem; /* Safety buffer */
    }
    
    /* Aggressively hide scrollbars inside the simulator iframe */
    html:has(body.is-mobile-view)::-webkit-scrollbar,
    body.is-mobile-view::-webkit-scrollbar,
    body.is-mobile-view *::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        background: transparent !important;
    }
    html:has(body.is-mobile-view),
    body.is-mobile-view {
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 2rem;
    }
}

/* --- PREMIUM CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: all 0.3s ease;
}

*:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.7) !important;
}

/* Firefox support */
* {
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}


/* Ecosystem Page Specifics */
.ecosystem-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 180px; /* clear fixed nav more aggressively */
    border-bottom: 1px solid var(--border);
}

.intro-section {
    padding: 10rem 0;
    border-bottom: 1px solid var(--border);
}

.intro-section h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 4rem;
    max-width: 900px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.architecture-section {
    padding: 10rem 0;
    border-bottom: 1px solid var(--border);
}

.arch-tiers {
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.arch-tier {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 4rem;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.arch-tier:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent);
}

.arch-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
}

.arch-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.arch-tier {
    overflow: visible !important;
}

.arch-content p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 700px;
    word-break: break-word;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 6rem;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.cap-card {
    background: var(--bg);
    padding: 4rem;
    transition: background 0.3s ease;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cap-card:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cap-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.product-deep-dive {
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.deep-dive-item {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr !important;
    gap: 6rem !important;
}

.deep-dive-visual {
    height: 650px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
}

.deep-dive-visual img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.deep-dive-games {
    opacity: 1;
}

.deep-dive-visual h3 {
    font-size: 2rem;
    letter-spacing: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.deep-dive-content .btn {
    margin-top: 6rem !important;
}

.deep-dive-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-width: 0;
}

.deep-dive-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.deep-dive-content .subtitle {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 3rem;
    line-height: 1.4;
}

.deep-dive-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.deep-dive-text p {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
}

.brand-showcase {
    margin-top: 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
}

.brand-card {
    background: var(--bg);
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-card h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.conclusion-section {
    padding: 12rem 0;
    text-align: center;
}

.conclusion-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .deep-dive-item {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 3rem !important;
    }
    .deep-dive-visual {
        height: 500px !important;
        padding: 0.5rem !important;
    }
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .brand-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section, .intro-section, .architecture-section, .conclusion-section {
        padding: 3rem 0; /* Smaller gaps */
    }

    .hero {
        padding-top: 240px; /* Aggressive clearance for simulator fixed nav */
        min-height: auto;
        justify-content: flex-start;
        padding-bottom: 2rem; /* Adjusted buffer */
        padding-left: 0;
        padding-right: 0;
    }

    .positioning {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 2rem;
        padding-top: 2rem !important; /* Added small margin as requested */
    }

    .ecosystem-hero {
        padding-top: 240px; /* Aggressive clearance for simulator fixed nav */
        min-height: auto;
        padding-bottom: 2rem; /* Adjusted buffer */
        align-items: flex-start;
    }

    .intro-section {
        padding-top: 2rem !important; /* Added small margin as requested */
    }

    .arch-tier {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        overflow: visible;
    }

    .arch-content h3 {
        font-size: 1.05rem; /* Shrink to fit */
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: none;
        line-height: 1.3;
    }

    .architecture-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .cap-card {
        padding: 2rem;
    }

    .deep-dive-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
    }

    .deep-dive-content .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .deep-dive-visual {
        height: 150px;
        padding: 1rem;
        overflow: hidden;
    }

    .deep-dive-visual h3 {
        font-size: 0.8rem !important;
        letter-spacing: 0.05rem !important;
        text-align: center;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .deep-dive-item {
        overflow: visible;
        gap: 2rem;
        padding: 0 0.5rem; /* Internal margin for clipping safety */
    }

    .deep-dive-content .btn {
        margin-top: 2.5rem !important;
    }

    .product-deep-dive {
        margin-top: 5rem;
        gap: 6rem;
    }

    .cap-card {
        padding: 1.5rem;
    }

    .brand-card {
        padding: 2rem;
    }

    .brand-card h3 {
        font-size: 1.6rem;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .brand-card .btn {
        margin-top: 2rem !important;
    }
}

.empty-card {
    background: var(--bg) !important;
}

@media (max-width: 1024px) {
    .empty-card {
        display: none !important;
    }
}





/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 9999;
    max-width: 90%;
    width: 600px;
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-content {
    flex: 1;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--fg);
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    border-color: var(--fg);
}

.cookie-btn.accept {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}

.cookie-btn.accept:hover {
    background: transparent;
    color: var(--fg);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        bottom: 110px; /* Above mobile dock */
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .cookie-actions {
        justify-content: flex-end;
    }
}
