/* Mobile menu underline for items */
.mobile-menu-item {
    position: relative;
    font-size: 2.1rem;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.25s, transform 0.25s;
    text-decoration: none;
}
.mobile-menu-item.visible::after {
    display: none;
}
.mobile-menu-item:active::after,
.mobile-menu-item:focus::after,
.mobile-menu-item:hover::after {
    display: none;
}

/* Remove underline from footer buttons */
.mobile-menu-btn-preregister::after,
.mobile-menu-btn-explore::after {
    display: none !important;
}

/* Remove text-decoration from footer buttons */
.mobile-menu-btn-preregister,
.mobile-menu-btn-explore {
    text-decoration: none;
}

/* Make footer buttons same width and wider */
.mobile-menu-footer {
    gap: 16px;
    padding: 0 32px;
}
.mobile-menu-btn-preregister,
.mobile-menu-btn-explore {
    width: 100%;
    text-align: center;
    margin: 0;
}

/* Overlay close (cross) icon above overlay - hidden */
.mobile-menu-close {
    display: none;
}

/* Hamburger toggle transforms to cross when active */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hamburger toggle shows above overlay when active */
.mobile-toggle {
    z-index: 9999;
}
.mobile-toggle.active {
    z-index: 10000;
}

/* Blog: wider changelog rectangles */
.changelog-body {
    max-width: 960px;
    width: 100%;
}

/* Blog: Real-Time Updates badge with glowing dot */
.live-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.08);
    border-radius: 999px;
    padding: 7px 22px 7px 16px;
    margin-bottom: 18px;
    margin-top: -18px;
    width: fit-content;
    box-shadow: 0 0 0 0 #4ade80;
    position: relative;
    left: 0;
}

.live-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #4ade80;
    position: relative;
    margin-right: 2px;
}
.live-dot::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(74,222,128,0.18);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    pointer-events: none;
    animation: liveDotWave 1.6s infinite cubic-bezier(0.4,0,0.2,1);
    z-index: 0;
}
@keyframes liveDotWave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    60% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(2.5);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3.2);
    }
}
/* ===========================
   NexusAI — Premium Dark Theme
   =========================== */

/* CSS Custom Properties */
:root {
    --bg-primary: #000000;
    --bg-secondary: #080808;
    --bg-card: #0d0d0d;
    --bg-card-hover: #141414;
    --bg-elevated: #111111;

    --text-primary: #f0f0f5;
    --text-secondary: #9898b0;
    --text-muted: #5a5a7a;

    --accent-purple: #999999;
    --accent-indigo: #888888;
    --accent-violet: #777777;
    --accent-blue: #a0a0a0;

    --gradient-primary: linear-gradient(135deg, #333333 0%, #1a1a1a 50%, #000000 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.3);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(255, 255, 255, 0.05);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'Space Grotesk', 'Inter', sans-serif;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --section-padding: 120px;
}

:root.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f9f9fb;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f1f5;
    --bg-elevated: #ffffff;

    --text-primary: #121212;
    --text-secondary: #52525b;
    --text-muted: #71717a;

    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.3);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 60px rgba(255, 255, 255, 0.02);
}

:root.light-theme .side-title,
:root.light-theme .hero-title,
:root.light-theme .hero-content p[style*="white"] {
    color: var(--text-primary) !important;
}

:root.light-theme .introducing-label {
    color: var(--text-secondary) !important;
}

:root.light-theme .introducing-sidus {
    color: var(--text-primary) !important;
}

:root.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}

:root.light-theme .nav-dropdown {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--border-color);
}
:root.light-theme .nav-dropdown::before {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--border-color);
}

:root.light-theme .btn-primary.btn-white {
    background: #000;
    color: #fff;
    border: none;
}
:root.light-theme .btn-primary.btn-white::after {
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
}
:root.light-theme .btn-primary.btn-white:hover {
    background: #222;
}

:root.light-theme .hero {
    background: #ffffff;
}
:root.light-theme .hero-video-wrapper {
    background: linear-gradient(135deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.02) 40%, rgba(0,0,0,0.05) 100%);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 40px 120px rgba(0,0,0,0.1), 0 0 40px rgba(0,0,0,0.04);
}
:root.light-theme .btn-cta-white {
    background: #000;
    color: #fff;
}
:root.light-theme .btn-cta-white:hover {
    background: #222;
}

:root.light-theme .carousel-btn { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: #000; }
:root.light-theme .carousel-btn:hover { background: rgba(0,0,0,0.1); }


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: clip; /* Fix: 'hidden' can break position:sticky; 'clip' is modern and safe */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: rgba(34, 211, 238, 0.35);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

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



/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2500;
    padding: 16px 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease, background 0.3s ease;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(165%);
    -webkit-backdrop-filter: blur(24px) saturate(165%);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 0 0 96px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    gap: 0;
}

/* Nav: logo (left), primary links (left of center), menu / actions (right) */
.logo {
    order: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-end {
    order: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.06em;
}

.nav-links {
    order: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1;
    justify-content: flex-start;
    margin-left: 28px;
}

.nav-link {
    padding: 7px 0;
    margin: 0 14px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active-link {
    color: #22d3ee;
}

/* Slide-through underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ===========================
   Nav Dropdowns
   =========================== */
.nav-item {
    position: relative;
}

.nav-link.has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: default;
}

.nav-chevron {
    display: block;
    transform-origin: 50% 55%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
    flex-shrink: 0;
    opacity: 0.6;
}

.nav-mobile-plus {
    display: none;
    flex-shrink: 0;
    opacity: 0.42;
    color: var(--text-muted);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

@media (max-width: 1400px) {
    .nav-link.has-dropdown .nav-chevron {
        display: none;
    }

    .nav-link.has-dropdown .nav-mobile-plus {
        display: block;
    }
}

@media (min-width: 1401px) {
    .nav-item:hover .nav-chevron {
        transform: rotate(180deg);
        opacity: 1;
    }
}

@media (max-width: 1400px) {
    .nav-links.mobile-open .nav-item--expanded > .nav-link.has-dropdown .nav-mobile-plus {
        transform: rotate(45deg);
        opacity: 0.85;
    }
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px) scale(0.97);
    width: 230px;
    background: rgba(10, 10, 10, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    z-index: 200;
}

/* Mega-menu variant */
.nav-dropdown.megamenu {
    width: 860px;
    padding: 32px;
}

.megamenu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.megamenu-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-micro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: var(--transition-base);
}

.btn-micro:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.mm-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 18px;
    font-weight: 700;
}

.mm-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    padding: 10px;
    border-radius: 14px;
    transition: background 0.2s ease;
    margin-bottom: 8px;
}

.mm-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.mm-icon-box {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.mm-content strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.mm-content p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* little arrow triangle pointing up */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 6px;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(34px);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-left: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 1401px) {
    .nav-item:hover .nav-dropdown {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}

.nd-icon {
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    flex-shrink: 0;
}

.nav-dropdown-item strong {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.nav-dropdown-item small {
    display: block;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.btn-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    transition: background var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    border-radius: var(--radius-full);
}

.btn-cta:hover::after {
    transform: translateX(100%);
}

.btn-cta:hover {
    background: #e0e0e0;
}

.btn-cta-white {
    background: #ffffff;
    color: #000000;
}

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

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.32s cubic-bezier(0.34, 1.02, 0.68, 1), opacity 0.22s ease;
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@keyframes fadeUpOnLoad {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-up-on-load {
    opacity: 0;
    animation: fadeUpOnLoad 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.word-reveal {
    opacity: 0;
    display: inline-block;
    transition: opacity 0.3s ease;
    white-space: pre-wrap;
}

.word-reveal.visible {
    opacity: 1;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 140px 24px 44px;
    overflow: hidden;
    background: #000000;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.introducing-text {
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', var(--font-sans);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    line-height: 1.35;
}

.introducing-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.introducing-sidus {
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* ===========================
   Hero Video Showcase
   (Cursor-website-style)
   =========================== */
.hero-video-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1250px;
    margin: 52px auto 0;
    padding: 0 16px 0;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 28px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 40px 120px rgba(0,0,0,0.7);
    will-change: transform, border-radius;
}

.video-inner {
    border-radius: 27px;
    overflow: hidden;
    background: transparent;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
}

.video-inner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-button {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(40, 40, 40, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    z-index: 10;
}

.video-inner:hover .video-play-button {
    opacity: 1;
    transform: scale(1);
}

.video-play-button svg {
    color: #fff;
    width: 24px;
    height: 24px;
    fill: #fff;
}

.video-inner {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.video-inner iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Subtle glow beneath the video */
.hero-video-wrapper::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 10%;
    right: 10%;
    height: 60px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
    z-index: -1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-purple);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(1); }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent-purple);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: #ffffff;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 36px;
    letter-spacing: 0.02em;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.04);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary.btn-white {
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    border: none;
    backdrop-filter: none;
}

.btn-primary.btn-white:hover {
    background: #f0f0f0;
}

.btn-primary.btn-white::after {
    background: linear-gradient(105deg, transparent 30%, rgba(0,0,0,0.08) 50%, transparent 70%);
}

.btn-primary.btn-white:hover {
    background: #ffffff;
}

.btn-primary.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Grey Explore Use Cases button */
.btn-secondary.btn-grey {
    background: rgba(255, 255, 255, 0.04);
    color: #888888;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-secondary.btn-grey:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: #aaaaaa;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
}

.stat-item {
    text-align: center;
}

.stat-number, .stat-prefix, .stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-suffix {
    font-size: 1rem;
    color: var(--accent-purple);
}

.stat-prefix {
    font-size: 1rem;
    color: var(--accent-purple);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual - Orb */
.hero-visual {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.orb-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-image {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.4);
}

.orb-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: transparent;
    z-index: 1;
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(167, 139, 250, 0.15);
    z-index: 1;
}

.orb-ring-1 {
    width: 280px;
    height: 280px;
    animation: ringRotate 20s linear infinite;
}

.orb-ring-2 {
    width: 340px;
    height: 340px;
    animation: ringRotate 30s linear infinite reverse;
    border-style: dashed;
}

.orb-ring-3 {
    width: 400px;
    height: 400px;
    animation: ringRotate 40s linear infinite;
    border-color: rgba(255, 255, 255, 0.05);
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Trusted By */
.trusted-by {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 80px;
    padding-bottom: 20px;
}

.trusted-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    margin-bottom: 24px;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    transition: var(--transition-base);
    letter-spacing: 0.02em;
}

.logo-item:hover {
    opacity: 0.9;
    color: var(--text-secondary);
}

/* ===========================
   Alternate Layout (Features/Capabilities)
   =========================== */

.alternate-layout {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 60px 0;
}

/* Same-size rounded rectangles; overflow clips PNG corners at any viewport */
.home-feature-visual {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    background: #0a0a0e;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-feature-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Wider use case cards */
.use-case-wide {
    max-width: 1400px;
    width: 100%;
}
.use-case-card .side-video-wrapper.square-video {
    max-width: 520px;
    min-width: 320px;
}
.use-case-card .layout-text {
    min-width: 320px;
}

/* Coming soon rectangle and date */
.coming-soon-rect {
    border: 2.5px dashed #aaa !important;
    background: rgba(120,120,120,0.13) !important;
}
.coming-soon-date {
    display: inline-block;
    margin-top: 0.5em;
    font-size: 1.05rem;
    color: #bdbdbd;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Reduce gap between steps in how-it-works */
.process-section .step-card {
    margin-bottom: 40px !important;
}
.process-section .step-card:last-child {
    margin-bottom: 0 !important;
}

/* Fullscreen mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30,30,30,1);
    z-index: 2000;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1);
    opacity: 0;
    pointer-events: none;
}
.mobile-menu-overlay.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu-logo {
    display: none;
}
.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 120px;
    margin-left: 32px;
}
.mobile-menu-item {
    font-size: 2.1rem;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.25s, transform 0.25s;
}
.mobile-menu-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 18px;
}
.mobile-menu-btn-preregister {
    background: #fff;
    color: #222;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 32px;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.2s;
}
.mobile-menu-btn-preregister:hover {
    background: #f0f0f0;
}
.mobile-menu-btn-explore {
    background: transparent;
    color: #fff;
    border: 2px solid #bdbdbd;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 32px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.mobile-menu-btn-explore:hover {
    border-color: #fff;
    color: #fff;
}

.alternate-layout.reverse {
    flex-direction: row-reverse;
}

.font-regular {
    font-weight: 400 !important;
}

.side-title-smaller {
    font-size: clamp(2rem, 4vw, 3rem) !important;
}

.layout-text {
    flex: 1;
}

.layout-visual {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.side-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #ffffff;
}

.side-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.6;
}

.side-video-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.side-video-wrapper.square-video {
    aspect-ratio: 1 / 1;
    max-width: 450px;
}

/* ===========================
   Customize Tools — Pin-Scroll Section
   =========================== */
.customize-tools {
    padding-top: 80px;
}

.customize-tools-header {
    text-align: center;
    max-width: 800px;
    margin: 80px auto 0; /* Reduced bottom margin to 0 to eliminate gap */
    width: 100%;
    z-index: 10;
    will-change: transform, opacity;
}

.customize-tools-heading {
    margin-bottom: 20px;
}

/* The outer zone is 500vh tall — this is what creates the scroll distance for 4 panels */
.tools-pin-outer {
    height: 500vh;
}

/* Inner sticks to top of viewport for the duration of 300vh scroll */
.tools-pin-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden; /* Local overflow hidden is fine, it's the parent that matters */
}

.tools-pin-inner .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Two-column grid inside the sticky zone */
.tools-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    opacity: 0; /* Hidden initially, scrolled into view by JS */
    will-change: transform, opacity;
}

/* Image side — just sits naturally, parent is sticky */
.tools-image-side {
    display: flex;
    justify-content: center;
}



/* The image card — rounded clip + slightly larger visuals on scroll */
.tools-image-card {
    position: relative;
    width: 100%;
    max-width: 1180px;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    clip-path: inset(0 round 24px);
}

.tools-image-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    overflow: hidden;
}

.tools-image-layer.is-active {
    opacity: 1;
}

.tools-image-layer img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    transform: scale(1.06);
    transform-origin: center;
}

.tools-image-layer[data-index="0"],
.tools-image-layer[data-index="1"],
.tools-image-layer[data-index="2"],
.tools-image-layer[data-index="3"] {
    background: #000;
}

.tools-image-placeholder {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    letter-spacing: -0.01em;
}

/* Panels side: clips the track overflow */
.tools-panels-side {
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: flex-start; /* Changed from center to fix translation math */
    position: relative;
}

/* The track that slides up — driven by JS translateY */
.tools-panels-track {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 100%;
    will-change: transform;
}

/* Each panel is exactly 100vh tall so one fills the viewport at a time */
.tools-panel {
    height: 100vh;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.tools-panel-inner {
    max-width: 440px;
    padding: 60px 0; /* Add padding to prevent text cutoff at viewport edges */
}

.tools-panel-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.1;
}

.btn-tools-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-tools-cta:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-1px);
}

/* Mobile: unpin and stack */
@media (max-width: 1024px) {
    .tools-pin-outer {
        height: auto;
    }

    .tools-pin-inner {
        position: relative;
        height: auto;
        overflow: visible;
        padding: 60px 0;
    }

    .tools-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        opacity: 1 !important;
        transform: none !important;
    }

    .tools-panels-side {
        height: auto;
        overflow: visible;
    }

    .tools-panels-track {
        transform: none !important;
    }

    .tools-panel {
        height: auto;
        padding: 40px 0;
    }

    .tools-image-card {
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }
}


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

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

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

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

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

.feature-card-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feature-icon-wrapper {
    margin-bottom: 20px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    color: var(--accent-purple);
    border: 1px solid rgba(167, 139, 250, 0.15);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Code Block */
.feature-visual {
    position: relative;
}

.code-block {
    background: #0a0a14;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: 0.85rem;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-block pre {
    padding: 20px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.code-keyword { color: #c084fc; }
.code-prop { color: #93c5fd; }
.code-string { color: #86efac; }
.code-comment { color: var(--text-muted); }

/* ===========================
   Capabilities Bento Grid
   =========================== */
.capabilities {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
}



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

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Analysis Bars Visual */
.bento-visual {
    margin-top: 24px;
}

.analysis-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.bar {
    flex: 1;
    height: var(--height);
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.7;
    animation: barGrow 1.5s ease-out var(--delay) both;
}

@keyframes barGrow {
    from { height: 0; opacity: 0; }
    to { height: var(--height); opacity: 0.7; }
}

/* Integration Logos */
.integration-logos {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.int-logo {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.int-logo:hover {
    border-color: var(--border-hover);
    color: var(--accent-purple);
}

/* ===========================
   How It Works
   =========================== */
.how-it-works {
    padding: var(--section-padding) 0;
    position: relative;
}

.steps-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.step-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 40px 0;
    position: relative;
}

.step-card:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    width: 80px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Testimonials
   =========================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-base);
}

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

.testimonial-stars {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===========================
   Pricing
   =========================== */
.pricing {
    padding: var(--section-padding) 0;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: var(--gradient-glow);
    pointer-events: none;
    opacity: 0.3;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-featured {
    border-color: rgba(167, 139, 250, 0.4);
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.06) 0%, var(--bg-card) 40%);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 28px;
}

.pricing-header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.btn-pricing {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-pricing:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
}

.btn-pricing-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.btn-pricing-primary:hover {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
}

/* ===========================
   Collaborate (below hero video)
   =========================== */
.inset-divider-wrap--collaborate {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
}

.inset-divider-wrap--customize {
    margin-top: -20px;
    margin-bottom: 0;
}

.collaborate-band {
    padding: 64px 0 72px;
    margin-top: 0;
    background: var(--bg-primary);
}

.collaborate-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.collaborate-title {
    margin-top: 0;
    margin-bottom: 20px;
}

/* ===========================
   Stacked section subtitles (word-reveal via .side-desc)
   =========================== */
.section-subtitle-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
}

.section-subtitle-stack--header {
    max-width: 640px;
}

.side-desc--centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.sub-desc-small {
    font-size: 0.92rem;
    opacity: 0.75;
    max-width: 720px !important;
    line-height: 1.6;
    margin-top: 1rem;
}

/* ===========================
   Customize tools + scroll panels
   =========================== */
.customize-tools {
    padding: 48px 0 calc(var(--section-padding) + 32px);
    background: #000000;
    position: relative;
    overflow: visible;
}

.customize-tools-header {
    text-align: center;
    margin-top: 28px;
    margin-bottom: 28px;
}

.customize-tools-heading {
    margin-bottom: 14px;
}

.tools-split {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
    gap: 36px 48px;
    align-items: start;
}

.tools-sticky-col {
    position: sticky;
    top: 96px;
    align-self: start;
}

.tools-image-card {
    position: relative;
    border-radius: 24px;
    aspect-ratio: 16 / 10;
    max-width: 1180px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    width: 100%;
    isolation: isolate;
    clip-path: inset(0 round 24px);
}

.tools-image-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
}

.tools-image-layer.is-active {
    opacity: 1;
    z-index: 1;
}

.tools-image-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    display: block;
    transform: scale(1.06);
    transform-origin: center;
}

.tools-image-placeholder {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #3d3d4a;
    text-transform: uppercase;
}

.tools-main-col {
    min-width: 0;
}

.tools-scroll-panels {
    display: flex;
    flex-direction: column;
}

.tools-panel {
    min-height: min(52vh, 560px);
    display: flex;
    align-items: center;
    padding: 20px 0 28px;
    box-sizing: border-box;
}

.tools-panel-inner {
    max-width: 440px;
}

.tools-panel-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 18px;
    line-height: 1.15;
}

.tools-panel .side-desc {
    margin-bottom: 28px;
}

.btn-tools-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    background: #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-tools-cta:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
}

@media (max-width: 960px) {
    .tools-split {
        grid-template-columns: 1fr;
    }

    .tools-sticky-col {
        position: relative;
        top: auto;
    }

    .tools-image-card {
        max-height: 420px;
        aspect-ratio: 16 / 10;
        margin: 0 auto;
        max-width: 520px;
    }

    .tools-panel-inner {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .tools-panel {
        min-height: min(48vh, 480px);
        padding: 16px 0 22px;
    }
}

/* ===========================
   Inset dividers (not full-bleed)
   =========================== */
.inset-divider-wrap {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.inset-divider-wrap--tools {
    margin-top: 8px;
    margin-bottom: 0;
}

.inset-divider-wrap--pre-faq {
    margin-top: 0;
    margin-bottom: 0;
}

.inset-divider {
    display: block;
    border: none;
    height: 1px;
    margin: 0 auto;
    width: 100%;
    max-width: calc(100% - clamp(40px, 12vw, 128px));
    background: rgba(255, 255, 255, 0.11);
}

:root.light-theme .inset-divider {
    background: rgba(0, 0, 0, 0.1);
}

/* Empty vertical space (no content) */
.section-breather {
    min-height: 88px;
    pointer-events: none;
}

/* ===========================
   Pricing showcase (three cards)
   =========================== */
.pricing-showcase {
    padding: 56px 0 52px;
    background: var(--bg-primary);
    position: relative;
}

.pricing-showcase-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 44px;
}

.pricing-showcase-title {
    margin-bottom: 0;
}

.pricing-showcase-lead {
    margin: 16px 0 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.pricing-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.pricing-showcase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 28px 32px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 50%, rgba(12, 12, 14, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.25),
        0 28px 70px rgba(0, 0, 0, 0.35);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-showcase-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.3),
        0 36px 90px rgba(0, 0, 0, 0.45);
}

.pricing-showcase-card--featured {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 50%, rgba(12, 12, 14, 0.85) 100%);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.25),
        0 28px 70px rgba(0, 0, 0, 0.35);
}

.pricing-showcase-card--featured:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.3),
        0 36px 90px rgba(0, 0, 0, 0.45);
}

.pricing-showcase-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4c4fc;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-showcase-tier {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.pricing-showcase-blurb {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 24px;
    min-height: 2.85em;
}

.pricing-showcase-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 6px;
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pricing-showcase-currency {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-showcase-amount {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
}

.pricing-showcase-period {
    font-size: 0.88rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 4px;
}

.pricing-showcase-price--custom {
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

.pricing-showcase-custom-label {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.pricing-showcase-features {
    list-style: none;
    margin: 0 0 auto;
    padding: 0;
    flex-grow: 1;
}

.pricing-showcase-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.pricing-check {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.pricing-check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 3px;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pricing-showcase-btn {
    display: block;
    text-align: center;
    margin-top: 28px;
    padding: 14px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pricing-showcase-btn--outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.pricing-showcase-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.pricing-showcase-btn--primary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.pricing-showcase-btn--primary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: #ffffff;
}

:root.light-theme .pricing-showcase-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 252, 0.98) 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

:root.light-theme .pricing-showcase-card--featured {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.12);
}

:root.light-theme .pricing-showcase-features li {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

@media (max-width: 900px) {
    .pricing-showcase-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .pricing-showcase-blurb {
        min-height: 0;
    }
}

/* ===========================
   FAQ Section
   =========================== */
.faq-section {
    /* Breather above adds empty space; keep moderate top padding */
    padding: 48px 0 var(--section-padding);
    position: relative;
    background: var(--bg-primary);
}

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

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    background: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
}

.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

:root.light-theme .faq-item,
:root.light-theme .faq-item:first-child {
    border-color: rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
    font-family: var(--font-display);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--text-secondary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    opacity: 0.65;
}

.faq-item.active .faq-chevron {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    padding-bottom: 0;
    transition: padding-bottom 0.4s ease;
}

.faq-item.active .faq-answer-inner {
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
    font-size: 0.98rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-grid--simplified {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px 56px;
}

.footer-brand-lockup {
    text-decoration: none;
    color: inherit;
    display: block;
    flex-shrink: 0;
}

.footer-brand-lockup-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-logo-icon {
    display: flex;
    flex-shrink: 0;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-primary);
}

.footer-brand-labs {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.footer-brand {
    max-width: 280px;
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    gap: 64px;
}

.footer-grid--simplified .footer-links-group {
    margin-left: 40px;
}

@media (max-width: 768px) {
    .footer-grid--simplified .footer-links-group {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: #a1a1aa;
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-decoration: none !important;
    transition: var(--transition-base);
}

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

.footer-separator {
    width: calc(100% - 40px);
    margin: 40px auto 20px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.soc2 {
    color: #a1a1aa;
    font-weight: 500;
}

.footer-bottom-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-btn {
    background: transparent;
    border: none;
    color: #a1a1aa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.footer-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-language {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.btn-language:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ===========================
   Animations
   =========================== */

.fade-up-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpOnLoad 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

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

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

    .feature-card-large {
        grid-column: span 2;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 1400px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links.mobile-open {
        z-index: 1001;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: 100%;
        max-height: min(calc(100vh - 100px), 720px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: rgba(14, 14, 16, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        padding: 8px 0 12px;
        gap: 0;
        box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        animation: mobileNavReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    :root.light-theme .nav-links.mobile-open {
        background: rgba(255, 255, 255, 0.97);
        border-color: rgba(0, 0, 0, 0.08);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    }

    @keyframes mobileNavReveal {
        from {
            opacity: 0;
            transform: translateY(-10px) scale(0.98);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .nav-links.mobile-open .nav-link:not(.has-dropdown) {
        padding: 18px 22px;
        width: 100%;
        border-radius: 0;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-primary);
        letter-spacing: -0.01em;
        justify-content: flex-start;
    }

    .nav-links.mobile-open .nav-link.has-dropdown {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 22px;
        width: 100%;
        border-radius: 0;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-primary);
        letter-spacing: -0.01em;
    }

    .nav-links.mobile-open > .nav-link,
    .nav-links.mobile-open > .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .nav-links.mobile-open > *:last-child {
        border-bottom: none;
    }

    :root.light-theme .nav-links.mobile-open > .nav-link,
    :root.light-theme .nav-links.mobile-open > .nav-item {
        border-bottom-color: rgba(0, 0, 0, 0.06);
    }

    .nav-links.mobile-open .nav-dropdown {
        display: none;
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: none;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        padding: 0 8px 0 12px;
        margin: 0;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.22);
        box-shadow: none;
        transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    }

    :root.light-theme .nav-links.mobile-open .nav-dropdown {
        background: rgba(0, 0, 0, 0.04);
    }

    .nav-links.mobile-open .nav-item--expanded > .nav-dropdown {
        display: block;
        max-height: min(65vh, 560px);
        overflow-y: auto;
        pointer-events: auto;
        padding-top: 8px;
        padding-bottom: 12px;
    }

    .nav-links.mobile-open .nav-dropdown::before {
        display: none;
    }

    .nav-links.mobile-open .megamenu {
        width: 100%;
        padding: 0 4px 8px;
    }

    .nav-links.mobile-open .megamenu-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .nav-links.mobile-open .megamenu-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: center;
        width: 100%;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        gap: 10px;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        justify-content: center;
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 24px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .orb-container {
        width: 240px;
        height: 240px;
    }

    .orb-image {
        width: 160px;
        height: 160px;
    }

    .orb-ring-3 {
        display: none;
    }

    .trusted-logos {
        gap: 28px;
    }

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

    .feature-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
    }

    .step-card {
        flex-direction: column;
        gap: 12px;
    }

    .step-number {
        font-size: 2rem;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
    }

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

    .footer-grid {
        flex-direction: column;
        gap: 36px;
    }

    .footer-links-group {
        gap: 32px;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-wrapper {
        padding: 48px 24px;
    }

    .cta-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .trusted-logos {
        gap: 20px;
    }

    .logo-item {
        font-size: 0.9rem;
    }
}

/* ===========================
   Mobile Nav Premium CTA
   =========================== */


@media (max-width: 1400px) {
    /* Premium mobile menu enhancements */
    .nav-links.mobile-open {
        padding: 16px 0 20px !important;
    }

    .nav-links.mobile-open > a.nav-link,
    .nav-links.mobile-open > .nav-item > a.nav-link {
        font-size: 1.05rem !important;
        padding: 16px 24px !important;
        letter-spacing: -0.01em;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .nav-links.mobile-open > a.nav-link:hover,
    .nav-links.mobile-open > .nav-item > a.nav-link:hover {
        background: rgba(255,255,255,0.05);
        color: #fff;
    }

    /* Mobile nav links container adjustment */
    .nav-links.mobile-open {
        padding: 16px 0 20px !important;
    }

    .nav-links.mobile-open > a.nav-link,
    .nav-links.mobile-open > .nav-item > a.nav-link {
        font-size: 1.05rem !important;
        padding: 16px 24px !important;
        letter-spacing: -0.01em;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .nav-links.mobile-open > a.nav-link:hover,
    .nav-links.mobile-open > .nav-item > a.nav-link:hover {
        background: rgba(255,255,255,0.05);
        color: #fff;
    }
}

/* ===========================
   Performance - targeted GPU hints
   IMPORTANT: Do NOT add will-change or transform to elements that are
   ancestors of position:sticky children (breaks sticky scroll).
   =========================== */
.hero-video-wrapper {
    will-change: transform;
}

.fade-up-on-load {
    will-change: opacity, transform;
}

/* Canvas and images - translateZ for compositing only */
#hero-canvas {
    transform: translateZ(0);
}

/* Disable will-change after animation to free GPU memory */
.fade-up-on-load {
    animation-fill-mode: both;
}

/* ===========================
   Blog Timeline - Dot/Line Fix
   =========================== */
.changelog-list {
    position: relative;
    max-width: min(960px, 100%);
    margin: 0 auto;
}

/* Remove pseudo-element line, add SVG/JS-driven line instead */
.changelog-list::before {
    display: none;
}

/* The content box for each changelog entry */
.changelog-body {
    padding: 28px 36px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    position: relative;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.changelog-body:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.changelog-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
    letter-spacing: -0.01em;
}

.changelog-body p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.changelog-body ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.changelog-body li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    gap: 12px;
}

.changelog-body li::before {
    content: '→';
    color: #22d3ee;
    flex-shrink: 0;
}

/* Circle overlaps dot: fix by making body position relative to timeline col */
.changelog-body::before {
    content: '';
    position: absolute;
    left: -66px; /* Adjusted for new entry padding */
    top: 36px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(30,30,32,1);
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 0 0 4px rgba(0,0,0,1);
    z-index: 5;
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease;
}

.changelog-entry.visible .changelog-body::before {
    transform: scale(1);
    background: #22d3ee;
    border-color: #22d3ee;
    box-shadow: 0 0 0 4px rgba(0,0,0,1), 0 0 16px rgba(34, 211, 238, 0.4);
}

.changelog-entry.visible:first-child .changelog-body::before {
    background: #22d3ee;
    border-color: #22d3ee;
}

/* Individual line segment connecting to next dot */
.changelog-body::after {
    content: '';
    position: absolute;
    left: -60.5px; /* Adjusted for new entry padding */
    top: 48px;
    bottom: -80px;
    width: 1px;
    background: linear-gradient(to bottom, #22d3ee, rgba(34, 211, 238, 0.1));
    z-index: 1;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1s cubic-bezier(0.45, 0, 0.55, 1);
    border-radius: 1px;
    pointer-events: none;
}

.changelog-entry.visible .changelog-body::after {
    transform: scaleY(1);
    transition-delay: 0.6s; /* Wait for dot to pop in */
}

.changelog-entry:last-child .changelog-body::after {
    display: none;
}



/* Reveal animation for timeline as user scrolls */
.changelog-entry {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 60px;
    padding-left: 60px; /* Space for the timeline vertical line/dots */
}

.changelog-entry.visible {
    opacity: 1;
    transform: translateY(0);
}

.changelog-date {
    display: inline-flex;
    padding: 6px 14px;
    border: 1px solid #22d3ee;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #22d3ee;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    background: rgba(34, 211, 238, 0.05);
    line-height: normal;
}

/* Stagger each entry */


/* Remove tag styling from changelog (remove badge buttons look) */
.changelog-tag {
    display: none !important; /* User wants tags hidden */
}

/* ===========================
   Use Cases - Remove icon from Built-in Browser, reduce hero gap
   =========================== */
.use-cases-hero {
    padding-top: 140px !important;
    padding-bottom: 80px !important;
}

/* Gap between headline and content below */
.use-cases-hero .hero-content {
    gap: 0;
}

.use-cases-hero h1 {
    margin-bottom: 12px !important;
}

/* ===========================
   Open Community Marketplace CTA alignment
   =========================== */
.uc-section .alternate-layout .hero-cta-group {
    justify-content: flex-start !important;
    margin-left: 0 !important;
}

/* ===========================
   Pre-register page - glass blur card, stars bg, no gradient
   =========================== */
.auth-container {
    background: #000 !important;
}

.auth-bg-glow {
    display: none !important; /* remove old purple gradient */
}

.auth-card {
    background: rgba(255,255,255,0.04) !important;
    backdrop-filter: blur(32px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(180%) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

.auth-submit {
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 700 !important;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease !important;
}

.auth-submit:hover {
    background: #e8e8e8 !important;
    opacity: 1 !important;
}

/* Bottom-right icon/branding strip for pre-register */
.auth-brand-strip {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.2s ease;
}

.auth-brand-strip:hover {
    opacity: 0.6;
}

.auth-brand-strip-logo {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.06em;
}

/* Smooth scroll: disable snap lag */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
