:root {
    --bg: #0f1115;
    --surface: #181b22;
    --surface-2: #1f232c;
    --text: #f2f0ea;
    --muted: color-mix(in srgb, var(--text) 62%, transparent);
    --accent: #d9a441;
    --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
    --border: color-mix(in srgb, var(--text) 12%, transparent);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nav */

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 17px;
}

.nav-brand span { color: var(--accent); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--accent);
    color: #171308;
}

.btn-primary:hover { opacity: 0.92; }

.btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
    padding: 10px 18px;
    font-size: 14px;
}

.btn-ghost:hover { border-color: var(--accent); }

/* Hero */

.hero {
    position: relative;
    padding: 72px 0 56px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-soft), transparent 70%);
    pointer-events: none;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.15;
    margin: 0 0 18px;
    max-width: 720px;
}

.hero-sub {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 560px;
    margin: 0 0 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    font-size: 13px;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: 999px;
}

/* Sections */

section { padding: 56px 0; }

.section-head {
    max-width: 620px;
    margin: 0 0 36px;
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: clamp(24px, 3.4vw, 32px);
    line-height: 1.25;
    margin: 0 0 10px;
}

.section-head p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* Cards grid */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.card-icon {
    font-size: 26px;
    margin-bottom: 14px;
}

.card h3 {
    font-size: 16px;
    margin: 0 0 8px;
}

.card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
}

.card.card-problem {
    border-color: color-mix(in srgb, #e5484d 25%, var(--border));
}

/* Steps */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 26px 22px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 16px;
    margin: 0 0 8px;
}

.step p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
}

/* Pricing */

.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.price-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(160deg, var(--surface), var(--surface-2));
}

.price-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent);
    color: #171308;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}

.price-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.price-tagline {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 18px;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 22px;
}

.price-value small {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.price-features {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

.price-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    flex: 0 0 auto;
}

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

/* Demo callout */

.demo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.demo-text {
    flex: 1 1 320px;
    max-width: 420px;
}

.demo-text h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.demo-text p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
}

.demo-phone {
    position: relative;
    flex: 0 0 auto;
    width: min(300px, 80vw);
    height: min(620px, 80vh);
    border-radius: 40px;
    border: 10px solid #111318;
    background: #111318;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.demo-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 22px;
    background: #111318;
    border-radius: 0 0 14px 14px;
    z-index: 2;
    pointer-events: none;
}

.demo-phone-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 30px;
    background: var(--bg);
}

/* Lead form */

.form-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    scroll-margin-top: 80px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.form-grid .field-full { grid-column: 1 / -1; }

.field label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.field-errors {
    color: #ff8a8a;
    font-size: 12px;
    margin-top: 6px;
}

.hp-field { position: absolute; left: -9999px; }

.form-submit {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.form-note {
    font-size: 13px;
    color: var(--muted);
}

.success-banner {
    background: color-mix(in srgb, #3fbf6f 18%, var(--surface));
    border: 1px solid color-mix(in srgb, #3fbf6f 45%, var(--border));
    color: #d6f5e0;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
}

/* Footer */

.footer {
    border-top: 1px solid var(--border);
    padding: 28px 0 40px;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 640px) {
    .hero { padding: 48px 0 40px; }
    .form-section { padding: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .demo { flex-direction: column; align-items: center; text-align: center; }
    .demo-text { max-width: none; }
    .demo-text .btn { margin: 0 auto; }
}
