/*
 * ============================================
 * CONTROL CENTRE — Color Scheme
 * ============================================
 *
 * Background:       #F6F3ED  (warm cream)
 * Background warm:  #EFEADF  (slightly darker cream)
 * Surface:          #FFFFFF  (white cards)
 * Text primary:     #1B1B1F  (near-black)
 * Text secondary:   #5E5E66  (medium grey)
 * Text muted:       #9C9CA3  (light grey)
 * Accent:           #C7402D  (burnt vermillion)
 * Accent hover:     #A83522  (darker vermillion)
 * Green:            #2D7A50  (deep sage)
 * Amber:            #B47818  (warm amber)
 * Border:           #E2DED6  (warm border)
 * Border light:     #EBE8E1  (subtle border)
 *
 * Fonts:
 *   Display: Fraunces (optical serif)
 *   Body:    Karla (geometric sans)
 *
 * ============================================
 */

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

:root {
    --bg: #F6F3ED;
    --bg-warm: #EFEADF;
    --surface: #FFFFFF;
    --text: #1B1B1F;
    --text-secondary: #5E5E66;
    --text-muted: #9C9CA3;
    --accent: #C7402D;
    --accent-hover: #A83522;
    --accent-light: rgba(199, 64, 45, 0.08);
    --green: #2D7A50;
    --green-light: rgba(45, 122, 80, 0.08);
    --amber: #B47818;
    --red: #C7402D;
    --border: #E2DED6;
    --border-light: #EBE8E1;
    --radius: 12px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Karla', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Thin scrollbars for app preview */
.app-window ::-webkit-scrollbar { width: 2px; }
.app-window ::-webkit-scrollbar-track { background: transparent; }
.app-window ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.app-window ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
.app-window * { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }

/* Paper grain texture */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ============================================
   Navigation
   ============================================ */

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(246, 243, 237, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s;
}
nav.scrolled {
    background: rgba(246, 243, 237, 0.95);
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}
.nav-logo-mark {
    width: 34px; height: 34px;
}
.nav-logo-mark img {
    width: 100%; height: 100%;
}
.nav-logo-text {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text); }
.btn-primary {
    background: var(--text);
    color: var(--bg);
}
.btn-primary:hover { background: #2e2e34; transform: translateY(-1px); }
.btn-large { padding: 13px 28px; font-size: 14px; border-radius: 10px; }
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-secondary); background: rgba(0,0,0,0.02); }
.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span { width: 20px; height: 1.5px; background: var(--text); border-radius: 1px; }

/* ============================================
   Hero
   ============================================ */

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 160px 24px 80px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.0;
    max-width: 700px;
    margin-bottom: 24px;
    animation: fadeUp 0.7s ease 0.08s both;
}
.hero h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 700;
}
.hero-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-secondary);
    max-width: 440px;
    margin-bottom: 40px;
    line-height: 1.65;
    animation: fadeUp 0.7s ease 0.16s both;
}
.hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.7s ease 0.24s both;
}

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

.hero-integrations {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    animation: fadeUp 0.7s ease 0.4s both;
}
.hero-int-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}
.hero-int-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.hero-int-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}
.hero-int-item svg { color: var(--text-muted); }
.hero-int-more {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.hero-trusted {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-trusted-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.hero-trusted-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-trusted-item {
    display: flex;
    align-items: center;
    opacity: 0.72;
    transition: opacity 0.2s;
}
.hero-trusted-item:hover { opacity: 1; }

/* ============================================
   App Preview
   ============================================ */

.app-preview {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 24px auto 0;
    padding: 0 24px 120px;
    animation: fadeUp 0.9s ease 0.5s both;
}
.app-window {
    background: var(--bg-warm);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(0,0,0,0.02) inset,
        0 40px 80px -20px rgba(0,0,0,0.12),
        0 0 0 1px var(--border);
}
.app-titlebar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
}
.app-dot { width: 11px; height: 11px; border-radius: 50%; }
.app-dot:nth-child(1) { background: #ef4444; }
.app-dot:nth-child(2) { background: #f59e0b; }
.app-dot:nth-child(3) { background: #22c55e; }
.app-body { display: flex; height: 480px; }

/* ============================================
   Preview Sidebar
   ============================================ */

.p-sidebar {
    width: 190px;
    border-right: 1px solid var(--border-light);
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--surface);
    flex-shrink: 0;
}
.p-sidebar-brand {
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    padding: 2px 10px 14px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 8px;
}
.p-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}
.p-nav:hover { background: rgba(0,0,0,0.03); color: var(--text); }
.p-nav.active { background: var(--accent); color: #fff; }
.p-nav svg {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.p-nav .count {
    margin-left: auto;
    font-size: 10px; font-weight: 700;
    background: var(--accent); color: #fff;
    padding: 1px 6px; border-radius: 100px;
}
.p-nav.active .count { background: rgba(255,255,255,0.25); }

/* ============================================
   Panels
   ============================================ */

.p-content { flex: 1; display: flex; overflow: hidden; }
.panel { display: none; width: 100%; height: 100%; }
.panel.active { display: flex; }

/* ============================================
   Interview Tab
   ============================================ */

.int-layout { display: flex; width: 100%; height: 100%; }
.int-main {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding: 20px;
    background: var(--bg);
}
.vid-box {
    width: 100%; max-width: 360px; aspect-ratio: 16/10;
    background: var(--bg-warm); border-radius: 10px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
    color: var(--text-muted); font-size: 12px;
    border: 1px solid var(--border-light);
}
.vid-box svg {
    width: 36px; height: 36px;
    stroke: var(--text-muted); fill: none; stroke-width: 1.5;
}
.mtg-card {
    margin-top: 12px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 10px; padding: 13px 16px;
    width: 100%; max-width: 360px;
}
.mtg-label { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 5px; }
.mtg-name { font-weight: 700; font-size: 13px; color: var(--text); margin-bottom: 1px; }
.mtg-detail { font-size: 11px; color: var(--text-secondary); }
.mtg-btn {
    margin-top: 10px; width: 100%; padding: 8px;
    background: var(--accent); color: #fff; border: none;
    border-radius: 7px; font-weight: 600; font-size: 12px;
    cursor: pointer; font-family: var(--font-body);
}

/* ============================================
   Candidate Info Panel
   ============================================ */

.cand-panel {
    width: 240px;
    border-left: 1px solid var(--border-light);
    padding: 16px;
    overflow-y: auto;
    background: var(--surface);
    flex-shrink: 0;
    color: var(--text);
}
.cand-top { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.cand-av {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--bg-warm); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 11px; color: var(--text-secondary); flex-shrink: 0;
}
.cand-name { font-weight: 700; font-size: 12px; }
.cand-email { font-size: 10px; color: var(--text-muted); }
.cand-badge {
    display: inline-block;
    padding: 2px 8px; border: 1px solid rgba(199, 64, 45, 0.3);
    border-radius: 4px; font-size: 9px; color: var(--accent);
    font-weight: 600; margin-bottom: 12px;
}
.cand-section { margin-bottom: 10px; }
.cand-section-title {
    font-size: 8px; font-weight: 700; letter-spacing: 1.5px;
    color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase;
}
.cand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.cand-label { font-size: 10px; color: var(--text-muted); }
.cand-val { font-size: 10px; font-weight: 600; color: var(--text-secondary); }
.cand-score { font-size: 18px; font-weight: 800; color: var(--green); }
.cand-q { font-size: 9px; color: var(--text-muted); margin-bottom: 2px; font-weight: 600; }
.cand-a { font-size: 10px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 7px; }
.cand-notes {
    width: 100%; background: var(--bg);
    border: 1px solid var(--border-light); border-radius: 5px;
    padding: 7px 9px; color: var(--text-muted);
    font-size: 10px; resize: none; height: 40px; font-family: var(--font-body);
}
.cand-notes:focus { outline: none; border-color: var(--accent); }

/* ============================================
   Calendar Tab
   ============================================ */

.cal-layout { width: 100%; height: 100%; padding: 16px; display: flex; flex-direction: column; color: var(--text); background: var(--bg); }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-month { font-weight: 700; font-size: 14px; }
.cal-navs { display: flex; gap: 4px; }
.cal-nav-btn {
    width: 24px; height: 24px; border-radius: 5px;
    background: var(--surface); border: 1px solid var(--border-light);
    color: var(--text-secondary); display: flex; align-items: center;
    justify-content: center; cursor: pointer; font-size: 12px;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; flex: 1; }
.cal-dh { text-align: center; font-size: 8px; font-weight: 600; color: var(--text-muted); padding: 4px; letter-spacing: 1px; }
.cal-d {
    padding: 4px; border-radius: 5px; font-size: 10px;
    text-align: center; color: var(--text-muted); position: relative;
}
.cal-d.today { background: var(--accent); color: #fff; font-weight: 700; }
.cal-d.has-ev::after {
    content: ''; position: absolute; bottom: 2px; left: 50%;
    transform: translateX(-50%); width: 3px; height: 3px;
    border-radius: 50%; background: var(--accent);
}
.cal-d.today.has-ev::after { background: #fff; }
.cal-evs { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.cal-ev {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 10px; background: var(--surface);
    border-radius: 7px; border-left: 3px solid var(--accent);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--accent);
}
.cal-ev:nth-child(2) { border-left-color: var(--amber); }
.cal-ev:nth-child(3) { border-left-color: var(--green); }
.cal-ev-time { font-size: 9px; color: var(--text-muted); font-weight: 600; min-width: 44px; }
.cal-ev-title { font-size: 11px; font-weight: 600; }
.cal-ev-sub { font-size: 9px; color: var(--text-muted); }

/* ============================================
   Applications Tab
   ============================================ */

.apps-layout { display: flex; width: 100%; height: 100%; color: var(--text); }

/* Left: candidate list */
.apps-list {
    width: 220px; flex-shrink: 0;
    border-right: 1px solid var(--border-light);
    display: flex; flex-direction: column;
    background: var(--surface);
    overflow: hidden;
}
.apps-list-header {
    padding: 12px 14px 10px;
    border-bottom: 1px solid var(--border-light);
}
.apps-list-title { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.apps-stage-counts {
    display: flex; flex-direction: column; gap: 1px;
    font-size: 10px; color: var(--text-muted);
}
.apps-stage-row { display: flex; justify-content: space-between; }
.apps-stage-row span:last-child { color: var(--text-secondary); font-weight: 600; }
.apps-list-controls {
    display: flex; gap: 6px; align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid var(--border-light);
}
.apps-sort, .apps-search {
    font-size: 9px; color: var(--text-secondary);
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 4px; padding: 3px 7px;
    font-family: var(--font-body);
}
.apps-search { flex: 1; outline: none; }
.apps-search::placeholder { color: var(--text-muted); }
.apps-candidates {
    flex: 1; overflow-y: auto;
    display: flex; flex-direction: column;
}
.apps-cand {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.12s;
}
.apps-cand:hover { background: var(--bg); }
.apps-cand.selected {
    background: var(--accent-light);
    border-left: 2px solid var(--accent);
}
.apps-cand-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 2px; }
.apps-cand-name { font-weight: 700; font-size: 11px; }
.apps-cand-score {
    font-size: 10px; color: var(--text-muted);
    display: flex; align-items: center; gap: 2px;
}
.apps-cand-score svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; }
.apps-cand-company { font-size: 9px; color: var(--text-muted); }
.apps-cand-stage {
    display: inline-block;
    font-size: 8px; font-weight: 700; letter-spacing: 0.5px;
    padding: 1px 5px; border-radius: 3px;
    margin-top: 3px;
}
.stage-review { background: rgba(180, 120, 24, 0.12); color: var(--amber); }
.stage-interview { background: var(--accent-light); color: var(--accent); }

/* Right: candidate detail */
.apps-detail {
    flex: 1; overflow-y: auto;
    padding: 16px 20px;
    background: var(--bg);
}
.apps-detail-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px;
}
.apps-detail-name { font-weight: 700; font-size: 16px; }
.apps-detail-age { font-size: 14px; color: var(--text-muted); }
.apps-detail-stage {
    padding: 3px 9px; border-radius: 4px;
    font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
}
.apps-actions-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 0 12px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.apps-action {
    font-size: 9px; color: var(--text-muted);
    display: flex; align-items: center; gap: 3px;
}
.apps-action kbd {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 3px; padding: 1px 4px;
    font-family: var(--font-body);
    font-size: 8px; color: var(--text-muted);
}
.apps-detail-section { margin-bottom: 12px; }
.apps-detail-label {
    font-size: 8px; font-weight: 700; letter-spacing: 1.2px;
    color: var(--text-muted); margin-bottom: 4px;
    text-transform: uppercase;
}
.apps-detail-text {
    font-size: 11px; color: var(--text-secondary);
    line-height: 1.55;
}
.apps-detail-text a {
    color: var(--accent); text-decoration: none;
}
.apps-detail-meta {
    display: flex; flex-direction: column; gap: 2px;
    font-size: 10px; color: var(--text-muted);
}
.apps-detail-meta span { color: var(--text-secondary); }
.apps-feedback {
    width: 100%; background: var(--surface);
    border: 1px solid var(--border-light); border-radius: 5px;
    padding: 8px 10px; color: var(--text-muted);
    font-size: 10px; resize: vertical; min-height: 44px; max-height: 80px;
    font-family: var(--font-body);
}
.apps-feedback:focus { outline: none; border-color: var(--accent); }

/* ============================================
   Sections
   ============================================ */

section { position: relative; z-index: 1; }
.section-pad { padding: 100px 24px; }
.container { max-width: 1040px; margin: 0 auto; }
.section-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
    font-family: var(--font-body);
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800; letter-spacing: -1.5px;
    line-height: 1.1; margin-bottom: 14px;
}
.section-desc {
    font-size: 16px; color: var(--text-secondary);
    max-width: 440px; margin-bottom: 48px; line-height: 1.65;
}

/* ============================================
   Features Grid
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.feature-num {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}
.feature-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.feature-card.wide {
    grid-column: 1 / -1;
    display: flex;
    gap: 40px;
    align-items: center;
}
.feature-card.wide .feature-num { font-size: 72px; margin-bottom: 0; }
.feature-card.wide .feature-body { flex: 1; }

/* ============================================
   How It Works
   ============================================ */

.steps { max-width: 540px; }
.step { display: flex; gap: 20px; }
.step-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-num {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid var(--text);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 800; font-size: 15px;
    color: var(--text); background: var(--bg); z-index: 2;
}
.step-line { width: 1.5px; flex: 1; background: var(--border); min-height: 32px; }
.step:last-child .step-line { display: none; }
.step-body { padding-bottom: 36px; }
.step-title {
    font-family: var(--font-display);
    font-weight: 700; font-size: 17px; margin-bottom: 4px;
    letter-spacing: -0.2px;
}
.step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   Testimonials
   ============================================ */

.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.test-single { max-width: 600px; }
.test-card-large { padding: 40px 36px; }
.test-card-large .test-quote { font-size: 80px; margin-bottom: -12px; }
.test-card-large .test-text { font-size: 17px; line-height: 1.75; margin-bottom: 28px; }
.test-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}
.test-quote {
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 1;
    color: var(--border);
    margin-bottom: -8px;
    user-select: none;
}
.test-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; flex: 1; }
.test-author { display: flex; align-items: center; gap: 10px; }
.test-av {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-warm); display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 12px;
    color: var(--text-secondary);
}
.test-name { font-weight: 700; font-size: 13px; }
.test-role { font-size: 11px; color: var(--text-muted); }

/* ============================================
   Pricing
   ============================================ */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.price-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.25s;
}
.price-card.pop {
    border-color: var(--text);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: scale(1.02);
}
.price-card:hover:not(.pop) { border-color: var(--border); }
.price-tier {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 10px;
}
.price-card.pop .price-tier { color: var(--accent); }
.price-amt {
    font-family: var(--font-display);
    font-size: 48px; font-weight: 800; letter-spacing: -2px; margin-bottom: 2px;
}
.price-amt span { font-size: 16px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.price-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 24px; }
.price-list { list-style: none; text-align: left; margin-bottom: 24px; }
.price-list li {
    padding: 5px 0; font-size: 13px; color: var(--text-secondary);
    display: flex; align-items: center; gap: 8px;
}
.price-list li::before {
    content: '';
    width: 16px; height: 16px; flex-shrink: 0;
    border-radius: 50%; border: 1.5px solid var(--green);
    display: flex; align-items: center; justify-content: center;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232D7A50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* ============================================
   CTA
   ============================================ */

/* ============================================
   FAQ
   ============================================ */

.faq-list { max-width: 600px; }
.faq-item {
    border-bottom: 1px solid var(--border-light);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.2px;
    cursor: pointer;
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.2s;
}
details[open] .faq-question::after {
    content: '−';
}
.faq-answer {
    padding: 0 0 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
}

/* ============================================
   CTA
   ============================================ */

.cta-section { text-align: center; padding: 80px 24px 120px; }
.cta-box {
    max-width: 580px; margin: 0 auto; padding: 56px 40px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text);
}
.cta-box h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800; letter-spacing: -1px; margin-bottom: 10px;
}
.cta-box p { font-size: 15px; color: var(--text-secondary); margin-bottom: 28px; }
.cta-box .btn-accent { background: var(--accent); }

/* ============================================
   Footer
   ============================================ */

footer {
    position: relative; z-index: 1;
    border-top: 1px solid var(--border);
    padding: 36px 24px;
}
.footer-inner {
    max-width: 1040px; margin: 0 auto;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-mark {
    width: 26px; height: 26px;
}
.footer-mark img { width: 100%; height: 100%; }
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }

/* ============================================
   Scroll Reveals
   ============================================ */

.reveal {
    opacity: 0; transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.30s; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .feature-card.wide { flex-direction: column; gap: 12px; }
    .pricing-grid, .test-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .price-card.pop { transform: none; }
    .app-body { height: auto; min-height: 360px; }
    .p-sidebar { display: none; }
    .cand-panel { display: none; }
    .int-layout { flex-direction: column; }
}
@media (max-width: 768px) {
    nav { padding: 0 20px; }
    .nav-links { display: none; }
    .btn-ghost { display: none; }
    .hamburger { display: flex; }
}
@media (max-width: 480px) {
    .hero-integrations { flex-direction: column; gap: 16px; }
}
