/* ============================================================
   Modular Compliance — Design System
   Dark Mode | Brand Purple #6B21A8 | Inter Font
   ============================================================ */

:root {
    /* Purple palette */
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7c3aed;
    --purple-800: #6B21A8;
    --purple-900: #581c87;
    --purple-950: #3b0764;

    /* Dark backgrounds */
    --bg:          #0d1117;
    --bg-alt:      #161b27;
    --bg-card:     #1a2332;
    --bg-elevated: #1e293b;
    --bg-dark:     #070b12;

    /* Text */
    --text:       #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim:   #64748b;

    /* Borders */
    --border:        rgba(255,255,255,0.08);
    --border-light:  rgba(255,255,255,0.13);
    --border-purple: rgba(107,33,168,0.45);

    /* Semantic */
    --primary:       #9333ea;
    --primary-light: #c084fc;
    --primary-dark:  #6B21A8;

    /* Spacing */
    --sp-xs:  0.25rem;
    --sp-sm:  0.5rem;
    --sp-md:  1rem;
    --sp-lg:  1.5rem;
    --sp-xl:  2rem;
    --sp-2xl: 3rem;
    --sp-3xl: 4rem;
    --sp-4xl: 6rem;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;

    /* Radius */
    --r-sm:   0.375rem;
    --r-md:   0.5rem;
    --r-lg:   0.75rem;
    --r-xl:   1rem;
    --r-2xl:  1.5rem;
    --r-full: 9999px;

    /* Shadows */
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-purple: 0 4px 20px rgba(107,33,168,0.3);

    /* Transition */
    --t: 0.2s ease;
    --t-slow: 0.3s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--purple-300); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,6,20,0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(107,33,168,0.18);
    transition: all var(--t-slow);
}
.nav.scrolled {
    background: rgba(10,6,20,0.97);
    border-bottom-color: rgba(107,33,168,0.32);
    box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--text);
    text-decoration: none;
}
.nav-logo:hover { color: var(--text); }

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-900));
    color: white;
    border-radius: var(--r-md);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: -0.02em;
    box-shadow: 0 0 16px rgba(107,33,168,0.45);
    flex-shrink: 0;
}
.logo-text { letter-spacing: -0.02em; }

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
}
.nav-link {
    padding: var(--sp-sm) var(--sp-md);
    color: var(--text-muted);
    font-weight: 500;
    font-size: var(--text-sm);
    border-radius: var(--r-md);
    transition: all var(--t);
    text-decoration: none;
}
.nav-link:hover, .nav-link.active {
    color: var(--purple-300);
    background: rgba(107,33,168,0.1);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-sm);
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: var(--t);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-sm);
    font-weight: 600;
    font-size: var(--text-sm);
    border: 2px solid transparent;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all var(--t);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}
.btn-sm  { padding: 8px 18px; font-size: var(--text-xs); }
.btn-md  { padding: 11px 24px; }
.btn-lg  { padding: 15px 32px; font-size: var(--text-base); }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
    color: white;
    border-color: var(--purple-700);
    box-shadow: 0 2px 12px rgba(107,33,168,0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(107,33,168,0.5);
}
.btn-outline {
    background: transparent;
    color: var(--purple-300);
    border-color: rgba(107,33,168,0.4);
}
.btn-outline:hover {
    background: rgba(107,33,168,0.1);
    border-color: var(--purple-500);
    color: var(--purple-200);
}
.btn-ghost {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border-color: var(--border);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.09);
    color: var(--text);
    border-color: var(--border-light);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: var(--bg);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(107,33,168,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107,33,168,0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 10%, transparent 80%);
    pointer-events: none;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(107,33,168,0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(147,51,234,0.16) 0%, transparent 50%),
        radial-gradient(ellipse at 55% 90%, rgba(107,33,168,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--sp-4xl) 0;
    max-width: 860px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-sm);
    padding: 6px 18px;
    background: rgba(107,33,168,0.15);
    color: var(--purple-300);
    border: 1px solid rgba(107,33,168,0.3);
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--sp-xl);
    letter-spacing: 0.01em;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--purple-400);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: var(--sp-lg);
}
.hero-tagline {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-xl);
}
.text-gradient {
    background: linear-gradient(135deg, var(--purple-400), var(--purple-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto var(--sp-2xl);
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    gap: var(--sp-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--sp-md);
}
.hero-note {
    font-size: var(--text-sm);
    color: var(--text-dim);
    margin-bottom: var(--sp-3xl);
}
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--sp-2xl);
    padding-top: var(--sp-2xl);
    border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--purple-400);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-label { font-size: var(--text-sm); color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: var(--sp-4xl) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
    background: linear-gradient(150deg, #090512 0%, #12091e 60%, #0d1117 100%);
}
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--sp-3xl);
}
.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(107,33,168,0.13);
    color: var(--purple-300);
    border: 1px solid rgba(107,33,168,0.25);
    border-radius: var(--r-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--sp-md);
}
.section-title {
    font-size: clamp(1.875rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: var(--sp-md);
}
.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.75;
}

/* ============================================================
   Cards
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-xl);
}
.card {
    padding: var(--sp-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    transition: all var(--t-slow);
}
.card-hover:hover {
    border-color: var(--border-purple);
    box-shadow: 0 4px 24px rgba(107,33,168,0.14), 0 2px 8px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    background: rgba(107,33,168,0.14);
    color: var(--purple-400);
    border: 1px solid rgba(107,33,168,0.22);
    border-radius: var(--r-lg);
    margin-bottom: var(--sp-lg);
}
.card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--sp-sm);
    color: var(--text);
}
.card-text {
    color: var(--text-muted);
    line-height: 1.75;
}

/* ============================================================
   Module Grid
   ============================================================ */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--sp-lg);
}
.module-card {
    padding: var(--sp-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    transition: all var(--t-slow);
    position: relative;
    overflow: hidden;
}
.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-700), var(--purple-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow);
}
.module-card:hover {
    border-color: rgba(107,33,168,0.35);
    box-shadow: 0 4px 20px rgba(107,33,168,0.12), 0 2px 8px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}
.module-card:hover::before { transform: scaleX(1); }
.module-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: rgba(107,33,168,0.12);
    color: var(--purple-400);
    border-radius: var(--r-md);
    margin-bottom: var(--sp-md);
}
.module-card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--sp-sm);
    color: var(--text);
}
.module-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: var(--sp-sm);
}
.module-tag {
    display: inline-block;
    font-size: 0.69rem;
    color: var(--purple-400);
    background: rgba(107,33,168,0.1);
    border: 1px solid rgba(107,33,168,0.2);
    padding: 2px 8px;
    border-radius: var(--r-full);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ============================================================
   Feature Split
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4xl);
    align-items: center;
}
.feature-grid.reverse .feature-visual { order: -1; }
.feature-text-lead {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: var(--sp-2xl);
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
    margin-bottom: var(--sp-2xl);
}
.feature-item { display: flex; gap: var(--sp-md); }
.feature-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: rgba(107,33,168,0.12);
    color: var(--purple-400);
    border-radius: var(--r-md);
    flex-shrink: 0;
}
.feature-item-body strong {
    display: block;
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: 2px;
}
.feature-item-body p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Visual dashboard mock */
.visual-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.visual-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--sp-md) var(--sp-lg);
    background: rgba(0,0,0,0.28);
    border-bottom: 1px solid var(--border);
}
.visual-dot { width: 10px; height: 10px; border-radius: 50%; }
.visual-dot.red    { background: #ef4444; }
.visual-dot.yellow { background: #f59e0b; }
.visual-dot.green  { background: #22c55e; }
.visual-bar-title { margin-left: var(--sp-sm); font-size: var(--text-xs); color: var(--text-dim); font-weight: 600; }
.visual-body { padding: var(--sp-xl); }
.visual-score-row {
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
    margin-bottom: var(--sp-xl);
    padding-bottom: var(--sp-xl);
    border-bottom: 1px solid var(--border);
}
.score-circle {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: conic-gradient(var(--purple-500) 0% 94%, rgba(255,255,255,0.08) 94% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.score-circle::before {
    content: '';
    position: absolute;
    width: 70px; height: 70px;
    background: var(--bg-alt);
    border-radius: 50%;
}
.score-circle-text {
    position: relative;
    z-index: 1;
    text-align: center;
}
.score-circle-text .num { font-size: var(--text-xl); font-weight: 800; color: var(--text); line-height: 1; }
.score-circle-text .pct { font-size: 0.65rem; color: var(--text-dim); }
.score-info { flex: 1; }
.score-info strong { display: block; font-size: var(--text-base); font-weight: 700; color: var(--text); margin-bottom: 2px; }
.score-info span { font-size: var(--text-xs); color: var(--text-muted); }
.score-meta { font-size: var(--text-xs); color: #22c55e; margin-top: var(--sp-sm); font-weight: 600; }
.visual-stat { margin-bottom: var(--sp-md); }
.visual-stat:last-child { margin-bottom: 0; }
.visual-stat-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: var(--text-xs);
}
.visual-stat-label span:first-child { color: var(--text-muted); }
.visual-stat-label span:last-child  { color: var(--text); font-weight: 600; }
.visual-bar {
    height: 6px;
    background: rgba(255,255,255,0.07);
    border-radius: var(--r-full);
    overflow: hidden;
}
.visual-bar-fill {
    height: 100%;
    border-radius: var(--r-full);
}
.fill-purple  { background: linear-gradient(90deg, var(--purple-700), var(--purple-500)); }
.fill-green   { background: linear-gradient(90deg, #15803d, #22c55e); }
.fill-amber   { background: linear-gradient(90deg, #b45309, #f59e0b); }
.fill-blue    { background: linear-gradient(90deg, #1d4ed8, #60a5fa); }

/* ============================================================
   Pricing Cards
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-xl);
    align-items: start;
}
.pricing-card {
    padding: var(--sp-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    transition: all var(--t-slow);
    position: relative;
}
.pricing-card:hover {
    border-color: var(--border-purple);
    box-shadow: 0 8px 30px rgba(107,33,168,0.15);
}
.pricing-card.featured {
    border-color: rgba(107,33,168,0.55);
    background: linear-gradient(160deg, rgba(107,33,168,0.1) 0%, var(--bg-card) 60%);
    box-shadow: 0 4px 32px rgba(107,33,168,0.22);
    transform: scale(1.02);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 18px;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
    color: white;
    border-radius: var(--r-full);
    font-size: var(--text-xs);
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(107,33,168,0.45);
    letter-spacing: 0.03em;
}
.pricing-tier {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--purple-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--sp-sm);
}
.pricing-price { margin-bottom: var(--sp-lg); }
.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
}
.pricing-amount .currency {
    font-size: var(--text-2xl);
    vertical-align: super;
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: 600;
}
.pricing-amount .period {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 400;
}
.pricing-custom { font-size: var(--text-3xl); font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.pricing-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: var(--sp-xl);
    padding-bottom: var(--sp-xl);
    border-bottom: 1px solid var(--border);
}
.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--sp-xl);
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-sm);
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}
.pricing-features li .check { color: #22c55e; flex-shrink: 0; font-size: 0.9em; margin-top: 1px; }
.pricing-features li .dash  { color: var(--text-dim); flex-shrink: 0; }

/* ============================================================
   Comparison table
   ============================================================ */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}
.compare-table th, .compare-table td {
    padding: var(--sp-md) var(--sp-lg);
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.compare-table th { color: var(--text); font-weight: 700; background: var(--bg-card); }
.compare-table th:first-child, .compare-table td:first-child {
    text-align: left;
    color: var(--text-muted);
}
.compare-table td { color: var(--text-muted); }
.compare-table .check-cell { color: #22c55e; font-weight: 700; }
.compare-table .dash-cell  { color: var(--text-dim); }
.compare-table tr:hover td { background: rgba(107,33,168,0.04); }
.compare-table .highlighted th { background: rgba(107,33,168,0.12); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: var(--sp-xl);
    max-width: 1000px;
    margin: 0 auto;
}
.faq-item {
    padding: var(--sp-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}
.faq-item h4 { font-size: var(--text-base); font-weight: 700; color: var(--text); margin-bottom: var(--sp-sm); }
.faq-item p  { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   Social proof / Trust bar
   ============================================================ */
.trust-bar {
    padding: var(--sp-2xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--sp-2xl);
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    font-size: var(--text-sm);
    color: var(--text-dim);
    font-weight: 500;
}
.trust-badge svg { color: var(--purple-400); }

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
    text-align: center;
    padding: var(--sp-4xl) var(--sp-2xl);
    background: linear-gradient(135deg, rgba(107,33,168,0.18), rgba(88,28,135,0.08));
    border: 1px solid rgba(107,33,168,0.25);
    border-radius: var(--r-2xl);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -60%; left: -30%;
    width: 160%; height: 220%;
    background: radial-gradient(circle at center, rgba(107,33,168,0.13) 0%, transparent 60%);
    pointer-events: none;
}
.cta-banner h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: var(--sp-md);
    letter-spacing: -0.025em;
    position: relative;
}
.cta-banner p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto var(--sp-xl);
    line-height: 1.7;
    position: relative;
}
.cta-actions {
    display: flex;
    gap: var(--sp-md);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.cta-note { font-size: var(--text-xs); color: var(--text-dim); margin-top: var(--sp-md); position: relative; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-dim);
    padding: var(--sp-3xl) 0 var(--sp-xl);
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-3xl);
    margin-bottom: var(--sp-2xl);
}
.footer-brand-desc {
    margin-top: var(--sp-md);
    font-size: var(--text-sm);
    line-height: 1.75;
    max-width: 300px;
}
.footer-links h4 {
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: var(--sp-md);
    letter-spacing: 0.01em;
}
.footer-links a {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-dim);
    padding: 4px 0;
    transition: color var(--t);
}
.footer-links a:hover { color: var(--purple-300); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--sp-xl);
    border-top: 1px solid var(--border);
    font-size: var(--text-sm);
    flex-wrap: wrap;
    gap: var(--sp-md);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--purple-300); }

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
    padding: calc(72px + var(--sp-3xl)) 0 var(--sp-3xl);
    position: relative;
    overflow: hidden;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 25% 60%, rgba(107,33,168,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 30%, rgba(147,51,234,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-lg);
    color: var(--text);
}
.page-hero .lead {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 640px;
}

/* ============================================================
   About page
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4xl);
    align-items: center;
}
.about-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: var(--sp-lg);
}
.about-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: var(--sp-lg); }
.about-content p:last-child { margin-bottom: 0; }
.about-visual { display: flex; flex-direction: column; gap: var(--sp-lg); }
.about-stat-card {
    padding: var(--sp-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}
.about-stat-card .big-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--purple-400);
    letter-spacing: -0.03em;
    line-height: 1;
}
.about-stat-card .big-label { font-size: var(--text-sm); color: var(--text-muted); margin-top: 4px; }

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--sp-lg);
}
.value-card {
    padding: var(--sp-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-align: center;
}
.value-icon {
    width: 48px; height: 48px;
    background: rgba(107,33,168,0.12);
    color: var(--purple-400);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-md);
}
.value-card h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--sp-sm); color: var(--text); }
.value-card p  { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   Features page
   ============================================================ */
.feature-card {
    padding: var(--sp-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    transition: all var(--t-slow);
}
.feature-card:hover {
    border-color: rgba(107,33,168,0.35);
    box-shadow: 0 4px 22px rgba(107,33,168,0.1);
}
.feature-card-icon {
    width: 48px; height: 48px;
    background: rgba(107,33,168,0.12);
    color: var(--purple-400);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-lg);
}
.feature-card h3 { font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--sp-sm); color: var(--text); }
.feature-card > p { color: var(--text-muted); line-height: 1.7; margin-bottom: var(--sp-lg); }
.feature-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.feature-points li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-sm);
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}
.feature-points li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--purple-500);
    margin-top: 6px;
    flex-shrink: 0;
}

/* ============================================================
   Privacy page
   ============================================================ */
.privacy-wrap { max-width: 800px; }
.privacy-wrap h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text);
    margin: var(--sp-2xl) 0 var(--sp-md);
    padding-top: var(--sp-2xl);
    border-top: 1px solid var(--border);
}
.privacy-wrap h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.privacy-wrap h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text);
    margin: var(--sp-xl) 0 var(--sp-sm);
}
.privacy-wrap p { color: var(--text-muted); line-height: 1.85; margin-bottom: var(--sp-md); }
.privacy-wrap ul, .privacy-wrap ol {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--sp-md);
    padding-left: var(--sp-xl);
}
.privacy-wrap li { margin-bottom: var(--sp-xs); }
.privacy-wrap a { color: var(--purple-400); }
.privacy-wrap a:hover { color: var(--purple-300); }
.privacy-box {
    padding: var(--sp-xl);
    background: rgba(107,33,168,0.08);
    border: 1px solid rgba(107,33,168,0.25);
    border-radius: var(--r-lg);
    margin: var(--sp-xl) 0;
}
.privacy-box strong {
    display: block;
    color: var(--purple-300);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    margin-bottom: var(--sp-sm);
}
.privacy-box p { margin-bottom: 0; font-size: var(--text-sm); }
.privacy-toc {
    padding: var(--sp-xl);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    margin-bottom: var(--sp-2xl);
}
.privacy-toc h3 { margin-top: 0; border-top: none; }
.privacy-toc ol { margin-bottom: 0; }
.privacy-toc li a { color: var(--purple-400); font-size: var(--text-sm); }

/* ============================================================
   Utilities
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-xl { margin-top: var(--sp-xl); }
.mb-xl { margin-bottom: var(--sp-xl); }
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--sp-2xl) 0;
}

/* animate-in class for scroll animations */
.animate-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Steps / How It Works
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-xl);
}
.step-card {
    padding: var(--sp-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    text-align: center;
    transition: all var(--t-slow);
}
.step-card:hover {
    border-color: var(--border-purple);
    box-shadow: 0 4px 20px rgba(107,33,168,0.12);
    transform: translateY(-2px);
}
.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(107,33,168,0.3);
    line-height: 1;
    margin-bottom: var(--sp-md);
    letter-spacing: -0.03em;
}
.step-card h3 { font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--sp-sm); color: var(--text); }
.step-card p  { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   Pricing Toggle
   ============================================================ */
.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-md);
    margin-bottom: var(--sp-2xl);
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}
.toggle { position: relative; display: inline-block; width: 46px; height: 26px; vertical-align: middle; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border-light);
    border-radius: var(--r-full);
    transition: var(--t);
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; top: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--t);
}
.toggle input:checked + .toggle-slider { background: var(--purple-700); border-color: var(--purple-600); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.badge-green {
    padding: 2px 10px;
    background: rgba(34,197,94,0.12);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.22);
    border-radius: var(--r-full);
    font-size: var(--text-xs);
    font-weight: 700;
    margin-left: 4px;
}

/* Extra button size */
.btn-xl { padding: 18px 44px; font-size: var(--text-lg); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.featured { transform: none; }
    .pricing-card.enterprise { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 72px; left: 0; right: 0;
        flex-direction: column;
        background: rgba(10,6,20,0.98);
        padding: var(--sp-lg);
        border-bottom: 1px solid rgba(107,33,168,0.2);
        box-shadow: var(--shadow-lg);
        display: none;
        align-items: stretch;
    }
    .nav-links.open { display: flex; }
    .nav-link { text-align: center; }

    .hero { min-height: 85vh; }
    .hero-stats { flex-wrap: wrap; gap: var(--sp-xl); }
    .stat-divider { display: none; }

    .feature-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }
    .feature-grid.reverse .feature-visual { order: 0; }
    .about-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }

    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.enterprise { grid-column: 1; max-width: none; }

    .card-grid { grid-template-columns: 1fr; }
    .module-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
    .footer-brand-desc { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; gap: var(--sp-sm); }

    .trust-badges { gap: var(--sp-lg); }
}

@media (max-width: 480px) {
    .hero-actions  { flex-direction: column; align-items: center; }
    .cta-actions   { flex-direction: column; align-items: center; }
    .module-grid   { grid-template-columns: 1fr; }
    .value-grid    { grid-template-columns: repeat(2, 1fr); }
    .compare-table { font-size: 0.75rem; }
    .compare-table th, .compare-table td { padding: var(--sp-sm) var(--sp-sm); }
}
