/* =========================================================
   The Crawl Tool — marketing site
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
    /* Neutral slate dark base — reads as "pro tool", not "AI product" */
    --bg: #0b0e12;
    --bg-2: #10141a;
    --bg-3: #151a22;
    --surface: #141a22;
    --surface-2: #1a2230;
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.13);

    --text: #e8ecf2;
    --text-dim: #a3adbb;
    --text-mute: #6b7587;

    /* Brand: emerald/teal green with warm amber accent */
    --brand: #10b981;       /* emerald 500 */
    --brand-2: #34d399;     /* emerald 400 */
    --brand-3: #f59e0b;     /* amber  500 */
    --accent: #f59e0b;

    --success: #34d399;
    --danger: #ef4444;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 0 1px rgba(16, 185, 129, 0.35), 0 20px 60px rgba(16, 185, 129, 0.22);

    --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --container: 1200px;
    --container-narrow: 820px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    margin: 0 0 0.6em;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--text-dim); }

.grad {
    background: linear-gradient(90deg, #6ee7b7 0%, #10b981 45%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-2);
    margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
    white-space: nowrap;
}
.btn--primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #05140e;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: var(--border-strong);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}
.btn--lg { padding: 14px 24px; font-size: 1rem; border-radius: 12px; }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    background: rgba(11, 14, 18, 0.72);
    border-bottom: 1px solid var(--border);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.brand__name { font-size: 1rem; }
.nav__links {
    display: flex;
    gap: 28px;
    font-size: 0.95rem;
    color: var(--text-dim);
}
.nav__links a { transition: color 0.15s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 10px; }
.nav__toggle {
    display: none;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.nav__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: clamp(80px, 10vw, 140px) 0 80px;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 800px;
    background:
        radial-gradient(600px 400px at 20% 10%, rgba(16, 185, 129, 0.28), transparent 60%),
        radial-gradient(500px 360px at 80% 20%, rgba(52, 211, 153, 0.18), transparent 60%),
        radial-gradient(700px 500px at 50% 80%, rgba(245, 158, 11, 0.10), transparent 60%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 40%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}
.hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.09);
    border: 1px solid rgba(16, 185, 129, 0.32);
    color: #9fe9c5;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
}
.pill__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 10px var(--brand-2);
}
.hero__title { margin-bottom: 20px; }
.hero__sub {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--text-dim);
    max-width: 720px;
    margin: 0 auto 36px;
}
.hero__ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-mute);
    font-size: 0.85rem;
    margin-bottom: 64px;
}
.logos { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.logo-chip {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
    color: var(--text-dim);
    font-weight: 500;
}

/* ---------- Demo window ---------- */
.demo {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1200px;
}
.demo__window {
    background: linear-gradient(180deg, #131820 0%, #0b0f15 100%);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(16, 185, 129, 0.12),
        0 0 80px rgba(16, 185, 129, 0.10);
    text-align: left;
    transform: rotateX(3deg);
    transform-origin: top center;
}
.demo__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }
.demo__title {
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-mute);
}
.demo__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-height: 520px;
    overflow: hidden;
    font-size: 0.95rem;
}
.msg {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
}
.msg b {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-mute);
    font-weight: 600;
}
.msg p { margin: 0; color: var(--text); }
.msg--user { background: rgba(255,255,255,0.02); }
.msg--ai {
    background: linear-gradient(180deg, rgba(16,185,129,0.08) 0%, rgba(245,158,11,0.03) 100%);
    border-color: rgba(16,185,129,0.22);
}
.code {
    margin: 4px 0 0;
    background: rgba(0,0,0,0.4);
    padding: 10px 12px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #a7f3d0;
    white-space: pre-wrap;
    border: 1px solid var(--border);
}
.mini-list { margin: 4px 0 0; padding-left: 18px; color: var(--text-dim); font-size: 0.9rem; }
.mini-list li { margin-bottom: 2px; }

.typing { display: inline-flex; gap: 5px; padding: 2px 0; }
.typing span {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--brand);
    animation: typing 1.1s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; background: #6ee7b7; }
.typing span:nth-child(3) { animation-delay: 0.3s; background: var(--brand-3); }
@keyframes typing {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-6px); opacity: 1; }
}

/* ---------- Sections ---------- */
.section {
    padding: clamp(80px, 10vw, 120px) 0;
    position: relative;
}
.section--alt {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.section__head p { font-size: 1.05rem; }

/* ---------- Features ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.feature {
    padding: 28px 24px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}
.feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 50% -20%, rgba(16, 185, 129, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.feature:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.38);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.feature:hover::before { opacity: 1; }
.feature__icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: 0.92rem; color: var(--text-dim); margin: 0; }

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.step {
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    position: relative;
}
.step__num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-2);
    margin-bottom: 14px;
    letter-spacing: 0.1em;
}
.step h3 { font-size: 1.3rem; }
.step p { font-size: 0.95rem; margin-bottom: 18px; }

.code-block {
    background: #07070f;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.82rem;
}
.code-block__label {
    display: block;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
    color: var(--text-mute);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.code-block pre {
    margin: 0;
    padding: 14px;
    color: #c8e9d8;
    white-space: pre-wrap;
    line-height: 1.55;
}

/* ---------- Use cases ---------- */
.cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.case {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(16, 185, 129, 0.08) 0%, rgba(245, 158, 11, 0.03) 50%, transparent 100%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}
.case:hover { transform: translateY(-3px); border-color: rgba(16, 185, 129, 0.38); }
.case__tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-2);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    margin-bottom: 16px;
}
.case h3 { font-size: 1.25rem; margin-bottom: 14px; }
.case ul { list-style: none; padding: 0; margin: 0; }
.case li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-dim);
    font-size: 0.95rem;
}
.case li::before {
    content: "";
    position: absolute;
    left: 0; top: 8px;
    width: 14px; height: 14px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/80% no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/80% no-repeat;
}

/* ---------- Compare ---------- */
.compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.compare__col {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
}
.compare__col--new {
    background: linear-gradient(180deg, rgba(16,185,129,0.12) 0%, rgba(245,158,11,0.03) 100%);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.1), 0 20px 50px rgba(16, 185, 129, 0.12);
}
.compare__col h3 { font-size: 1.2rem; margin-bottom: 18px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; }
.compare__col li {
    position: relative;
    padding: 10px 0 10px 32px;
    border-bottom: 1px dashed var(--border);
    color: var(--text-dim);
}
.compare__col li:last-child { border-bottom: none; }
.compare__col li::before {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 700;
}
.compare__col li.no::before {
    content: "✕";
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.compare__col li.yes::before {
    content: "✓";
    background: rgba(52, 211, 153, 0.15);
    color: var(--success);
    border: 1px solid rgba(52, 211, 153, 0.4);
}

/* ---------- Benefits (site-wide AI) ---------- */
.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.benefit {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.benefit:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.38);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.benefit__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    margin-bottom: 18px;
}
.benefit__icon svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.2rem; margin-bottom: 10px; }
.benefit p { font-size: 0.95rem; margin: 0; }

/* ---------- Pricing ---------- */
.pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
    align-items: stretch;
}
.plan {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    transition: transform 0.2s, border-color 0.2s;
}
.plan:hover { transform: translateY(-3px); }
.plan__price {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 8px 0 6px;
    line-height: 1;
}
.plan__price .cur { font-size: 1.4rem; vertical-align: top; margin-right: 4px; color: var(--text-dim); font-weight: 600; }
.plan__price .per { font-size: 0.95rem; color: var(--text-mute); font-weight: 500; margin-left: 6px; }
.plan__desc { color: var(--text-dim); font-size: 0.95rem; }
.plan ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    flex: 1;
}
.plan li {
    padding: 8px 0 8px 26px;
    position: relative;
    color: var(--text-dim);
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--border);
}
.plan li:last-child { border-bottom: none; }
.plan li::before {
    content: "";
    position: absolute;
    left: 0; top: 13px;
    width: 16px; height: 16px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/100% no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/100% no-repeat;
}
.plan--featured {
    border-color: rgba(16, 185, 129, 0.5);
    background:
        linear-gradient(180deg, rgba(16,185,129,0.14) 0%, rgba(245,158,11,0.04) 100%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25), 0 30px 60px rgba(16, 185, 129, 0.15);
    position: relative;
    transform: translateY(-6px);
}
.plan__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #05140e;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.35);
}

.license-cta {
    text-align: center;
    margin-top: 48px;
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(500px 250px at 50% 0%, rgba(245, 158, 11, 0.20), transparent 65%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.license-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text);
}
.license-cta p {
    color: var(--text-dim);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 24px;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(16, 185, 129, 0.4); }
.faq summary {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--brand-2);
    transition: transform 0.2s;
    line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--text-dim);
}

/* ---------- CTA ---------- */
.cta { padding: 0 0 100px; }
.cta__card {
    text-align: center;
    padding: clamp(48px, 8vw, 80px) 32px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(16,185,129,0.30), transparent 65%),
        radial-gradient(500px 300px at 100% 100%, rgba(245,158,11,0.18), transparent 65%),
        linear-gradient(180deg, #0f1f1a 0%, #0b1118 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 40px 100px rgba(16, 185, 129, 0.18);
    position: relative;
    overflow: hidden;
}
.cta__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 70%);
    pointer-events: none;
}
.cta__card > * { position: relative; }
.cta__card h2 { margin-bottom: 12px; }
.cta__card p { color: var(--text-dim); max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
    padding: 60px 0 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-2);
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.footer__brand p { color: var(--text-mute); font-size: 0.95rem; margin-top: 12px; max-width: 280px; }
.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.footer__cols h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-mute);
    margin-bottom: 14px;
}
.footer__cols a {
    display: block;
    padding: 6px 0;
    color: var(--text-dim);
    font-size: 0.95rem;
    transition: color 0.15s;
}
.footer__cols a:hover { color: var(--text); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    color: var(--text-mute);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 8px;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .benefits { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
    .nav__links { display: none; }
    .nav__toggle { display: inline-flex; }
    .nav.is-open .nav__links {
        display: flex;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 16px 24px 24px;
        background: var(--bg-2);
        border-bottom: 1px solid var(--border);
        gap: 4px;
    }
    .nav.is-open .nav__links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .steps,
    .cases,
    .pricing,
    .compare { grid-template-columns: 1fr; }
    .plan--featured { transform: none; }

    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
    .features { grid-template-columns: 1fr; }
    .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { padding-top: 64px; }
    .hero__ctas .btn { width: 100%; }
    .demo__body { padding: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

