/* ============================================================================
   FastWrite — fastwrite.net
   Gain Publications design system — dark with orange accent.
   ============================================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --accent: #FE992D;
    --accent-hover: #FFAB52;
    --accent-dim: rgba(254, 153, 45, 0.15);
    --accent-glow: rgba(254, 153, 45, 0.35);

    --bg: #0a0a0f;
    --bg-elev-1: #11111a;
    --bg-elev-2: #181822;
    --bg-elev-3: #20202c;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text: #e8e8ee;
    --text-muted: #9da0aa;
    --text-dim: #6b6e78;

    --success: #10b981;
    --container: 1100px;
    --radius: 10px;
    --radius-sm: 6px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.3rem; }
p  { color: var(--text-muted); }
a  { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hover); }

.section-title    { text-align: center; margin-bottom: 1rem; }
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 4rem;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}
.btn-primary  { background: var(--accent); color: #0a0a0f; }
.btn-primary:hover {
    background: var(--accent-hover);
    color: #0a0a0f;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-elev-2); border-color: var(--accent); color: var(--accent); }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }

/* ----- Nav ----- */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 16px; padding-bottom: 16px;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.2rem; color: var(--text);
}
.brand-icon { font-size: 1.4rem; }
.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-menu a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s ease; }
.nav-menu a:hover { color: var(--text); }
.nav-menu .btn { padding: 8px 18px; font-size: 0.9rem; }
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 8px; }
.mobile-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; }

/* ----- Hero ----- */
.hero {
    padding: 100px 0 80px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.hero-content {
    position: relative; z-index: 1;
    text-align: center; max-width: 800px; margin: 0 auto;
}
.hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 100px;
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 24px; letter-spacing: 0.02em;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent-line { display: block; color: var(--accent); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.5; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin: 40px 0; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 2.25rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ----- Pillars ----- */
.pillars { background: var(--bg-elev-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin-top: 48px; }
.pillar { text-align: center; }
.pillar-num {
    display: inline-block; width: 56px; height: 56px;
    background: var(--accent); color: var(--bg);
    border-radius: 50%; line-height: 56px;
    font-weight: 800; font-size: 1.5rem; margin-bottom: 20px;
}
.pillar h3 { margin-bottom: 12px; }

/* ----- Features ----- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.feature-card {
    background: var(--bg-elev-1); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    transition: all 0.2s ease;
}
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-icon {
    width: 48px; height: 48px;
    background: var(--accent-dim); color: var(--accent);
    border-radius: var(--radius-sm); display: flex; align-items: center;
    justify-content: center; font-size: 1.4rem; margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; line-height: 1.6; }
.feature-detail { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-dim); }

/* ----- Pricing ----- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 48px; max-width: 520px; margin-left: auto; margin-right: auto; }
.price-card {
    background: var(--bg-elev-1); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px; text-align: center;
}
.price-card.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(254,153,45,0.04) 0%, var(--bg-elev-1) 60%); }
.price-tier { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.price-amount { font-size: 3.5rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 4px; }
.price-amount .currency { font-size: 1.25rem; vertical-align: top; margin-right: 2px; color: var(--text-muted); font-weight: 600; }
.price-period { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.price-features { list-style: none; text-align: left; margin: 24px 0; }
.price-features li { padding: 8px 0; color: var(--text-muted); font-size: 0.92rem; display: flex; gap: 10px; }
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.price-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.price-note { text-align: center; color: var(--text-dim); font-size: 0.85rem; margin-top: 24px; }

/* ----- Requirements ----- */
.specs { max-width: 780px; margin: 48px auto 0; }
.spec-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: none; }
.spec-label { font-weight: 600; color: var(--text); }
.spec-value { color: var(--text-muted); }

/* ----- Counter ----- */
.counter { background: var(--bg-elev-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.counter-list {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px; max-width: 880px; margin: 36px auto 0; list-style: none;
}
.counter-list li {
    padding: 18px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-weight: 600; color: var(--text);
    text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px;
}

/* ----- Final CTA ----- */
.final-cta {
    text-align: center; padding: 110px 0;
    position: relative; overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
}
.final-cta-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.final-cta h2 { margin-bottom: 16px; }
.final-cta p { font-size: 1.1rem; margin-bottom: 32px; }

/* ----- Footer ----- */
.footer { background: var(--bg-elev-1); border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-icon-lg { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.footer-brand h4 { font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
.footer-col h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 28px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px; color: var(--text-dim); font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ----- Mobile ----- */
@media (max-width: 860px) {
    section { padding: 64px 0; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-elev-1); border-bottom: 1px solid var(--border); flex-direction: column; gap: 0; padding: 16px 0; }
    .nav-menu.open { display: flex; }
    .nav-menu li { width: 100%; text-align: center; padding: 12px 24px; }
    .mobile-menu-toggle { display: block; }
    .hero { padding: 60px 0 50px; }
    .hero-stats { gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .spec-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .counter-list { grid-template-columns: 1fr; }
}
