/* ═══════════════════════════════════════════════════════════
   ARK GOVERNANCE GATEWAY — LANDING PAGE DESIGN SYSTEM
   Dark, precise, epistemic. Zero fluff.
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ───────────────────────────────────────────── */
:root {
    /* Base palette — near-black with cool undertone */
    --bg-0: #08090d;
    --bg-1: #0e1017;
    --bg-2: #141620;
    --bg-3: #1a1d2a;
    --bg-card: #12141e;
    --bg-card-hover: #181b28;

    /* Text */
    --text-0: #f0f2f8;
    --text-1: #c0c5d8;
    --text-2: #7f859e;
    --text-3: #4a4f66;

    /* Accent — electric teal gradient */
    --accent-1: #00d4aa;
    --accent-2: #00b4d8;
    --accent-3: #7b61ff;
    --gradient-main: linear-gradient(135deg, #00d4aa 0%, #00b4d8 50%, #7b61ff 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(0,212,170,0.15) 0%, rgba(0,180,216,0.08) 50%, rgba(123,97,255,0.05) 100%);

    /* Border */
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --border-accent: rgba(0,212,170,0.3);

    /* Glow */
    --glow-teal: 0 0 80px rgba(0,212,170,0.15);
    --glow-purple: 0 0 80px rgba(123,97,255,0.12);

    /* Sizing */
    --container: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Timing */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-0);
    color: var(--text-1);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
code { font-family: 'JetBrains Mono', monospace; font-size: 0.9em; }

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

/* ── NAV ──────────────────────────────────────────────── */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
    background: transparent;
}

#main-nav.scrolled {
    background: rgba(8,9,13,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--gradient-main);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 18px;
    color: var(--bg-0);
}

.logo-text {
    font-weight: 800;
    font-size: 20px;
    color: var(--text-0);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--text-0); }
.nav-links a:hover::after { width: 100%; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--bg-0);
    box-shadow: 0 4px 24px rgba(0,212,170,0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 32px rgba(0,212,170,0.4);
    transform: translateY(-2px);
}

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

.btn-ghost:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    background: rgba(0,212,170,0.05);
}

.btn-nav {
    background: rgba(0,212,170,0.1);
    color: var(--accent-1);
    border: 1px solid rgba(0,212,170,0.2);
}

.btn-nav:hover {
    background: rgba(0,212,170,0.2);
    border-color: rgba(0,212,170,0.4);
}

.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ── HERO ─────────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(0,212,170,0.08);
    top: -200px;
    right: -100px;
    animation: glowPulse 8s ease-in-out infinite alternate;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(123,97,255,0.06);
    bottom: -150px;
    left: -100px;
    animation: glowPulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.15); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0,212,170,0.08);
    border: 1px solid rgba(0,212,170,0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-1);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s var(--ease) both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-1);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    color: var(--text-0);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 640px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 28px 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-0);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
}

.stat.counted .stat-value {
    animation: countPop 0.5s var(--ease) both;
}

@keyframes countPop {
    0% { transform: scale(0.8); opacity: 0; }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

.stat-label {
    font-size: 13px;
    color: var(--text-2);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section {
    padding: 120px 0;
    position: relative;
}

.section-dark {
    background: var(--bg-1);
}

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

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

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--text-0);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.7;
}

/* ── PROBLEM GRID ─────────────────────────────────────── */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all 0.4s var(--ease);
    opacity: 0;
    transform: translateY(24px);
}

.problem-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--glow-teal);
}

.problem-icon {
    font-size: 28px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.65;
}

/* ── ARCHITECTURE FLOW ────────────────────────────────── */
.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    min-width: 180px;
    transition: all 0.3s var(--ease);
}

.arch-node:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.arch-node-primary {
    border-color: var(--border-accent);
    background: linear-gradient(180deg, rgba(0,212,170,0.06) 0%, var(--bg-card) 100%);
    box-shadow: var(--glow-teal);
}

.arch-node-icon {
    font-size: 28px;
}

.arch-node-primary .arch-node-icon {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.arch-node-label {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-0);
}

.arch-node-detail {
    font-size: 13px;
    color: var(--text-2);
}

.arch-arrow {
    display: flex;
    align-items: center;
    padding: 0 12px;
    position: relative;
}

.arch-arrow::before {
    content: '';
    width: 60px;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0.4;
}

.arch-arrow::after {
    content: '▸';
    color: var(--accent-1);
    opacity: 0.6;
    font-size: 14px;
    position: absolute;
    right: 8px;
}

.arch-arrow span {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--text-3);
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ── PROTOCOLS ────────────────────────────────────────── */
.protocols {
    margin-top: 40px;
}

.protocols-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 40px;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.protocol-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    position: relative;
    transition: all 0.4s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.protocol-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.protocol-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.protocol-ref {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-1);
    margin-bottom: 12px;
    opacity: 0.8;
}

.protocol-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 10px;
}

.protocol-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

.protocol-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-1);
    background: rgba(0,212,170,0.1);
    border: 1px solid rgba(0,212,170,0.2);
    padding: 3px 10px;
    border-radius: 100px;
}

/* ── PROOF POINTS ─────────────────────────────────────── */
.proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 64px;
}

.proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.4s var(--ease);
}

.proof-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.proof-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.proof-card-highlight {
    grid-column: 1 / -1;
    border-color: var(--border-accent);
    background: linear-gradient(180deg, rgba(0,212,170,0.04) 0%, var(--bg-card) 100%);
}

.proof-metric {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.proof-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 48px;
    font-weight: 800;
    color: var(--text-0);
    letter-spacing: -0.03em;
    line-height: 1;
}

.proof-card:not(.proof-card-highlight) .proof-number {
    font-size: 36px;
}

.proof-unit {
    font-size: 16px;
    color: var(--text-2);
    font-weight: 500;
}

.proof-card > p {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.65;
}

.proof-compare {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-3);
}

.proof-speedup {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--accent-1);
    background: rgba(0,212,170,0.1);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

/* ── DEMO CTA ─────────────────────────────────────────── */
.demo-cta {
    margin-top: 48px;
    background: linear-gradient(135deg, rgba(0,212,170,0.06) 0%, rgba(123,97,255,0.04) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
}

.demo-cta h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-0);
    margin-bottom: 16px;
}

.demo-cta p {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 24px;
}

/* ── CODE BLOCK ───────────────────────────────────────── */
.code-block {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-title {
    margin-left: 12px;
    font-size: 13px;
    color: var(--text-2);
    font-weight: 500;
}

.code-block pre {
    padding: 24px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.7;
}

.code-block code {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-1);
}

.code-kw { color: #c678dd; }
.code-str { color: #98c379; }
.code-key { color: #e5c07b; }
.code-comment { color: #5c6370; font-style: italic; }

/* ── TIER CARDS ───────────────────────────────────────── */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.4s var(--ease);
    opacity: 0;
    transform: translateY(24px);
}

.tier-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.tier-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.tier-card-featured {
    border-color: var(--border-accent);
    background: linear-gradient(180deg, rgba(0,212,170,0.06) 0%, var(--bg-card) 40%);
    box-shadow: var(--glow-teal);
    transform: scale(1.03);
}

.tier-card-featured.visible {
    transform: scale(1.03);
}

.tier-card-featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.tier-badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: var(--bg-0);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 100px;
}

.tier-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 16px;
}

.tier-price {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-0);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.03em;
    line-height: 1;
}

.tier-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-2);
}

.tier-per {
    font-size: 13px;
    color: var(--text-2);
    margin-top: 8px;
    margin-bottom: 8px;
}

.tier-cogs {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent-1);
    opacity: 0.7;
    margin-bottom: 32px;
}

.tier-features {
    text-align: left;
    margin-bottom: 32px;
}

.tier-features li {
    font-size: 14px;
    color: var(--text-1);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 24px;
}

.tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-1);
    font-weight: 700;
    font-size: 13px;
}

.tier-features li:last-child { border-bottom: none; }

.tier-card .btn { width: 100%; }

/* ── INDUSTRY CARDS ───────────────────────────────────── */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.4s var(--ease);
    opacity: 0;
    transform: translateY(24px);
}

.industry-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--glow-teal);
}

.industry-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.industry-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 12px;
}

.industry-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 20px;
}

.industry-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.industry-specs span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-1);
    background: rgba(0,212,170,0.08);
    border: 1px solid rgba(0,212,170,0.15);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

/* ── MODES GRID ───────────────────────────────────────── */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mode-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease);
}

.mode-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.mode-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.mode-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 12px;
}

.mode-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

.mode-card code {
    font-size: 12px;
    background: rgba(0,212,170,0.08);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent-1);
}

/* ── COMPLIANCE BANNER ────────────────────────────────── */
.compliance-banner {
    background: linear-gradient(135deg, rgba(0,212,170,0.06) 0%, rgba(123,97,255,0.04) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 64px;
}

.compliance-content {
    max-width: 680px;
}

.compliance-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-0);
    margin-bottom: 20px;
}

.compliance-content p {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 16px;
}

.compliance-content em {
    color: var(--accent-1);
    font-style: italic;
}

.compliance-note {
    font-size: 14px !important;
    color: var(--text-3) !important;
}

/* ── SECURITY GRID ────────────────────────────────────── */
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.security-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all 0.4s var(--ease);
}

.security-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.security-icon {
    font-size: 24px;
    margin-bottom: 16px;
}

.security-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 10px;
}

.security-item p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
}

/* ── CONTACT FORM ─────────────────────────────────────── */
.cta-block {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-block h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-0);
    margin-bottom: 16px;
}

.cta-block > p {
    color: var(--text-2);
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-0);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s var(--ease);
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-3);
}

.contact-form select {
    color: var(--text-3);
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    background: var(--bg-2);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(0,212,170,0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form .btn {
    margin-top: 8px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 48px 24px;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,212,170,0.1);
    border: 2px solid var(--accent-1);
    border-radius: 50%;
    font-size: 28px;
    color: var(--accent-1);
    font-weight: 700;
}

.form-success p {
    font-size: 18px;
    color: var(--text-1);
    font-weight: 500;
}

/* ── FOOTER ───────────────────────────────────────────── */
#footer {
    background: var(--bg-0);
    border-top: 1px solid var(--border);
    padding-top: 64px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    padding-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-3);
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-3);
    padding: 6px 0;
    transition: color 0.3s var(--ease);
}

.footer-col a:hover { color: var(--accent-1); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-3);
    text-align: center;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .protocol-grid { grid-template-columns: repeat(2, 1fr); }
    .modes-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-links { gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .problem-grid { grid-template-columns: 1fr; }
    .protocol-grid { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr; }
    .proof-card-highlight { grid-column: 1; }
    .tier-grid { grid-template-columns: 1fr; }
    .tier-card-featured { transform: none; }
    .tier-card-featured.visible { transform: none; }
    .tier-card-featured:hover { transform: translateY(-4px); }
    .industry-grid { grid-template-columns: 1fr; }
    .modes-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .arch-flow { flex-direction: column; }
    .arch-arrow { transform: rotate(90deg); padding: 8px 0; }
    .hero-stats { flex-direction: column; gap: 20px; padding: 24px; }
    .stat-divider { width: 40px; height: 1px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 40px; }
    .footer-links { gap: 32px; flex-wrap: wrap; }
    .compliance-banner { padding: 36px 24px; }
    .hero-cta { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .section { padding: 80px 0; }
    h1 { font-size: 36px; }
    .section-header h2 { font-size: 28px; }
    .proof-number { font-size: 36px; }
    .tier-price { font-size: 36px; }
}
