/* ═══════════════════════════════════════════════════════════════
   SAGE AI STUDIO — EAP PARTNER PORTAL
   Shared Design System (Light Theme)
   ═══════════════════════════════════════════════════════════════ */

/* ─── SAGE WEBFONTS ─── */
@font-face { font-family:'Sage Headline'; src:url('../fonts/Sage_Headline-Black.woff2') format('woff2'), url('../fonts/Sage_Headline-Black.woff') format('woff'); font-weight:900; font-display:swap; }
@font-face { font-family:'Sage Text'; src:url('../fonts/Sage_Text-Light.woff2') format('woff2'), url('../fonts/Sage_Text-Light.woff') format('woff'); font-weight:300; font-display:swap; }
@font-face { font-family:'Sage Text'; src:url('../fonts/Sage_Text-Regular.woff2') format('woff2'), url('../fonts/Sage_Text-Regular.woff') format('woff'); font-weight:400; font-display:swap; }
@font-face { font-family:'Sage Text'; src:url('../fonts/Sage_Text-Medium.woff2') format('woff2'), url('../fonts/Sage_Text-Medium.woff') format('woff'); font-weight:500; font-display:swap; }
@font-face { font-family:'Sage Text'; src:url('../fonts/Sage_Text-Bold.woff2') format('woff2'), url('../fonts/Sage_Text-Bold.woff') format('woff'); font-weight:700; font-display:swap; }
@font-face { font-family:'Sage UI'; src:url('../fonts/Sage_UI-Regular.woff2') format('woff2'), url('../fonts/Sage_UI-Regular.woff') format('woff'); font-weight:400; font-display:swap; }
@font-face { font-family:'Sage UI'; src:url('../fonts/Sage_UI-Medium.woff2') format('woff2'), url('../fonts/Sage_UI-Medium.woff') format('woff'); font-weight:500; font-display:swap; }
@font-face { font-family:'Sage UI'; src:url('../fonts/Sage_UI-Bold.woff2') format('woff2'), url('../fonts/Sage_UI-Bold.woff') format('woff'); font-weight:700; font-display:swap; }

/* ─── CSS VARIABLES ─── */
:root {
    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-card: #F1F5F9;
    --bg-card-hover: #E2E8F0;
    --bg-dark: #0F172A;
    --bg-dark-secondary: #1E293B;

    /* Text */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-on-dark: #F1F5F9;
    --text-on-dark-secondary: #CBD5E1;

    /* Brand */
    --sage-green: #00D639;
    --sage-green-dark: #00B830;
    --sage-green-glow: rgba(0,214,57,.12);
    --sage-green-light: rgba(0,214,57,.06);

    /* Module Colors */
    --ask: #14B8A6;
    --ask-glow: rgba(20,184,166,.10);
    --ask-light: rgba(20,184,166,.06);
    --builder: #F59E0B;
    --builder-glow: rgba(245,158,11,.10);
    --builder-light: rgba(245,158,11,.06);
    --workflow: #8B5CF6;
    --workflow-glow: rgba(139,92,246,.10);
    --workflow-light: rgba(139,92,246,.06);
    --ux: #3B82F6;
    --ux-glow: rgba(59,130,246,.10);
    --ux-light: rgba(59,130,246,.06);

    /* Utility */
    --red: #EF4444;
    --gold: #F59E0B;
    --border: rgba(0,0,0,.06);
    --border-hover: rgba(0,0,0,.10);
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.10);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --transition: .2s ease;
    --max-width: 1200px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Sage Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── EAP BANNER ─── */
.eap-banner {
    background: linear-gradient(90deg, #00B830, #00D639, #00B830);
    color: #fff;
    text-align: center;
    padding: 8px 20px;
    font-family: 'Sage UI', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
}

/* ─── HEADER & MEGA-MENU ─── */
.site-header {
    position: sticky;
    top: 35px;
    z-index: 1000;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,.06);
    height: 64px;
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.header-logo img { height: 22px; }
.header-logo .logo-sep {
    font-size: 14px;
    color: rgba(255,255,255,.25);
    font-weight: 300;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}
.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 18px;
    height: 100%;
    color: var(--text-on-dark-secondary);
    font-family: 'Sage UI', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .3px;
    transition: color var(--transition);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: #fff; }
.nav-link svg {
    width: 12px;
    height: 12px;
    transition: transform var(--transition);
}
.nav-item:hover .nav-link svg,
.nav-item.open .nav-link svg { transform: rotate(180deg); }

/* Mega-Menu Dropdown — Full-width Pennylane-style */
/* Bridge: invisible zone between nav-link and mega-menu to keep hover alive */
.nav-item::after {
    content: '';
    position: fixed;
    top: 99px; /* banner 35px + header 64px */
    left: 0;
    right: 0;
    height: 0;
    pointer-events: none;
    z-index: 998;
}
.nav-item:hover::after {
    height: 20px;
    pointer-events: auto;
}
.mega-menu {
    position: fixed;
    top: 99px; /* banner 35px + header 64px */
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s;
    pointer-events: none;
    z-index: 999;
}
.mega-menu.cols-4, .mega-menu.cols-3 {
    min-width: auto;
}
.nav-item:hover .mega-menu,
.nav-item.open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mega-menu-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px 24px 32px;
    display: grid;
    gap: 0;
}
.mega-menu.cols-4 .mega-menu-inner { grid-template-columns: repeat(4, 1fr); }
.mega-menu.cols-3 .mega-menu-inner { grid-template-columns: repeat(3, 1fr); }

/* Mega-Menu Items — refined, whisper-level hover */
.mega-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    position: relative;
    transition: transform .35s cubic-bezier(.25,.46,.45,.94);
}
.mega-item:hover {
    transform: translateX(4px);
}
.mega-item-icon { display: none; }

/* Dot — breathes on hover */
.mega-item-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    flex-shrink: 0;
    transition: transform .4s cubic-bezier(.25,.46,.45,.94),
                box-shadow .4s ease,
                opacity .3s ease;
    opacity: .55;
}
.mega-item:hover .mega-item-dot {
    transform: scale(1.6);
    opacity: 1;
}
.mega-item-dot.ask { background: var(--ask); }
.mega-item:hover .mega-item-dot.ask { box-shadow: 0 0 8px rgba(20,184,166,.35); }
.mega-item-dot.builder { background: var(--builder); }
.mega-item:hover .mega-item-dot.builder { box-shadow: 0 0 8px rgba(245,158,11,.35); }
.mega-item-dot.workflow { background: var(--workflow); }
.mega-item:hover .mega-item-dot.workflow { box-shadow: 0 0 8px rgba(139,92,246,.35); }
.mega-item-dot.ux { background: var(--ux); }
.mega-item:hover .mega-item-dot.ux { box-shadow: 0 0 8px rgba(59,130,246,.35); }
.mega-item-dot.green { background: var(--sage-green); }
.mega-item:hover .mega-item-dot.green { box-shadow: 0 0 8px rgba(0,214,57,.35); }
.mega-item-dot.neutral { background: var(--text-muted); }
.mega-item:hover .mega-item-dot.neutral { box-shadow: 0 0 6px rgba(148,163,184,.3); }

/* Title — subtle weight + color shift */
.mega-item-title {
    font-family: 'Sage Text', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: color .3s cubic-bezier(.25,.46,.45,.94),
                letter-spacing .3s ease;
}
.mega-item:hover .mega-item-title {
    color: var(--text-primary);
    letter-spacing: .015em;
}

/* Solutions mega-menu — larger titles, 2-line descriptions */
.mega-menu-solutions .mega-item-title { font-size: 16px; }
.mega-menu-solutions .mega-item-desc { min-height: 2.9em; }

.mega-menu-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--sage-green);
    color: #fff;
    font-family: 'Sage UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    text-decoration: none;
    transition: background .2s;
}
.mega-menu-banner:hover {
    background: var(--sage-green-dark);
}
.mega-menu-banner svg {
    flex-shrink: 0;
}

/* Description — readable by default, lifts on hover */
.mega-item-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.45;
    padding-left: 13px;
    opacity: .75;
    transition: opacity .3s ease, color .3s ease;
}
.mega-item:hover .mega-item-desc {
    opacity: 1;
    color: var(--text-primary);
}

/* ─── PASSWORD GATE ─── */
.gate-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 35px;
}
.gate-overlay.hidden { display: none; }
.gate-box {
    max-width: 420px;
    width: 90%;
    text-align: center;
}
.gate-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    opacity: .7;
}
.gate-logos img { height: 28px; }
.gate-logos .gate-x {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 300;
}
.gate-title {
    font-family: 'Sage Headline', sans-serif;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
    color: #fff;
}
.gate-sub {
    font-size: 14px;
    color: var(--text-on-dark-secondary);
    margin-bottom: 32px;
    font-weight: 300;
}
.gate-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--sage-green-glow);
    border: 1px solid rgba(0,214,57,.25);
    color: var(--sage-green);
    font-family: 'Sage UI', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 28px;
    text-transform: uppercase;
}
.gate-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color .3s, box-shadow .3s;
    margin-bottom: 14px;
}
.gate-input:focus {
    border-color: var(--sage-green);
    box-shadow: 0 0 0 3px var(--sage-green-glow);
}
.gate-input::placeholder { color: var(--text-muted); }
.gate-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--sage-green);
    color: #000;
    font-family: 'Sage UI', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    text-transform: uppercase;
}
.gate-btn:hover {
    background: var(--sage-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--sage-green-glow);
}
.gate-error {
    color: var(--red);
    font-size: 13px;
    margin-top: 12px;
    display: none;
}
.gate-footer {
    margin-top: 48px;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: .3px;
}

/* ─── MAIN CONTENT ─── */
.main-content { display: none; }
.main-content.visible { display: block; }

/* ─── BREADCRUMB ─── */
.breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--sage-green); }
.breadcrumb .sep { font-size: 10px; }
.breadcrumb .current {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ─── HERO SECTION ─── */
.hero {
    position: relative;
    padding: 48px 24px 40px;
    text-align: center;
    overflow: hidden;
    background: var(--bg-dark);
    color: var(--text-on-dark);
}
.hero.hero-compact { padding: 36px 24px 32px; }
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,214,57,.1) 0%, rgba(0,214,57,.02) 50%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sage-green-glow);
    border: 1px solid rgba(0,214,57,.25);
    color: var(--sage-green);
    font-family: 'Sage UI', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 24px;
    margin-bottom: 28px;
    text-transform: uppercase;
}
.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--sage-green);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.3; } }
.hero h1 {
    font-family: 'Sage Headline', sans-serif;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 30%, var(--sage-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-on-dark-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ─── SECTION LAYOUT ─── */
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
}
.section-alt { background: var(--bg-secondary); }
.section-full {
    padding: 60px 24px;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-label {
    display: inline-block;
    font-family: 'Sage UI', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.section-label.green { background: var(--sage-green-glow); color: var(--sage-green); }
.section-label.ask { background: var(--ask-glow); color: var(--ask); }
.section-label.builder { background: var(--builder-glow); color: var(--builder); }
.section-label.workflow { background: var(--workflow-glow); color: var(--workflow); }
.section-label.ux { background: var(--ux-glow); color: var(--ux); }
.section-title {
    font-family: 'Sage Headline', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.15;
}
.section-desc {
    font-size: 16px;
    color: #000;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* ─── CARDS ─── */
.card-grid {
    display: grid;
    gap: 20px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all .25s ease;
}
.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.card-title {
    font-family: 'Sage Headline', sans-serif;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-family: 'Sage UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--sage-green);
    transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* ─── VIDEO CARDS ─── */
.video-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .25s ease;
}
.video-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.video-card video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #000;
}
.video-info {
    padding: 16px 20px;
}
.video-badge {
    display: inline-block;
    font-family: 'Sage UI', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.video-badge.vb-ask { background: var(--ask-glow); color: var(--ask); }
.video-badge.vb-builder { background: var(--builder-glow); color: var(--builder); }
.video-badge.vb-workflow { background: var(--workflow-glow); color: var(--workflow); }
.video-badge.vb-ux { background: var(--ux-glow); color: var(--ux); }
.video-badge.vb-green { background: var(--sage-green-glow); color: var(--sage-green); }
.video-title {
    font-family: 'Sage Headline', sans-serif;
    font-size: 15px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.video-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Sage UI', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.btn-primary {
    background: var(--sage-green);
    color: #000;
}
.btn-primary:hover {
    background: var(--sage-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--sage-green-glow);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}
.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
}
.btn-dark {
    background: var(--bg-dark);
    color: #fff;
}
.btn-dark:hover {
    background: var(--bg-dark-secondary);
    transform: translateY(-1px);
}

/* ─── FEATURE BLOCKS (alternating) ─── */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-text { max-width: 480px; }
.feature-label {
    display: inline-block;
    font-family: 'Sage UI', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 3px 10px;
    border-radius: 20px;
}
.feature-title {
    font-family: 'Sage Headline', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.15;
}
.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}
.feature-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sage-green-glow);
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300D639' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}
.feature-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.feature-visual video,
.feature-visual img {
    width: 100%;
    display: block;
}

/* ─── STATS BAR ─── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.stat-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.stat-value {
    font-family: 'Sage Headline', sans-serif;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat-value.green { color: var(--sage-green); }
.stat-value.ask { color: var(--ask); }
.stat-value.builder { color: var(--builder); }
.stat-value.workflow { color: var(--workflow); }
.stat-label {
    font-family: 'Sage UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── FILTER BAR ─── */
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    justify-content: center;
}
.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-family: 'Sage UI', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all var(--transition);
    letter-spacing: .3px;
}
.filter-tab:hover { border-color: var(--text-muted); color: var(--text-primary); }
.filter-tab.active {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}
.filter-count {
    font-size: 10px;
    background: rgba(0,0,0,.06);
    padding: 1px 6px;
    border-radius: 10px;
}
.filter-tab.active .filter-count {
    background: rgba(255,255,255,.15);
}

/* ─── STATUS INDICATORS ─── */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.status-dot.operational { background: var(--sage-green); box-shadow: 0 0 6px var(--sage-green-glow); }
.status-dot.degraded { background: var(--gold); box-shadow: 0 0 6px rgba(245,158,11,.3); }
.status-dot.down { background: var(--red); box-shadow: 0 0 6px rgba(239,68,68,.3); }

/* ─── PRICING BLUR ─── */
.pricing-blur {
    position: relative;
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}
.pricing-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(2px);
    z-index: 10;
    border-radius: var(--radius-lg);
}
.pricing-overlay-text {
    font-family: 'Sage Headline', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.pricing-overlay-sub {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 48px 24px 32px;
    margin-top: 60px;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
}
.footer-brand { }
.footer-brand-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-brand-logos img { height: 20px; }
.footer-brand-logos .footer-x {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 300;
}
.footer-brand-desc {
    font-size: 13px;
    color: var(--text-on-dark-secondary);
    line-height: 1.6;
    max-width: 280px;
}
.footer-col-title {
    font-family: 'Sage UI', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 13px;
    color: var(--text-on-dark-secondary);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--sage-green); }
.footer-bottom {
    max-width: var(--max-width);
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.06);
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: .3px;
}

/* ─── PLACEHOLDER STATES ─── */
.placeholder-block {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
}
.placeholder-icon {
    font-size: 40px;
    margin-bottom: 16px;
    opacity: .5;
}
.placeholder-title {
    font-family: 'Sage Headline', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.placeholder-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .mega-menu.cols-4 .mega-menu-inner { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .feature-row { grid-template-columns: 1fr; gap: 32px; }
    .feature-row.reverse { direction: ltr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .eap-banner { font-size: 9px; padding: 6px 12px; letter-spacing: 1px; }
    .site-header { height: 56px; }
    .header-nav { display: none; }
    .hamburger { display: flex; }
    .card-grid.cols-3 { grid-template-columns: 1fr; }
    .card-grid.cols-2 { grid-template-columns: 1fr; }
    .card-grid.cols-4 { grid-template-columns: 1fr; }
    .hero { padding: 60px 20px; }
    .hero h1 { font-size: 28px; }
    .section { padding: 40px 20px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .stats-bar { grid-template-columns: 1fr 1fr; gap: 10px; }
    .mega-menu.cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .stats-bar { grid-template-columns: 1fr; }
    .stat-card { padding: 16px 12px; }
    .stat-value { font-size: 24px; }
}

/* ─── MOBILE HAMBURGER & NAV ─── */
.hamburger {
    display: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: none;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-on-dark-secondary);
    border-radius: 2px;
    transition: all .3s;
}

.mobile-nav {
    position: fixed;
    top: 0; right: -100%; bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--bg-primary);
    z-index: 2000;
    transition: right .3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,.1);
}
.mobile-nav.open { right: 0; }
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    background: none; border: none;
}
.mobile-nav-links {
    padding: 12px 0;
}
.mobile-nav-section {
    padding: 0 20px;
    margin-bottom: 8px;
}
.mobile-nav-section-title {
    font-family: 'Sage UI', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 12px 0 6px;
}
.mobile-nav-link {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}
.mobile-nav-link:hover { color: var(--sage-green); }

/* ─── SCROLL REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Staggered children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: .05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .3s; opacity: 1; transform: translateY(0); }

/* ─── ENHANCED HOVER EFFECTS ─── */
.card:hover .card-title,
.video-card:hover .video-title { color: var(--sage-green-dark); }
.card:hover .card-link { gap: 12px; }
a.card, a.video-card, a.quick-card { position: relative; overflow: hidden; }
a.card::after, a.quick-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sage-green);
    transform: scaleX(0);
    transition: transform .3s ease;
}
a.card:hover::after, a.quick-card:hover::after { transform: scaleX(1); }

/* Image/video zoom on hover */
.video-card:hover video,
.feature-visual:hover video,
.feature-visual:hover img {
    transform: scale(1.02);
    transition: transform .4s ease;
}
.video-card video,
.feature-visual video,
.feature-visual img { transition: transform .4s ease; }

/* Button shine effect */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .5s ease;
}
.btn-primary:hover::after { left: 120%; }

/* ─── SEARCH BAR ─── */
.search-bar {
    max-width: 480px;
    margin: 0 auto 24px;
    position: relative;
}
.search-input {
    width: 100%;
    padding: 12px 20px 12px 44px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.search-input:focus {
    border-color: var(--sage-green);
    box-shadow: 0 0 0 3px var(--sage-green-glow);
}
.search-input::placeholder { color: var(--text-muted); }
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
}

/* ─── TIMELINE / ROADMAP ─── */
.roadmap-timeline {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--sage-green), var(--border));
    transform: translateX(-50%);
}
.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 20px;
    position: relative;
}
.roadmap-item:nth-child(odd) { flex-direction: row; }
.roadmap-item:nth-child(even) { flex-direction: row-reverse; }
.roadmap-date {
    flex: 1;
    text-align: right;
    font-family: 'Sage UI', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    padding-top: 4px;
}
.roadmap-item:nth-child(even) .roadmap-date { text-align: left; }
.roadmap-dot-wrap {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.roadmap-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid var(--border);
    background: var(--bg-primary);
}
.roadmap-dot.done {
    background: var(--sage-green);
    border-color: var(--sage-green);
    box-shadow: 0 0 8px var(--sage-green-glow);
}
.roadmap-dot.current {
    background: var(--sage-green);
    border-color: var(--sage-green);
    box-shadow: 0 0 12px rgba(0,214,57,.3);
    animation: pulse 2s ease infinite;
}
.roadmap-content {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all .2s ease;
}
.roadmap-content:hover {
    border-color: var(--sage-green);
    box-shadow: 0 2px 12px var(--sage-green-light);
}
.roadmap-content.done { opacity: .7; }
.roadmap-label {
    font-family: 'Sage Text', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.roadmap-status {
    display: inline-block;
    font-family: 'Sage UI', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}
.roadmap-status.done { background: var(--sage-green-glow); color: var(--sage-green); }
.roadmap-status.next { background: var(--builder-glow); color: var(--builder); }
.roadmap-status.planned { background: var(--bg-card); color: var(--text-muted); }

/* ─── MODAL ─── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform .3s ease;
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
    transition: all .2s;
    z-index: 10;
}
.modal-close:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.modal-video { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.modal-body { padding: 28px 32px 32px; }
.modal-title {
    font-family: 'Sage Headline', sans-serif;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 20px;
}

/* ─── SCROLL REVEAL SCRIPT (inline) ─── */
/* Add this script to each page:
<script>
const observer = new IntersectionObserver((entries) => {
    entries.forEach(e => { if (e.isIntersecting) { e.target.classList.add('visible'); }});
}, { threshold: 0.1 });
document.querySelectorAll('.reveal, .reveal-stagger').forEach(el => observer.observe(el));
</script>
*/
