/* 
   YourHannah.com - Design System & Stylesheet
   Architecture: Zero-Framework CSS3
   Brand: Navy (#11294b), Yellow (#f8ee53), Off-white (#f7f1ee), Muted Black (#1e1e26)
*/

:root {
    --bg-dark: #16161c;
    --bg-card: rgba(15, 28, 48, 0.22);
    --brand-navy: #11294b;
    --brand-yellow: #f8ee53;
    --brand-offwhite: #f7f1ee;
    --text-main: #f7f1ee;
    --text-muted: rgba(247, 241, 238, 0.72);
    --text-dim: rgba(247, 241, 238, 0.5);
    
    /* Glassmorphism - Subtle Navy-tinted glass */
    --glass-bg: rgba(15, 28, 48, 0.22);
    --glass-blur: blur(16px);
    --glass-border: 1px solid rgba(40, 75, 120, 0.2);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(247, 241, 238, 0.08);
    
    /* Typography - Century Gothic Pro (brand typeface) */
    --font-heading: 'Century Gothic Pro', 'Century Gothic', 'Montserrat', sans-serif;
    --font-body: 'Century Gothic Pro', 'Century Gothic', 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-color: var(--bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Loading Overlay & Pre-Decoder UI
   ========================================================================== */
#loadingOverlay {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

.loading-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(247, 241, 238, 0.08);
    border-top-color: var(--brand-yellow);
    border-right-color: var(--brand-navy);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-status-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.progress-track {
    width: 320px;
    max-width: 85vw;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-yellow));
    transition: width 0.15s ease-out;
    border-radius: 3px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 500;
    background-color: rgba(22, 22, 28, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(40, 75, 120, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

header.site-header.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .logo-img {
    transform: scale(1.04);
}

.loading-logo-img {
    height: 68px;
    margin-bottom: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--brand-yellow);
    color: var(--brand-navy);
    box-shadow: 0 8px 24px rgba(248, 238, 83, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(248, 238, 83, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid rgba(247, 241, 238, 0.15);
    backdrop-filter: blur(8px);
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 36px;
}

/* Status Pill (Disabled/Hidden) */
.status-pill {
    display: none !important;
}

/* ==========================================================================
   Phase 1 & Phase 2: Hero Scroll Container (400vh) & Pin Stage
   ========================================================================== */
.hero-scroll-container {
    height: 400vh;
    position: relative;
    width: 100%;
}

.hero-pin-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-dark);
}

#heroCanvas {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

#offscreenVideo {
    position: fixed;
    top: -9999px;
    left: -9999px;
    width: 640px;
    height: 360px;
    opacity: 0;
    pointer-events: none;
}

.canvas-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(30, 30, 38, 0.85) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.mouse-frame {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    position: relative;
    transform: rotate(180deg);
}

.mouse-dot {
    width: 4px;
    height: 8px;
    background: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.8s infinite ease-in-out;
}

@keyframes mouseScroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

.scroll-prompt-text {
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.scroll-prompt-text .mobile-prompt {
    display: none;
}

/* Top-Left Hero Standalone Logo */
.hero-standalone-logo {
    position: absolute;
    top: 36px;
    left: 6vw;
    z-index: 40;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.hero-standalone-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.9));
}

/* ==========================================================================
   Far-Right Hero Radial Scroll Indicator (Option 3)
   ========================================================================== */
.hero-radial-indicator {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    height: 360px;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 40;
    pointer-events: auto;
    opacity: 0.85;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
}

.hero-radial-indicator:hover {
    opacity: 1;
}

.radial-hairline-axis {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(247, 241, 238, 0.2) 15%, 
        rgba(247, 241, 238, 0.2) 85%, 
        transparent 100%
    );
}

.radial-ring-wrapper {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(248, 238, 83, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 10px rgba(248, 238, 83, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: top;
}

.radial-ring-wrapper:hover {
    border-color: rgba(248, 238, 83, 0.6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 14px rgba(248, 238, 83, 0.4);
}

.radial-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.radial-bg-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 2.5;
}

.radial-progress-fill {
    fill: none;
    stroke: var(--brand-yellow);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 94.2478; /* 2 * PI * 15 */
    stroke-dashoffset: 94.2478;
    transition: stroke-dashoffset 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.radial-center-dot {
    position: absolute;
    width: 3.5px;
    height: 3.5px;
    background-color: var(--brand-yellow);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--brand-yellow);
}

@media (max-width: 768px) {
    .hero-radial-indicator {
        display: none !important;
    }
}

/* Mobile-Only Minimal Scroll Progress Bar */
.mobile-scroll-progress {
    display: none;
}

@media (max-width: 768px) {
    .mobile-scroll-progress {
        display: block;
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 180px;
        z-index: 50;
        border-radius: 2px;
        background: rgba(255, 255, 255, 0.12);
        overflow: visible;
        pointer-events: none;
    }
    .mobile-scroll-fill {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0%;
        border-radius: 2px;
        background: linear-gradient(180deg, var(--brand-yellow) 0%, rgba(248, 238, 83, 0.6) 100%);
        transition: height 0.15s ease-out;
        will-change: height;
    }
    .mobile-scroll-dot {
        position: absolute;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--brand-yellow);
        box-shadow: 0 0 8px var(--brand-yellow), 0 0 16px rgba(248, 238, 83, 0.4);
    }
}

.hero-narrative-card {
    position: absolute;
    top: 33.33vh;
    right: 6vw;
    left: auto;
    transform: scale(0.95);
    width: 90%;
    max-width: 540px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0;
    pointer-events: auto;
    z-index: 30;
    padding: 0;
    border-radius: 0;
    
    /* Clean & Modern - Borderless, Transparent Box */
    background: transparent;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    will-change: transform, opacity;
}

/* Minimalist SVG Mono-line Icon Anchor */
.card-icon-anchor {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card-icon-anchor.icon-coral {
    background: rgba(248, 238, 83, 0.12);
    border: 1px solid rgba(248, 238, 83, 0.3);
}

.card-icon-anchor.icon-teal {
    background: rgba(248, 238, 83, 0.12);
    border: 1px solid rgba(248, 238, 83, 0.3);
}

.card-icon-anchor.icon-gold {
    background: rgba(248, 238, 83, 0.12);
    border: 1px solid rgba(248, 238, 83, 0.3);
}

.hero-card-wrapper .hero-narrative-card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    width: 100%;
    opacity: 1;
}

/* ── Hero Pill Badges ─ Refined Liquid Glass ─────────────────────────── */

.hero-narrative-card .card-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 14px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: 0;
    overflow: hidden;

    background: rgba(17, 41, 75, 0.5);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle Top-Edge Light Refraction - gentler than full specular */
.hero-narrative-card .card-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.4) 70%,
        transparent 100%
    );
    pointer-events: none;
}

/* Status Indicator Dot - pseudo-element */
.hero-narrative-card .card-badge::after {
    content: '';
    position: relative;
    flex-shrink: 0;
    order: -1;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: dotPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px currentColor; }
    50%      { opacity: 0.55; box-shadow: 0 0 12px currentColor, 0 0 20px currentColor; }
}

/* ── Badge Color Variants ────────────────────────────────────────────── */

.badge-coral {
    color: var(--brand-yellow);
    border: 1px solid rgba(248, 238, 83, 0.25);
    box-shadow:
        0 4px 20px rgba(248, 238, 83, 0.15),
        inset 0 1px 0 rgba(247, 241, 238, 0.1);
}

.badge-gold {
    color: var(--brand-yellow);
    border: 1px solid rgba(248, 238, 83, 0.25);
    box-shadow:
        0 4px 20px rgba(248, 238, 83, 0.15),
        inset 0 1px 0 rgba(247, 241, 238, 0.1);
}

.badge-teal {
    color: var(--brand-yellow);
    border: 1px solid rgba(248, 238, 83, 0.25);
    box-shadow:
        0 4px 20px rgba(248, 238, 83, 0.15),
        inset 0 1px 0 rgba(247, 241, 238, 0.1);
}

.badge-white {
    color: var(--brand-offwhite);
    border: 1px solid rgba(247, 241, 238, 0.2);
    box-shadow:
        0 4px 20px rgba(247, 241, 238, 0.1),
        inset 0 1px 0 rgba(247, 241, 238, 0.12);
}

.hero-narrative-card h1, 
.hero-narrative-card h2 {
    width: 100%;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #ffffff;
    text-align: right;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9), 0 4px 40px rgba(0, 0, 0, 0.8);
}

.hero-narrative-card p {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    max-width: 500px;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 4px 24px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   Phase 3: Executive Website Section (Revealed Past Hero)
   ========================================================================== */
.executive-site-body {
    position: relative;
    z-index: 40;
    background: var(--bg-dark);
    color: var(--text-main);
}

.site-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-yellow);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #f7f1ee 0%, rgba(247, 241, 238, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Hero Blended Messaging Section */
.hero-blend-section {
    text-align: center;
    padding: 80px 24px 100px;
    background: radial-gradient(circle at 50% 0%, rgba(248, 238, 83, 0.06) 0%, transparent 70%);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #f7f1ee 0%, var(--brand-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.cta-subtext {
    font-size: 0.88rem;
    color: var(--text-dim);
}

/* Initial Review Card */
.initial-review-card {
    max-width: 580px;
    margin: 0 auto;
    padding: 24px 32px;
    border-radius: 20px;
    background-color: var(--bg-card);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(40, 75, 120, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.initial-review-quote {
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.initial-review-author {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-yellow);
    margin-top: 6px;
}

.stars {
    color: var(--brand-yellow);
    font-size: 1rem;
    margin-bottom: 4px;
}

/* Features Grid - Rearranged Executive Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
    align-items: stretch;
}

.feature-card {
    position: relative;
    background-color: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(40, 75, 120, 0.2);
    border-radius: 24px;
    padding: 44px 28px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(248, 238, 83, 0.35);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 25px rgba(17, 41, 75, 0.2);
}

/* Large Executive Icon Box (iOS Squircle App-Icon Style) */
.feature-icon-box {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    background: linear-gradient(145deg, #142a4a 0%, #0a182d 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.05);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 18px rgba(248, 238, 83, 0.25);
    border-color: rgba(248, 238, 83, 0.4);
}

.feature-icon-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--brand-offwhite);
    text-align: center;
}

.feature-card p {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}



/* Billing Toggle Switch */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.billing-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.billing-label.active {
    color: #ffffff;
    font-weight: 700;
}

.billing-toggle-switch {
    width: 60px;
    height: 32px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
    padding: 3px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.billing-toggle-switch.active {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
}

.toggle-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.billing-toggle-switch.active .toggle-thumb {
    transform: translateX(28px);
    background: var(--brand-navy);
}

.discount-badge {
    background: var(--brand-yellow);
    color: var(--brand-navy);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 9999px;
    margin-left: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(248, 238, 83, 0.3);
}

/* All Features Banner */
.all-features-banner {
    width: max-content;
    max-width: 100%;
    margin: 32px auto 44px;
    padding: 14px 32px;
    background: rgba(248, 238, 83, 0.06);
    border: 1px solid rgba(248, 238, 83, 0.25);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.all-features-icon {
    font-size: 1.2rem;
}

/* Pricing Grid & Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: stretch;
    margin-bottom: 72px;
}

.pricing-card {
    background-color: var(--bg-card);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 44px 36px 36px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular {
    border-color: var(--brand-yellow);
    background: linear-gradient(180deg, rgba(248, 238, 83, 0.08) 0%, rgba(17, 41, 75, 0.4) 100%);
    box-shadow: 0 25px 50px rgba(248, 238, 83, 0.15);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 30px 60px rgba(248, 238, 83, 0.22);
}

.popular-tag {
    position: absolute;
    top: -14px;
    right: 28px;
    background: var(--brand-yellow);
    color: var(--brand-navy);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(248, 238, 83, 0.3);
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin-bottom: 6px;
    color: #ffffff;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-height: 2.7em;
}

.price-display {
    font-size: 3.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 20px 0 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-display .currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-muted);
}

.price-period {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 400;
}

/* Annual Billing Charge & Savings Summary Badge */
.billing-annual-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 4px 0 16px;
    padding: 8px 14px;
    background: rgba(248, 238, 83, 0.08);
    border: 1px solid rgba(248, 238, 83, 0.22);
    border-radius: 12px;
    font-size: 0.82rem;
    color: var(--text-main);
    animation: fadeIn 0.3s ease-out;
}

.annual-charge strong {
    color: #ffffff;
}

.annual-savings-pill {
    background: var(--brand-yellow);
    color: var(--brand-navy);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 9999px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(248, 238, 83, 0.3);
}

.capacity-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    margin: 16px 0 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.capacity-badge.highlight {
    background: rgba(248, 238, 83, 0.12);
    border-color: rgba(248, 238, 83, 0.3);
}

.capacity-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-yellow);
}

.pricing-card-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.plan-subtext {
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.3px;
}

/* Compact Modern Feature Showcase (Under Plan Cards) */
.compact-features-container {
    width: 100%;
    margin-top: 40px;
    background: rgba(15, 28, 48, 0.28);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(40, 75, 120, 0.25);
    border-radius: 24px;
    padding: 32px 36px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.compact-features-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compact-features-header .header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.compact-features-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
}

.header-subtitle {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.compact-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.compact-feature-chip {
    background: rgba(22, 22, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.compact-feature-chip:hover {
    border-color: rgba(248, 238, 83, 0.3);
    background: rgba(22, 22, 28, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.compact-feature-chip.dev {
    border-style: dashed;
    border-color: rgba(248, 238, 83, 0.2);
    background: rgba(22, 22, 28, 0.3);
}

.chip-icon {
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(15, 28, 48, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.compact-feature-chip:hover .chip-icon {
    border-color: rgba(248, 238, 83, 0.35);
    background: rgba(248, 238, 83, 0.08);
}

.chip-icon-svg {
    width: 23px;
    height: 23px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.25s ease;
}

.compact-feature-chip:hover .chip-icon-svg {
    transform: scale(1.12);
}

.chip-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.chip-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.chip-title-line strong {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

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

.chip-badge {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.chip-badge.live {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.chip-badge.dev {
    background: rgba(248, 238, 83, 0.12);
    color: var(--brand-yellow);
    border: 1px solid rgba(248, 238, 83, 0.3);
}

@media (max-width: 992px) {
    .compact-features-grid {
        grid-template-columns: 1fr;
    }

    .compact-features-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ==========================================================================
   Testimonials Section Styles
   ========================================================================== */
.testimonials-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: -10px auto 48px auto;
    padding: 16px 36px;
    background: rgba(17, 41, 75, 0.35);
    border: 1px solid rgba(40, 75, 120, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: fit-content;
    max-width: 90%;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-rating, .trust-number {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-yellow);
    letter-spacing: 0.5px;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1140px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    background: linear-gradient(145deg, rgba(17, 41, 75, 0.3) 0%, rgba(22, 22, 28, 0.7) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(40, 75, 120, 0.25);
    border-radius: 24px;
    padding: 36px 32px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-yellow), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(248, 238, 83, 0.4);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(248, 238, 83, 0.12);
}

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

.testimonial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.testimonial-stars {
    color: var(--brand-yellow);
    font-size: 1.15rem;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(248, 238, 83, 0.4);
}

.testimonial-quote-icon {
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: 0.8;
    color: rgba(248, 238, 83, 0.2);
    user-select: none;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 28px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

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

.testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--brand-yellow);
    background: rgba(248, 238, 83, 0.1);
    border: 1px solid rgba(248, 238, 83, 0.25);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-trust-bar {
        flex-direction: column;
        gap: 12px;
        border-radius: 24px;
    }
    .trust-divider {
        display: none;
    }
}

/* Founder Note Section */
.founder-section {
    background: linear-gradient(135deg, rgba(17, 41, 75, 0.12) 0%, rgba(248, 238, 83, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 56px 48px;
    max-width: 880px;
    margin: 0 auto 100px;
    display: flex;
    gap: 36px;
    align-items: center;
}

.founder-avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    border: 1px solid rgba(40, 75, 120, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: var(--brand-navy);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.founder-section:hover .founder-avatar {
    border-color: rgba(248, 238, 83, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(248, 238, 83, 0.12);
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-section:hover .founder-img {
    transform: scale(1.06);
}

.founder-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.founder-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.founder-signature {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-yellow);
}

/* Site Footer */
footer.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #16161d;
    padding: 70px 24px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: 14px;
    max-width: 320px;
}

.footer-column h4 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--brand-yellow);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.88rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    header.site-header {
        padding: 16px 20px;
    }
    .nav-links {
        display: none;
    }
    .hero-headline {
        font-size: 2.5rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
    }
    .founder-section {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .all-features-banner {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        border-radius: 20px;
        padding: 14px 20px;
    }
}

@media (max-width: 768px) {
    .hero-standalone-logo {
        top: 20px;
        left: 20px;
    }
    .hero-standalone-logo-img {
        height: 38px;
    }
    header.site-header {
        padding: 12px 16px;
    }
    header.site-header .logo-img {
        height: 38px;
    }
    header.site-header .btn-primary {
        padding: 8px 14px;
        font-size: 0.75rem;
        border-radius: 20px;
        white-space: nowrap;
    }
    .hero-narrative-card {
        top: 18vh;
        right: 20px;
        left: auto;
        width: calc(100vw - 36px);
        max-width: 340px;
        text-align: right;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .hero-narrative-card h1, .hero-narrative-card h2 {
        font-size: 1.5rem;
        line-height: 1.25;
        text-align: right;
    }
    .hero-narrative-card p {
        font-size: 0.86rem;
        line-height: 1.5;
        margin: 8px 0 0 auto;
        text-align: right;
        max-width: 290px;
        color: rgba(247, 241, 238, 0.88);
    }
    .card-icon-anchor {
        margin: 0 0 8px auto;
    }
    .scroll-prompt-text .desktop-prompt {
        display: none;
    }
    .scroll-prompt-text .mobile-prompt {
        display: inline-block;
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 3px;
        color: rgba(255, 255, 255, 0.95);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 28px 20px 24px;
        border-radius: 20px;
    }
    .feature-icon-box {
        width: 76px;
        height: 76px;
        margin-bottom: 16px;
        border-radius: 18px;
    }
    .feature-icon-img {
        width: 44px;
        height: 44px;
    }
    .feature-card h3 {
        font-size: 1.25rem;
    }
    .feature-card p {
        font-size: 0.92rem;
    }
}

@media (max-width: 576px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pricing-card.popular {
        transform: none;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .initial-review-card {
        flex-direction: column;
        text-align: center;
    }
    .all-features-banner {
        font-size: 0.85rem;
        padding: 12px 16px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ==========================================================================
   Ultra-Clean Compact Inverted Legal Modals
   ========================================================================== */
body.modal-open {
    overflow: hidden !important;
}

.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 13, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.legal-modal-container.compact-modal {
    width: 100%;
    max-width: 680px;
    height: auto;
    max-height: 80vh;
    background: #0d1527;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(248, 238, 83, 0.05);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.96) translateY(12px);
    transition: transform 0.3s ease;
}

.legal-modal-overlay.active .legal-modal-container.compact-modal {
    transform: scale(1) translateY(0);
}

.legal-modal-header {
    padding: 16px 24px;
    background: #090f1d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 5;
}

.legal-modal-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legal-modal-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Inverted Logo as requested */
.legal-modal-logo.inverted-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.legal-modal-brand-text h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.legal-modal-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.legal-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(248, 238, 83, 0.4);
}

.legal-modal-body-wrapper {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.legal-modal-body.compact-body {
    flex: 1;
    padding: 24px 28px;
    overflow-y: auto;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.legal-modal-body.compact-body::-webkit-scrollbar {
    width: 6px;
}
.legal-modal-body.compact-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
.legal-modal-body.compact-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
}
.legal-modal-body.compact-body::-webkit-scrollbar-thumb:hover {
    background: var(--brand-yellow);
}

.legal-subtitle {
    font-size: 0.78rem;
    color: var(--brand-yellow);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-intro-text p {
    font-size: 0.94rem;
    color: #f1f5f9;
    line-height: 1.6;
    margin-bottom: 20px;
}

.legal-compact-section {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-compact-section:last-of-type {
    border-bottom: none;
}

.legal-compact-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}

.legal-compact-section p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 8px;
}

.legal-subitem {
    margin-top: 8px;
}

.legal-subitem strong {
    color: #e2e8f0;
    font-size: 0.88rem;
}

.legal-subitem p {
    margin-top: 2px;
}

.legal-compact-list {
    margin: 8px 0 8px 18px;
    padding: 0;
    list-style: disc;
    color: #94a3b8;
}

.legal-compact-list li {
    font-size: 0.88rem;
    margin-bottom: 6px;
    line-height: 1.55;
}

.legal-compact-list li strong {
    color: #e2e8f0;
}

.legal-link {
    color: var(--brand-yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-link:hover {
    opacity: 0.8;
}

.legal-compact-contact {
    background: rgba(248, 238, 83, 0.05);
    border: 1px solid rgba(248, 238, 83, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 20px;
    font-size: 0.88rem;
    color: #e2e8f0;
}

.legal-table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 12px 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
    text-align: left;
}

.legal-table th {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-weight: 600;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-table td {
    padding: 10px 12px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.legal-table code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--brand-yellow);
}

.legal-modal-footer {
    padding: 12px 24px;
    background: #090f1d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legal-footer-left {
    font-size: 0.8rem;
    color: #64748b;
}

.legal-modal-footer .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 10px;
}

/* Lenis Smooth Scroll Compatibility */
html.lenis, html.lenis body {
  height: auto;
}

.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis-stopped {
  overflow: hidden;
}

.lenis-scrolling iframe {
  pointer-events: none;
}




