:root {
    --bg: #f6f8fb;
    --text: #111827;
    --card: #ffffff;
    --primary: #1d4ed8;
    --dark: #0f172a;
    --muted: #64748b;
    --border: #e5e7eb;
    --danger: #dc2626;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: auto;
}

.topbar {
    background: var(--dark);
    padding: 16px 0;
}

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

.brand {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
}

nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

nav a,
.link-button {
    color: #dbeafe;
    text-decoration: none;
    font-weight: 700;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 15px;
}

.inline-form { display: inline; }
.main { padding: 34px 0; }

.hero {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    border-radius: 26px;
    padding: 36px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.small-hero { display: block; }

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    margin: 0 0 18px;
}

.hero p {
    font-size: 18px;
    color: #e0ecff;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
    opacity: .85;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 13px 18px;
    border-radius: 14px;
    border: 0;
    text-decoration: none;
    font-weight: 900;
    margin: 8px 8px 8px 0;
    cursor: pointer;
}

.btn.secondary { background: #111827; }
.btn.demo { background: #16a34a; }

.card,
.result {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    margin-bottom: 24px;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

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

label {
    font-weight: 800;
    display: block;
    margin: 14px 0 6px;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 16px;
}

textarea { resize: vertical; }

.validation {
    color: var(--danger);
    font-weight: 800;
}

.promo-video {
    background: rgba(255, 255, 255, .12);
    padding: 18px;
    border-radius: 18px;
}

.promo-video video { display: none; }

.video-label {
    font-weight: 900;
    margin-bottom: 8px;
}

.demo-screen {
    background: #0f172a;
    border-radius: 16px;
    padding: 18px;
}

.email-demo {
    background: #1e293b;
    border-radius: 12px;
    padding: 14px;
    color: #e2e8f0;
}

.scan-bar {
    height: 16px;
    background: #334155;
    border-radius: 99px;
    margin: 18px 0;
    overflow: hidden;
}

.scan-bar span {
    display: block;
    height: 100%;
    width: 80%;
    background: #f97316;
    animation: scan 2s infinite;
}

.result-demo {
    font-size: 28px;
    font-weight: 900;
    color: #fecaca;
}

.small {
    font-size: 13px;
    color: #dbeafe;
}

.small.dark { color: var(--muted); }

.result {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.score {
    font-size: 54px;
    font-weight: 900;
    background: #dc2626;
    color: white;
    border-radius: 999px;
    width: 170px;
    height: 170px;
    display: grid;
    place-items: center;
}

.code {
    background: #0f172a;
    color: #e0f2fe;
    padding: 14px;
    border-radius: 12px;
}

.price {
    font-size: 34px !important;
    color: #111827 !important;
    font-weight: 900;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    color: var(--muted);
}

@keyframes scan {
    0% { width: 5%; }
    50% { width: 95%; }
    100% { width: 70%; }
}

@media (max-width: 850px) {
    .hero,
    .grid2,
    .grid3 {
        grid-template-columns: 1fr;
    }

    .result {
        flex-direction: column;
        align-items: flex-start;
    }
}
