:root {
    --bg: #0a0c0f;
    --bg-elevated: #101317;
    --surface: #15181d;
    --surface-hover: #1b1f25;
    --border: #23272e;
    --border-strong: #323841;
    --text: #f2f3f5;
    --text-muted: #9aa1ac;
    --text-faint: #676e79;
    --accent: #4f8dfd;
    --accent-strong: #74a4ff;
    --accent-soft: rgba(79, 141, 253, 0.14);
    --success: #35c48a;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-card: 0 1px 1px rgba(0, 0, 0, 0.3), 0 12px 28px rgba(0, 0, 0, 0.35);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

.shell-narrow {
    max-width: 760px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--accent-strong);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

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

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

.btn-block {
    width: 100%;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 12, 15, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 68px;
}

.brand-logo {
    display: block;
    height: 30px;
    width: auto;
}

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

.main-nav a {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 16px;
    margin: 0 auto;
    background: var(--text);
}

/* Hero */
.hero {
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-strong);
    margin: 0 0 14px;
}

.eyebrow.center {
    text-align: center;
}

.hero-copy h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    margin: 0 0 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hero-lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin: 0 0 28px;
    max-width: 52ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-actions.center {
    justify-content: center;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-points li {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.hero-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

/* Hero card mock */
.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
}

.hero-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 2px;
}

.hero-card-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 20px;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 22px;
    padding: 16px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.hero-card-grid dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-faint);
    margin-bottom: 4px;
}

.hero-card-grid dd {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
}

.hero-card-section-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-faint);
    margin: 0 0 10px;
}

.proposal-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}

.proposal-info {
    flex: 1;
    min-width: 0;
}

.proposal-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.proposal-meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.proposal-rating {
    font-weight: 700;
    color: var(--success);
    font-size: 0.9rem;
}

/* Ticker */
.ticker {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 18px 0;
    background: var(--bg-elevated);
}

.ticker-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll-left 34s linear infinite;
}

.ticker-track span {
    color: var(--text-faint);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
}

/* Sections */
.section {
    padding: 88px 0;
}

.section-alt {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
}

.section-heading.center {
    text-align: center;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 62ch;
    margin: 0 auto 52px;
}

.section-lead.center {
    text-align: center;
}

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

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

.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 800;
    margin-bottom: 18px;
}

.step-card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.step-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* Profile cards */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.profile-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.profile-card h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.profile-sub {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0 0 20px;
}

.checklist {
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist li {
    padding-left: 22px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text);
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.link-arrow {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--accent-strong);
    margin-top: auto;
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

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

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

.price-card-featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-card);
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.price-tag {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
}

.price-amount {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.price-amount span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.price-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 20px;
}

.price-card .checklist {
    flex: 1;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px 20px;
}

.faq-item summary {
    padding: 16px 0;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* CTA final */
.cta-final {
    padding: 96px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
    border-top: 1px solid var(--border);
}

.cta-final h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 14px;
}

.cta-final p {
    color: var(--text-muted);
    max-width: 52ch;
    margin: 0 auto 30px;
}

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

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand p {
    margin: 0;
    color: var(--text-faint);
    font-size: 0.85rem;
    max-width: 40ch;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    width: 100%;
    color: var(--text-faint);
    font-size: 0.8rem;
    text-align: right;
}

/* Legal pages */
.legal-page h1 {
    font-size: 1.8rem;
    margin: 20px 0 6px;
}

.legal-updated {
    color: var(--text-faint);
    font-size: 0.85rem;
    margin: 0 0 24px;
}

.legal-page p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .steps,
    .profile-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .main-nav,
    .header-actions {
        display: none;
    }

    .main-nav.open,
    .header-actions.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 14px 0;
    }

    .main-nav.open {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 14px;
        padding-top: 10px;
    }

    .header-actions.open {
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid var(--border);
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .footer-copy {
        text-align: left;
    }
}
