:root {
    --bg: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --soft-2: #f1f5f9;
    --brand: #1e40af;
    --brand-2: #2563eb;
    --brand-3: #dbeafe;
    --green: #059669;
    --green-soft: #d1fae5;
    --amber: #d97706;
    --amber-soft: #fef3c7;
    --red: #dc2626;
    --red-soft: #fee2e2;
    --purple: #7c3aed;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.14);
    --radius: 18px;
    --radius-lg: 28px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
::selection { background: rgba(37, 99, 235, 0.16); }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* ── Nav ── */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: 68px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
}

.nav-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand);
    font-weight: 850;
    font-size: 21px;
    letter-spacing: -0.04em;
}

.brand-mark {
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 60%, #10b981 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

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

.nav-link {
    padding: 8px 14px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
    background: var(--soft-2);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    background: #020617;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--ink);
}

.nav-mobile {
    display: none;
    position: fixed;
    inset: 68px 0 0 0;
    z-index: 49;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    padding: 16px 24px;
    border-top: 1px solid var(--line);
    flex-direction: column;
    gap: 4px;
}

.nav-mobile.is-open { display: flex; }

.nav-mobile .nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
}

.nav-mobile .nav-cta {
    margin-top: 12px;
    min-height: 48px;
    font-size: 16px;
    border-radius: 14px;
    text-align: center;
}

/* ── Hero ── */

.hero {
    position: relative;
    padding: 126px 0 72px;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute; inset: 0; z-index: -3;
    background:
        radial-gradient(circle at 50% 8%, rgba(37, 99, 235, 0.12), transparent 34%),
        radial-gradient(circle at 85% 22%, rgba(16, 185, 129, 0.10), transparent 28%),
        linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
    position: absolute; inset: 0; z-index: -2;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black 0%, black 42%, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 42%, transparent 85%);
}

.hero-content {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 7px 12px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--brand);
    font-size: 14px;
    font-weight: 750;
    box-shadow: var(--shadow-sm);
}

.hero h1 {
    margin: 0;
    font-size: clamp(36px, 5.5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 48%, #059669 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy {
    max-width: 680px;
    margin: 20px auto 0;
    color: #475569;
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px auto 0;
    padding: 0;
    list-style: none;
}

.hero-proof li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #334155;
    font-size: 13px;
    font-weight: 650;
}

.check-dot {
    width: 16px; height: 16px;
    flex: 0 0 auto;
    border-radius: 999px;
    display: grid; place-items: center;
    background: var(--green-soft);
    color: var(--green);
}

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    border: 0;
    border-radius: 13px;
    padding: 0 22px;
    cursor: pointer;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.32);
}

.btn-dark {
    color: var(--brand);
    background: #fff;
}

.btn-dark:hover {
    transform: translateY(-1px);
    background: #eff6ff;
}

.btn-outline {
    color: var(--brand);
    background: transparent;
    border: 2px solid var(--brand);
}

.btn-outline:hover {
    background: #eff6ff;
    transform: translateY(-1px);
}

.btn-sm {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 10px;
}

.btn-lg {
    min-height: 56px;
    padding: 0 28px;
    font-size: 17px;
    border-radius: 16px;
}

/* ── Signup form (extended) ── */

.signup-wrap {
    margin: 34px auto 0;
    max-width: 620px;
}

.signup-card {
    padding: 28px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
}

.signup-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.signup-card .form-row.full {
    grid-template-columns: 1fr;
}

.signup-card input[type="email"],
.signup-card select {
    width: 100%;
    border: 1px solid var(--line);
    outline: 0;
    border-radius: 11px;
    background: #fff;
    padding: 13px 14px;
    color: var(--ink);
    font-size: 15px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.signup-card select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.signup-card input::placeholder,
.signup-card select.placeholder {
    color: #94a3b8;
}

.signup-card input:focus,
.signup-card select:focus {
    border-color: var(--brand-2);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.signup-card .btn {
    width: 100%;
    margin-top: 4px;
}

.form-note {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

/* Inline form (simple email-only, for bottom CTA) */
.signup-form-inline {
    display: flex;
    gap: 10px;
    padding: 7px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
}

.signup-form-inline input[type="email"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    border-radius: 13px;
    background: #fff;
    padding: 15px 16px;
    color: var(--ink);
    font-size: 16px;
}

.signup-form-inline input[type="email"]::placeholder { color: #94a3b8; }
.signup-form-inline input[type="email"]:focus { box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.26); }

/* Success message */
.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px auto 0;
    width: fit-content;
    padding: 12px 16px;
    border: 1px solid rgba(5, 150, 105, 0.22);
    border-radius: 14px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 750;
    font-size: 14px;
}

.success-message.is-visible { display: inline-flex; }

/* Survey (shown after signup) */
.survey-panel {
    display: none;
    margin-top: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--soft);
    text-align: left;
}

.survey-panel.is-visible { display: block; }

.survey-panel h3 {
    margin: 0 0 14px;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.survey-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.survey-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 180ms ease, background 180ms ease;
}

.survey-option:hover {
    border-color: var(--brand-2);
    background: #eff6ff;
}

.survey-option.selected {
    border-color: var(--brand-2);
    background: #dbeafe;
}

.survey-option input[type="radio"] { display: none; }

.survey-radio {
    width: 18px; height: 18px;
    flex: 0 0 auto;
    border: 2px solid var(--line);
    border-radius: 999px;
    transition: border-color 180ms ease, background 180ms ease;
}

.survey-option.selected .survey-radio {
    border-color: var(--brand-2);
    background: var(--brand-2);
    box-shadow: inset 0 0 0 3px #fff;
}

.survey-freetext {
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    outline: 0;
    display: none;
}

.survey-freetext.is-visible { display: block; }
.survey-freetext:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }

.survey-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--brand-2);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background 180ms ease;
}

.survey-submit:hover { background: var(--brand); }

.survey-thanks {
    display: none;
    padding: 14px;
    border-radius: 12px;
    background: var(--green-soft);
    color: #047857;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.survey-thanks.is-visible { display: block; }

/* ── Dashboard mockup ── */

.mockup-shell {
    max-width: 1040px;
    margin: 58px auto -118px;
    padding: 0 24px;
    position: relative;
    z-index: 3;
}

.mockup {
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.browser {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.dots { display: flex; gap: 7px; flex: 0 0 auto; }
.dot { width: 12px; height: 12px; border-radius: 999px; }
.dot.red { background: #fb7185; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }

.url-bar {
    flex: 1;
    max-width: 420px;
    margin: 0 auto;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: #94a3b8;
    text-align: center;
    font-size: 12px;
}

.dashboard {
    padding: 26px;
    background: radial-gradient(circle at 80% 0%, rgba(37, 99, 235, 0.08), transparent 30%), #f8fafc;
}

.dashboard-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.dash-title { font-weight: 850; letter-spacing: -0.03em; }
.dash-subtitle { margin-top: 4px; color: #64748b; font-size: 13px; }

.status-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.pill.green { color: #047857; background: var(--green-soft); }
.pill.amber { color: #92400e; background: var(--amber-soft); }
.pill.red { color: #b91c1c; background: var(--red-soft); }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 16px;
}

.table-card,
.action-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }

th {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

td {
    padding: 13px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

tr:last-child td { border-bottom: 0; }
td strong { color: #0f172a; font-weight: 750; }

.mini-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.mini-status.green { color: #047857; background: var(--green-soft); }
.mini-status.amber { color: #92400e; background: var(--amber-soft); }
.mini-status.red { color: #b91c1c; background: var(--red-soft); }

.action-card { padding: 18px; }
.action-card h3 { margin: 0 0 12px; font-size: 15px; letter-spacing: -0.02em; }

.task {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
}

.task:first-of-type { border-top: 0; padding-top: 0; }

.task-icon {
    width: 28px; height: 28px;
    flex: 0 0 auto;
    display: grid; place-items: center;
    border-radius: 9px;
    background: #eff6ff;
    color: var(--brand-2);
}

.task-title { color: #0f172a; font-size: 13px; font-weight: 800; }
.task-copy { margin-top: 2px; color: #64748b; font-size: 12px; line-height: 1.4; }

/* ── Stats bar ── */

.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.stats-inner { padding-top: 156px; padding-bottom: 42px; }

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

.stat-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--soft);
    text-align: center;
}

.stat-number {
    color: var(--red);
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.stat-label {
    margin-top: 8px;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 650;
}

.stat-source {
    margin: 20px auto 0;
    max-width: 760px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

.stat-source a {
    color: var(--brand);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Sections ── */

.section { padding: 92px 0; }
.section-soft { background: var(--soft); }

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

.section-kicker {
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.section h2 {
    margin: 0;
    font-size: clamp(28px, 3.8vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.section-header p {
    margin: 14px auto 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

/* ── Feature grid ── */

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

.feature-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.feature-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.02em; }
.feature-card p { margin: 0; color: #64748b; font-size: 15px; line-height: 1.6; }

/* ── Steps / How it works ── */

.steps {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 0 0 34px;
    position: relative;
}

.step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 23px; top: 50px; bottom: 0;
    width: 2px;
    background: #dbeafe;
}

.step-number {
    position: relative; z-index: 1;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 999px;
    background: var(--brand-2);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.step-number.done {
    background: var(--green);
    box-shadow: 0 12px 24px rgba(5, 150, 105, 0.20);
}

.step h3 { margin: 2px 0 6px; font-size: 18px; letter-spacing: -0.02em; }
.step p { margin: 0; color: #64748b; font-size: 15px; line-height: 1.6; }

/* ── Industry grid ── */

.industry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.industry-card {
    padding: 20px 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.industry-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--shadow-md);
}

.industry-card svg { width: 34px; height: 34px; margin-bottom: 10px; color: var(--brand-2); }
.industry-card div { color: #334155; font-size: 14px; font-weight: 800; }

/* ── Trust bar ── */

.trust {
    padding: 64px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-item {
    padding: 22px 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--soft);
    text-align: center;
}

.trust-icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    margin: 0 auto 12px;
    border-radius: 18px;
    background: #eff6ff;
    color: var(--brand-2);
}

.trust-item:nth-child(2) .trust-icon { background: #ecfdf5; color: var(--green); }
.trust-item:nth-child(3) .trust-icon { background: #fff7ed; color: var(--amber); }
.trust-item:nth-child(4) .trust-icon { background: #f5f3ff; color: var(--purple); }

.trust-title { color: #0f172a; font-size: 14px; font-weight: 850; }
.trust-copy { margin-top: 5px; color: #64748b; font-size: 12px; line-height: 1.45; }

/* ── Pricing ── */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.pricing-card.highlighted {
    border-color: var(--brand-2);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.18);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--brand-2);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.pricing-name { font-size: 20px; font-weight: 850; letter-spacing: -0.02em; }

.pricing-price {
    margin: 12px 0 4px;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

.pricing-price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.pricing-interval { color: var(--muted); font-size: 14px; }

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

.pricing-features li svg {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--green);
}

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

/* Feature comparison table */
.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.comparison-table table { font-size: 14px; }

.comparison-table th {
    text-align: center;
    padding: 16px 14px;
    font-size: 13px;
}

.comparison-table th:first-child { text-align: left; }

.comparison-table td { text-align: center; padding: 14px; }
.comparison-table td:first-child { text-align: left; font-weight: 650; color: var(--ink); }

.comparison-table tr:nth-child(even) td { background: var(--soft); }

.check-icon { color: var(--green); }
.x-icon { color: var(--muted-2); }

/* ── FAQ ── */

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 750;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.faq-question svg {
    flex: 0 0 auto;
    color: var(--muted);
    transition: transform 300ms ease;
}

.faq-item.is-open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
}

.faq-answer-inner {
    padding: 0 0 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

/* ── Bottom CTA ── */

.bottom-cta { padding: 92px 0; }

.cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 56px;
    background:
        radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.34), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.20), transparent 28%),
        #0f172a;
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-card::before {
    content: "";
    position: absolute; inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.24) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.24) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
}

.cta-card > * { position: relative; z-index: 1; }

.cta-card h2 {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(26px, 3.8vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.cta-card p {
    max-width: 620px;
    margin: 16px auto 28px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
}

.cta-card .signup-form-inline {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.cta-card .signup-form-inline input[type="email"] {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.cta-card .signup-form-inline input[type="email"]::placeholder { color: #94a3b8; }
.cta-card .signup-form-inline input[type="email"]:focus { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35); }

.cta-card .form-note { color: #94a3b8; }

.cta-card .success-message {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

/* ── Comparison page ── */

.vs-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.vs-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 140px;
}

.vs-brand-icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    border-radius: 18px;
    font-size: 28px;
    font-weight: 900;
}

.vs-brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }

.vs-divider {
    font-size: 28px;
    font-weight: 900;
    color: var(--muted-2);
}

/* ── Footer ── */

.footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #64748b;
    font-size: 14px;
}

.footer nav { display: flex; gap: 22px; }
.footer a { transition: color 180ms ease; }
.footer a:hover { color: var(--ink); }

/* ── Animations ── */

.fade-up { animation: fade-up 700ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.delay-1 { animation-delay: 90ms; }
.delay-2 { animation-delay: 180ms; }
.delay-3 { animation-delay: 270ms; }
.delay-4 { animation-delay: 360ms; }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ── Responsive ── */

@media (max-width: 980px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .action-card { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .pricing-card.highlighted { order: -1; }
}

@media (max-width: 760px) {
    .container, .container-narrow { padding: 0 18px; }
    .nav { height: 64px; }
    .nav-inner { height: 64px; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-hamburger { display: block; }
    .hero { padding-top: 102px; padding-bottom: 58px; }
    .hero h1 { letter-spacing: -0.055em; }
    .hero-copy { font-size: 17px; }
    .signup-card .form-row { grid-template-columns: 1fr; }
    .signup-form-inline { flex-direction: column; padding: 8px; }
    .btn { width: 100%; }
    .mockup-shell { margin-top: 42px; margin-bottom: -96px; padding: 0 14px; }
    .browser { padding: 11px; }
    .url-bar { max-width: none; font-size: 11px; }
    .dashboard { padding: 16px; }
    .dashboard-top { flex-direction: column; }
    .status-pills { justify-content: flex-start; }
    th:nth-child(2), td:nth-child(2),
    th:nth-child(3), td:nth-child(3) { display: none; }
    th, td { padding: 12px 10px; }
    .stats-inner { padding-top: 126px; }
    .stats-grid { grid-template-columns: 1fr; }
    .section { padding: 70px 0; }
    .section-header { margin-bottom: 34px; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 36px 18px; border-radius: 26px; }
    .footer-inner { flex-direction: column; justify-content: center; padding: 24px 0; }
    .vs-header { flex-direction: column; gap: 14px; }
    .faq-question { font-size: 15px; }
    .comparison-table { font-size: 13px; }
}
