:root {
    /* Premium light B2B SaaS canvas background */
    --bg-base: #ffffff;
    --bg-surface: #ffffff;
    --bg-surface-secondary: #f1f5f9;

    /* Wireframe and accent boundaries */
    --border-primary: rgba(12, 7, 2, 0.06);
    --border-secondary: rgba(12, 7, 2, 0.12);
    --border-wireframe: 1px solid rgba(12, 7, 2, 0.08);

    /* Brand color scheme */
    --color-primary: #0c0702;
    --color-primary-rgb: 12, 7, 2;
    --color-primary-light: #1c140e;
    --color-accent: #26b8cd;
    --color-accent-teal: #1a8f9f;
    --color-accent-light: #63d2e2;
    --color-accent-soft: rgba(38, 184, 205, 0.08);
    --color-glow: #26b8cd;
    --color-neon-yellow: #ffee00;
    --color-accent-electric: #ffee00;
    --color-accent-electric-soft: rgba(255, 238, 0, 0.18);
    --color-pure-white: #FFFFFF;

    /* Typography Defaults */
    --font-headings: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* High contrast text palette */
    --text-color: #0c0702;
    --text-muted: #4a4545;
    --text-light: #6b6363;

    /* Structural shadow values */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -4px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 30px 60px -15px rgba(38, 184, 205, 0.12), 0 10px 20px -10px rgba(12, 7, 2, 0.04);

    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    /* Schema variables */
    --bg-canvas: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.96);
    --card-border: rgba(12, 7, 2, 0.12);
    --card-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.06);
    --text-primary: #0c0702;
    --brand-teal: #0c0702;
    --brand-mint: #26b8cd;
    --brand-lime: #ffee00;
}

/* Pattern A active link style */
.blueprint-nav-btn {
    position: relative;
    z-index: 10;
}

.blueprint-nav-svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.08);
    width: 120%;
    height: 140%;
    opacity: 0.95;
    pointer-events: none;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blueprint-nav-svg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* Pattern B: Bento Feature Mesh underlay */
.bento-feature-mesh {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 160px;
    height: 160px;
    opacity: 0.1;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-feature-mesh img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    transition: all 0.4s ease;
}

.feature-card-dark:hover .bento-feature-mesh {
    opacity: 0.8;
    transform: scale(1.06);
}

.feature-card-dark:hover .bento-feature-mesh img {
    filter: hue-rotate(65deg) brightness(1.2) saturate(1.8);
}

/* Mobile Stat Card Blocks — 2 cards in 1 row, no background, no border */
@media (max-width: 768px) {
    #bento-mixed .bento-stat-block {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-column: 1 / -1 !important;
        gap: 12px !important;
        width: 100% !important;
    }

    #bento-mixed .bento-stat-block > div,
    #bento-mixed .bento-stat-block .feature-card-dark {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 10px 4px !important;
        min-height: auto !important;
        border-radius: 0 !important;
    }

    #bento-mixed .bento-stat-block .bento-feature-mesh {
        display: none !important;
    }

    #bento-mixed .bento-stat-block .stat-number {
        font-size: clamp(1.35rem, 5.2vw, 1.8rem) !important;
        margin-bottom: 2px !important;
    }

    #bento-mixed .bento-stat-block .stat-title {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
    }

    #bento-mixed .bento-stat-block .stat-subtitle {
        font-size: 9.5px !important;
        line-height: 1.2 !important;
    }

    #bento-mixed .bento-stat-block .feature-icon-wrapper {
        margin-bottom: 8px !important;
    }

    #bento-mixed .bento-stat-block .feature-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 1.35rem !important;
    }
}

/* Pattern F: Section Boundary Horizon transition */
.horizon-transition-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 10;
}

.horizon-transition-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30px;
    height: 90px;
    opacity: 0.12;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horizon-transition-bg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill;
}

.horizon-transition-wrapper:hover .horizon-transition-bg {
    opacity: 0.35;
    bottom: -15px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    background-color: var(--bg-base);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Glow & Grid Backings */
.hero-radial-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 750px;
    background: radial-gradient(circle at 50% 30%, rgba(0, 155, 151, 0.12) 0%, rgba(30, 70, 74, 0.03) 40%, transparent 70%);
    border-radius: 0px;
    pointer-events: none;
    z-index: 1;
}

.grid-bg-overlay {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.016) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.016) 1px, transparent 1px);
    background-position: center top;
    pointer-events: none;
    z-index: 1;
}

/* Scroll Progress Bar Indicator (Top of Viewport) - Simple Dark Solid */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2.5px;
    background: #1F1C1C;
    z-index: 1200;
    pointer-events: none;
    transition: width 0.08s linear;
}

/* Top Sticky Announcement Bar (Product News Stripe) - Dark Spruce Design System */
.top-announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    background: #1F1C1C !important;
    border-bottom: 1px solid rgba(62, 163, 220, 0.2);
    color: #ffffff;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 44px 0 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    overflow: hidden;
}

.top-announcement-bar.closed {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.announcement-link-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.announcement-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    width: 100%;
    font-family: var(--font-body);
    font-size: 12px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent !important;
    color: #3EA3DC !important;
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 !important;
    border-radius: 0px;
    box-shadow: none !important;
    flex-shrink: 0;
}

.badge-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #009B97;
    border-radius: 0px;
    box-shadow: none !important;
    animation: announcement-dot-pulse 1.6s infinite;
}

@keyframes announcement-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.announcement-text {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-text strong {
    font-weight: 600;
    color: #FFFFFF !important;
    font-size: 12px;
}

.announcement-text .mobile-text {
    display: none;
}

.announcement-subtext {
    color: rgba(255, 255, 255, 0.55) !important;
    font-weight: 400;
    font-size: 11.5px;
}

.announcement-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    font-size: 11.5px;
    padding: 0 !important;
    border-radius: 0px;
    text-decoration: none;
    transition: color 0.25s ease !important;
    flex-shrink: 0;
}

.announcement-link-overlay:hover .announcement-cta {
    background: #3EA3DC;
    border-color: #3EA3DC;
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(62, 163, 220, 0.4);
    transform: translateY(-1px);
}

.announcement-cta .cta-icon {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.announcement-link-overlay:hover .cta-icon {
    transform: translateX(3px);
}

.announcement-close-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #3EA3DC;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1060;
}

.announcement-close-btn span {
    font-size: 16px;
}

.announcement-close-btn:hover {
    background: rgba(62, 163, 220, 0.15);
    color: #064E3B;
}

/* Header top offsets responsive to top announcement bar state */
body:not(.announcement-dismissed) header {
    top: 36px !important;
}

body.announcement-dismissed header,
header.header-solid {
    top: 0 !important;
}

@media (max-width: 768px) {
    .top-announcement-bar {
        height: 36px;
        padding: 0 36px 0 10px;
    }
    .announcement-text .desktop-text,
    .announcement-subtext {
        display: none;
    }
    .announcement-text .mobile-text {
        display: inline-block;
        font-size: 11.5px;
    }
    .announcement-cta {
        padding: 2px 6px;
        background: rgba(255, 255, 255, 0.15);
        border: none;
    }
    .announcement-cta .cta-label {
        display: none;
    }
    .announcement-cta .cta-icon {
        font-size: 14px;
    }
    body:not(.announcement-dismissed) header {
        top: 44px;
    }
    body:not(.announcement-dismissed) header.scrolled {
        top: 40px;
    }
}

/* Header Section (Full-Width Fixed Top Navigation Bar - Logo Left, Links Center, Actions Right) */
header {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 76px;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 !important;
    transform: none !important;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease, top 0.3s ease;
}

header .brand-logo {
    display: flex;
    align-items: center;
}

header .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

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

/* Mobile Hamburger Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2.2px;
    background-color: #ffffff;
    border-radius: 0px;
    transition: all 0.3s ease;
}

header.header-solid .mobile-menu-btn span {
    background-color: #1e293b;
}

/* Mobile Drawer Overlay & Sliding Panel */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 85vw);
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 1500;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0 !important;
    overflow: hidden;
}

.mobile-menu-drawer.open {
    transform: translateX(0);
}

/* Header */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-drawer-logo {
    height: 32px;
    width: auto;
    display: block;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 0 !important;
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.mobile-menu-close:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.mobile-menu-close .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

/* Scrollable Content Body */
.mobile-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

/* Completely remove badge & meta elements */
.mobile-drawer-badge-wrap,
.mobile-drawer-badge,
.mobile-drawer-footer-meta {
    display: none !important;
}

/* Links & Nav Items */
.mobile-drawer-links,
.mobile-drawer-links ul,
.mobile-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
}

.mobile-drawer-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* Remove all icons from menu */
.mobile-drawer-links .mobile-drawer-icon-wrap,
.mobile-drawer-links .material-symbols-outlined,
.mobile-drawer-links .mobile-drawer-chevron {
    display: none !important;
}

/* Minimalist Clean Text Links */
.mobile-drawer-link,
.mobile-drawer-links a,
.mobile-menu-list a {
    display: block !important;
    padding: 15px 24px !important;
    border-radius: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    background: transparent !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-left: 3px solid transparent !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
    position: relative !important;
    -webkit-tap-highlight-color: transparent !important;
}

.mobile-drawer-link:hover,
.mobile-drawer-links a:hover,
.mobile-menu-list a:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-left-color: #3EA3DC !important;
    padding-left: 28px !important;
    transform: none !important;
}

/* Active State */
.mobile-drawer-link.active-link,
.mobile-drawer-links .current-menu-item > a,
.mobile-drawer-links .current_page_item > a,
.mobile-drawer-links a.active-link {
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border-left-color: #3EA3DC !important;
    box-shadow: none !important;
}

.mobile-drawer-label {
    letter-spacing: -0.01em !important;
}

/* Drawer Bottom Actions Area */
.mobile-drawer-actions {
    flex-shrink: 0;
    padding: 20px 24px 24px;
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Minimalist Sharp Primary CTA Button */
.mobile-cta-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 13px 20px !important;
    border-radius: 0 !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 1px solid #0f172a !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.mobile-cta-btn:hover {
    background: #3EA3DC !important;
    border-color: #3EA3DC !important;
    color: #ffffff !important;
    transform: none !important;
}

.mobile-cta-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: currentColor !important;
    transition: transform 0.2s ease !important;
}

.mobile-cta-btn:hover .mobile-cta-arrow {
    transform: translateX(3px) !important;
    background: transparent !important;
    color: #ffffff !important;
}

/* Minimalist Sharp Secondary Login Button */
.mobile-login-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 12px 20px !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid rgba(15, 23, 42, 0.2) !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.mobile-login-btn:hover {
    background: #f8fafc !important;
    border-color: #0f172a !important;
    color: #0f172a !important;
}

.mobile-login-btn .material-symbols-outlined {
    display: none !important;
}

@media (max-width: 1240px) {
    header .nav-links {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex !important;
    }
    header {
        height: 64px !important;
        padding: 0 16px !important;
    }
}

@media (max-width: 640px) {
    header .login-link {
        display: none !important;
    }
    .btn-primary-pill {
        padding: 5px 5px 5px 14px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
    .btn-primary-pill .pill-arrow-circle {
        width: 22px !important;
        height: 22px !important;
    }
}

/* TOP STATE (Over Dark Hero Video): Transparent Background, Inverted White Links & Controls */
header.header-transparent {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

header.header-transparent .brand-logo-dark {
    display: none !important;
}
header.header-transparent .brand-logo-light {
    display: block !important;
}

header.header-transparent .nav-links a {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14.5px;
    transition: color 0.2s ease;
}
header.header-transparent .nav-links a:hover,
header.header-transparent .nav-links a.active-link {
    color: #3EA3DC !important;
}

header.header-transparent .login-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14.5px;
    transition: color 0.2s ease;
}
header.header-transparent .login-link:hover {
    color: #3EA3DC !important;
}

/* SCROLLED STATE (Down on Light Page): Solid White Background, Dark Slate Links */
header.header-solid {
    top: 0 !important;
    background: #ffffff !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
    height: 68px;
}

header.header-solid .brand-logo-dark {
    display: block !important;
}
header.header-solid .brand-logo-light {
    display: none !important;
}

header.header-solid .nav-links a {
    color: #1e293b !important;
    font-weight: 500;
    font-size: 14.5px;
    transition: color 0.2s ease;
}
header.header-solid .nav-links a:hover,
header.header-solid .nav-links a.active-link {
    color: #3EA3DC !important;
}

header.header-solid .login-link {
    color: #1e293b !important;
    font-weight: 500;
    font-size: 14.5px;
    transition: color 0.2s ease;
}
header.header-solid .login-link:hover {
    color: #3EA3DC !important;
}

/* Sharp Black CTA Button with Arrow Box */
.btn-primary-pill {
    background: #000000;
    color: #ffffff !important;
    padding: 8px 10px 8px 20px;
    border-radius: 0px;
    border: 1px solid #000000;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.btn-primary-pill .pill-arrow-circle {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
    flex-shrink: 0;
}

.btn-primary-pill:hover {
    background: #1F1C1C;
    border-color: #3EA3DC;
    box-shadow: 0 4px 14px rgba(62, 163, 220, 0.25) !important;
    transform: translateY(-1px);
}

.btn-primary-pill:hover .pill-arrow-circle {
    background: #3EA3DC;
    color: #ffffff;
    transform: translateX(2px);
}

.brand-logo {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.05em;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition-snappy);
}

.brand-logo:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 550;
    color: var(--text-color);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 0px;
    transition: var(--transition-snappy);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap !important;
}

.nav-links a:hover {
    color: #009B97 !important;
    background: transparent !important;
}

.nav-links a.highlight,
.nav-links a.active-link {
    color: #009B97 !important;
    background: transparent !important;
    font-weight: 600;
}

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

.nav-actions .login-link {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 550;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-snappy);
    white-space: nowrap !important;
}

.nav-actions .login-link:hover {
    color: var(--color-accent);
}

.btn-primary {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 0px;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: var(--transition-snappy);
    background-color: var(--color-primary);
    color: var(--color-pure-white);
    box-shadow: 0 4px 12px rgba(30, 70, 74, 0.15);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    color: var(--color-pure-white);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(30, 70, 74, 0.25);
}

.chevron-down {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Integrated Hero Section with Video Background */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    background: #0f172a;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 24px;
}

/* Clean Intro Header Layered over Canvas Sweeping Wires - Aligned with .section-header Design System */
.schema-intro-header {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 90%;
    max-width: 660px;
    margin-bottom: 0;
    pointer-events: auto;
}

.section-badge-red {
    color: #dc2626 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.schema-section {
    position: relative;
    width: 100%;
    min-height: auto !important;
    background: var(--bg-surface);
    overflow: hidden;
    padding-bottom: 0 !important;
}

/* Seamless Canvas Container */
#canvas-container {
    position: relative;
    width: 100%;
    height: 970px;
    display: block;
    z-index: 2;
    pointer-events: none;
}



canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 1280px;
    width: 100%;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: clamp(52px, 8vh, 84px) !important;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Hero Text Block with Parallax Motion */
.hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    pointer-events: auto;
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: var(--hero-title-fs-desktop, clamp(1.65rem, 2.6vw, 2.35rem)) !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
    max-width: 920px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7) !important;
    filter: none !important;
}

.hero-title-accent {
    display: block;
    color: rgb(62, 163, 220) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: rgb(62, 163, 220) !important;
    font-weight: 600 !important;
    margin-top: 4px;
    font-size: inherit !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7) !important;
    filter: none !important;
}

.hero-title-rotator {
    display: inline-grid;
    grid-template-columns: 1fr;
    vertical-align: bottom;
    text-align: left;
    overflow: hidden;
    height: 1.30em;
    line-height: 1.15;
    position: relative;
    padding-bottom: 0.08em;
}

.hero-title-rotator .rotator-item {
    grid-area: 1 / 1;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(100%);
    will-change: transform, opacity;
    animation: heroRotate 7.2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-title-rotator .rotator-item:nth-child(1) {
    animation-delay: 0s;
}

.hero-title-rotator .rotator-item:nth-child(2) {
    animation-delay: -4.8s;
}

.hero-title-rotator .rotator-item:nth-child(3) {
    animation-delay: -2.4s;
}

@keyframes heroRotate {
    0% {
        opacity: 1;
        transform: translateY(0%);
    }

    27.000% {
        opacity: 1;
        transform: translateY(0%);
    }

    33.333% {
        opacity: 1;
        transform: translateY(-100%);
    }

    33.334% {
        opacity: 0;
        transform: translateY(100%);
    }

    93.667% {
        opacity: 0;
        transform: translateY(100%);
    }

    93.668% {
        opacity: 1;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title-rotator .rotator-item {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-title-rotator .rotator-item:nth-child(2),
    .hero-title-rotator .rotator-item:nth-child(3) {
        display: none;
    }
}

/* Platform Section Title in Schema */
.platform-section-title {
    z-index: 25;
    pointer-events: none;
    width: 100%;
    max-width: 850px;
}

.platform-section-title h2 {
    font-family: var(--font-headings);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* Standalone Stats Section Below Schema */
.hero-stats-section {
    padding: 24px 5% 50px;
    margin-top: 0;
    background: var(--bg-surface);
    position: relative;
    z-index: 10;
}

.hero-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.schema-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.schema-stat-card {
    background: #ffffff;
    border: 1px solid rgba(62, 163, 220, 0.25);
    border-radius: 0px;
    padding: 22px 24px;
    box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(62, 163, 220, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.schema-stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #3EA3DC !important;
    box-shadow: 0 18px 42px -4px rgba(62, 163, 220, 0.26), 0 0 24px rgba(62, 163, 220, 0.30) !important;
}

.schema-stat-card .stat-number {
    font-family: var(--font-headings);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #3EA3DC 0%, #009B97 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.schema-stat-card .stat-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
}

.schema-stat-card .stat-subtitle {
    font-size: 0.82rem;
    font-weight: 450;
    color: #64748b;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .schema-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .schema-stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.hero-description {
    font-size: 1.15rem;
    color: #ffffff !important;
    font-weight: 500 !important;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 34px;
    max-width: 680px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
    filter: none !important;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-btn-primary {
    background: #0c0702;
    color: #ffffff;
    padding: 13px 34px;
    border-radius: 0px;
    border: none !important;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    transition: var(--transition-snappy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary:hover {
    background: #1F1C1C;
    color: #ffffff;
    border: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
}

.hero-btn-secondary {
    background: #ffffff !important;
    color: #0c0702 !important;
    border: none !important;
    padding: 13px 34px;
    border-radius: 0px;
    font-weight: 600;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: var(--transition-snappy);
    cursor: pointer;
}

.hero-btn-secondary:hover {
    background: #ffffff !important;
    border: none !important;
    color: #26b8cd !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 184, 205, 0.25);
}

/* Floating Isometric background decorations */
.floating-iso-decor {
    position: absolute;
    pointer-events: none;
    opacity: 0.75;
    z-index: 0;
    filter: drop-shadow(0 10px 20px rgba(62, 163, 220, 0.15));
    animation: drift-decor 15s ease-in-out infinite alternate;
}

#features {
    position: relative;
    overflow: hidden;
}

.features-bento-grid {
    position: relative;
    z-index: 2;
}

@media (max-width: 1380px) {
    .features-decor-left {
        left: -30px !important;
        opacity: 0.2 !important;
        z-index: 0 !important;
        transform: scale(0.8);
    }

    .features-decor-right {
        right: -30px !important;
        opacity: 0.2 !important;
        z-index: 0 !important;
        transform: scale(0.8);
    }
}

@media (max-width: 968px) {

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

.hero-decor-left {
    top: 14%;
    left: 3%;
    width: clamp(120px, 12vw, 200px);
    animation-duration: 18s;
}

.hero-decor-right {
    bottom: 18%;
    right: 4%;
    width: clamp(140px, 14vw, 240px);
    animation-duration: 22s;
    animation-delay: -5s;
}

@keyframes drift-decor {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.03);
    }

    100% {
        transform: translateY(10px) scale(0.97);
    }
}

/* SECTION INTRO HEADER - Simple Clean Typography */
#schema-journey-header {
    position: relative;
    margin: 0 auto 20px auto;
    padding: 50px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 760px;
    z-index: 10;
    opacity: 1 !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.journey-step-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fee2e2 !important;
    border: 1px solid #fca5a5 !important;
    border-radius: 0px;
    padding: 5px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #991b1b !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: none !important;
}

.journey-step-tag .step-num {
    background: #dc2626;
    color: #ffffff;
    width: 18px;
    height: 18px;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}

.journey-title {
    font-family: var(--font-headings);
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: #0f172a !important;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 12px;
    text-shadow: none !important;
}

.journey-desc {
    font-size: 1.05rem;
    color: #475569 !important;
    font-weight: 450;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
    text-shadow: none !important;
}

/* FLOATING NODE CARDS - Absolute Placement inside #canvas-container for 100% Precision */
.floating-label {
    position: absolute;
    pointer-events: auto;
    text-align: left;
    z-index: 25;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    will-change: transform, left, top;
}

.floating-label.align-right {
    transform: translateY(-50%);
}

.floating-label.align-left {
    transform: translateY(-50%);
}

.floating-label.align-center {
    transform: translate(-50%, -50%);
    text-align: center;
}

#lbl-end {
    transform: translateX(-50%) !important;
}

.node-card {
    background: #ffffff;
    border: 1.5px solid #26b8cd;
    border-radius: 0px;
    padding: 12px 22px;
    box-shadow: 0 8px 24px -4px rgba(38, 184, 205, 0.16);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 3px;
    width: 340px;
    position: relative;
    opacity: 1 !important;
    pointer-events: auto;
}

.floating-label.align-center .node-card {
    align-items: center;
    text-align: center;
}

/* Active Node - Crisp Brand Cyan Accent with No Repaint Overhead */
.node-card.active-node {
    opacity: 1 !important;
    border-color: #26b8cd !important;
    border-width: 1.5px !important;
    box-shadow: 0 10px 30px -4px rgba(38, 184, 205, 0.22) !important;
    background: #ffffff !important;
}

.node-card.card-cyan-border {
    border-color: #26b8cd;
}

/* Connectors / Precise Lines for Node Cards */
.node-card::before,
.node-card::after {
    content: '';
    position: absolute;
}

/* Right aligned cards (pointing left to node dot) */
.floating-label.align-right .node-card::before {
    right: 100%;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 1.8px;
    background: rgba(12, 7, 2, 0.15);
}

.floating-label.align-right .node-card::after {
    right: 100%;
    left: auto;
    top: 50%;
    transform: translate(3px, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50% !important;
    background: rgba(12, 7, 2, 0.4);
}

.floating-label.align-right .node-card.active-node::before {
    background: #26b8cd !important;
    box-shadow: 0 0 8px rgba(38, 184, 205, 0.6) !important;
}

.floating-label.align-right .node-card.active-node::after {
    background: #26b8cd !important;
    box-shadow: 0 0 10px rgba(38, 184, 205, 0.8) !important;
}

/* Left aligned cards (pointing right to node dot) */
.floating-label.align-left .node-card::before {
    left: 100%;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 1.8px;
    background: rgba(12, 7, 2, 0.15);
}

.floating-label.align-left .node-card::after {
    left: 100%;
    right: auto;
    top: 50%;
    transform: translate(-3px, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50% !important;
    background: rgba(12, 7, 2, 0.4);
}

.floating-label.align-left .node-card.active-node::before {
    background: #26b8cd !important;
    box-shadow: 0 0 8px rgba(38, 184, 205, 0.6) !important;
}

.floating-label.align-left .node-card.active-node::after {
    background: #26b8cd !important;
    box-shadow: 0 0 10px rgba(38, 184, 205, 0.8) !important;
}

/* Center aligned cards (pointing up to node dot) - Hidden for clean overlap */
.floating-label.align-center .node-card::before,
.floating-label.align-center .node-card::after {
    display: none !important;
}

.node-step-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 800;
    color: #0c0702;
    background: #ffee00;
    padding: 2px 7px;
    border-radius: 2px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 2px;
}

.node-card .title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    color: var(--text-primary);
    font-weight: 750;
    letter-spacing: -0.01em;
}

.node-card .subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 450;
    line-height: 1.35;
}

/* Result Node Card Bottom */
.node-card.card-result {
    border: 1.5px solid #26b8cd;
    background: #ffffff;
    box-shadow: 0 8px 24px -4px rgba(38, 184, 205, 0.16), 0 2px 8px rgba(12, 7, 2, 0.03);
    padding: 18px 26px 14px 26px;
    border-radius: 0px;
    text-align: center;
    align-items: center;
    gap: 4px;
    width: 380px;
    max-width: 92vw;
    position: relative;
}

.node-card.card-result.active-node {
    border-color: #26b8cd !important;
    box-shadow: 0 10px 30px rgba(38, 184, 205, 0.22) !important;
}

.card-result .result-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    color: #0c0702;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.card-result .result-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
    max-width: 320px;
    margin: 0 auto;
}

/* Top Umbrella Platform Badge (Glassmorphic Header) */
#lbl-platform {
    transform: translate(-50%, -50%);
    z-index: 25;
}

.platform-badge {
    background: #ffffff;
    border: 1px solid rgba(38, 184, 205, 0.4);
    box-shadow:
        0 4px 16px 0 rgba(15, 23, 42, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    border-radius: 0px;
    padding: 12px 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0c0702;
    letter-spacing: 0.09em;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-badge.active-platform {
    background: #ffffff !important;
    border-color: rgba(38, 184, 205, 0.6) !important;
    color: #0c0702 !important;
    box-shadow:
        0 8px 24px 0 rgba(38, 184, 205, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #ffee00;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 238, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

/* Settings Floating Controls */
/* Settings Floating Controls (Hidden by default, shown via keyboard 'S') */
#section-toggle-btn,
#settings-btn {
    display: none !important;
}

.show-dev-controls #section-toggle-btn {
    display: flex !important;
    right: 5.8rem !important;
    bottom: 2rem !important;
    z-index: 50 !important;
}

.show-dev-controls #settings-btn {
    display: flex !important;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    padding: 0.85rem;
    border-radius: 0px;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: center;
    justify-content: center;
}

#settings-btn:hover {
    border-color: #3EA3DC;
    transform: rotate(45deg) scale(1.08);
    color: #3EA3DC;
}

.controls-panel {
    display: none;
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    z-index: 40;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-radius: 0px;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    width: 310px;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.controls-panel.active {
    display: flex;
    flex-direction: column;
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.control-group {
    margin-bottom: 1.15rem;
    display: flex;
    flex-direction: column;
}

.control-label {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.control-value {
    color: #3EA3DC;
}

input[type="range"] {
    cursor: pointer;
    width: 100%;
    height: 5px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 0px;
    appearance: none;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 0px;
    background: #3EA3DC;
    box-shadow: 0 0 10px rgba(62, 163, 220, 0.4);
    cursor: pointer;
}

.btn {
    background: var(--brand-teal);
    color: #ffffff;
    padding: 0.8rem 1rem;
    border-radius: 0px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.72rem;
    border: none;
    width: 100%;
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(30, 70, 74, 0.2);
}

.btn:hover {
    background: #3EA3DC;
    box-shadow: 0 6px 16px rgba(62, 163, 220, 0.3);
    transform: translateY(-1px);
}

.font-loader {
    display: none !important;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    font-family: 'Material Symbols Outlined' !important;
}

@media (max-width: 968px) {
    header {
        width: 95%;
        padding: 0 16px;
    }

    .nav-links,
    .nav-actions .login-link {
        display: none;
    }

    /* Hide CTA button on mobile — only logo + burger */
    .nav-actions .btn-primary {
        display: none;
    }

    .floating-iso-decor {
        display: none;
    }

    /* On mobile, hide canvas-based floating node cards and schema journey header
       since they depend on JavaScript canvas positioning and overlap badly */
    #canvas-container {
        display: none;
    }

    /* Hero fills the full viewport on mobile */
    .hero-section {
        min-height: 100svh;
        min-height: 100vh;
        /* fallback */
        padding-top: 80px;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .hero-content {
        margin-top: auto !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: clamp(36px, 6vh, 56px) !important;
    }

    .hero-title {
        font-size: var(--hero-title-fs-mobile, clamp(1.4rem, 5.2vw, 1.85rem)) !important;
        margin-bottom: 10px !important;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Sibling HTML element for Result node circle to paint on top of card */
.node-icon-end {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #26b8cd 0%, #10b981 100%);
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 35;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(38, 184, 205, 0.35);
    opacity: 1;
    filter: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.node-icon-end.active-node-icon {
    width: 48px;
    height: 48px;
    opacity: 1;
    background: linear-gradient(135deg, #26b8cd 0%, #10b981 100%);
    border: 3px solid #ffffff;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(38, 184, 205, 0.40);
}

.node-icon-end span {
    font-size: 24px;
    font-family: "Material Symbols Outlined";
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-variation-settings: 'FILL' 1, 'wght' 600;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.node-icon-end.active-node-icon span {
    font-size: 24px;
    color: #ffffff;
    text-shadow: none;
}

/* Prevent flash of raw ligature text (FOUT) before Material Symbols webfont loads */
html:not(.fonts-loaded) .material-symbols-outlined,
html:not(.fonts-loaded) .node-icon-end span {
    visibility: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }

    .node-icon-end {
        display: none;
    }
}

/* ==========================================================================
   PROCUREMENT JOURNEY TIMELINE COLLAPSIBLE TOGGLE BUTTON & CONTAINER
   ========================================================================== */

.timeline-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.timeline-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #1F1C1C;
    border: 1.5px solid rgba(30, 70, 74, 0.18);
    padding: 14px 32px;
    border-radius: 0px;
    font-family: var(--font-headings);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-toggle-btn:hover {
    background: #1F1C1C;
    color: #ffffff;
    border-color: #1F1C1C;
    box-shadow: 0 8px 25px rgba(30, 70, 74, 0.22);
    transform: translateY(-2px);
}

.timeline-toggle-btn .toggle-arrow-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.timeline-toggle-btn.active .toggle-arrow-icon {
    transform: rotate(180deg);
}

.timeline-collapsible-container {
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}

.timeline-collapsible-container.hidden {
    display: none !important;
}

/* Small Mobile Viewport Polish Improvements (< 640px) */
@media (max-width: 640px) {
    .hero-description {
        font-size: 0.98rem !important;
        margin-bottom: 24px !important;
        padding: 0 12px;
    }

    .beforeyougo-card-grid {
        padding: 28px 20px !important;
    }

    .beforeyougo-text-col .buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .beforeyougo-text-col .buttons button {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
}
