/* ==========================================================================
   GLAM DESIGN SYSTEM
   Near-black neutral canvas, hairline structure, one restrained accent.
   ========================================================================== */

:root {
    --bg-base: #08080a;
    --bg-surface: #0e0e11;
    --bg-elevated: #141417;

    --border-hairline: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    --accent: #8b5cf6;
    --accent-light: #a78bfa;

    --success: #4ade80;
    --danger: #f87171;

    --text-primary: #fafafa;
    --text-secondary: #a1a1a8;
    --text-muted: #5a5a63;

    --radius-sm: 6px;
    --radius: 8px;

    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-base);
    min-height: 100vh;
}

/* Focus is the one place the accent is always allowed to appear. */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 3px;
}

code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    color: var(--text-primary);
    background: var(--bg-elevated);
    border: 1px solid var(--border-hairline);
    border-radius: 4px;
    padding: 1px 5px;
}

kbd {
    font-family: var(--font-mono);
    font-size: 0.92em;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    padding: 1px 5px;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 28px;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border-hairline);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-text {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--text-primary);
}

.brand-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    border: 1px solid var(--border-hairline);
    color: var(--text-muted);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--accent-light);
}

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

@media (max-width: 900px) {
    .nav-links { display: none; }
    .navbar { padding: 12px 20px; }
    .container { padding: 0 20px; }
}

@media (max-width: 560px) {
    .nav-actions .btn-secondary { display: none; }
    .btn-lg { padding: 11px 18px; font-size: 13.5px; }
    .section-title { max-width: none; }
    .hero-title { max-width: none; }
    .hero-title-sub { max-width: none; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.18s var(--ease-out-quart), border-color 0.18s var(--ease-out-quart), color 0.18s var(--ease-out-quart);
}

.btn-secondary {
    background: transparent;
    border-color: var(--border-hairline);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-light);
    color: #0b0b0d;
}

.btn-lg {
    padding: 12px 22px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
    padding: 168px 0 96px;
    border-bottom: 1px solid var(--border-hairline);
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    flex-shrink: 0;
    animation: breathe 3.2s var(--ease-out-quart) infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero-pill-badge span {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-title {
    font-size: clamp(36px, 6.2vw, 62px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    max-width: 20ch;
    margin-bottom: 22px;
}

.hero-title-sub {
    display: block;
    margin-top: 10px;
    font-size: clamp(17px, 2.1vw, 23px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.018em;
    color: var(--text-muted);
    max-width: 34ch;
}

.hero-subtitle {
    font-size: 16.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 58ch;
    margin-bottom: 36px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.hero-proof-bar {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border-hairline);
}

.proof-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.proof-val {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.proof-val.accent {
    color: var(--accent-light);
}

.proof-val.word {
    font-size: 19px;
    line-height: 1.55;
}

.proof-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    max-width: 32ch;
    white-space: nowrap;
}

.proof-divider {
    width: 1px;
    background: var(--border-hairline);
}

@media (max-width: 640px) {
    .proof-divider { display: none; }
    .hero-proof-bar { gap: 24px 32px; }
    .hero-cta-group { margin-bottom: 48px; }
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-header {
    margin-bottom: 48px;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-index {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(27px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.032em;
    line-height: 1.12;
    color: var(--text-primary);
    margin-bottom: 14px;
    max-width: 24ch;
}

.section-desc {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 62ch;
}

/* ==========================================================================
   INTERACTIVE SIMULATOR
   ========================================================================== */
.simulator-section,
.bento-section,
.compare-section,
.pricing-section,
.faq-section {
    padding: 104px 0;
    border-bottom: 1px solid var(--border-hairline);
    scroll-margin-top: 80px;
}

.faq-section {
    border-bottom: none;
}

.sim-stage {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.sim-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-hairline);
}

.sim-url-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.sim-url-badge svg {
    color: var(--success);
    flex-shrink: 0;
}

.sim-frame-count {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.sim-body {
    display: grid;
    grid-template-columns: 1fr 340px;
}

@media (max-width: 980px) {
    .sim-body { grid-template-columns: 1fr; }
}

.sim-classroom {
    padding: 32px;
    border-right: 1px solid var(--border-hairline);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

@media (max-width: 980px) {
    .sim-classroom { border-right: none; border-bottom: 1px solid var(--border-hairline); }
}

.course-progress-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.course-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.course-prog-bar {
    width: 150px;
    height: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-hairline);
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
}

.course-prog-fill {
    height: 100%;
    width: 28%;
    background: var(--text-primary);
    border-radius: 999px;
    transition: width 0.6s var(--ease-out-quart);
}

.sim-question-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    padding: 24px;
}

.sim-q-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.sim-q-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.008em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.sim-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sim-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.sim-option:hover {
    background: var(--bg-elevated);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

.sim-option.solved {
    background: rgba(74, 222, 128, 0.06);
    border-color: rgba(74, 222, 128, 0.32);
    color: var(--text-primary);
}

.opt-letter {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--bg-base);
    border: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.sim-option.solved .opt-letter {
    background: var(--success);
    border-color: var(--success);
    color: var(--bg-base);
}

.sim-pill-leak {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: var(--success);
}

.sim-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.sim-status {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

.btn-trigger-solve {
    background: var(--accent);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s var(--ease-out-quart), opacity 0.18s ease;
}

.btn-trigger-solve:hover:not(:disabled) {
    background: var(--accent-light);
    color: #0b0b0d;
}

.btn-trigger-solve:disabled {
    cursor: default;
}

/* Simulated in-page console */
.sim-hud-wrap {
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-base);
}

.hud {
    width: 100%;
    max-width: 300px;
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    overflow: hidden;
}

.hud-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-hairline);
}

.hud-brand {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hud-brand-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--text-primary);
}

.hud-ver {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.06em;
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-hairline);
    color: var(--text-muted);
}

.hud-window-actions {
    display: flex;
    gap: 4px;
}

.hud-window-btn {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.hud-window-btn svg {
    display: block;
}

.hud-tabs {
    display: flex;
    padding: 4px;
    gap: 4px;
    border-bottom: 1px solid var(--border-hairline);
}

.hud-tab {
    flex: 1;
    text-align: center;
    padding: 6px 4px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
}

.hud-tab.active {
    background: var(--bg-elevated);
    border: 1px solid var(--border-hairline);
    color: var(--text-primary);
}

.hud-telemetry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--border-hairline);
}

.hud-telemetry-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.hud-telemetry-counts {
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.hud-telemetry-counts b {
    color: var(--text-primary);
    font-weight: 500;
}

.hud-rows {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hud-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    background: var(--bg-base);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
}

.hud-row-title {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
}

.hud-row-desc {
    font-size: 9.5px;
    color: var(--text-muted);
    margin-top: 1px;
}

.hud-switch {
    width: 30px;
    height: 17px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--accent);
    position: relative;
}

.hud-switch-knob {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ffffff;
}

.hud-flag {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--success);
}

.hud-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-top: 1px solid var(--border-hairline);
    font-size: 9.5px;
    color: var(--text-muted);
}

.hud-tier {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.1em;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-hairline);
    color: var(--text-secondary);
}

/* ==========================================================================
   BENTO GRID
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.bento-card:hover {
    background: var(--bg-elevated);
    border-color: var(--border-strong);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

@media (max-width: 900px) {
    .bento-col-8, .bento-col-4, .bento-col-6 { grid-column: span 12; }
}

.bento-tag {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.bento-title {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.bento-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.62;
}

.stat-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    background: var(--bg-base);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-value {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.stat-value.ok {
    color: var(--success);
}

/* Network log inside the first bento card */
.packet-stream-box {
    background: var(--bg-base);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    line-height: 1.9;
    overflow-x: auto;
}

.packet-row {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.packet-row + .packet-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tok-key { color: var(--text-secondary); }
.tok-dim { color: var(--text-muted); }
.tok-val { color: var(--text-primary); }
.tok-ok { color: var(--success); margin-left: auto; }

/* ==========================================================================
   COMPARISON MATRIX
   ========================================================================== */
.table-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 13.5px;
}

.compare-table th {
    text-align: left;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-hairline);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.compare-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

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

.compare-table tr:hover td {
    background: var(--bg-elevated);
}

.compare-table th.highlight,
.compare-table td.highlight {
    color: var(--text-primary);
    font-weight: 500;
    background: rgba(139, 92, 246, 0.05);
}

.compare-table tbody tr:hover td.highlight {
    background: rgba(139, 92, 246, 0.08);
}

/* Marks are drawn with borders, not typed as glyph characters. */
.check-green,
.cross-red {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 20px;
    font-size: 13px;
    font-weight: 500;
}

.check-green { color: var(--success); }
.cross-red { color: var(--text-muted); }

.check-green::before,
.cross-red::before,
.cross-red::after {
    content: '';
    position: absolute;
    left: 1px;
    top: 50%;
}

.check-green::before {
    width: 6px;
    height: 11px;
    margin-top: -6px;
    border-left: 1.5px solid var(--success);
    border-bottom: 1.5px solid var(--success);
    transform: rotate(-45deg);
}

.cross-red::before,
.cross-red::after {
    width: 11px;
    height: 1.5px;
    margin-top: -0.75px;
    background: var(--danger);
    opacity: 0.7;
}

.cross-red::before { transform: rotate(45deg); }
.cross-red::after { transform: rotate(-45deg); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

/* Seven cards on a four-column grid leaves three orphans. Start the last row at
   column 2 so it centers under the first four instead of hugging the left. */
@media (min-width: 1081px) {
    .pricing-grid .price-card:nth-child(5) {
        grid-column: 2;
    }
}

@media (max-width: 1080px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.price-card {
    padding: 26px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.price-card:hover {
    background: var(--bg-elevated);
    border-color: var(--border-strong);
}

.price-card.featured {
    background: var(--bg-elevated);
    border-color: var(--border-strong);
}

.featured-pill {
    position: absolute;
    top: -1px;
    right: 20px;
    transform: translateY(-50%);
    background: var(--accent);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    padding: 4px 9px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.price-header {
    margin-bottom: 22px;
}

.price-tier-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.price-tier-sub {
    font-size: 12.5px;
    color: var(--text-muted);
}

.price-amount-box {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin: 22px 0 0;
}

.price-currency {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-val {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.price-period {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 2px;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 24px;
}

.price-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-secondary);
}

.price-feature-item svg {
    flex-shrink: 0;
    stroke: var(--text-muted);
}

.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--border-hairline);
    font-size: 12px;
    color: var(--text-muted);
}

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

.trust-item svg {
    stroke: var(--text-muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
    max-width: 780px;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--border-hairline);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.012em;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.18s ease;
}

.faq-item.open .faq-question,
.faq-question:hover {
    color: var(--accent-light);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.25s var(--ease-out-quart), color 0.18s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-light);
}

.faq-answer {
    display: none;
    padding: 0 4px 24px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 68ch;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 36px 0;
    border-top: 1px solid var(--border-hairline);
}

.footer-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

.system-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
