/* =====================================================
   ExGear Insight — Design System 2.0
   Modern GRC & Audit Platform
   ===================================================== */

/* Self-hosted fonts (no third-party requests) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/InterVariable.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/SpaceGrotesk-Variable.woff2') format('woff2');
}

/* Metric-compatible fallbacks — keep layout stable while fonts load */
@font-face {
    font-family: 'Inter-fallback';
    src: local('Arial');
    size-adjust: 107%;
    ascent-override: 90%;
    descent-override: 22.5%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'SpaceGrotesk-fallback';
    src: local('Arial');
    size-adjust: 101%;
    ascent-override: 98%;
    descent-override: 29%;
    line-gap-override: 0%;
}

/* =====================================================
   CSS Variables — Design Tokens 2.0
   ===================================================== */
:root {
    /* Font stacks */
    --font-body: 'Inter', 'Inter-fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'SpaceGrotesk-fallback', var(--font-body);

    /* Fluid type scale (390px → 1440px) */
    --text-display-xl: clamp(2.75rem, 1.98rem + 3.3vw, 4.75rem);
    --text-display-lg: clamp(2.375rem, 1.94rem + 1.86vw, 3.5rem);
    --text-display-md: clamp(1.875rem, 1.63rem + 1.03vw, 2.5rem);
    --text-heading-lg: clamp(1.375rem, 1.28rem + 0.41vw, 1.625rem);
    --text-heading-md: 1.1875rem;
    --text-heading-sm: 1rem;
    --text-body-lg: clamp(1.0625rem, 1.02rem + 0.21vw, 1.1875rem);
    --text-body: 1rem;
    --text-body-sm: 0.9375rem;
    --text-caption: 0.8125rem;
    --text-stat: clamp(2.25rem, 2rem + 1.1vw, 3rem);

    /* Brand */
    --brand-primary: #2563eb;
    --brand-primary-hover: #1d4ed8;
    --brand-violet: #7c3aed;
    --brand-secondary: var(--brand-violet);
    --brand-accent: #f59e0b;
    --brand-support: var(--brand-violet);
    --success: #047857;
    --warning: #b45309;
    --warning-bg: #f59e0b;
    --danger: #dc2626;
    /* Aliases used by inline styles across pages */
    --primary: var(--brand-primary);
    --secondary: var(--brand-secondary);
    --accent: var(--brand-accent);

    /* Neutral Scale */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --neutral-950: #020617;

    /* Light theme layers (default) */
    --bg-page: #f7f8fd;
    --bg-raised: #ffffff;
    --bg-tinted: #eef1fa;
    --surface-1: #ffffff;
    --surface-2: #f4f6fc;
    --border-subtle: rgba(15, 23, 42, 0.06);
    --border: rgba(15, 23, 42, 0.10);
    --border-strong: rgba(15, 23, 42, 0.16);
    --text-primary: #0f172a;
    --text-secondary: #414d63;
    --text-muted: #5a6880;

    /* Inverse band tokens — theme-invariant dark sections */
    --accent-warm: #fbbf24;
    --inverse-bg: #0b1020;
    --inverse-surface: #151d36;
    --inverse-surface-2: #1a2340;
    --inverse-text: #f2f5fb;
    --inverse-secondary: #a8b3c7;
    --inverse-border: rgba(255, 255, 255, 0.10);

    /* Legacy surface aliases (widely referenced) */
    --bg-gradient: var(--bg-page);
    --bg-solid: var(--bg-page);
    --bg: var(--bg-page);
    --surface: var(--bg-raised);
    --surface-solid: var(--surface-1);
    --surface-elevated: var(--surface-1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.07);
    --shadow-lg: 0 12px 24px -8px rgba(16, 24, 40, 0.12);
    --shadow-xl: 0 24px 48px -12px rgba(16, 24, 40, 0.18);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
    --shadow-frame: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 24px -6px rgba(16, 24, 40, 0.10), 0 32px 64px -16px rgba(37, 99, 235, 0.14);

    /* Glass Effect (legacy — being phased out) */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-blur: blur(20px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.16s ease-out;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);

    /* Containers — hybrid width system */
    --container-max: 1320px;
    --container-wide: 1760px;
    --container-padding: 32px;

    /* Nav Height */
    --nav-height: 68px;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-page: #0b1020;
    --bg-raised: #0d1428;
    --bg-tinted: #101832;
    --surface-1: #121a30;
    --surface-2: #1a2340;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text-primary: #f2f5fb;
    --text-secondary: #a8b3c7;
    --text-muted: #8391a9;
    --brand-primary: #5b8cff;
    --brand-primary-hover: #7ba3ff;
    --brand-violet: #a78bfa;
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;
    --glass-bg: rgba(18, 26, 48, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 40px rgba(91, 140, 255, 0.2);
}

/* =====================================================
   CSS Reset & Base
   ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-page);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Animated wave background — two subtle SVG waves scroll horizontally along the
   viewport bottom, fixed and behind content (z-index:-1), showing through the
   base/transparent sections. Restored by request; coexists with the hero aurora.
   Auto-frozen by the reduced-motion block at end of file. */
body::before,
body::after {
    content: '';
    position: fixed;
    left: 0;
    bottom: 0;
    width: 200%;
    z-index: -1;
    pointer-events: none;
    background-repeat: repeat-x;
    background-position: left bottom;
}

body::before {
    height: 120px;
    background-size: 1200px 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,120 350,0 600,60 C850,120 1050,0 1200,60 L1200,120 L0,120 Z' fill='rgba(37,99,235,0.05)'/%3E%3C/svg%3E");
    animation: wave 20s linear infinite;
}

body::after {
    height: 90px;
    background-size: 1200px 90px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,120 350,0 600,60 C850,120 1050,0 1200,60 L1200,120 L0,120 Z' fill='rgba(124,58,237,0.045)'/%3E%3C/svg%3E");
    animation: wave 15s linear infinite reverse;
}

@keyframes wave {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

[data-theme="dark"] body::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,120 350,0 600,60 C850,120 1050,0 1200,60 L1200,120 L0,120 Z' fill='rgba(91,140,255,0.08)'/%3E%3C/svg%3E");
}

[data-theme="dark"] body::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,120 350,0 600,60 C850,120 1050,0 1200,60 L1200,120 L0,120 Z' fill='rgba(139,92,246,0.07)'/%3E%3C/svg%3E");
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-secondary);
}

/* =====================================================
   Typography
   ===================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--text-primary);
    font-kerning: normal;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
}

h1 {
    font-size: var(--text-display-lg);
    line-height: 1.08;
    letter-spacing: -0.022em;
    text-wrap: balance;
}

h2 {
    font-size: var(--text-display-md);
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h3 {
    font-size: var(--text-heading-lg);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

h4 {
    font-size: var(--text-heading-md);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

h5 {
    font-size: var(--text-heading-sm);
    line-height: 1.4;
    letter-spacing: -0.005em;
}

h6 {
    font-size: var(--text-caption);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Home hero headline steps up to display-xl */
.hero h1 {
    font-size: var(--text-display-xl);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

p {
    color: var(--text-secondary);
}

.lede {
    font-size: var(--text-body-lg);
    line-height: 1.65;
    max-width: 56ch;
    text-wrap: pretty;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: var(--text-eyebrow, 0.8125rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-primary);
}

.tnum {
    font-variant-numeric: tabular-nums slashed-zero;
}

.text-gradient {
    background: linear-gradient(100deg, var(--brand-primary) 0%, #5b5bd6 55%, var(--brand-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/* =====================================================
   Layout
   ===================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Extra breathing room on very wide screens */
@media (min-width: 1680px) {
    :root {
        --container-padding: 48px;
    }
}

.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header p {
    margin-top: var(--space-md);
    font-size: 1.125rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-3xl) 0;
    }
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

/* =====================================================
   Navigation
   ===================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: color-mix(in srgb, var(--bg-raised) 92%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.nav-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.90625rem;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-primary);
    opacity: 0;
    transition: opacity 150ms ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    opacity: 1;
}

.nav-links a:hover::after {
    opacity: 0.4;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-right: 16px;
}

.nav-dropdown>a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover>a::before {
    transform: translateY(-50%) rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 32px -8px rgba(16, 24, 40, 0.16);
    padding: var(--space-sm) 0;
    padding-top: calc(var(--space-sm) + 8px);
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
    z-index: 100;
    list-style: none;
}

/* Invisible bridge to prevent hover gap */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown-menu li {
    padding: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md) !important;
    font-size: 0.875rem;
    white-space: nowrap;
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    background: var(--neutral-100);
}

[data-theme="dark"] .nav-dropdown-menu a:hover {
    background: var(--neutral-800);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Menu Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--text-primary);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 6px 0;
    transition: all var(--transition-fast);
}

/* Responsive Nav - Medium Screens */
@media (max-width: 1200px) {
    .nav-links {
        gap: var(--space-md);
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hide-lg {
        display: none !important;
    }
}

/* Responsive Nav - Tablet */
@media (max-width: 1024px) {
    .nav-links {
        gap: var(--space-sm);
    }

    .hide-md {
        display: none !important;
    }
}

/* Mobile Menu */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--surface-solid);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hide-lg,
    .hide-md {
        display: block !important;
    }

    .hide-mobile {
        display: none !important;
    }

    /* Mobile dropdown styles */
    .nav-dropdown>a::before {
        right: -16px;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: var(--space-sm) 0 0 var(--space-lg);
        min-width: auto;
    }

    .nav-dropdown-menu a {
        padding: var(--space-xs) 0 !important;
        font-size: 1rem;
    }

    .nav-dropdown-menu a:hover {
        background: transparent;
    }
}

/* Scroll Progress Bar */
/* =====================================================
   Buttons — enterprise-calm
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast),
        color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.5);
    outline-offset: 2px;
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.35);
    color: #ffffff;
}

/* Hero-only gradient variant */
.hero .btn-primary.btn-lg,
.band-cta .btn-primary.btn-lg {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(16, 24, 40, 0.1);
}

.hero .btn-primary.btn-lg:hover,
.band-cta .btn-primary.btn-lg:hover {
    background: linear-gradient(180deg, #2f74f0 0%, #1d4ed8 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 16px -4px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: var(--surface-1);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    background: var(--surface-2);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.band-dark .btn-secondary,
.band-cta .btn-secondary,
.waitlist-section .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--inverse-text);
}

.band-dark .btn-secondary:hover,
.band-cta .btn-secondary:hover,
.waitlist-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--surface-2);
}

.btn-sm {
    min-height: 36px;
    padding: 0 16px;
    font-size: 0.875rem;
}

.btn-lg {
    min-height: 52px;
    padding: 0 28px;
    font-size: 1rem;
}

/* =====================================================
   Cards
   ===================================================== */
.card {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -8px rgba(16, 24, 40, 0.12);
    border-color: rgba(37, 99, 235, 0.28);
}

.card-solid {
    background: var(--surface-1);
}

.band-dark .card,
.band-cta .card {
    background: var(--inverse-surface);
    border-color: var(--inverse-border);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary);
}

.card-icon .icon {
    width: 24px;
    height: 24px;
}

.card-icon--ai {
    background: rgba(124, 58, 237, 0.10);
    color: var(--brand-violet);
}

.card h3 {
    margin-bottom: var(--space-sm);
}

.card p {
    font-size: 0.95rem;
}

/* =====================================================
   Chips / Tags
   ===================================================== */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 12px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--surface-2);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.chip .icon {
    width: 14px;
    height: 14px;
}

.chip-brand {
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary);
    border-color: rgba(37, 99, 235, 0.18);
}

.chip-secondary,
.chip-ai {
    background: rgba(124, 58, 237, 0.08);
    color: var(--brand-violet);
    border-color: rgba(124, 58, 237, 0.18);
}

.chip-accent,
.chip-warning {
    background: rgba(245, 158, 11, 0.12);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.25);
}

.band-dark .chip,
.band-cta .chip,
.waitlist-section .chip {
    background: rgba(255, 255, 255, 0.06);
    color: var(--inverse-secondary);
    border-color: rgba(255, 255, 255, 0.12);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.05) translate(-2%, 2%);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.hero-badge span {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 {
    margin-bottom: var(--space-lg);
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* =====================================================
   Feature Cards with Icons
   ===================================================== */
.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card .card-icon {
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
}

.feature-card .chips {
    margin-top: auto;
    padding-top: var(--space-md);
}

/* =====================================================
   Pricing Table
   ===================================================== */
.pricing-card {
    position: relative;
    text-align: center;
}

.pricing-card.popular {
    border: 2px solid var(--brand-primary);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    margin: var(--space-lg) 0;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: var(--space-xl) 0;
}

.pricing-features li {
    padding: var(--space-sm) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '✓';
    color: var(--brand-secondary);
    font-weight: 700;
}

/* =====================================================
   Dark Mode Toggle
   ===================================================== */
.theme-toggle {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: var(--space-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: var(--surface-elevated);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    font-size: 1.1rem;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

:root .theme-toggle .icon-sun {
    display: none;
}

:root .theme-toggle .icon-moon {
    display: block;
}

/* =====================================================
   Scroll Animations
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--ease-reveal), transform 0.55s var(--ease-reveal);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-20px);
}

.reveal-right {
    transform: translateX(20px);
}

.reveal-left.visible,
.reveal-right.visible {
    transform: translateX(0);
}

/* Stagger children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--ease-reveal), transform 0.55s var(--ease-reveal);
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 60ms;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 120ms;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 180ms;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 240ms;
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 300ms;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--inverse-bg);
    border-top: 1px solid var(--inverse-border);
    padding: 72px 0 32px;
    position: relative;
    color: var(--inverse-secondary);
}

.footer .container {
    max-width: var(--container-wide);
}

.footer .nav-logo,
.footer .nav-logo span {
    color: var(--inverse-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-2xl);
}

.footer-brand p,
.footer-grid > div > p {
    margin-top: var(--space-md);
    font-size: 0.9rem;
    max-width: 280px;
    color: var(--inverse-secondary);
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--inverse-secondary);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin: 10px 0;
}

.footer-links a {
    color: var(--inverse-secondary);
    font-size: 0.90625rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--inverse-text);
}

.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--inverse-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
    color: var(--inverse-secondary);
}

.footer-bottom a:hover {
    color: var(--inverse-text);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* =====================================================
   Forms
   ===================================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.84375rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--surface-1);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* =====================================================
   Callouts / Alerts
   ===================================================== */
.callout {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    border-left: 3px solid var(--brand-primary);
}

.callout-info {
    background: rgba(37, 99, 235, 0.06);
    border-left-color: var(--brand-primary);
}

.callout-success {
    background: rgba(5, 150, 105, 0.06);
    border-left-color: #059669;
}

.callout-warning {
    background: rgba(245, 158, 11, 0.08);
    border-left-color: var(--warning-bg);
}

.callout-danger {
    background: rgba(220, 38, 38, 0.06);
    border-left-color: var(--danger);
}

.callout-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.callout-info .callout-icon {
    background: rgba(37, 99, 235, 0.15);
}

.callout-success .callout-icon {
    background: rgba(5, 150, 105, 0.15);
}

/* =====================================================
   Tables
   ===================================================== */
.table-wrapper {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 var(--space-sm);
}

.table th {
    text-align: left;
    font-weight: 700;
    padding: var(--space-md);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.table td {
    padding: var(--space-md);
    background: var(--surface);
    color: var(--text-primary);
}

.table tr td:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.table tr td:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* =====================================================
   Utilities
   ===================================================== */
.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mt-2xl {
    margin-top: var(--space-2xl);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* =====================================================
   Feature Slideshow / Carousel
   ===================================================== */
.slideshow {
    position: relative;
    overflow: hidden;
    background: var(--bg-solid);
}

.slideshow-container {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.slideshow-wrapper {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(60px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.slideshow-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.slideshow-slide.prev,
.slideshow-slide.leaving {
    transform: translateX(-60px);
    opacity: 0;
}

/* Slide Content */
.slide-content {
    padding: var(--space-xl) 0;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: var(--space-lg);
}

.slide-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.slide-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.slide-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.slide-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 500;
    color: var(--text-primary);
}

.slide-feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

/* Slide Visual */
.slide-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.slide-graphic {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ========== GRC DASHBOARD GRAPHIC ========== */
.graphic-grc {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0c1222 0%, #1a1f35 50%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
}

.graphic-grc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 60px);
    pointer-events: none;
}

.graphic-grc-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.graphic-grc-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 6px currentColor;
}

.graphic-grc-header span:nth-child(1) {
    background: #ef4444;
    color: #ef4444;
}

.graphic-grc-header span:nth-child(2) {
    background: #f59e0b;
    color: #f59e0b;
}

.graphic-grc-header span:nth-child(3) {
    background: #22c55e;
    color: #22c55e;
}

.graphic-grc-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    position: relative;
    z-index: 1;
}

.grc-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.grc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.grc-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 10px 30px -10px rgba(99, 102, 241, 0.3),
        0 0 20px rgba(99, 102, 241, 0.1);
}

.grc-card-icon {
    font-size: 1.75rem;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.grc-card-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.grc-card-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 2px;
}

.grc-card.highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(16, 185, 129, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    position: relative;
}

.grc-card.highlight::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(16, 185, 129, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.grc-card.highlight .grc-card-value {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ========== AUDIT TIMELINE GRAPHIC ========== */
.graphic-audit {
    background:
        radial-gradient(ellipse at 0% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        linear-gradient(160deg, #0f0a1a 0%, #1a1033 50%, #0c1220 100%);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
}

.graphic-audit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.audit-timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
    padding-top: var(--space-md);
}

.audit-timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(139, 92, 246, 0.8) 0%,
            rgba(59, 130, 246, 0.6) 50%,
            rgba(245, 158, 11, 0.3) 100%);
    border-radius: 2px;
}

.audit-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    position: relative;
}

.audit-item-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow:
        0 0 0 4px rgba(139, 92, 246, 0.2),
        0 0 20px rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.audit-item-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0.9;
}

.audit-item-dot::after {
    display: none;
}

.audit-item:nth-child(2) .audit-item-dot {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.2),
        0 0 20px rgba(59, 130, 246, 0.4);
}

.audit-item:nth-child(3) .audit-item-dot,
.audit-item:nth-child(4) .audit-item-dot {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow:
        0 0 0 4px rgba(245, 158, 11, 0.2),
        0 0 15px rgba(245, 158, 11, 0.3);
}

.audit-item-content {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.audit-item:hover .audit-item-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    transform: translateX(4px);
    border-color: rgba(139, 92, 246, 0.3);
}

.audit-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.audit-item-meta {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.audit-item-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.audit-item-status.complete {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(16, 185, 129, 0.15));
    color: #4ade80;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.audit-item-status.progress {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(99, 102, 241, 0.15));
    color: #60a5fa;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

.audit-item-status.pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.1));
    color: #fbbf24;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    }
}

/* ========== SECURITY GRID GRAPHIC ========== */
.graphic-security {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(239, 68, 68, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        linear-gradient(150deg, #070b14 0%, #0f1629 50%, #0a0f1a 100%);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.graphic-security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 50%, transparent 0%, transparent 40%, rgba(59, 130, 246, 0.03) 60%, transparent 70%);
    animation: security-scan 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes security-scan {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    height: 100%;
    position: relative;
    z-index: 1;
    padding-top: var(--space-md);
}

.security-node {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.security-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.security-node:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow:
        0 15px 30px -10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(99, 102, 241, 0.2);
}

.security-node-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.security-node:hover .security-node-icon {
    transform: scale(1.15);
}

.security-node-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.security-node.secure {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(34, 197, 94, 0.25);
}

.security-node.secure::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.55rem;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-node.alert {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-color: rgba(239, 68, 68, 0.35);
    animation: alert-pulse 2s ease-in-out infinite;
}

.security-node.alert::after {
    content: '!';
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.6rem;
    font-weight: 900;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.25);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes alert-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
        border-color: rgba(239, 68, 68, 0.35);
    }

    50% {
        box-shadow: 0 0 25px 5px rgba(239, 68, 68, 0.2);
        border-color: rgba(239, 68, 68, 0.6);
    }
}

/* ========== ANALYTICS CHART GRAPHIC ========== */
.graphic-analytics {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        linear-gradient(140deg, #0a0f1a 0%, #111827 50%, #0c1222 100%);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.graphic-analytics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg, transparent 0px, transparent 29px, rgba(255, 255, 255, 0.02) 30px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 29px, rgba(255, 255, 255, 0.02) 30px);
    pointer-events: none;
}

.analytics-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding: var(--space-lg) var(--space-md);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.analytics-chart::before {
    content: '';
    position: absolute;
    left: var(--space-md);
    right: var(--space-md);
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.analytics-bar {
    flex: 1;
    max-width: 40px;
    background: linear-gradient(180deg,
            rgba(99, 102, 241, 1) 0%,
            rgba(99, 102, 241, 0.8) 30%,
            rgba(16, 185, 129, 0.9) 70%,
            rgba(16, 185, 129, 1) 100%);
    border-radius: 6px 6px 0 0;
    min-height: 20px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 20px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.analytics-bar:hover {
    transform: scaleY(1.05);
    filter: brightness(1.2);
    box-shadow:
        0 0 30px rgba(99, 102, 241, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.analytics-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    border-radius: 6px 6px 0 0;
}

.analytics-bar::after {
    content: attr(data-value);
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.analytics-bar:hover::after {
    opacity: 1;
}

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}

.analytics-stat {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.analytics-stat:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.3);
}

.analytics-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.analytics-stat:first-child .analytics-stat-value {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.analytics-stat:nth-child(2) .analytics-stat-value {
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.analytics-stat:nth-child(3) .analytics-stat-value {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.analytics-stat-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== FLOATING BADGES ========== */
.slide-graphic::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
    pointer-events: none;
    animation: glow-rotate 10s linear infinite;
}

@keyframes glow-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.floating-badge {
    position: absolute;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: float-badge 4s ease-in-out infinite;
    z-index: 20;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .floating-badge {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.1);
}

.floating-badge:nth-child(1) {
    top: 8%;
    right: -8%;
    animation-delay: 0s;
}

.floating-badge:nth-child(2) {
    bottom: 15%;
    left: -8%;
    animation-delay: 1.5s;
}

.floating-badge:nth-child(3) {
    top: 45%;
    right: -12%;
    animation-delay: 3s;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

/* Slideshow Controls */
.slideshow-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.slideshow-dots {
    display: flex;
    gap: var(--space-sm);
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neutral-300);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.slideshow-dot:hover {
    background: var(--neutral-400);
}

.slideshow-dot.active {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    transform: scale(1.2);
}

[data-theme="dark"] .slideshow-dot {
    background: var(--neutral-600);
}

[data-theme="dark"] .slideshow-dot:hover {
    background: var(--neutral-500);
}

.slideshow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.slideshow-btn:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    transform: scale(1.1);
}

/* Progress Bar */
.slideshow-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--neutral-200);
    overflow: hidden;
}

[data-theme="dark"] .slideshow-progress {
    background: var(--neutral-700);
}

.slideshow-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    width: 0%;
    transition: width 0.1s linear;
}

/* Responsive */
@media (max-width: 900px) {
    .slideshow-slide {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .slideshow-wrapper {
        min-height: auto;
    }

    .slide-visual {
        min-height: 300px;
        order: -1;
    }

    .slide-graphic {
        max-width: 350px;
    }

    .floating-badge {
        display: none;
    }
}

@media (max-width: 600px) {
    .slide-graphic {
        max-width: 280px;
    }

    .slide-visual {
        min-height: 250px;
    }

    .grc-card-value {
        font-size: 1rem;
    }

    .security-node-icon {
        font-size: 1.2rem;
    }
}

/* =====================================================
   New Hero & Trusted By
   ===================================================== */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    width: 100%;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 50px rgba(37, 99, 235, 0.15);
    overflow: hidden;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.mockup-header {
    background: var(--surface);
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
}

.mockup-search {
    flex: 1;
    height: 24px;
    background: var(--neutral-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

[data-theme="dark"] .mockup-search {
    background: var(--neutral-800);
}

.mockup-body {
    display: flex;
    height: 350px;
}

.mockup-sidebar {
    width: 60px;
    border-right: 1px solid var(--border);
    background: var(--surface);
}

.mockup-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-solid);
}

.mockup-row {
    display: flex;
    gap: 16px;
    height: 100px;
}

.mockup-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.mockup-card::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 8px;
    background: var(--neutral-200);
    border-radius: 4px;
    opacity: 0.5;
}

[data-theme="dark"] .mockup-card::after {
    background: var(--neutral-700);
}

.floating-stat {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--surface-elevated);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    animation: bounce 3s infinite ease-in-out;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-val {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--brand-secondary);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Trusted By */
.trusted-by {
    margin-top: var(--space-3xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.logo-bar {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.7;
}

/* =====================================================
   Interactive Feature Tabs
   ===================================================== */
.feature-tabs-section {
    position: relative;
    overflow: hidden;
}

.tabs-container {
    background: var(--surface-elevated);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.tabs-nav {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.tab-btn {
    flex: 1;
    min-width: 140px;
    padding: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    transition: all var(--transition-base);
    position: relative;
}

.tab-btn:hover {
    background: var(--neutral-50);
    color: var(--text-secondary);
}

[data-theme="dark"] .tab-btn:hover {
    background: var(--neutral-800);
}

.tab-btn.active {
    color: var(--brand-primary);
    background: var(--surface-elevated);
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-primary);
}

.tab-icon {
    font-size: 1.5rem;
    filter: grayscale(1);
    transition: all var(--transition-base);
}

.tab-btn.active .tab-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

/* Tab Content */
.tabs-content {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.tab-pane {
    position: absolute;
    inset: 0;
    padding: var(--space-2xl);
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    height: 100%;
    align-items: center;
}

/* Tab Visuals (recycling GRC graphics styles) */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.card-header-sm {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
    padding-bottom: var(--space-sm);
}

/* Heatmap Grid */
.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.hm-cell {
    aspect-ratio: 1;
    border-radius: 4px;
}

.hm-cell.low {
    background: #10b981;
    opacity: 0.2;
}

.hm-cell.med {
    background: #f59e0b;
    opacity: 0.5;
}

.hm-cell.high {
    background: #ef4444;
    opacity: 0.7;
}

.hm-cell.critical {
    background: #7f1d1d;
}

/* Timeline Mini */
.timeline-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neutral-200);
}

.tl-dot.done {
    background: var(--brand-secondary);
}

.tl-dot.active {
    background: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* AI Chat */
.ai-chat-bubble {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--bg-solid);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.ai-avatar {
    font-size: 1.5rem;
}

.ai-msg {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* =====================================================
   Bento Grid
   ===================================================== */
.bento-section {
    padding-top: 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(250px, auto));
    gap: var(--space-lg);
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.bento-card.span-2 {
    grid-column: span 2;
}

.card-visual-bg {
    background: linear-gradient(to right, var(--surface), transparent),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Comparison Mini */
.comparison-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto;
}

.comp-item {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    background: var(--neutral-100);
}

[data-theme="dark"] .comp-item {
    background: var(--neutral-800);
}

.comp-item.good {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.2);
    grid-column: span 2;
    text-align: center;
}

/* ROI Card */
.roi-card {
    background: linear-gradient(145deg, var(--surface-solid), var(--surface));
    border: 1px solid var(--border-strong);
}

.roi-mini-calc {
    margin-top: auto;
}

.slider {
    width: 100%;
    height: 6px;
    background: var(--neutral-200);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--brand-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions,
    .logo-bar {
        justify-content: center;
    }

    .hero-visual {
        margin-top: var(--space-xl);
    }

    .dashboard-mockup {
        transform: none;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-card.span-2 {
        grid-column: span 1;
    }

    .tabs-nav {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .tab-grid {
        grid-template-columns: 1fr;
    }

    .tab-visual {
        display: none;
    }
}

/* Vulnerability List Styles (For Security Tab) */
.vuln-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vuln-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.vuln-item.critical {
    border-left: 4px solid #ef4444;
}

.vuln-item.high {
    border-left: 4px solid #f97316;
}

.vuln-item.low {
    border-left: 4px solid #3b82f6;
}

.badge-red {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-orange {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-blue {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* =====================================================
   3D Depth Effect for Images
   ===================================================== */
.img-3d-container {
    perspective: 1000px;
    display: inline-block;
    width: 100%;
}

.img-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
    border-radius: var(--radius-lg);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
}

.img-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius-lg);
}

.img-3d:hover::before {
    opacity: 1;
}

.img-3d:hover {
    transform: rotateX(5deg) rotateY(-3deg) scale(1.02) translateZ(20px);
    box-shadow:
        0 25px 50px rgba(37, 99, 235, 0.25),
        0 35px 80px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.img-3d img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

/* Floating accent for depth */
.img-3d-accent {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: var(--radius-lg);
    opacity: 0.15;
    z-index: -1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.img-3d-container:hover .img-3d-accent {
    transform: translate(5px, 5px) scale(1.02);
    opacity: 0.25;
}

/* Zoom Icon Overlay - Light version */
.img-zoom-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: var(--radius-full);
    z-index: 2;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(0.8);
}

.img-zoom-overlay span {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.img-3d:hover .img-zoom-overlay {
    opacity: 1;
    transform: scale(1);
}

/* =====================================================
   Image Lightbox Modal
   ===================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-modal img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    animation: lightboxZoomIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* =====================================================
   Tile Cards with 3D Depth
   ===================================================== */
.tile-card {
    perspective: 800px;
    transition: transform 0.3s ease;
}

.tile-card img {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    cursor: zoom-in;
}

.tile-card:hover img {
    transform: rotateX(4deg) rotateY(-2deg) scale(1.03) translateZ(15px);
    box-shadow:
        0 20px 40px rgba(37, 99, 235, 0.2),
        0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Glass cards with 3D effect for tab visuals */
.glass-card.p-0 {
    padding: 0;
}

.glass-card.overflow-hidden {
    overflow: hidden;
}

.glass-card .img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.glass-card:hover .img-cover {
    transform: scale(1.05);
}

/* =====================================================
   Enhanced Image Styles - Global
   ===================================================== */
.card-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
    position: relative;
}

.card-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 0 0 3px rgba(37, 99, 235, 0.08),
        0 0 0 6px rgba(124, 58, 237, 0.05);
}

.card-image:hover img {
    transform: scale(1.03);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 0 0 3px rgba(37, 99, 235, 0.15),
        0 0 0 6px rgba(124, 58, 237, 0.1);
}

/* Uniform-height media band — crops screenshots to a consistent height so
   cards in a row align (used on the modules page). */
.card-image--cover {
    height: 200px;
    border: 1px solid var(--border);
}

.card-image--cover img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    box-shadow: none;
}

/* Placeholder media band — same height, for modules awaiting a screenshot. */
.card-media-ph {
    height: 200px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(124, 58, 237, 0.12));
    color: var(--brand-primary);
}

.card-media-ph .icon {
    width: 46px;
    height: 46px;
    opacity: 0.75;
}

/* Accentuated border glow effect */
.img-accent-border {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 4px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

.img-accent-border img {
    border-radius: var(--radius-lg);
    display: block;
    width: 100%;
}

/* Subtle animated glow border */
.img-glow {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.img-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary), var(--brand-primary));
    background-size: 200% 200%;
    border-radius: var(--radius-xl);
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes glowPulse {

    0%,
    100% {
        background-position: 0% 50%;
        opacity: 0.4;
    }

    50% {
        background-position: 100% 50%;
        opacity: 0.7;
    }
}

.img-glow img {
    border-radius: var(--radius-lg);
    display: block;
    width: 100%;
}

/* Enhanced rounded corners with shadow */
.img-enhanced {
    border-radius: var(--radius-xl);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-enhanced:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 20px 60px rgba(37, 99, 235, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

/* Feature card image enhancements */
.feature-card .card-image {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 2px rgba(37, 99, 235, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card:hover .card-image {
    box-shadow:
        0 8px 32px rgba(37, 99, 235, 0.15),
        0 0 0 2px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

/* Dashboard preview cards */
.card.p-0 img.img-cover {
    border-radius: var(--radius-xl);
    transition: transform 0.5s ease;
}

.card.p-0:hover img.img-cover {
    transform: scale(1.02);
}

/* Dashboard images in grid-2 feature cards (larger images) */
.grid-2>.feature-card .card-image {
    height: 200px;
    overflow: hidden;
}

.grid-2>.feature-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

@media (max-width: 768px) {
    .grid-2>.feature-card .card-image {
        height: 160px;
    }
}

/* =====================================================
   Design System 2.0 — Foundation additions (Phase 1)
   ===================================================== */

/* Hybrid width: wide container for visual sections */
.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section band system */
.band-base { background: var(--bg-page); }
.band-raised { background: var(--bg-raised); }
.band-tinted { background: var(--bg-tinted); }

.band-raised + .band-raised,
.band-tinted + .band-tinted,
.band-base + .band-base {
    border-top: 1px solid var(--border-subtle);
}

.band-dark,
.band-cta {
    background: var(--inverse-bg);
    color: var(--inverse-text);
    position: relative;
}

.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4,
.band-cta h1, .band-cta h2, .band-cta h3, .band-cta h4 {
    color: var(--inverse-text);
}

.band-dark p, .band-cta p {
    color: var(--inverse-secondary);
}

.band-dark::before,
.band-cta::before,
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.band-dark > *, .band-cta > *, .footer > * {
    position: relative;
}

.hairline-gradient {
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

/* Icon system base */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.icon-16 { width: 16px; height: 16px; }
.icon-20 { width: 20px; height: 20px; }
.icon-24 { width: 24px; height: 24px; }
.icon-28 { width: 28px; height: 28px; }

/* Semantic utilities absorbing the top repeated inline patterns */
.list-inset {
    color: var(--text-secondary);
    padding-left: 1.2rem;
    margin-top: var(--space-md);
}

.list-inset--sm { font-size: var(--text-body-sm); }

.flex-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.flex-row-md {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.flex-start-sm {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.icon-tile {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary);
}

.icon-tile .icon { width: 24px; height: 24px; }

.icon-tile--ai {
    background: rgba(124, 58, 237, 0.10);
    color: var(--brand-violet);
}

/* =====================================================
   Signature components — Design System 2.0
   ===================================================== */

/* App frame — window chrome around product screenshots */
.app-frame {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface-1);
    overflow: hidden;
    box-shadow: var(--shadow-frame);
}

.app-frame-bar {
    height: 38px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0 14px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border-subtle);
}

.app-frame-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.app-frame-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-strong);
}

.app-frame-url {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 12px;
    margin: 0 auto;
    border-radius: var(--radius-full);
    background: var(--surface-1);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.app-frame-url .icon {
    width: 12px;
    height: 12px;
}

.app-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.app-frame--bare {
    border-radius: 12px;
}

.app-frame--flush {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Extracted UI fragment cards (hero floats) */
.ui-fragment {
    position: absolute;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px -4px rgba(16, 24, 40, 0.16);
    overflow: hidden;
    z-index: 2;
}

.ui-fragment--kpi {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 14px 18px;
    min-width: 190px;
}

.ui-fragment--kpi .kpi-value {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    line-height: 1.1;
}

.ui-fragment--kpi .kpi-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
    .ui-fragment {
        animation: fragment-float 6s ease-in-out infinite;
    }

    .ui-fragment:nth-of-type(2) {
        animation-delay: 1.5s;
    }
}

@keyframes fragment-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Hero visual composition */
.hero-visual {
    position: relative;
}

.hero-visual .app-frame {
    position: relative;
    z-index: 1;
}

.ui-fragment.frag-1 {
    top: -28px;
    right: -36px;
    width: 236px;
}

.ui-fragment.frag-2 {
    bottom: -24px;
    left: -44px;
}

@media (max-width: 1024px) {
    .ui-fragment {
        display: none;
    }
}

/* Entrance choreography delays */
.rd-1 { transition-delay: 60ms; }
.rd-2 { transition-delay: 120ms; }
.rd-3 { transition-delay: 180ms; }
.rd-4 { transition-delay: 240ms; }
.rd-5 { transition-delay: 300ms; }

/* Hero glow — localized behind product frame */
.hero-glow {
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(ellipse 55% 45% at 60% 40%, rgba(37, 99, 235, 0.16), transparent 70%),
        radial-gradient(ellipse 40% 35% at 30% 70%, rgba(124, 58, 237, 0.10), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Hero aurora — subtle drifting ambient glow, localized to the hero.
   Two soft brand-tinted layers ease slowly in opposite directions.
   Sits behind .hero-container (z-index:2); .hero has overflow:hidden.
   Frozen automatically by the reduced-motion block at end of file. */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: -25%;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.hero::before {
    background:
        radial-gradient(ellipse 42% 38% at 24% 30%, rgba(37, 99, 235, 0.18), transparent 62%),
        radial-gradient(ellipse 38% 34% at 80% 64%, rgba(124, 58, 237, 0.15), transparent 64%);
    animation: aurora-drift-a 26s ease-in-out infinite alternate;
}

.hero::after {
    background:
        radial-gradient(ellipse 36% 32% at 72% 22%, rgba(91, 140, 255, 0.13), transparent 60%),
        radial-gradient(ellipse 40% 36% at 30% 80%, rgba(99, 91, 214, 0.12), transparent 64%);
    animation: aurora-drift-b 32s ease-in-out infinite alternate;
}

@keyframes aurora-drift-a {
    0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
    100% { transform: translate3d(4%, 3%, 0) scale(1.12); }
}

@keyframes aurora-drift-b {
    0%   { transform: translate3d(3%, 2%, 0) scale(1.08); }
    100% { transform: translate3d(-4%, -3%, 0) scale(1); }
}

[data-theme="dark"] .hero::before {
    background:
        radial-gradient(ellipse 42% 38% at 24% 30%, rgba(59, 130, 246, 0.22), transparent 62%),
        radial-gradient(ellipse 38% 34% at 80% 64%, rgba(139, 92, 246, 0.18), transparent 64%);
}

[data-theme="dark"] .hero::after {
    background:
        radial-gradient(ellipse 36% 32% at 72% 22%, rgba(91, 140, 255, 0.16), transparent 60%),
        radial-gradient(ellipse 40% 36% at 30% 80%, rgba(124, 58, 237, 0.16), transparent 64%);
}

/* Trust bar — under hero CTAs */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md) var(--space-lg);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.trust-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust-bar-item .icon {
    width: 16px;
    height: 16px;
}

.trust-bar-sep {
    width: 1px;
    height: 16px;
    background: var(--border);
}

@media (max-width: 768px) {
    .trust-bar-sep {
        display: none;
    }
}

/* Framework badge strip + marquee */
.framework-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 0.84375rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0.75;
    transition: opacity var(--transition-fast);
}

.framework-badge:hover {
    opacity: 1;
}

.framework-badge .icon {
    width: 16px;
    height: 16px;
    color: var(--brand-primary);
}

.framework-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.framework-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent);
}

.framework-marquee-track {
    display: flex;
    gap: var(--space-md);
    width: max-content;
    animation: marquee 40s linear infinite;
}

.framework-marquee:hover .framework-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .framework-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .framework-marquee-track {
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        animation: none;
    }
}

/* Stat band — hairline-divided count-up stats */
.stat-band {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.stat-band-item {
    flex: 1 1 200px;
    text-align: center;
    padding: var(--space-lg) var(--space-xl);
    border-left: 1px solid var(--border-subtle);
}

.stat-band-item:first-child {
    border-left: none;
}

.band-dark .stat-band-item,
.band-cta .stat-band-item {
    border-left-color: var(--inverse-border);
}

.stat-value {
    font-family: var(--font-display);
    font-size: var(--text-stat);
    font-weight: 600;
    font-variant-numeric: tabular-nums slashed-zero;
    line-height: 1;
    color: var(--text-primary);
}

.band-dark .stat-value,
.band-cta .stat-value {
    color: var(--inverse-text);
}

.stat-label {
    margin-top: var(--space-sm);
    font-size: var(--text-caption);
    color: var(--text-muted);
}

.band-dark .stat-label,
.band-cta .stat-label {
    color: var(--inverse-secondary);
}

@media (max-width: 768px) {
    .stat-band-item {
        flex-basis: 45%;
        border-left: none;
        padding: var(--space-md);
    }
}

/* FAQ accordion */
.accordion-item {
    border-bottom: 1px solid var(--border-subtle);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    width: 100%;
    padding: var(--space-lg) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
}

.accordion-trigger .icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.accordion-item.open .accordion-trigger .icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-body-inner {
    padding: 0 0 var(--space-lg);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Lifecycle stepper */
.stepper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    counter-reset: step;
}

.stepper-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 var(--space-sm);
}

.stepper-item::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -50%;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: 0;
}

.stepper-item:first-child::before {
    display: none;
}

.stepper-num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-1);
    border: 1px solid var(--border-strong);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: var(--space-md);
}

.stepper-item.visible .stepper-num,
.stepper-item:hover .stepper-num {
    border-color: var(--brand-primary);
    background: rgba(37, 99, 235, 0.06);
}

@media (max-width: 768px) {
    .stepper {
        flex-direction: column;
        align-items: stretch;
    }

    .stepper-item {
        display: flex;
        align-items: flex-start;
        gap: var(--space-md);
        text-align: left;
        padding: var(--space-sm) 0;
    }

    .stepper-item::before {
        display: none;
    }

    .stepper-num {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

/* =====================================================
   Page components (consolidated from in-body style blocks)
   ===================================================== */

/* Pricing — sticky CTA bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--inverse-bg) 0%, var(--inverse-surface-2) 100%);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-text {
    color: var(--inverse-text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sticky-cta-text span {
    color: var(--accent-warm);
}

.sticky-cta .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
}

.sticky-cta-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.2rem;
    padding: var(--space-xs);
    transition: color 0.2s;
}

.sticky-cta-close:hover {
    color: var(--inverse-text);
}

@media (max-width: 768px) {
    .sticky-cta {
        flex-wrap: wrap;
        gap: var(--space-sm);
        padding: var(--space-sm);
    }

    .sticky-cta-text {
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
}

/* Shared feedback modal (waitlist + contact) */
.waitlist-modal,
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.waitlist-modal.active,
.contact-modal.active {
    display: flex;
    opacity: 1;
}

.waitlist-modal-backdrop,
.contact-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 7, 16, 0.78);
}

.waitlist-modal-content,
.contact-modal-content {
    position: relative;
    background: linear-gradient(135deg, var(--inverse-bg) 0%, var(--inverse-surface-2) 100%);
    border: 1px solid var(--inverse-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.waitlist-modal-content.error,
.contact-modal-content.error {
    background: linear-gradient(135deg, var(--inverse-bg) 0%, #3a1420 100%);
}

.waitlist-modal.active .waitlist-modal-content,
.contact-modal.active .contact-modal-content {
    transform: scale(1);
}

.waitlist-modal-close,
.contact-modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.waitlist-modal-close:hover,
.contact-modal-close:hover {
    color: var(--inverse-text);
}

.waitlist-modal-icon,
.contact-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    animation: modal-pop 0.6s ease;
}

.waitlist-modal-icon .icon,
.contact-modal-icon .icon {
    width: 36px;
    height: 36px;
}

.waitlist-modal-content.error .waitlist-modal-icon,
.contact-modal-content.error .contact-modal-icon {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

@keyframes modal-pop {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.waitlist-modal-title,
.contact-modal-title {
    color: var(--inverse-text);
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, #34d399, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.waitlist-modal-title.error,
.contact-modal-title.error {
    background: linear-gradient(135deg, #ef4444, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
}

.waitlist-modal-message,
.contact-modal-message {
    color: var(--inverse-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.contact-modal-message {
    margin-bottom: var(--space-xl);
}

.waitlist-modal-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.waitlist-modal-benefit {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    padding: var(--space-sm) var(--space-md);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
}

/* Demo — waitlist section */
.waitlist-section {
    background: linear-gradient(135deg, var(--inverse-bg) 0%, var(--inverse-surface-2) 100%);
    position: relative;
    padding: var(--space-3xl) 0;
}

.waitlist-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.waitlist-container {
    position: relative;
    z-index: 1;
}

.waitlist-card {
    background: var(--inverse-surface);
    border: 1px solid var(--inverse-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.waitlist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
    background-size: 300% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.waitlist-title {
    color: var(--inverse-text);
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-sm);
}

.waitlist-title span {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.waitlist-subtitle {
    color: var(--inverse-secondary);
    text-align: center;
    margin-bottom: var(--space-xl);
    font-size: 1.1rem;
}

.waitlist-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.waitlist-benefit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.waitlist-benefit-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.waitlist-input-group {
    display: flex;
    gap: var(--space-sm);
}

.waitlist-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    color: var(--inverse-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.waitlist-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.waitlist-input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.waitlist-btn {
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.waitlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.waitlist-counter {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--inverse-border);
}

.waitlist-counter-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #34d399, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.waitlist-counter-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .waitlist-benefits {
        grid-template-columns: 1fr;
    }

    .waitlist-input-group {
        flex-direction: column;
    }

    .waitlist-title {
        font-size: 1.5rem;
    }
}

/* Pricing — feature comparison table */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface-1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table thead tr {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.comparison-table th {
    padding: var(--space-lg) var(--space-md);
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
    border: none;
    background: transparent;
}

.comparison-table th:first-child {
    text-align: left;
    padding-left: var(--space-xl);
}

.comparison-table th .plan-price {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

.comparison-table tbody tr {
    transition: background 0.2s ease;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--surface-2);
}

.comparison-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

.comparison-table td {
    padding: var(--space-md) var(--space-md);
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    vertical-align: middle;
}

.comparison-table td:first-child {
    text-align: left;
    padding-left: var(--space-xl);
    font-weight: 500;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .category-row td {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), transparent);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-primary);
    padding: var(--space-sm) var(--space-md);
}

.comparison-table .category-row td:first-child {
    padding-left: var(--space-xl);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #059669, #10b981);
    border-radius: 50%;
    color: #ffffff;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.cross-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 12px;
}

.partial-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    color: var(--warning);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.addon-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.2));
    color: var(--brand-violet);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.tier-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.comparison-table td.popular-col {
    background: rgba(37, 99, 235, 0.06);
}

.comparison-table th.popular-col {
    background: rgba(0, 0, 0, 0.15);
    position: relative;
}

.comparison-table th.popular-col .popular-badge {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1e1e1e;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 768px) {

    .comparison-table th,
    .comparison-table td {
        padding: var(--space-sm);
        font-size: 0.8rem;
    }

    .comparison-table td:first-child,
    .comparison-table th:first-child {
        padding-left: var(--space-md);
    }
}

/* =====================================================
   Reduced motion — must remain LAST in this file
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
