:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-soft: #eff6ff;
    --ink: #0b1220;
    --muted: #64748b;
    --line: #e6eaf2;
    --soft: #f4f7fb;
    --card: #ffffff;
    --green: #059669;
    --gold: #d97706;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    --header: 76px;
    --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Plus Jakarta Sans", "Segoe UI", Inter, system-ui, sans-serif;
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }

.wrap {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--header);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(16px);
}
.site-header .wrap {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #60a5fa, #2563eb 55%, #7c3aed);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}
.logo strong { display: block; color: var(--ink); font-size: 17px; letter-spacing: 0.02em; line-height: 1.1; }
.logo small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }
.nav {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 4px;
    margin-left: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}
.nav a { padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a.active { background: var(--blue-soft); color: var(--blue-dark); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #3b82f6, #1d4ed8); color: white; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28); }
.btn-primary:hover { background: linear-gradient(180deg, #2563eb, #1e40af); }
.btn-ghost { background: white; color: var(--ink); border-color: #d7dee8; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-gold { background: linear-gradient(180deg, #fbbf24, #d97706); color: #1c1403; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: wait; }

.hero {
    position: relative;
    padding: 72px 0 36px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(124, 58, 237, 0.16), transparent 28%),
        radial-gradient(circle at 88% 10%, rgba(37, 99, 235, 0.2), transparent 32%),
        linear-gradient(180deg, #f7f9ff 0%, #ffffff 78%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000, transparent 80%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}
.pill, .kicker {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--blue-dark);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
h1 {
    margin: 16px 0 12px;
    font-size: 64px;
    line-height: 0.98;
    letter-spacing: -2.2px;
}
h1 span {
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lede { margin: 0; max-width: 520px; color: #475569; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.fine { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.trust-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.trust-pills span {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.stage { position: relative; min-height: 420px; }
.dash {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.dash-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 800;
    color: #1e3a8a;
    border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; display: block; background: #cbd5e1; }
.dots i:first-child { background: #fb7185; }
.dots i:nth-child(2) { background: #fbbf24; }
.dots i:nth-child(3) { background: #34d399; }
.dash-body { display: grid; grid-template-columns: 72px 1fr; min-height: 280px; }
.dash-nav { padding: 16px 14px; border-right: 1px solid var(--line); background: #f8fafc; }
.dash-nav b {
    display: block;
    height: 10px;
    border-radius: 99px;
    background: #e2e8f0;
    margin-bottom: 12px;
}
.dash-nav b.on { background: linear-gradient(90deg, #60a5fa, #7c3aed); }
.dash-main { padding: 16px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
}
.stat b { display: block; font-size: 15px; }
.stat span { color: var(--muted); font-size: 11px; font-weight: 700; }
.bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 120px;
    margin-top: 14px;
    padding: 12px;
    background: linear-gradient(180deg, #f8fafc, #fff);
    border-radius: 16px;
    border: 1px solid var(--line);
}
.bars span {
    flex: 1;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, #93c5fd, #2563eb);
}
.bars span:nth-child(3), .bars span:nth-child(5) { background: linear-gradient(180deg, #c4b5fd, #7c3aed); }
.float-card, .float-card.alt {
    position: absolute;
    left: -18px;
    bottom: 28px;
    background: white;
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: var(--shadow);
    font-weight: 800;
    font-size: 14px;
}
.float-card small, .float-card.alt small { display: block; color: var(--muted); font-weight: 650; font-size: 12px; margin-top: 2px; }
.float-card.alt { left: auto; right: -8px; bottom: auto; top: 18px; }

.industries { padding: 28px 0 8px; text-align: center; }
.industries p {
    margin: 0 0 16px;
    color: var(--muted);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.industry-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.industry-row span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}
.industry-row svg { color: var(--blue); width: 18px; height: 18px; }

.section { padding: 84px 0; }
.section.soft { background: linear-gradient(180deg, #f7f9fc, #fff); }
.center { text-align: center; }
.section h2 { margin: 14px 0 8px; font-size: 42px; letter-spacing: -1.2px; line-height: 1.1; }
.section .sub { margin: 0 auto 32px; max-width: 640px; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08); }
.feature h3 { margin: 14px 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: white; }
.icon.blue { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.icon.green { background: linear-gradient(135deg, #6ee7b7, #059669); }
.icon.purple { background: linear-gradient(135deg, #c4b5fd, #7c3aed); }
.icon.orange { background: linear-gradient(135deg, #fdba74, #ea580c); }
.icon.teal { background: linear-gradient(135deg, #5eead4, #0f766e); }
.icon.pink { background: linear-gradient(135deg, #f9a8d4, #db2777); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; text-align: left; }
.checks { list-style: none; padding: 0; margin: 18px 0 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-weight: 700; }
.checks svg { flex: none; margin-top: 2px; color: var(--green); }
.portrait {
    position: relative;
    min-height: 380px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.7), transparent 28%),
        linear-gradient(160deg, #1e1b4b, #1d4ed8 55%, #7c3aed);
    overflow: hidden;
}
.desk {
    position: absolute;
    left: 10%;
    right: 16%;
    bottom: 32px;
    height: 190px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 16px;
}
.desk-top { height: 12px; display: flex; gap: 6px; }
.desk-top i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; display: block; }
.desk-chart { margin-top: 22px; display: flex; align-items: end; gap: 8px; height: 100px; }
.desk-chart span { flex: 1; background: #93c5fd; border-radius: 8px; }
.desk-chart span:nth-child(odd) { background: #2563eb; }
.quote {
    position: absolute;
    right: 18px;
    top: 24px;
    width: 240px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow);
    font-size: 14px;
}
.quote p { margin: 0 0 8px; font-weight: 800; }
.quote small { color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.plan.silver { border-color: #bfdbfe; }
.plan.gold {
    border: 0;
    background: linear-gradient(180deg, #111827, #1e1b4b);
    color: white;
    transform: translateY(-12px);
    box-shadow: 0 24px 50px rgba(30, 27, 75, 0.28);
}
.plan.gold .who, .plan.gold .amount small { color: #c7d2fe; }
.plan.gold li svg { color: #fbbf24; }
.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fbbf24;
    color: #1c1403;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
}
.plan h3 { margin: 0; font-size: 13px; letter-spacing: 0.12em; }
.plan .amount { margin: 12px 0 4px; font-size: 40px; letter-spacing: -1.4px; font-weight: 800; }
.plan .amount small { font-size: 14px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.plan .who { color: var(--muted); font-size: 14px; min-height: 42px; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 18px; }
.plan li { display: flex; gap: 8px; margin: 10px 0; font-size: 14px; }
.plan li svg { color: var(--green); flex: none; margin-top: 3px; }
.note {
    margin-top: 24px;
    background: #eef4ff;
    color: #1e3a8a;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 650;
}

.integrations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.integration {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    min-height: 128px;
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.tally { color: #b91c1c; font-family: Georgia, serif; font-size: 28px; font-style: italic; }
.excel { color: #15803d; font-size: 22px; }
.csv { color: var(--blue); font-size: 22px; }
.future { color: #64748b; font-size: 16px; }
.caption { margin: 22px 0 0; color: var(--muted); font-weight: 700; }

.cta {
    background:
        radial-gradient(circle at 90% 20%, rgba(251, 191, 36, 0.35), transparent 28%),
        linear-gradient(120deg, #1e1b4b, #1d4ed8 60%, #7c3aed);
    color: white;
    border-radius: 28px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 24px 50px rgba(29, 78, 216, 0.25);
}
.cta h2 { margin: 0 0 6px; font-size: 32px; letter-spacing: -0.8px; }
.cta p { margin: 0; color: #dbeafe; }
.cta .btn { background: white; color: #1e1b4b; }

.site-footer { background: #070b16; color: #cbd5e1; padding: 56px 0 18px; margin-top: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h3 { margin: 0 0 12px; color: white; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a, .site-footer p { color: #cbd5e1; font-size: 14px; }
.site-footer a:hover { color: white; }
.site-footer li { list-style: none; margin: 8px 0; }
.site-footer ul { margin: 0; padding: 0; }
.legal {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 32px;
    padding-top: 16px;
    font-size: 12px;
    color: #94a3b8;
}

.auth-main { background: linear-gradient(180deg, #f7f9ff, #fff 40%); min-height: calc(100vh - 220px); padding: 48px 0 72px; }
.auth-card {
    width: min(460px, calc(100% - 32px));
    margin: 0 auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 28px;
}
.auth-card h1 { font-size: 32px; letter-spacing: -0.8px; margin: 10px 0; background: none; color: var(--ink); -webkit-text-fill-color: var(--ink); }
.auth-card .lede { font-size: 15px; }
.field { display: block; margin-top: 14px; text-align: left; }
.field span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 12px;
    outline: none;
    background: white;
}
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.hint { color: var(--muted); font-size: 12px; margin-top: 6px; }
.form-banner { border-radius: 12px; padding: 10px 12px; font-size: 14px; margin-top: 14px; }
.form-banner.error { background: #fef2f2; color: #b91c1c; }
.form-banner.ok { background: #f0fdf4; color: #166534; }
.field-error { color: #b91c1c; font-size: 12px; margin: 6px 0 0; }
.auth-card .btn { margin-top: 18px; }
.switch { text-align: center; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.switch a { color: var(--blue); font-weight: 800; }
.otp { display: flex; gap: 8px; margin-top: 18px; }
.otp input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
}
.otp input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.linkish { background: none; border: 0; color: var(--blue); font-weight: 800; cursor: pointer; padding: 0; }

@media (max-width: 980px) {
    h1 { font-size: 46px; }
    .hero-grid, .why-grid, .plans, .integrations, .footer-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .plan.gold { transform: none; }
    .nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .site-header.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.open .menu-toggle span:nth-child(2) { opacity: 0; }
    .site-header.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .menu-toggle span { transition: transform 0.15s ease, opacity 0.15s ease; }
    .site-header.open .nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--line);
        padding: 12px 20px 16px;
        gap: 6px;
        margin-left: 0;
    }
    .site-header.open .header-actions {
        margin: 8px 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--line);
    }
    .site-header.open .header-actions .btn { width: 100%; }
    .stage { min-height: 0; }
    .float-card { left: 12px; bottom: 12px; }
    .float-card.alt { right: 12px; top: 12px; }
    .quote { position: static; width: auto; margin: 16px; }
    .portrait { min-height: 320px; }
}

@media (max-width: 700px) {
    .hero-grid, .why-grid, .feature-grid, .plans, .integrations, .footer-grid, .cta { grid-template-columns: 1fr; display: grid; }
    .cta { text-align: left; padding: 24px; }
    .wrap { width: min(var(--max), calc(100% - 28px)); }
    .logo small { display: none; }
    .logo-mark { width: 36px; height: 36px; }
    .header-actions { gap: 8px; }
    .legal { flex-direction: column; }
    h1 { font-size: 38px; letter-spacing: -1.2px; }
    .section h2 { font-size: 32px; }
    .float-card.alt { display: none; }
    .dash-body { grid-template-columns: 1fr; }
    .dash-nav { display: none; }
}
