/* ==========================================================================
   CSS RESET & VARIABLES (Ethena Exact Styling)
   ========================================================================== */
:root {
    --bg-black: #09090b;
    /* User requested to use the palette colors from the new video */
    --text-main: #FFFFFF;
    --text-muted: #8E8E93;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --font-inter: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-main);
    font-family: var(--font-inter);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   HEADER (Exact Ethena Layout)
   ========================================================================== */
.top-accent-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    position: absolute;
    z-index: 100;
}

.header {
    width: 100%;
    padding: 1rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.6rem 0.6rem 0.6rem 1.5rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.brand-logo {
    height: 32px;
    /* Adjusted height for the new transparent X logo */
    width: auto;
    display: block;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.8125rem;
    /* ~13px */
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

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

.nav-arrow {
    transform: rotate(90deg);
    font-size: 10px;
}

/* ── Nav Dropdown ── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;
    background: rgba(10, 12, 26, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    z-index: 200;
}

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

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.8rem;
    left: 0;
    right: 0;
    height: 0.8rem;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.88);
}

.nav-dropdown-item--active {
    color: rgba(120, 200, 120, 0.9);
    background: rgba(80, 200, 100, 0.06);
}

.nav-link--active {
    color: var(--text-main);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-stats-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.header-consult-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
}

.header-consult-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.05);
    color: #fff;
}

.header-consult-dot {
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.header-stat {
    font-size: 0.75rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-icon-small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.header-stat-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
}

.btn {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    /* Pill */
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.launch-app-btn {
    padding: 0.5rem 1.25rem;
}

/* ==========================================================================
   HERO SECTION 
   ========================================================================== */
.hero-wrapper {
    padding: 1rem 2rem 0 2rem;
    /* 2x left/right padding */
    background-color: var(--bg-color);
    /* The dark outer background */
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px - 1rem);
    /* Fill screen minus header and the new top padding */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    /* Rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle outer border to define the canvas */
}

/* ALIVE BACKGROUND EFFECTS (Ethena Clone) */
.wind-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    mask-image: linear-gradient(90deg, black 0%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, black 0%, black 80%, transparent 100%);
}

.wind-dots {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
}

.fast {
    background-image: radial-gradient(rgba(255, 255, 255, 0.45) 1.5px, transparent 1.5px);
    background-size: 80px 60px;
    animation: driftXFast 20s linear infinite, waveYFast 4s ease-in-out infinite alternate;
}

.med {
    background-image: radial-gradient(rgba(255, 255, 255, 0.25) 2px, transparent 2px);
    background-size: 140px 100px;
    animation: driftXMed 35s linear infinite, waveYMed 7s ease-in-out infinite alternate;
    background-position-y: 30px;
}

.slow {
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 3px, transparent 3px);
    background-size: 200px 150px;
    animation: driftXSlow 50s linear infinite, waveYSlow 11s ease-in-out infinite alternate;
    background-position-y: 70px;
}

@keyframes driftXFast {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: -800px;
    }
}

@keyframes waveYFast {
    0% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(20px);
    }
}

@keyframes driftXMed {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: -1400px;
    }
}

@keyframes waveYMed {
    0% {
        transform: translateY(30px);
    }

    100% {
        transform: translateY(-30px);
    }
}

@keyframes driftXSlow {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: -2000px;
    }
}

@keyframes waveYSlow {
    0% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(40px);
    }
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

.glow-left {
    top: 20%;
    left: 10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(100, 150, 255, 0.1) 0%, transparent 70%);
}

.glow-right {
    top: 30%;
    right: 5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(200, 220, 255, 0.15) 0%, transparent 70%);
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Video Background */
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Full background, no mix-blend-mode */
}

/* Remove or severely reduce overlay because mix-blend-mode: screen handles blacks */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darken left heavily for text readability, fade on right */
    background: linear-gradient(90deg, rgba(1, 1, 5, 0.9) 0%, rgba(1, 1, 5, 0.6) 40%, rgba(1, 1, 5, 0.2) 100%);
    z-index: 3;
}

.hero-container {
    position: relative;
    z-index: 10;
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 6rem 2rem 8rem 2rem;
    /* Added top padding so header doesn't overlap text */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text-content {
    max-width: 600px;
    transform: translateY(-40px);
}

.hero-title {
    font-size: clamp(3rem, 4.5vw, 4rem);
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-subtitle strong {
    color: var(--text-main);
    font-weight: 500;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: var(--text-main);
    color: var(--bg-black);
    font-size: 0.875rem;
    border: 1px solid transparent;
}

.btn-hero:hover {
    background: #E5E5E5;
}

.arrow-right {
    font-size: 14px;
}

.hero-media-content {
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   NEW HERO STYLES (Mockup Match)
   ========================================================================== */

.bg-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
    padding: 0 10vw;
}

.grid-line {
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    /* very faint white line */
}

.new-hero-bg {
    z-index: 2;
}

.new-hero-bg .hero-bg-video {
    object-position: bottom center;
    /* The wave is at the bottom */
}

.hero-bg-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from black to transparent so top text is legible and bottom wave shows */
    background: linear-gradient(180deg, #000000 0%, #000000 35%, rgba(0, 0, 0, 0) 100%);
    z-index: 3;
}

.new-hero-layout {
    flex-direction: row;
    align-items: center;
    padding-top: 5rem;
    z-index: 10;
}

.serif-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.new-subtitle {
    font-size: 1.05rem;
    color: #A0A0A0;
    /* slightly darker grey than main text */
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.btn-solid-white {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #FFFFFF;
    color: #000000;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0;
    /* flat square button! */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

.btn-solid-white:hover {
    background-color: #E0E0E0;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.btn-outline-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    background: transparent;
}

.btn-outline-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-text-content {
    flex: 1;
}

.align-bottom-right {
    display: flex;
    height: 500px;
    align-items: flex-end;
    /* align the box to the bottom */
    justify-content: flex-end;
}

/* --- Hero Bottom Stats Strip --- */
.hero-bottom-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 10;
    padding-bottom: 2rem;
}

.stats-inner {
    max-width: 1100px;
    /* Constrained to a narrower central area based on user request */
    margin: 0 auto;
    padding: 2.5rem 0 1rem 0;
    /* Removed horizontal padding so it aligns precisely with edges */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 500;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.stat-desc {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.stat-icon-svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    stroke: rgba(255, 255, 255, 0.6);
}

/* Scroll Down Chevron */
.scroll-down-btn {
    position: absolute;
    top: -16px;
    /* Overlap the edge completely like a pill button centered on the border */
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-down-btn:hover {
    background: #111111;
    transform: translateX(-50%) translateY(3px);
}

.yoy-performance-box {
    background: rgba(255, 255, 255, 0.1);
    /* frosted white */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.yoy-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.yoy-value {
    font-size: 3.5rem;
    font-weight: 300;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    line-height: 1;
}

.yoy-arrow {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.2rem;
}

/* ==========================================================================
   STRATX FINTECH DESIGN SYSTEM â€” All Post-Hero Sections
   ========================================================================== */

/* --- Global Section Framework --- */
.sx-section {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    z-index: 10;
}

.sx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

/* Background grid pattern shared across sections */
.sx-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* --- Typography --- */
.sx-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(0, 212, 255, 0.7);
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.04);
}

.sx-label--mono {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    color: rgba(0, 212, 255, 0.5);
    border: none;
    background: none;
    padding: 0;
    font-size: 0.8rem;
}

.sx-headline {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.sx-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    margin-top: -0.5rem;
}

.sx-body {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 520px;
}

.sx-body--highlight {
    color: #fff;
    font-weight: 500;
}

.sx-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* --- Split Layouts --- */
.sx-split {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.sx-split--40-60 .sx-narrative {
    flex: 0 0 40%;
}

.sx-split--40-60 .sx-systems {
    flex: 1;
}

.sx-split--35-65 .sx-narrative {
    flex: 0 0 35%;
}

.sx-split--35-65 .sx-console {
    flex: 1;
}

/* --- Shared Card Glass --- */
.sx-glass {
    background: rgba(12, 15, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

/* --- CTA Button --- */
.sx-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: #fff;
    color: #000;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.sx-cta-btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sx-cta-btn--outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* --- Tags --- */
.sx-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: rgba(0, 212, 255, 0.8);
    background: rgba(0, 212, 255, 0.05);
}

.sx-tag--blue {
    border-color: rgba(59, 130, 246, 0.3);
    color: rgba(100, 160, 255, 0.9);
    background: rgba(59, 130, 246, 0.08);
}


/* ==========================================================================
   SECTION 2: WHY STRATX EXISTS
   ========================================================================== */
.sx-why {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-black) 0%, #050515 50%, var(--bg-black) 100%);
}

.sx-systems {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sx-system-card {
    position: relative;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sx-system-card:hover {
    transform: translateY(-3px);
}

.sx-system-card--broken {
    background: linear-gradient(135deg, rgba(30, 15, 20, 0.5) 0%, rgba(9, 9, 11, 0.8) 100%);
    border: 1px solid rgba(239, 68, 68, 0.12);
}

.sx-system-card--broken:hover {
    box-shadow: 0 8px 40px rgba(239, 68, 68, 0.08);
}

.sx-system-card--clean {
    background: linear-gradient(135deg, rgba(10, 25, 40, 0.6) 0%, rgba(9, 9, 11, 0.8) 100%);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.sx-system-card--clean:hover {
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.08);
}

/* Flow lines inside system cards */
.sx-system-flow {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

.sx-flow-line {
    position: absolute;
    width: 150px;
    height: 2px;
    border-radius: 1px;
}

.sx-flow-line--broken {
    background: repeating-linear-gradient(90deg, rgba(239, 68, 68, 0.4) 0px, rgba(239, 68, 68, 0.4) 8px, transparent 8px, transparent 16px);
    top: 30%;
    right: 20px;
    animation: flowBroken 3s linear infinite;
}

.sx-flow-line--broken:nth-child(2) {
    top: 60%;
    width: 100px;
    animation-delay: 0.5s;
}

.sx-flow-line--clean {
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    top: 30%;
    right: 20px;
    animation: flowClean 4s linear infinite;
}

.sx-flow-line--clean:nth-child(2) {
    top: 60%;
    width: 100px;
    animation-delay: 1s;
}

@keyframes flowBroken {
    0% {
        transform: translateX(0);
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(30px);
        opacity: 0;
    }
}

@keyframes flowClean {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(30px);
        opacity: 0;
    }
}

.sx-system-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.sx-system-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sx-system-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.sx-x {
    color: rgba(239, 68, 68, 0.8);
    font-weight: 700;
    font-size: 0.85rem;
}

.sx-check {
    color: rgba(52, 211, 153, 0.9);
    font-weight: 700;
    font-size: 0.85rem;
}

.sx-system-badge {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.sx-system-badge--danger {
    background: rgba(239, 68, 68, 0.1);
    color: rgba(239, 68, 68, 0.8);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.sx-system-badge--safe {
    background: rgba(0, 212, 255, 0.06);
    color: rgba(0, 212, 255, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.15);
}


/* ==========================================================================
   SECTION 3: TRUST & AUTHORITY
   ========================================================================== */
.authority-wrapper {
    padding: 1rem 4rem 0 4rem;
    background-color: var(--bg-black);
}

.sx-authority {
    padding: 4.5rem 0 5rem 0;
    position: relative;
    z-index: 10;
}

.sx-authority.has-bg-video {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.authority-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.authority-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
    mix-blend-mode: screen;
}

.authority-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-black) 0%, rgba(9, 9, 11, 0) 25%, rgba(9, 9, 11, 0) 75%, var(--bg-black) 100%);
    z-index: 2;
}

.sx-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sx-dash-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(12, 15, 30, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.sx-dash-card:hover {
    border-color: rgba(0, 212, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.06);
}

.sx-dash-card--featured {
    border-color: rgba(0, 212, 255, 0.12);
}

.sx-dash-card--featured .sx-dash-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

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

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.sx-dash-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.sx-dash-stat {
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.sx-dash-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sx-company-badge {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.02em;
}


/* ==========================================================================
   SECTION 4: HOW IT WORKS â€” Pipeline
   ========================================================================== */
.sx-pipeline-section {
    background: linear-gradient(180deg, var(--bg-black) 0%, #040412 50%, var(--bg-black) 100%);
    padding: 8rem 0;
}

.sx-pipeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.sx-pipeline-track {
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    z-index: 1;
}

.sx-pipeline-line {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

/* Progress fill that grows left-to-right as nodes light up */
.sx-pipeline-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.6));
    border-radius: 1px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

.sx-pipeline-particle {
    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    width: 40px;
    height: 8px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.8), rgba(0, 212, 255, 1), rgba(0, 212, 255, 0.8), transparent);
    border-radius: 4px;
    opacity: 0;
    filter: blur(1px);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.6), 0 0 24px rgba(0, 212, 255, 0.3);
}

/* Particle loops only after initial activation */
.sx-pipeline.pipeline-active .sx-pipeline-particle {
    animation: pipeFlow 3s ease-in-out infinite 2s;
}

@keyframes pipeFlow {
    0% {
        left: -40px;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: calc(100% + 40px);
        opacity: 0;
    }
}

.sx-pipeline-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.sx-pipe-node {
    text-align: center;
    flex: 1;
    padding: 0 1rem;
    opacity: 0.25;
    transform: translateY(5px);
    transition: opacity 0.6s ease, transform 0.5s ease;
}

.sx-pipe-node.active {
    opacity: 1;
    transform: translateY(0);
}

.sx-pipe-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(12, 15, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 212, 255, 0.3);
    transition: all 0.6s ease;
    position: relative;
}

/* Outer glow ring */
.sx-pipe-circle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.6s ease;
}

.sx-pipe-node.active .sx-pipe-circle {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15), 0 0 40px rgba(0, 212, 255, 0.08), inset 0 0 15px rgba(0, 212, 255, 0.05);
    background: rgba(0, 20, 40, 0.9);
    color: rgba(0, 212, 255, 1);
}

.sx-pipe-node.active .sx-pipe-circle::before {
    border-color: rgba(0, 212, 255, 0.12);
    animation: nodeRingPulse 2.5s ease-in-out infinite;
}

@keyframes nodeRingPulse {

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

    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.sx-pipe-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.5rem;
}

.sx-pipe-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}


/* ==========================================================================
   SECTION 5: VAULT / SECURITY — Simple Fintech
   ========================================================================== */
/* Wrapper matches hero-wrapper: 1rem padding all sides */
.vault-wrapper {
    padding: 1rem 4rem;
    background-color: var(--bg-black);
}

.sx-vault-section {
    padding: 3.5rem 0;
    text-align: center;
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.sx-vault-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.sx-vault-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    mix-blend-mode: screen;
}

.sx-vault-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.6) 0%, rgba(9, 9, 11, 0.2) 50%, rgba(9, 9, 11, 0.6) 100%);
    z-index: 2;
}

.sx-vault-content {
    position: relative;
    z-index: 10;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.sx-vault-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 100px;
    background: rgba(0, 212, 255, 0.04);
    color: rgba(0, 212, 255, 0.8);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.sx-vault-badge svg {
    stroke: rgba(0, 212, 255, 0.7);
}

.sx-vault-content .sx-headline {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.sx-vault-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.sx-vault-chips {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sx-vault-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    transition: border-color 0.3s ease;
}

.sx-vault-chip:hover {
    border-color: rgba(0, 212, 255, 0.15);
}

.sx-vault-chip-icon {
    color: rgba(52, 211, 153, 0.9);
    font-size: 0.75rem;
    font-weight: 700;
}


/* ==========================================================================
   SECTION 6: STRATEGIES â€” Dual Engines
   ========================================================================== */
.sx-engines-section {
    padding: 2rem 0 8rem;
    background: linear-gradient(180deg, var(--bg-black) 0%, #050515 50%, var(--bg-black) 100%);
}

.sx-engines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.sx-engine {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sx-engine:hover {
    transform: translateY(-5px);
}

.sx-engine--infinity {
    background: linear-gradient(180deg, rgba(0, 20, 40, 0.6) 0%, rgba(5, 5, 20, 0.9) 100%);
    border: 1px solid rgba(0, 212, 255, 0.08);
}

.sx-engine--infinity:hover {
    box-shadow: 0 16px 60px rgba(0, 212, 255, 0.08);
}

.sx-engine--alpha {
    background: linear-gradient(180deg, rgba(15, 20, 40, 0.6) 0%, rgba(5, 5, 20, 0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.sx-engine--alpha:hover {
    box-shadow: 0 16px 60px rgba(59, 130, 246, 0.08);
}

.sx-engine-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    opacity: 0.5;
    pointer-events: none;
}

.sx-wave-svg {
    width: 200%;
    height: 100%;
}

.sx-wave--slow {
    animation: waveShift 10s linear infinite;
}

.sx-wave--fast {
    animation: waveShift 5s linear infinite;
}

@keyframes waveShift {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.sx-engine-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
}

.sx-engine-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sx-engine-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
}

.sx-engine-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sx-engine-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.sx-engine-features li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.sx-engine-features li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: rgba(0, 212, 255, 0.5);
    font-size: 0.7rem;
}

.sx-engine-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sx-profit {
    font-size: 0.8rem;
    color: rgba(52, 211, 153, 0.8);
}

.sx-profit strong {
    color: rgba(52, 211, 153, 1);
}


/* ==========================================================================
   SECTION 7: PILLARS — with video background
   ========================================================================== */
.pillars-wrapper {
    padding: 1rem 4rem;
    background-color: var(--bg-black);
}

.sx-pillars-section {
    padding: 4rem 0;
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.sx-pillars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.sx-pillars-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    mix-blend-mode: screen;
}

.sx-pillars-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.7) 0%, rgba(9, 9, 11, 0.3) 50%, rgba(9, 9, 11, 0.7) 100%);
    z-index: 2;
}

.sx-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.sx-pillar {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(12, 15, 30, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.sx-pillar:hover {
    border-color: rgba(0, 212, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.05);
}

.sx-pillar-connector {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 20px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.2), transparent);
    transform: translateX(-50%);
}

.sx-pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 212, 255, 0.7);
}

.sx-pillar-title {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.75rem;
}

.sx-pillar-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}


/* ==========================================================================
   SECTION 8: SERVICES â€” Products
   ========================================================================== */
.sx-services-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-black) 0%, #050515 50%, var(--bg-black) 100%);
}

.sx-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.sx-product {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.sx-product:hover {
    transform: translateY(-4px);
}

.sx-product--simple {
    background: linear-gradient(180deg, rgba(10, 20, 35, 0.6) 0%, rgba(5, 5, 18, 0.9) 100%);
    border: 1px solid rgba(0, 212, 255, 0.06);
}

.sx-product--simple:hover {
    box-shadow: 0 16px 60px rgba(0, 212, 255, 0.06);
}

.sx-product--advanced {
    background: linear-gradient(180deg, rgba(15, 18, 40, 0.6) 0%, rgba(5, 5, 18, 0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.06);
}

.sx-product--advanced:hover {
    box-shadow: 0 16px 60px rgba(59, 130, 246, 0.06);
}

.sx-product-visual {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sx-product-info {
    padding: 2rem 2.5rem 2.5rem;
}

/* Network visualization */
.sx-network {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sx-network--complex {
    flex-direction: column;
    gap: 1rem;
}

.sx-net-node {
    padding: 0.5rem 1rem;
    background: rgba(12, 15, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.35);
    transition: all 0.6s ease;
}

.sx-net-node--user {
    border-color: rgba(0, 212, 255, 0.08);
    color: rgba(0, 212, 255, 0.35);
}

.sx-net-node--stratx {
    border-color: rgba(52, 211, 153, 0.08);
    color: rgba(52, 211, 153, 0.35);
}

/* Active glow states */
.sx-net-node.glow-active {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.sx-net-node--user.glow-active {
    color: rgba(0, 212, 255, 1);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.12), 0 0 40px rgba(0, 212, 255, 0.05);
}

.sx-net-node--stratx.glow-active {
    color: rgba(52, 211, 153, 1);
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.12), 0 0 40px rgba(52, 211, 153, 0.05);
}

.sx-net-node--exchange.glow-active {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.06);
}

.sx-net-line {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.sx-net-line--animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.6));
    border-radius: 2px;
    transition: width 0.5s ease;
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

.sx-net-line.glow-active::after {
    width: 100%;
}

@keyframes netPulse {
    0% {
        left: -20px;
    }

    100% {
        left: calc(100% + 20px);
    }
}

.sx-net-hub {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 280px;
}


/* ==========================================================================
   SECTION 9: TRANSPARENCY — Console
   ========================================================================== */
.transparency-wrapper {
    padding: 1rem 4rem;
    background-color: var(--bg-black);
}

.sx-transparency-section {
    padding: 5rem 0;
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.sx-transparency-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.sx-transparency-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    mix-blend-mode: screen;
}

.sx-transparency-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.7) 0%, rgba(9, 9, 11, 0.3) 50%, rgba(9, 9, 11, 0.7) 100%);
    z-index: 2;
}

.sx-console-panel {
    background: rgba(8, 10, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

.sx-console-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sx-console-dots {
    display: flex;
    gap: 0.35rem;
}

.sx-console-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.sx-console-dots span:nth-child(1) {
    background: rgba(239, 68, 68, 0.6);
}

.sx-console-dots span:nth-child(2) {
    background: rgba(234, 179, 8, 0.6);
}

.sx-console-dots span:nth-child(3) {
    background: rgba(34, 197, 94, 0.6);
}

.sx-console-title {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.sx-console-body {
    padding: 1.5rem;
}

.sx-console-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sx-console-key {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.sx-console-val {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.sx-console-val--green {
    color: rgba(52, 211, 153, 0.9);
}

.sx-console-chart {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.sx-mini-chart {
    width: 100%;
    height: 80px;
}


/* ==========================================================================
   SECTION 10: PERSONAS
   ========================================================================== */
.sx-personas-section {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, var(--bg-black) 0%, #050515 50%, var(--bg-black) 100%);
}

.sx-personas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.sx-persona {
    padding: 2rem 1.5rem;
    background: rgba(12, 15, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
}

.sx-persona:hover {
    border-color: rgba(0, 212, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.04);
}

.sx-persona-avatar {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.sx-persona-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.75rem;
}

.sx-persona-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.sx-persona-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(0, 212, 255, 0.6);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.sx-persona:hover .sx-persona-flow {
    opacity: 1;
    transform: translateY(0);
}

.sx-flow-arrow {
    color: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   SECTION 11: FAQ
   ========================================================================== */
.sx-faq-section {
    padding: 6rem 0;
}

.sx-faq {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sx-faq-item {
    background: rgba(12, 15, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.sx-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.sx-faq-item.active {
    border-color: rgba(0, 212, 255, 0.1);
}

.sx-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
}

.sx-faq-q h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.sx-faq-toggle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, color 0.3s ease;
    font-weight: 300;
}

.sx-faq-item.active .sx-faq-toggle {
    transform: rotate(45deg);
    color: rgba(0, 212, 255, 0.7);
}

.sx-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.sx-faq-item.active .sx-faq-a {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.sx-faq-a p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin: 0;
}


/* ==========================================================================
   SECTION 12: GATEWAY CTA (Ethena Inspired)
   ========================================================================== */
.gateway-wrapper {
    padding: 1rem 2rem 2rem 2rem;
    /* matches hero wrapper left/right padding */
    background-color: var(--bg-black);
    width: 100%;
}

.sx-gateway-section.new-gateway-layout {
    position: relative;
    width: 100%;
    min-height: 35vh;
    /* Reduced from 50vh */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
}

/* Video Background */
.gateway-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.gateway-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.7;
    /* Subdue video slightly */
}

.gateway-bg-overlay {
    position: absolute;
    inset: 0;
    /* Soft dark radial gradient so text is readable */
    background: radial-gradient(circle at center, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0.85) 100%);
    z-index: 2;
}

.sx-gateway.sx-container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 4rem 2rem 4rem 2rem;
    /* Reduced padding heavily to make it tighter vertically */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sx-gateway .sx-headline {
    margin-bottom: 2rem;
    /* Give it space from the buttons now that subtitle is gone */
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.15;
}

.gateway-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.gateway-cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.gateway-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.75rem;
    background-color: #FFFFFF;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 100px;
    transition: background 0.2s;
}

.gateway-btn-primary:hover {
    background-color: #E0E0E0;
}

.gateway-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.75rem;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.gateway-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.gateway-btn-secondary .arrow-right {
    margin-left: 0.5rem;
    font-size: 1.2rem;
    line-height: 0.8;
}


/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger children */
[data-animate="stagger"] {
    opacity: 1;
    transform: none;
}

[data-animate="stagger"]>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate="stagger"].visible>* {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="stagger"].visible>*:nth-child(1) {
    transition-delay: 0s;
}

[data-animate="stagger"].visible>*:nth-child(2) {
    transition-delay: 0.15s;
}

[data-animate="stagger"].visible>*:nth-child(3) {
    transition-delay: 0.3s;
}

[data-animate="stagger"].visible>*:nth-child(4) {
    transition-delay: 0.45s;
}


/* ==========================================================================
   RESPONSIVE â€” TABLET
   ========================================================================== */
@media (max-width: 992px) {
    .header {
        padding: 0.75rem 1rem;
    }

    .header-inner {
        padding: 0.5rem 0.5rem 0.5rem 1rem;
    }

    .nav {
        display: none;
    }

    .header-stats-pill {
        display: none;
    }

    .hero-container,
    .new-hero-layout {
        flex-direction: column;
        align-items: flex-start;
        padding: 8rem 2rem 10rem 2rem;
    }

    .hero-media-content,
    .align-bottom-right {
        width: 100%;
        height: auto;
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
    }

    .yoy-performance-box {
        width: 100%;
        max-width: 300px;
    }

    .stats-inner {
        padding: 1.5rem;
        justify-content: center;
        gap: 1.5rem;
    }

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

    .sx-split {
        flex-direction: column;
        gap: 3rem;
    }

    .sx-split--40-60 .sx-narrative,
    .sx-split--35-65 .sx-narrative {
        flex: none;
        width: 100%;
    }

    .sx-engines {
        grid-template-columns: 1fr;
    }

    .sx-products {
        grid-template-columns: 1fr;
    }

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

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

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

    .sx-pipeline-nodes {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .sx-pipeline-track {
        display: none;
    }
}


/* ==========================================================================
   RESPONSIVE â€” MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .hero-wrapper {
        padding: 0.5rem 0.5rem 0 0.5rem;
    }

    .hero-section {
        border-radius: 14px;
        min-height: calc(100vh - 2rem);
    }

    .header {
        padding: 0.5rem;
    }

    .header-inner {
        border-radius: 50px;
        padding: 0.4rem 0.5rem 0.4rem 1rem;
        gap: 0.5rem;
    }

    .brand-logo {
        height: 26px;
    }

    .brand {
        margin-right: 0;
    }

    .header-left {
        gap: 0;
    }

    .launch-app-btn {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .hero-container,
    .new-hero-layout {
        align-items: center;
        text-align: center;
        padding: 7rem 1.25rem 12rem;
    }

    .hero-text-content {
        transform: none;
        max-width: 100%;
    }

    .serif-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .new-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        margin: 0 auto 2.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }

    .btn-solid-white,
    .btn-outline-ghost {
        width: 100%;
        justify-content: center;
        font-size: 0.75rem;
        padding: 0.85rem 1rem;
    }

    .hero-media-content,
    .align-bottom-right {
        width: 100%;
        height: auto;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .yoy-performance-box {
        max-width: 260px;
        padding: 1.25rem 1.5rem;
    }

    .yoy-value {
        font-size: 2.5rem;
    }

    .hero-bottom-stats {
        padding-bottom: 1rem;
    }

    .stats-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 1.25rem 1rem 0.5rem;
        text-align: center;
    }

    .stat-block {
        align-items: center;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-desc {
        font-size: 0.55rem;
        justify-content: center;
    }

    .authority-wrapper {
        padding: 0.5rem;
    }

    .sx-authority.has-bg-video {
        border-radius: 12px;
        padding: 4rem 1rem;
    }

    .vault-wrapper {
        padding: 0.5rem;
    }

    .sx-vault-section {
        border-radius: 12px;
    }

    .pillars-wrapper {
        padding: 0.5rem;
    }

    .sx-pillars-section {
        border-radius: 12px;
    }

    .transparency-wrapper {
        padding: 0.5rem;
    }

    .sx-transparency-section {
        border-radius: 12px;
        padding: 4rem 1rem;
    }

    .sx-section {
        padding: 5rem 0;
    }

    .sx-headline {
        font-size: clamp(1.75rem, 6vw, 2.2rem);
    }

    .sx-section-header {
        margin-bottom: 2.5rem;
    }

    .sx-pillars {
        grid-template-columns: 1fr;
    }

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

    .sx-personas {
        grid-template-columns: 1fr;
    }

    .sx-persona-flow {
        opacity: 1;
        transform: none;
    }

    .sx-vault-orbitals {
        width: 340px;
        height: 340px;
    }

    .sx-orbital--2 {
        left: 0;
    }

    .sx-orbital--3 {
        right: 0;
    }

    .sx-engine-content {
        padding: 2rem;
    }

    .sx-product-info {
        padding: 1.5rem 2rem 2rem;
    }
}


/* ==========================================================================
   RESPONSIVE â€” SMALL PHONE
   ========================================================================== */
@media (max-width: 480px) {

    .hero-container,
    .new-hero-layout {
        padding: 6rem 1rem 13rem;
    }

    .serif-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem 0.75rem 0.5rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .sx-headline {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
    }

    .sx-dashboard {
        grid-template-columns: 1fr;
    }

    .sx-vault-orbitals {
        width: 300px;
        height: 300px;
    }

    .sx-vault-ring {
        width: 140px;
        height: 140px;
    }

    .sx-vault-icon {
        font-size: 3rem;
    }

    .sx-orbital-card {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ==========================================================================
   PREMIUM FINTECH FOOTER
   ========================================================================== */

.sx-footer {
    position: relative;
    background: #07070a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

/* Animated Canvas Grid Background */
.sx-footer-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

#footerCanvas {
    width: 100%;
    height: 100%;
}

/* Glowing Top Divider */
.sx-footer-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(99, 140, 255, 0.15) 20%,
            rgba(160, 190, 255, 0.35) 50%,
            rgba(99, 140, 255, 0.15) 80%,
            transparent 100%);
    position: relative;
    z-index: 10;
    animation: footerGlow 4s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.sx-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

/* ---- LAYER 1: TRUST BANNER ---- */
.sx-footer-trust-banner {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
}

.sx-footer-trust-banner .sx-footer-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sx-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    flex: 1;
    min-width: 200px;
}

.sx-trust-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 140, 255, 0.08);
    border: 1px solid rgba(99, 140, 255, 0.15);
    border-radius: 8px;
    color: rgba(120, 160, 255, 0.9);
}

.sx-trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sx-trust-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
}

.sx-trust-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
}

.sx-trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

.sx-trust-chips {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-shrink: 0;
}

.sx-trust-chip {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(120, 180, 120, 0.9);
    background: rgba(80, 200, 100, 0.06);
    border: 1px solid rgba(80, 200, 100, 0.12);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* ---- LAYER 2: MAIN GRID ---- */
.sx-footer-main {
    padding: 3.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sx-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Brand Column */
.sx-footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.sx-footer-logo-img {
    height: 28px;
    width: auto;
    display: block;
    object-fit: contain;
    opacity: 0.9;
}

.sx-footer-brand-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 300px;
}

.sx-footer-core-msgs {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.sx-footer-core-msgs span {
    font-size: 0.75rem;
    color: rgba(120, 160, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.sx-footer-socials {
    display: flex;
    gap: 0.6rem;
}

.sx-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.25s ease;
}

.sx-social-link:hover {
    background: rgba(99, 140, 255, 0.1);
    border-color: rgba(99, 140, 255, 0.3);
    color: rgba(120, 160, 255, 1);
    box-shadow: 0 0 12px rgba(99, 140, 255, 0.15);
    transform: translateY(-1px);
}

/* Nav Columns */
.sx-footer-col-title {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
}

.sx-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.sx-footer-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sx-footer-links a:hover {
    color: rgba(160, 190, 255, 0.9);
    text-shadow: 0 0 10px rgba(99, 140, 255, 0.3);
    transform: translateX(2px);
}

/* ---- LAYER 3: LEGAL BAND ---- */
.sx-footer-legal-band {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sx-footer-legal-grid {
    display: grid;
    grid-template-columns: 240px 1px 1fr;
    gap: 2rem;
    align-items: start;
}

.sx-legal-entity {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sx-legal-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(99, 140, 255, 0.6);
    margin-bottom: 0.25rem;
}

.sx-legal-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.sx-legal-address {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
}

.sx-legal-divider-v {
    background: rgba(255, 255, 255, 0.06);
    width: 1px;
    align-self: stretch;
}

.sx-legal-disclaimer p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.75;
    margin-top: 0.4rem;
    max-width: 780px;
}

/* ---- LAYER 4: SIGNATURE ---- */
.sx-footer-signature {
    padding: 1.25rem 0;
}

.sx-footer-sig-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sx-footer-sig-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.sx-footer-sig-dot {
    width: 6px;
    height: 6px;
    background: rgba(99, 140, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
}

.sx-footer-sig-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.22);
    font-style: italic;
    text-align: center;
}

.sx-footer-sig-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: rgba(120, 200, 120, 0.7);
}

.sx-status-dot {
    width: 6px;
    height: 6px;
    background: rgba(80, 200, 100, 0.8);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(80, 200, 100, 0.5);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

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

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .sx-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .sx-footer-col--brand {
        grid-column: 1 / -1;
    }

    .sx-footer-trust-banner .sx-footer-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .sx-trust-divider {
        display: none;
    }

    .sx-footer-legal-grid {
        grid-template-columns: 1fr;
    }

    .sx-legal-divider-v {
        display: none;
    }

    .sx-footer-sig-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}


/* ================================================================
   SECTION 6.7: ELITE PERFORMANCE AUTHORITY
   ================================================================ */

.ct-authority-section {
    background: linear-gradient(180deg, var(--bg-black) 0%, #050515 50%, var(--bg-black) 100%);
    position: relative;
    padding-bottom: 0;
    overflow: hidden;
}

/* Subtle canvas background */
.ct-authority-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

#authorityCanvas {
    width: 100%;
    height: 100%;
}

/* Two-column layout */
.ct-authority-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* ── Left: text side ── */
.ct-authority-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ct-authority-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(212, 175, 55, 0.85);
    width: fit-content;
}

.ct-authority-badge svg {
    color: rgba(212, 175, 55, 0.8);
}

.ct-authority-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ct-authority-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ct-auth-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(99, 140, 255, 0.6);
    box-shadow: 0 0 8px rgba(99, 140, 255, 0.4);
    flex-shrink: 0;
    margin-top: 0.55rem;
}

.ct-authority-point p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
}

.ct-authority-point p strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* Inline stat row inside text col */
.ct-authority-stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1.5rem;
    background: rgba(10, 12, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
}

.ct-auth-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.ct-auth-stat-n {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}

.ct-auth-stat-l {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ct-auth-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
}

/* ── Right: achievement cards ── */
.ct-authority-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ct-auth-card {
    background: rgba(10, 12, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ct-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    opacity: 0;
    transition: opacity 0.3s;
}

.ct-auth-card:hover {
    transform: translateY(-4px);
}

/* Card icon variations */
.ct-auth-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.ct-auth-card-icon--gold {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(212, 175, 55, 0.9);
}

.ct-auth-card-icon--blue {
    background: rgba(99, 140, 255, 0.08);
    border: 1px solid rgba(99, 140, 255, 0.18);
    color: rgba(120, 160, 255, 0.9);
}

.ct-auth-card-icon--green {
    background: rgba(80, 200, 100, 0.08);
    border: 1px solid rgba(80, 200, 100, 0.18);
    color: rgba(99, 200, 99, 0.9);
}

/* Card hover glow per type */
.ct-auth-card:has(.ct-auth-card-icon--gold):hover {
    border-color: rgba(212, 175, 55, 0.22);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.06);
}

.ct-auth-card:has(.ct-auth-card-icon--gold)::before {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.ct-auth-card:has(.ct-auth-card-icon--blue):hover {
    border-color: rgba(99, 140, 255, 0.2);
    box-shadow: 0 8px 32px rgba(99, 140, 255, 0.06);
}

.ct-auth-card:has(.ct-auth-card-icon--blue)::before {
    background: linear-gradient(90deg, transparent, rgba(99, 140, 255, 0.3), transparent);
}

.ct-auth-card:has(.ct-auth-card-icon--green):hover {
    border-color: rgba(80, 200, 100, 0.2);
    box-shadow: 0 8px 32px rgba(80, 200, 100, 0.06);
}

.ct-auth-card:has(.ct-auth-card-icon--green)::before {
    background: linear-gradient(90deg, transparent, rgba(80, 200, 100, 0.3), transparent);
}

.ct-auth-card:hover::before {
    opacity: 1;
}

/* Card text */
.ct-auth-card-content h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.ct-auth-card-content p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

/* Card tag */
.ct-auth-card-tag {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    width: fit-content;
    margin-top: auto;
}

.ct-auth-card-tag--gold {
    color: rgba(212, 175, 55, 0.85);
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.18);
}

.ct-auth-card-tag--blue {
    color: rgba(99, 140, 255, 0.85);
    background: rgba(99, 140, 255, 0.07);
    border: 1px solid rgba(99, 140, 255, 0.18);
}

.ct-auth-card-tag--green {
    color: rgba(80, 200, 100, 0.85);
    background: rgba(80, 200, 100, 0.07);
    border: 1px solid rgba(80, 200, 100, 0.18);
}

/* ── Supporting quote ── */
.ct-authority-quote {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 0 1.5rem 0;
}

.ct-auth-quote-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 140, 255, 0.2), transparent);
}

.ct-authority-quote blockquote {
    text-align: center;
    max-width: 660px;
    flex-shrink: 0;
}

.ct-authority-quote blockquote p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
}

.ct-authority-quote blockquote p:first-child {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.ct-authority-quote blockquote em {
    color: rgba(120, 160, 255, 0.8);
    font-style: italic;
}

/* Responsive */
@media (max-width: 960px) {
    .ct-authority-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ct-authority-cards {
        grid-template-columns: 1fr 1fr;
    }

    .ct-authority-quote {
        flex-direction: column;
        gap: 1.25rem;
    }

    .ct-auth-quote-line {
        width: 100%;
        height: 1px;
    }
}
/* MISSION SECTION FROM TRUST PAGE */
.trust-mission-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.trust-mission-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.trust-mission-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
}

.trust-mission-quote {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem 1.75rem;
    background: rgba(99, 140, 255, 0.03);
    border: 1px solid rgba(99, 140, 255, 0.12);
    border-radius: 16px;
}

.trust-quote-bar {
    width: 3px;
    height: auto;
    background: rgba(99, 140, 255, 0.4);
    border-radius: 2px;
    flex-shrink: 0;
    min-height: 100%;
    align-self: stretch;
}

.trust-mission-quote>div {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-mission-quote p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.trust-quote-attr {
    font-size: 0.72rem;
    color: rgba(99, 140, 255, 0.6);
    letter-spacing: 0.04em;
}

/* Mission stats */
.trust-mission-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.trust-ms-card {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: rgba(10, 12, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.trust-ms-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 140, 255, 0.2);
}

.trust-ms-card--featured {
    position: relative;
    overflow: hidden;
    background: rgba(80, 200, 100, 0.03);
    border-color: rgba(80, 200, 100, 0.18);
    box-shadow: 0 0 40px rgba(80, 200, 100, 0.04);
}

.trust-ms-n {
    font-size: 2.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: -0.03em;
    line-height: 1;
}

.trust-ms-n--green {
    color: rgba(80, 200, 100, 0.9);
}

.trust-ms-l {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
}



/* Mission Responsive */
@media (max-width: 960px) {
    .trust-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-risk-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .trust-dash-layout {
        grid-template-columns: 1fr;
    }

    .trust-mission-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .trust-flow-diagram {
        flex-direction: column;
        gap: 0.5rem;
    }

    .trust-flow-connector {
        flex-direction: row;
        align-items: center;
        padding: 0;
    }

    .trust-fc-line {
        width: 50px;
    }
}

@media (max-width: 640px) {
    .hide-mobile {
        display: none;
    }

    .trust-hero-title {
        font-size: 2.8rem;
    }

    .trust-core-statement {
        flex-direction: column;
        gap: 0.65rem;
        border-radius: 16px;
    }

    .trust-cs-sep {
        display: none;
    }

    .trust-pillars {
        grid-template-columns: 1fr;
    }

    .trust-transp-grid {
        grid-template-columns: 1fr;
    }

    .trust-sec-grid {
        grid-template-columns: 1fr;
    }

    .trust-access-grid {
        grid-template-columns: 1fr;
    }

    .trust-trust-hero-cards {
        flex-direction: column;
    }

    .trust-final-reassure {
        gap: 1rem;
    }

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

/* MISSION VIDEO BACKGROUND */
.sx-mission-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.sx-mission-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12; /* subtle */
}
.sx-mission-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(9, 9, 11, 0.4) 100%);
    z-index: 1;
}

/* ==========================================================================
   SECTION 3: HALAL INVESTING
   ========================================================================== */

/* Wrapper */
.halal-wrapper { position: relative; }

/* Section base */
.sx-halal-section {
    position: relative;
    padding: 6rem 0;
    background: #06080c; /* Slightly different dark shade to define the section */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

/* ── Geometric background ─────────────────────────────────────── */
/* Styles removed as elements were deleted from HTML */

/* ── Cards grid ───────────────────────────────────────────────── */
.sx-halal-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
}

.sx-halal-card-item {
    position: relative;
    padding: 2rem 1.75rem 1.75rem;
    background: rgba(8, 10, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}
/* Top shimmer line */
.sx-halal-card-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(25,226,146,0.25), transparent);
}
/* Subtle green glow bottom-left corner on hover */
.sx-halal-card-item::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25,226,146,0.07), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.sx-halal-card-item:hover {
    transform: translateY(-5px);
    border-color: rgba(25, 226, 146, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(25,226,146,0.04);
}
.sx-halal-card-item:hover::after { opacity: 1; }

/* Card icon */
.sx-halal-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(25, 226, 146, 0.06);
    border: 1px solid rgba(25, 226, 146, 0.12);
    color: #19E292;
    margin-bottom: 1.25rem;
    transition: background 0.3s ease;
}
.sx-halal-card-item:hover .sx-halal-card-icon {
    background: rgba(25, 226, 146, 0.1);
}

/* Card title */
.sx-halal-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

/* Card description */
.sx-halal-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

/* Card checklist */
.sx-halal-card-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.4rem;
}
.sx-halal-card-list li {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}
.sx-halal-card-list .sx-check {
    color: #19E292;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ── Closing statement ────────────────────────────────────────── */
.sx-halal-closing {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 820px;
    margin: 0 auto;
}
.sx-halal-closing-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(25,226,146,0.15), transparent);
}
.sx-halal-closing-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    line-height: 1.6;
    white-space: nowrap;
    font-style: italic;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sx-halal-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .sx-halal-cards { grid-template-columns: 1fr; }
    .sx-halal-closing { flex-direction: column; gap: 1rem; }
    .sx-halal-closing-text { white-space: normal; }
    .sx-halal-closing-line { width: 100%; }
}

/* ==========================================================================
   MOBILE NAVIGATION (Header Fix)
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

@media (max-width: 1024px) {
    /* Keep the sleek pill shape, just relative for dropdown positioning */
    .header-inner {
        position: relative;
        justify-content: flex-start;
    }

    /* Hide the navigation bar links by default */
    .nav {
        display: none;
    }
    
    .header-right {
        margin-left: auto;
        gap: 0.5rem;
    }
    
    /* Slightly compress button padding and logo to ensure everything fits on small devices */
    .header-consult-btn {
        padding: 0.35rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .launch-app-btn {
        padding: 0.35rem 0.8rem;
        font-size: 0.75rem;
    }
    
    /* Show the hamburger menu toggle */
    .mobile-menu-toggle {
        display: flex;
        margin-left: 0.8rem;
    }
    
    .brand-logo {
        height: 22px;
    }
    
    /* The dropdown menu that appears when active */
    .header-inner.mobile-active .nav {
        display: flex;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 12, 18, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 1.5rem;
        gap: 1.5rem;
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
        backdrop-filter: blur(16px);
        z-index: 2000;
    }
    
    .header-inner.mobile-active .nav-link {
        font-size: 1.1rem;
        color: #fff;
        width: 100%;
        display: block;
    }
    
    /* Fix dropdowns within the mobile menu */
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        box-shadow: none;
        border: none;
        border-left: 2px solid rgba(25, 226, 146, 0.3);
        border-radius: 0;
        padding: 0.5rem 0 0.5rem 1.2rem;
        margin-top: 0.8rem;
        display: flex;
        min-width: unset;
    }
    
    .nav-dropdown-item {
        padding: 0.4rem 0;
        font-size: 0.95rem;
        white-space: normal;
    }
}



