:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-secondary: #a0a0a0;
    --btn-primary-bg: rgba(255, 255, 255, 0.1);
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: #ffffff;
    --btn-secondary-text: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #03080f;
    background:
        linear-gradient(180deg, #03080f 0%, #164e63 15%, #083344 60%, #042f2e 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Custom Dark Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #03080f;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Background Atmospheric Glow Orbs */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

/* Scroll-Driven Sunrise Layer */
.sunrise-overlay {
    position: absolute;
    inset: 0;
    /* A digital dawn matching the reference: Deep glowing coral/orange and cyan rising from the bottom */
    background: radial-gradient(circle at 50% 80%, rgba(255, 107, 107, 0.25) 0%, rgba(56, 189, 248, 0.15) 50%, rgba(13, 18, 34, 0) 100%);
    opacity: 0;
    /* Fully transparent initially, JS handles the fade-in */
    pointer-events: none;
    z-index: 1;
    will-change: opacity;
}

.bg-orb-1 {
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.45) 0%, rgba(56, 189, 248, 0) 70%);
    /* Bright Cyan */
    top: -200px;
    left: 50%;
    margin-left: -450px;
    filter: blur(100px);
    animation: orbDrift1 22s ease-in-out infinite alternate;
}

.bg-orb-2 {
    width: 620px;
    height: 520px;
    background: radial-gradient(ellipse, rgba(255, 107, 107, 0.25) 0%, rgba(255, 107, 107, 0) 70%);
    /* Glowing Coral */
    bottom: 0;
    left: -120px;
    filter: blur(90px);
    animation: orbDrift2 28s ease-in-out infinite alternate;
}

.bg-orb-3 {
    width: 480px;
    height: 420px;
    background: radial-gradient(ellipse, rgba(49, 104, 255, 0.45) 0%, rgba(49, 104, 255, 0) 70%);
    /* Deep Vivid Blue */
    top: 30%;
    right: -100px;
    filter: blur(85px);
    animation: orbDrift3 24s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(130px, 90px) scale(1.08);
    }

    66% {
        transform: translate(-70px, 150px) scale(0.94);
    }

    100% {
        transform: translate(170px, 50px) scale(1.06);
    }
}

@keyframes orbDrift2 {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    40% {
        transform: translate(110px, -130px) scale(1.1);
    }

    100% {
        transform: translate(190px, -70px) scale(0.88);
    }
}

@keyframes orbDrift3 {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    50% {
        transform: translate(-110px, 90px) scale(1.12);
    }

    100% {
        transform: translate(-65px, -90px) scale(0.9);
    }
}


/* Typography Selection */
::selection {
    background: rgba(14, 165, 233, 0.35);
    /* Vivid Cyan with opacity */
    color: inherit;
    /* Maintain text color so it contrasts against background */
}

/* Navigation - Base Dark Frosted Glass (For Dark Sections) */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 0.65rem 2.5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(3, 8, 15, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Nav Links (Dark Mode Default) */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

/* Logo Styling - Cinematic Core */
.logo-cinematic .logo-text-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 0 10px;
}

.logo-cinematic .logo-icon-core {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -2px;
}

.logo-cinematic .logo-icon-core svg {
    width: 100%;
    height: 100%;
    animation: corePulse 4s infinite alternate ease-in-out;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.4));
}

.logo-cinematic .logo-wordmark {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #ffffff;
}

@keyframes corePulse {
    0% {
        transform: scale(0.95) rotate(-2deg);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.05) rotate(2deg);
        opacity: 1;
        filter: brightness(1.2) drop-shadow(0 0 15px rgba(14, 165, 233, 0.6));
    }
}

.navbar a:not(.btn-primary):not(.btn-secondary) {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    position: relative;
    padding: 0.5em 0;
    transition: color 0.3s ease;
}

.navbar a:not(.btn-primary):not(.btn-secondary):hover {
    color: #fff;
}

/* Animated Centered Logo (Dark Mode Default) */
.logo-animated {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
}

.logo-text-wrapper,
.l-b,
.l-l {
    font-weight: 500;
    color: #fff;
    display: inline-block;
    transition: color 0.4s ease;
}

/* The letters that collapse */
.l-yte,
.l-and {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    transform-origin: left center;
    transition: color 0.4s ease;
}

@keyframes collapseText {
    0% {
        max-width: 50px;
        opacity: 1;
    }

    40% {
        opacity: 0;
    }

    100% {
        max-width: 0px;
        opacity: 0;
    }
}

/* Language Switcher (Dark Mode Default) */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.lang-btn.active {
    color: #fff;
    font-weight: 600;
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.lang-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
    transition: background 0.4s ease;
}

/* ========================================================= */
/* Navbar Light Theme (Applied over Hero & How We Fix It) */
/* ========================================================= */

.navbar.nav-light {
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.navbar.nav-light a:not(.btn-primary):not(.btn-secondary) {
    color: #475569 !important;
}

.navbar.nav-light a:not(.btn-primary):not(.btn-secondary):hover {
    color: #0ea5e9 !important;
}

.navbar.nav-light .logo-text-wrapper,
.navbar.nav-light .l-b,
.navbar.nav-light .l-l {
    color: #0f172a !important;
}

.navbar.nav-light .l-yte,
.navbar.nav-light .l-and {
    color: #475569 !important;
}

.navbar.nav-light .lang-btn {
    color: #475569 !important;
}

.navbar.nav-light .lang-btn.active {
    color: #0f172a !important;
}

.navbar.nav-light .lang-btn:hover {
    color: #0f172a !important;
    background: rgba(15, 23, 42, 0.05) !important;
}

.navbar.nav-light .lang-divider {
    background: rgba(15, 23, 42, 0.2) !important;
}

/* Nav action buttons */
.btn-primary,
.btn-secondary {
    display: none;
    /* Hidden via user layout request */
}

.btn-primary:hover {
    background: #f4f4f5;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Mobile Navigation                       */
/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1000;
}

.mobile-menu-btn .bar {
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Light mode override for hamburger */
.navbar.nav-light .mobile-menu-btn .bar {
    background-color: #0f172a !important;
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 999;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 32px;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 900px) {
    .navbar {
        justify-content: space-between;
        padding: 0.65rem 1.5rem;
    }

    .nav-left,
    .nav-right {
        display: none !important;
    }

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

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Hero Section                            */
/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Hero Section (Vercel Style Standard HTML) */
/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    /* Push content to the right */
    align-items: center;
    text-align: left;
    /* Align text to the left within the right container */
    padding: 140px 6% 80px;
    z-index: 1;
    gap: 40px;
    background: linear-gradient(160deg, #e6e3d9 0%, #d4deea 100%);
    overflow: hidden;
}

/* Smooth bottom fade into WWCD section */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent 0%, #d9e5ef 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    /* Increase width to 60% so object-fit: cover scales video less horizontally, achieving a natural zoom-out */
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: 40% center;
    /* Keep left focal point */
    z-index: 1;
    opacity: 1;
    pointer-events: none;
    /* Soft, strictly horizontal fade as requested */
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 90%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 90%);
}

.hero-content {
    width: 50%;
    /* Take up the right half of the screen */
    position: relative;
    z-index: 2;
    margin: 0;
    padding-left: 60px;
    padding-right: 40px;
    display: flex;
    align-items: center;
}

.hero-text-wrapper {
    max-width: 560px;
    /* Constrains headline to 2 lines and subtitle to 2-3 lines ideally */
    display: flex;
    flex-direction: column;
}

.hero-section .hero-title {
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, #0ea5e9 0%, #334155 35%, #0f172a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-section .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #475569;
    line-height: 1.6;
    font-weight: 300;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #0f172a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-btn-primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: transparent;
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.2);
    transition: all 0.2s ease;
}

.hero-btn-secondary:hover {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.3);
}

.hero-proof-chips {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-bg-video {
        width: 100%;
        /* 16:9 natural ratio — no zoom cropping */
        height: 56.25vw;
        object-fit: cover;
        object-position: center center;
        top: 64px;
        /* Push below mobile navbar */
        transform: none;
        /* reset desktop translateY */
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 92%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 92%);
    }

    .hero-section {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        /* push content below video (56.25vw + 64px offset) + small gap (16px) */
        padding: calc(56.25vw + 80px) 5% 60px;
        gap: 0;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
    }

    .hero-section .hero-title {
        font-size: clamp(1.9rem, 7vw, 2.8rem);
        padding: 0 4px;
    }

    .hero-section .hero-subtitle {
        font-size: 1rem;
        padding: 0 4px;
    }
}


/* ==========================================================================
   Section 3: What We Solve (Terminal Layout)
   ========================================================================== */

.hwfi-sliding-curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        linear-gradient(180deg, rgba(197, 228, 238, 0) 65%, #c5e4ee 100%),
        linear-gradient(270deg, #050b14 0%, #14323d 25%, #629fb5 55%, #d8eff5 80%, #c5e4ee 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 40;
    transform: translate3d(-100vw, 0, 0);
    will-change: transform;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 20px 0 80px rgba(10, 15, 30, 0.2);
}

.hwfi-glass {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
    /* Subtle radial glow to enhance the light theme */
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.04) 0%, transparent 70%);
    display: flex;
    flex-direction: column;
    padding: 72px 5vw 24px 5vw;
    box-sizing: border-box;
    overflow: hidden;
}

/* Smooth bottom fade into WWCD section */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent 0%, #d9e5ef 100%);
    pointer-events: none;
    z-index: 2;
}

/* Apply bright gradient to Section 4 headers due to dark top background */
.hwfi-glass .problems-header h2 {
    background: linear-gradient(90deg, #38bdf8 0%, #ffffff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hwfi-glass .problems-header p {
    color: #cbd5e1;
}

.hwfi-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

/* DESKTOP: BENTO WHEEL */
.hwfi-desktop {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.hwfi-mobile {
    display: none;
}

.hwfi-split {
    display: grid;
    grid-template-columns: 320px 650px;
    justify-content: center;
    gap: 60px;
    flex: 1;
    align-items: center;
    /* Avoids stretching boxes full vertical height */
    overflow: hidden;
    margin-top: 16px;
    min-height: 0;
}

.hwfi-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 1px solid rgba(15, 23, 42, 0.06);
    padding-right: 24px;
    padding-top: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    justify-content: flex-start;
    /* Fixes clipping â€” don't center vertically */
}

.hwfi-item {
    padding: 14px 20px;
    cursor: pointer;
    border-radius: 12px;
    color: #475569;
    transition: all 0.3s ease;
    position: relative;
}

.hwfi-item:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.hwfi-item.active {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.1);
    transform: translateX(4px);
    border: 1px solid rgba(14, 165, 233, 0.25);
}

.hwfi-item.active::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 15px;
    bottom: 15px;
    width: 4px;
    background: #0ea5e9;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.3);
}

.hwfi-item-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 3px;
}

.hwfi-item-sub {
    font-size: 0.85rem;
    opacity: 0.7;
}

.hwfi-display {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
}

.hwfi-display::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: #0ea5e9;
    filter: blur(150px);
    opacity: 0.06;
    border-radius: 50%;
}

.hwfi-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hwfi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}


/* MOBILE: STACKED DECK */
@media (max-width: 900px) {
    .hwfi-desktop {
        display: none;
    }

    .hwfi-mobile {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
    }

    .hwfi-stack {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    .hwfi-mob-card {
        position: absolute;
        top: 20px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border: none;
        border-radius: 24px;
        padding: 24px;
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
        will-change: transform, opacity;
        transition: opacity 0.2s ease;
    }

    .hwfi-mob-sub {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* ==========================================================================
   What We Can Do Section (Tabs)
   ========================================================================== */

.wwcd-section {
    color: #0f172a;
    position: relative;
    padding: 100px 6% 100px;
    background: linear-gradient(180deg, #d9e5ef 0%, #dde8f0 40%, #e5edf4 100%);
    overflow: hidden;
}

.wwcd-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.wwcd-header {
    text-align: center;
    margin-bottom: 48px;
}

.wwcd-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 12px;
}

.wwcd-desc {
    font-size: 1rem;
    color: #64748b;
    font-weight: 300;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   Option 1: Apple-Style Split Layout
   ========================================================================== */
.split-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(300px, 350px) 1fr;
    gap: 60px;
    align-items: flex-start;
    /* Fix vertical shifting bug */
}

.split-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* The sliding pill background */
.split-indicator {
    position: absolute;
    left: 0;
    width: 100%;
    height: 56px;
    /* Matches item height */
    background: rgba(14, 165, 233, 0.1);
    border-left: 3px solid #0ea5e9;
    border-radius: 0 12px 12px 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.split-list-item {
    position: relative;
    z-index: 1;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
}

.split-list-item:hover {
    color: #0f172a;
}

.split-list-item.active {
    color: #0ea5e9;
    font-weight: 600;
}

.split-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.05);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Anchor content nicely to the top */
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* Abstract graphic element for Option 1 */
.split-graphic {
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.split-graphic::after {
    content: '';
    /* Generic symbol or svg */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    color: rgba(14, 165, 233, 0.1);
}

.split-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.split-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0ea5e9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.split-headline {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    /* Reduced from abnormal proportion */
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.split-body {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 300;
}

/* ============================================
   KINETIC LOGO — Data Wave B + yteLand Collapse
   ============================================ */
.logo {
    text-align: center;
}

.logo .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    overflow: hidden;
}

/* The SVG is sized to stand alone as an icon */
.logo .logo-svg-b {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    transition: filter 0.4s ease, transform 0.4s ease;
    /* Keep glow subtle so it works on both dark and light backgrounds */
    filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.5)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}

.logo .logo-link:hover .logo-svg-b {
    /* Removed unnatural high-glow filter */
    transform: scale(1.02);
}

/* The full wordmark: visible by default, collapses into B on page load */
.logo .logo-wordmark {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #ffffff;
    /* Collapse: max-width starts at the natural width, shrinks to 0 on delay */
    max-width: 200px;
    opacity: 1;
    transform: translate(0, 4px);
    transition: max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

/* On page-load (after timeout): ByteLand text slides left and fades into the B */
.logo .logo-link.collapsed .logo-wordmark {
    max-width: 0;
    opacity: 0;
    transform: translate(-6px, -2px);
}

/* On hover once collapsed: expand back out — ONLY on devices that support hover (mouse) */
@media (hover: hover) and (pointer: fine) {
    .logo .logo-link.collapsed:hover .logo-wordmark {
        max-width: 200px;
        opacity: 1;
        transform: translate(0, -2px);
    }
}

.split-outcome {
    border: 1px solid #0ea5e9;
    padding: 20px 24px;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 0 12px 12px 0;
    color: #0f172a;
}

.split-outcome span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0ea5e9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

/* ==========================================================================
   WWCD Responsive Layout Display
   ========================================================================== */
.wwcd-mobile-layout {
    display: none;
}

.wwcd-desktop-layout {
    display: block;
}

@media (max-width: 900px) {
    .wwcd-desktop-layout {
        display: none;
    }

    .wwcd-mobile-layout {
        display: block;
    }
}

/* ==========================================================================
   WWCD Icon Grid + Bottom Sheet (Mobile Layout — replaces Accordion)
   ========================================================================== */
.wwcd-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.wwcd-icon-btn {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 20px 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.18s ease;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.wwcd-icon-btn::after {
    content: '\203A';
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 1rem;
    line-height: 1;
    color: #cbd5e1;
    transition: color 0.18s ease;
}

@media (hover: hover) {
    .wwcd-icon-btn:hover {
        background: #f0f9ff;
        border-color: #0ea5e9;
        box-shadow: 0 4px 16px rgba(14, 165, 233, 0.15);
        transform: translateY(-2px);
    }

    .wwcd-icon-btn:hover::after {
        color: #0ea5e9;
    }
}

.wwcd-icon-btn:active {
    background: rgba(14, 165, 233, 0.08);
    border-color: #0ea5e9;
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.wwcd-icon-symbol {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ea5e9;
}

.wwcd-icon-symbol svg {
    width: 22px;
    height: 22px;
    stroke: #0ea5e9;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wwcd-icon-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Bottom Sheet */
.wwcd-sheet-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wwcd-sheet-backdrop.open {
    display: block;
    opacity: 1;
}

.wwcd-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 12px 24px 40px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}

.wwcd-bottom-sheet.open {
    transform: translateY(0);
}

.wwcd-sheet-handle {
    width: 40px;
    height: 4px;
    background: rgba(15, 23, 42, 0.12);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.wwcd-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0ea5e9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.wwcd-panel-headline {
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.wwcd-panel-body {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #475569;
    line-height: 1.5;
    margin-bottom: 24px;
    font-weight: 300;
}

.wwcd-outcome {
    border-left: 2px solid #0ea5e9;
    padding-left: 16px;
    margin-top: 10px;
}

.wwcd-outcome-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #0ea5e9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.wwcd-outcome-text {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: #334155;
    line-height: 1.4;
    font-weight: 400;
}

/* ==========================================================================
   Section 3: What We Solve (The Outcomes / Bento Grid)
   Transition A (Fade to Dark) + Parallax effects
   ========================================================================== */

/* The fade out body class removed as we are setting backgrounds implicitly per section */

.transition-a-zone {
    height: 0px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: none;
}

.wws-section {
    background-color: #e5edf4;
    /* Seamlessly match the ending gradient of the previous section */
    color: #0f172a;
    padding: 180px 5% 150px;
    /* Increased top padding to separate completely from section 2 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-top: none;
}

@media (max-width: 900px) {
    .wws-section {
        padding: 80px 5% 80px;
    }

    .wws-header {
        margin-bottom: 40px;
    }

    .wws-desc {
        font-size: 0.95rem;
    }
}

.wws-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.wws-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.wws-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #38bdf8;
    font-weight: 700;
    margin-bottom: 20px;
    transition: color 0.8s ease;
}

.wws-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: inherit;
    transition: color 0.8s ease;
    padding: 0 2px;
}

/* Mobile: unify ALL section title sizes AFTER desktop rules */
@media (max-width: 900px) {

    .wws-title,
    .wwcd-title,
    .split-headline,
    .faq-title {
        font-size: 1.65rem !important;
        letter-spacing: -0.03em;
        line-height: 1.15;
    }
}

.wws-desc {
    font-size: 1.15rem;
    color: #475569;
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    transition: color 0.8s ease;
}

/* Pseudo-element for smooth gradient crossfade */
.wws-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Begins at #e5edf4 so the seam never changes color during fade, then transitions to exact blueberry from photo */
    background: linear-gradient(180deg, #e5edf4 0%, #a4bee8 25%, #87a9d9 60%, #688ccf 100%);
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Trigger the gradient fade on scroll */
.wws-section.theme-uplifting::before {
    opacity: 1;
}

/* Text and content wrapper stays dark for perfect legibility over the light gradient, so we only need z-index fixes */
.wws-inner,
.wws-header,
.bento-grid {
    position: relative;
    z-index: 2;
}

.bento-grid {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(280px, auto);
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* The card base: Frosted Glass Adapting */
.bento-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;

    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    cursor: default;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.03);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    opacity: 1;
}

/* Base Hover */
.bento-card:hover,
.bento-card.mobile-active {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.06);
    z-index: 10;
}

/* Blueberry Glass Overrides */
.wws-section.theme-uplifting .bento-card {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px -10px rgba(104, 140, 207, 0.2);
}

.wws-section.theme-uplifting .bento-card:hover,
.wws-section.theme-uplifting .bento-card.mobile-active {
    box-shadow: 0 20px 40px -10px rgba(104, 140, 207, 0.4);
    background: rgba(255, 255, 255, 0.65);
}

.wws-section.theme-uplifting .wws-eyebrow {
    color: #688ccf;
}

.wws-section.theme-uplifting .wws-desc {
    color: #334155;
}

.wws-section.theme-uplifting .bento-tag {
    color: #688ccf;
}

.wws-section.theme-uplifting .bento-title {
    color: #0f172a;
}

.wws-section.theme-uplifting .bento-desc {
    color: #334155;
}

.bento-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0ea5e9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    transition: color 0.8s ease;
}

.bento-title {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #0f172a;
    transition: color 0.8s ease;
}

.bento-desc {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #475569;
    line-height: 1.6;
    font-weight: 300;
    transition: color 0.8s ease;
    margin-top: auto;
}

/* Grid spanning for the 6 items */
.card-large {
    grid-column: span 2;
}

.card-small {
    grid-column: span 1;
}

/* ==========================================================================
   Section 3: Desktop / Mobile Show-Hide
   ========================================================================== */
.wws-desktop-only {
    display: grid;
}

/* shown on desktop (default) */
.wws-mobile-only {
    display: none;
}

/* hidden on desktop */

@media (max-width: 900px) {
    .wws-desktop-only {
        display: none !important;
    }

    .wws-mobile-only {
        display: block;
    }
}

/* ==========================================================================
   Section 3 Mobile: iOS-Style Rows
   ========================================================================== */
.wws-ios-group {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.wws-ios-row-wrap {
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.wws-ios-row-wrap:last-child {
    border-bottom: none;
}

.wws-ios-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.wws-ios-row-wrap.open .wws-ios-row {
    background: #f8fafc;
}

.wws-ios-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wws-ios-icon svg {
    width: 18px;
    height: 18px;
    stroke: #0ea5e9;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wws-ios-text {
    flex: 1;
    min-width: 0;
}

.wws-ios-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: #0ea5e9;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.wws-ios-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wws-ios-row-wrap.open .wws-ios-title {
    white-space: normal;
}

.wws-ios-chevron {
    color: #cbd5e1;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.wws-ios-row-wrap.open .wws-ios-chevron {
    transform: rotate(90deg);
    color: #0ea5e9;
}

.wws-ios-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #f8fafc;
    border-top: 0 solid transparent;
}

.wws-ios-row-wrap.open .wws-ios-detail {
    max-height: 300px;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.wws-ios-detail-inner {
    padding: 14px 18px;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
}

/* --- MOBILE TARGETED TYPOGRAPHY SCALING AND READABILITY --- */
@media (max-width: 900px) {
    .hero-section .hero-title {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    }

    .hero-section .hero-subtitle {
        color: #0f172a;
        font-weight: 500;
        text-shadow: 0 0 24px rgba(255, 255, 255, 1), 0 0 12px rgba(255, 255, 255, 0.9);
    }
}

/* ==========================================================================
   Section 4: FAQ (Frequently Asked Questions)
   ========================================================================== */
.faq-section {
    /* Now 5th section — takes Methodology's old light blue-slate palette */
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 30%, #dce5ef 70%, #cfd9e8 100%);
    margin-top: -2px;
    padding: 100px 5% 120px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.faq-container {
    max-width: 1200px;
    width: 100%;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #0ea5e9;
    /* Cyan accent works on both light and dark */
    margin-bottom: 20px;
}

.faq-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
    /* Now on light background — dark text */
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2px;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px -10px rgba(104, 140, 207, 0.15);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px -10px rgba(104, 140, 207, 0.25);
    transform: translateY(-2px);
}

.faq-item.active {
    background: #ffffff;
    border-color: #0ea5e9;
    box-shadow: 0 20px 40px -10px rgba(104, 140, 207, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-align: left;
    color: #0f172a;
    transition: color 0.3s ease;
}

.faq-question span {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    padding-right: 20px;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #0ea5e9;
}

.faq-item.active .faq-question span {
    color: #0ea5e9;
}

.faq-answer-wrapper {
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    padding: 0 32px 32px;
}

.faq-answer p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: #475569;
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

@media (max-width: 900px) {
    .faq-section {
        padding: 60px 5% 72px;
    }

    .faq-header {
        margin-bottom: 36px;
    }

    .faq-title {
        font-size: 1.65rem;
        letter-spacing: -0.02em;
        line-height: 1.15;
    }

    .faq-eyebrow {
        font-size: 0.65rem;
        margin-bottom: 12px;
    }

    .faq-accordion-list {
        gap: 10px;
    }

    .faq-item {
        border-radius: 14px;
    }

    .faq-question {
        padding: 16px 18px;
    }

    .faq-question span {
        font-size: 0.95rem;
        font-weight: 500;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }

    .faq-answer p {
        font-size: 0.875rem;
        line-height: 1.55;
    }
}

/* ==========================================================================
   Methodology / How We Work Section
   ========================================================================== */
.mth-section {
    /* Now 4th section — takes FAQ's old indigo-blue palette */
    background: linear-gradient(180deg, #688ccf 0%, #a4bee8 25%, #e2e8f0 70%, #f1f5f9 100%);
    margin-top: -2px;
    padding: 80px 6% 100px;
    position: relative;
    overflow: hidden;
}

.mth-inner {
    max-width: 780px;
    margin: 0 auto;
}

.mth-header {
    text-align: center;
    margin-bottom: 48px;
}

.mth-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    /* On indigo background — lighter */
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.mth-headline {
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    color: #ffffff;
    /* White on indigo */
    line-height: 1.2;
    margin: 0 0 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.mth-subheadline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    /* Light on indigo */
    font-weight: 300;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

/* Timeline stack */
.mth-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 64px;
}

.mth-timeline-line {
    position: absolute;
    left: 26px;
    /* Aligned to center of nodes: padding(64) - node-left(53) + node-width/2(15) = 26 */
    top: 32px;
    bottom: 32px;
    width: 1px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.35) 0%, rgba(14, 165, 233, 0.08) 100%);
}

/* Each phase row */
.mth-item {
    position: relative;
}

/* Numbered node */
.mth-node {
    position: absolute;
    left: -53px;
    top: 28px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    z-index: 2;
}

/* Card — light glass matching other sections */
.mth-card {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px -6px rgba(14, 165, 233, 0.12), 0 1px 4px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mth-card:hover {
    box-shadow: 0 16px 48px -8px rgba(14, 165, 233, 0.18), 0 4px 12px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.mth-card-top {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mth-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0ea5e9;
}

.mth-icon svg {
    stroke: #0ea5e9;
}

.mth-text {
    flex: 1;
}

.mth-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 3px;
    letter-spacing: -0.015em;
}

.mth-microline {
    font-size: 0.8rem;
    font-weight: 500;
    color: #0ea5e9;
    margin: 0 0 8px;
}

.mth-body {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.mth-divider {
    width: 100%;
    height: 1px;
    background: rgba(14, 165, 233, 0.1);
}

/* Deliverables */
.mth-deliverables-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mth-deliverables-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}

.mth-deliverable-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 400;
    color: #334155;
}

.mth-deliverable-item svg {
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .mth-section {
        padding: 52px 5% 52px;
    }

    .mth-inner {
        max-width: 100%;
    }

    .mth-header {
        margin-bottom: 32px;
    }

    .mth-headline {
        font-size: 1.4rem;
        padding: 0 4px;
    }

    .mth-subheadline {
        font-size: 0.875rem;
    }

    .mth-stack {
        padding-left: 40px;
        gap: 14px;
    }

    .mth-timeline-line {
        left: 19px;
        /* Mobile: padding(40) - node-left(32) + node-width/2(11) = 19 */
    }

    .mth-node {
        left: -32px;
        width: 22px;
        height: 22px;
        font-size: 9px;
        top: 18px;
    }

    .mth-card {
        padding: 16px 18px;
        gap: 12px;
        border-radius: 14px;
    }

    .mth-card-top {
        flex-direction: row;
        gap: 12px;
        align-items: flex-start;
    }

    .mth-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .mth-icon svg {
        width: 16px;
        height: 16px;
    }

    /* Hide divider + deliverables on mobile for compact layout */
    .mth-divider,
    .mth-deliverables {
        display: none;
    }

    .mth-body {
        font-size: 0.825rem;
    }

    .mth-title {
        font-size: 0.95rem;
    }

    .mth-microline {
        font-size: 0.75rem;
        margin: 0 0 4px;
    }
}

/* ==========================================================================
   Section 5: Final CTA & Contact Form
   ========================================================================== */
.cta-section {
    /* Deep navy-blue — midnight sky, not cold black */
    background: linear-gradient(180deg, #1a2c4a 0%, #14213a 55%, #0e1a2d 100%);
    color: #f8fafc;
    padding: 160px 5% 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-top: 1px solid rgba(14, 165, 233, 0.18);
}

.cta-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-content {
    max-width: 500px;
}

.cta-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #94a3b8;
    line-height: 1.6;
    font-weight: 300;
}

.cta-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.web3form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #cbd5e1;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0ea5e9;
    color: #ffffff;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.4);
}

.form-disclaimer {
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
    margin-top: 24px;
}

@media (max-width: 900px) {
    .cta-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta-content {
        text-align: center;
        margin: 0 auto;
    }

    .cta-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .faq-question {
        padding: 24px;
    }

    .faq-answer {
        padding: 0 24px 28px;
    }
}

/* ==========================================================================
   What We Can Do Section (Tabs)
   ========================================================================== */
.terminal-container {
    background: #0f172a;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 1000px;
    margin: 40px auto;
}

.terminal-header {
    background: #1e293b;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.terminal-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) {
    background: #ef4444;
}

.terminal-dots span:nth-child(2) {
    background: #eab308;
}

.terminal-dots span:nth-child(3) {
    background: #22c55e;
}

.terminal-title {
    color: #94a3b8;
    font-size: 0.85rem;
    font-family: monospace;
}

.terminal-body {
    display: flex;
    min-height: 400px;
}

.terminal-sidebar {
    width: 280px;
    background: rgba(15, 23, 42, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.terminal-nav-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    text-align: left;
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.terminal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #cbd5e1;
}

.terminal-nav-btn.active {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border-left-color: #0ea5e9;
}

.terminal-content-area {
    flex: 1;
    padding: 40px;
    background: #0f172a;
    display: flex;
    flex-direction: column;
}

.terminal-prompt-line {
    font-family: monospace;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.prompt-user {
    color: #22c55e;
    margin-right: 8px;
}

.prompt-cmd {
    color: #f8fafc;
}

.terminal-output {
    transition: opacity 0.2s ease;
}

.term-status-success {
    color: #22c55e;
    font-family: monospace;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.term-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #f8fafc;
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.term-desc {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.term-metrics {
    margin-top: auto;
}

.metric-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
}

.metric-bar .fill {
    height: 100%;
    background: #0ea5e9;
}

.term-metrics span {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .terminal-body {
        flex-direction: column;
        min-height: auto;
    }

    .terminal-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: row;
        overflow-x: auto;
        /* smooth scroll for options */
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .terminal-sidebar::-webkit-scrollbar {
        display: none;
    }

    .terminal-nav-btn {
        white-space: nowrap;
        border-left: none;
        border-bottom: 2px solid transparent;
        scroll-snap-align: start;
    }

    .terminal-nav-btn.active {
        border-bottom-color: #0ea5e9;
    }

    .terminal-content-area {
        padding: 24px;
    }
}

/* ==========================================================================
   CTA Success State
   ========================================================================== */
.cta-success {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.cta-success-inner {
    text-align: center;
    max-width: 380px;
}

.cta-check-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
}

.cta-check-svg {
    width: 100%;
    height: 100%;
}

.cta-success-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.1;
}

.cta-success-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    font-weight: 300;
    margin: 0 0 20px;
}

.cta-success-tag {
    font-size: 0.82rem;
    color: rgba(14, 165, 233, 0.75);
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.01em;
}