:root {
    --primary: #1e88e5;
    --primary-dark: #1976d2;
    --primary-soft: #e3f2fd;
    --text: #1a1f2e;
    --text-muted: #55607a;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --border: #e4e8ef;
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-lg { padding: 14px 26px; font-size: 1rem; }

/* ============ Hero ============ */
.hero {
    padding: 72px 0 96px;
    background:
        radial-gradient(900px 500px at 90% -10%, rgba(30, 136, 229, 0.12), transparent 60%),
        radial-gradient(700px 400px at -10% 20%, rgba(30, 136, 229, 0.08), transparent 60%),
        var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 12px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin: 0 0 24px;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.changing-word {
    display: inline-block;
    color: var(--primary);
    transition: opacity 0.4s ease, transform 0.4s ease;
    min-width: 8ch;
}

.changing-word.fade-in { opacity: 1; transform: translateY(0); }
.changing-word.fade-out { opacity: 0; transform: translateY(-6px); }

.hero-sub {
    display: block;
    margin-top: 12px;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 520px;
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 8px;
}

.benefits li {
    position: relative;
    padding-left: 28px;
    font-weight: 500;
    color: var(--text);
}

.benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 3px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-meta { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* Hero visual mock */
.hero-visual { display: flex; justify-content: center; }

.mock-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mock-logo { display: block; }
.mock-title { margin-left: 4px; font-weight: 500; color: var(--text); }

.mock-body { padding: 16px; }

.mock-search {
    padding: 10px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.mock-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.mock-items li {
    padding: 10px 12px;
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: 0.95rem;
}

/* ============ Sections ============ */
section { scroll-margin-top: 90px; }

.features, .contact { padding: 96px 0; }
.how, .pain { padding: 96px 0; background: var(--bg-alt); }
.features { background: var(--bg); }
.contact { background: var(--bg); }

/* ============ Pain points ============ */
.pain-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 820px;
    display: grid;
    gap: 16px;
}

.pain-list li {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 20px 24px;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.55;
    box-shadow: var(--shadow-sm);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
}

/* ============ Features ============ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.feature-icon {
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    background: var(--primary-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.feature h3 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.feature p { margin: 0; color: var(--text-muted); }

/* ============ How it works ============ */
.how-title { color: var(--primary); }

.steps {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 820px;
    display: grid;
    gap: 18px;
}

.steps li {
    background: #fff;
    padding: 22px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: var(--shadow-sm);
}

.step-num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
}

.steps p { margin: 0; color: var(--text); font-size: 1.05rem; }

/* ============ Pricing ============ */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.plan {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan h3 { margin: 0; font-size: 1.1rem; color: var(--text-muted); font-weight: 600; }
.plan .price { margin: 6px 0 4px; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.plan-sub { margin: 0 0 16px; color: var(--text-muted); }

.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; color: var(--text); }
.plan ul li::before { content: "✓ "; color: var(--primary); font-weight: 700; }
.plan .btn { margin-top: auto; align-self: flex-start; }

.plan-highlight {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
    transform: translateY(-4px);
}

/* ============ Contact ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.contact-grid .section-title, .contact-grid .section-sub { text-align: left; margin-left: 0; }
.contact-meta { color: var(--text-muted); font-size: 0.95rem; }

.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: grid;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: 0.9rem; color: var(--text); }

.contact-form input,
.contact-form textarea {
    font: inherit;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.honeypot { position: absolute; left: -9999px; opacity: 0; }

.form-status { margin: 0; font-size: 0.95rem; }
.form-status.success { color: #2b8a3e; }
.form-status.error { color: #c92a2a; }

/* ============ Footer ============ */
.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.footer-tagline { color: var(--text-muted); margin: 6px 0 0; font-size: 0.95rem; }
.site-footer nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.site-footer nav a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; }
.site-footer nav a:hover { color: var(--primary); }
.footer-copy { margin: 0; color: var(--text-muted); font-size: 0.9rem; text-align: right; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero { padding: 56px 0 72px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .mock-card { transform: none; max-width: 340px; }
    .feature-grid { grid-template-columns: 1fr; }
    .steps li { padding: 18px 20px; gap: 16px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .site-footer nav { justify-content: center; }
    .footer-copy { text-align: center; }
    .features, .contact, .how, .pain { padding: 64px 0; }
    .pain-list li { padding: 16px 18px; }
}

@media (max-width: 520px) {
    .nav-cta .btn-ghost { display: none; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
}
