/* BuilderForge — marketing site styles. No framework, no build step. */

:root {
    --bg: #0b0d12;
    --bg-raised: #12151c;
    --bg-card: #161a23;
    --border: #262b38;
    --text: #eef0f4;
    --text-dim: #9aa2b1;
    --text-faint: #666f82;
    --accent: #ff7a30;
    --accent-hot: #ffb066;
    --accent-dim: #c85a1c;
    --success: #34d399;
    --radius: 14px;
    --max-width: 1120px;
    --shadow-glow: 0 0 0 1px rgba(255, 122, 48, 0.15), 0 20px 60px -20px rgba(255, 122, 48, 0.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container.narrow {
    max-width: 720px;
}

.center {
    text-align: center;
}

.section {
    padding: 5.5rem 0;
}

.section-header {
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin: 0 0 1.2rem;
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    margin: 0 0 0.75rem;
}

h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

p {
    color: var(--text-dim);
    margin: 0 0 1rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-dim);
}

strong {
    color: var(--text);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    color: #17110b;
    box-shadow: 0 8px 24px -8px rgba(255, 122, 48, 0.6);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -8px rgba(255, 122, 48, 0.75);
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
}

.logo-mark {
    color: var(--accent);
    font-size: 1.3rem;
}

.accent {
    color: var(--accent);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dim);
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--text);
}

.nav-cta {
    margin-left: 0.25rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    display: block;
    border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 6rem 0 5rem;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 600px;
    background: radial-gradient(60% 60% at 50% 0%, rgba(255, 122, 48, 0.22), transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-fineprint {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-faint);
}

/* ---------- How it works ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 122, 48, 0.12);
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

/* ---------- Pricing ---------- */

.pricing-wrap {
    display: flex;
    justify-content: center;
}

.price-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, var(--bg-card), var(--bg-raised));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-glow);
    text-align: center;
}

.price-plan-name {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.price-amount {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.price-amount sup {
    font-size: 1.4rem;
    top: -1.6rem;
    margin-right: 0.15rem;
}

.price-period {
    color: var(--text-dim);
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.price-features {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

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

/* ---------- FAQ ---------- */

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.25rem 1.5rem;
}

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

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

.faq-item summary::after {
    content: "+";
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding-bottom: 1.25rem;
    margin: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
    background: linear-gradient(135deg, rgba(255, 122, 48, 0.14), rgba(255, 122, 48, 0.02));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 4.5rem 0;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 4rem 0 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    padding-bottom: 3rem;
}

.footer-brand p {
    max-width: 260px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
}

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

.legal-block {
    font-size: 0.92rem;
    color: var(--text-dim);
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--text-faint);
}

/* ---------- Success page ---------- */

.success-hero {
    padding-top: 7rem;
    padding-bottom: 6rem;
}

.success-badge {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.12);
    color: var(--success);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.fine-print {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-faint);
}

.fine-print a {
    color: var(--accent-hot);
}

/* ---------- Legal pages ---------- */

.legal-page {
    padding: 4rem 0 6rem;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.legal-updated {
    color: var(--text-faint);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 2.5rem;
}

.legal-content h3 {
    font-size: 1.05rem;
    margin-top: 1.75rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-dim);
    font-size: 0.98rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.25rem;
}

.legal-content a {
    color: var(--accent-hot);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--text);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-raised);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.5rem 1.25rem;
        display: none;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--border);
    }

    .site-nav a:last-of-type {
        border-bottom: none;
    }

    .nav-cta {
        margin: 1rem 0 0;
        text-align: center;
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero {
        padding: 3.5rem 0 3rem;
    }
}
