/* =============================================================================
   Striking Site — dark SaaS landing page
   Design tokens: --ink, --accent (green), --accent-2 (sky), Inter + Instrument Serif
   ========================================================================== */

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

:root {
    /* --- Brand tokens --- */
    --ink:     #05070d;
    --ink-2:   #0b1120;
    --text:    #e8ecf5;
    --muted:   #93a0b8;
    --accent:  #4ade80;
    --accent-2: #38bdf8;
    --violet:  #a78bfa;

    /* --- Structural --- */
    --radius:    18px;
    --radius-sm: 10px;
    --maxw: 1120px;

    /* --- Glass card --- */
    --glass-bg:     rgba(255,255,255,.04);
    --glass-border: rgba(255,255,255,.08);
    --glass-blur:   blur(16px);

    /* --- Shadows --- */
    --shadow:    0 1px 3px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.2);
    --shadow-lg: 0 20px 48px rgba(0,0,0,.45);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Scroll-reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .45s ease, transform .45s ease;
}
.revealed {
    opacity: 1;
    transform: none;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .5rem; font-weight: 600; font-size: 1rem;
    padding: .9rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
    line-height: 1; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--accent); color: #030a05;
    box-shadow: 0 0 0 0 rgba(74,222,128,.0);
}
.btn-primary:hover { background: #22c55e; color: #030a05; box-shadow: 0 0 24px rgba(74,222,128,.35); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.07); color: var(--text); border-color: rgba(255,255,255,.4); }
.btn-outline {
    background: transparent; color: var(--accent-2);
    border-color: rgba(56,189,248,.35); padding: .6rem 1.25rem; font-size: .95rem;
}
.btn-outline:hover { background: rgba(56,189,248,.1); color: var(--accent-2); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(5,7,13,.88); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--text); font-weight: 700; }
.brand:hover { color: var(--text); }
.brand-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), #16a34a);
    color: #030a05; font-weight: 800; font-size: .95rem;
}
.brand-text { font-size: 1.1rem; letter-spacing: -.01em; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .93rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--accent); color: #030a05 !important;
    padding: .55rem 1.15rem; border-radius: 999px; font-weight: 700; font-size: .88rem !important;
}
.nav-cta:hover { background: #22c55e; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(ellipse 900px 500px at 70% -5%, rgba(74,222,128,.12), transparent 60%),
        radial-gradient(ellipse 700px 400px at 10% 20%, rgba(56,189,248,.10), transparent 55%),
        radial-gradient(ellipse 500px 300px at 90% 80%, rgba(167,139,250,.08), transparent 60%),
        var(--ink);
    padding: 100px 0 112px;
}
.hero-inner { max-width: 860px; }
.hero-eyebrow {
    text-transform: uppercase; letter-spacing: .14em; font-size: .75rem;
    font-weight: 700; color: var(--accent); margin-bottom: 1.2rem;
}
.hero-title {
    font-size: clamp(2.1rem, 5.2vw, 3.6rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
    color: var(--text);
}
.hero-gradient {
    background: linear-gradient(90deg, var(--accent), var(--accent-2) 55%, var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-anchor {
    margin-top: 1.3rem;
    font-size: 1.15rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
}
.hero-anchor s { color: #5a6785; }
.anchor-free { color: var(--accent); font-size: 1.5rem; font-weight: 800; -webkit-text-fill-color: var(--accent); }
.price-chip {
    display: inline-block;
    background: rgba(74,222,128,.12);
    border: 1px solid rgba(74,222,128,.3);
    color: var(--accent);
    font-size: .78rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 999px;
    letter-spacing: .02em;
}
.hero-lead { margin-top: 1.4rem; font-size: 1.1rem; color: var(--muted); max-width: 620px; line-height: 1.7; }
.hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-badges {
    list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem;
    margin-top: 2.2rem; font-size: .92rem; font-weight: 500;
}
.hero-badges li { color: var(--muted); }
.hero-badges li::before { content: ""; }

/* ---------- Proof strip ---------- */
.proof-strip {
    background: var(--ink-2);
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding: 48px 0;
}
.proof-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.proof-stat { padding: .5rem 1rem; }
.proof-num {
    font-size: 2.4rem; font-weight: 800;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    letter-spacing: -.03em; line-height: 1;
}
.proof-label { color: var(--muted); font-size: .9rem; margin-top: .45rem; }

/* ---------- Shared section tokens ---------- */
.section { padding: 96px 0; }
.sec-eyebrow {
    text-transform: uppercase; letter-spacing: .14em; font-size: .73rem;
    font-weight: 700; color: var(--accent); margin-bottom: .7rem;
}
.sec-title {
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
    font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
}
.sec-sub { margin-top: .75rem; color: var(--muted); font-size: 1.05rem; max-width: 560px; }

/* ---------- Manifesto / Why us ---------- */
.section-why { background: var(--ink); }
.manifesto-quote {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    color: var(--text);
    text-align: center;
    max-width: 820px;
    margin: 2.5rem auto 1.5rem;
    line-height: 1.5;
    quotes: none;
}
.manifesto-body {
    text-align: center;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 3rem;
}

/* Comparison table */
.compare-table-wrap { overflow-x: auto; }
.compare-title {
    font-size: 1.15rem; font-weight: 700; color: var(--text);
    margin-bottom: 1.2rem; text-align: center;
}
.compare-table table {
    width: 100%; border-collapse: collapse;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: .95rem;
}
.compare-table th, .compare-table td {
    padding: 1rem 1.3rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.compare-table thead th {
    background: rgba(255,255,255,.03);
    font-weight: 700; color: var(--text);
    font-size: .88rem; text-transform: uppercase; letter-spacing: .07em;
}
.compare-table tbody td { color: var(--muted); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .row-label { color: var(--text); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.compare-sub { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; margin-top: .2rem; }
.col-us { color: var(--accent) !important; font-weight: 600; }
.compare-table thead th.col-us { background: rgba(74,222,128,.08); border-left: 2px solid rgba(74,222,128,.4); }
.compare-table td.col-us { border-left: 2px solid rgba(74,222,128,.2); }
.col-highlight { font-weight: 800 !important; font-size: 1.05rem; }

/* ---------- How it works ---------- */
.section-how { background: var(--ink-2); }
.section-how .sec-title { color: var(--text); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.8rem; }
.step-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.2rem 1.9rem;
    box-shadow: var(--shadow);
    transition: border-color .2s, transform .2s;
}
.step-card:hover { border-color: rgba(74,222,128,.3); transform: translateY(-3px); }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #16a34a);
    color: #030a05; font-weight: 800; font-size: 1.3rem; margin-bottom: 1.2rem;
}
.step-title { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: .55rem; }
.step-text { color: var(--muted); line-height: 1.65; }

/* ---------- Showcase ---------- */
.section-showcase { background: var(--ink); }
.section-showcase .sec-title { color: var(--text); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.8rem; }
.show-card {
    display: flex; flex-direction: column;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s; color: inherit;
}
.show-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(74,222,128,.25); color: inherit; }
.show-thumb { aspect-ratio: 800 / 562; background: var(--ink-2); overflow: hidden; }
.show-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.show-meta { padding: 1.1rem 1.4rem 1.5rem; }
.show-name { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.show-niche { color: var(--muted); font-size: .88rem; margin-top: .15rem; }
.show-link { display: inline-block; margin-top: .7rem; color: var(--accent); font-weight: 600; font-size: .88rem; }

/* ---------- Pricing ---------- */
.section-pricing { background: var(--ink-2); }
.section-pricing .sec-title { color: var(--text); }
.price-card {
    position: relative; max-width: 480px; margin: 3rem auto 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 2.8rem 2.4rem 2.6rem;
    box-shadow: var(--shadow-lg);
}
.price-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent), #16a34a);
    color: #030a05; font-weight: 700; font-size: .8rem;
    padding: .45rem 1.2rem; border-radius: 999px; letter-spacing: .03em; white-space: nowrap;
}
.price-anchor-row {
    display: flex; align-items: center; justify-content: center; gap: .75rem;
    margin-bottom: .8rem;
}
.price-anchor-label { color: var(--muted); font-size: .88rem; font-weight: 500; }
.price-anchor-old { color: #5a6785; font-size: .95rem; }
.price-anchor-new { color: var(--accent); font-size: 1.4rem; font-weight: 800; }
.price-head { display: flex; align-items: baseline; justify-content: center; gap: .4rem; margin-top: .4rem; }
.price-amount { font-size: 4rem; font-weight: 800; color: var(--text); letter-spacing: -.04em; line-height: 1; }
.price-per { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.price-sub { text-align: center; color: var(--muted); margin-top: .5rem; font-size: .95rem; }
.price-features { list-style: none; margin: 2rem 0 1.8rem; display: grid; gap: .8rem; }
.price-features li { position: relative; padding-left: 2rem; color: var(--text); font-size: .97rem; }
.price-features li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    color: var(--accent); font-weight: 800;
    background: rgba(74,222,128,.12); width: 22px; height: 22px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: .78rem;
}

/* ---------- Developer ---------- */
.section-developer { background: var(--ink); }
.section-developer .sec-title { color: var(--text); }
.dev-grid { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; margin-top: 2.8rem; }
.dev-photo img {
    width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    display: block; border: 1px solid var(--glass-border);
}
.dev-name { font-size: 1.7rem; font-weight: 800; color: var(--text); }
.dev-role { color: var(--accent); font-weight: 600; margin-bottom: 1.1rem; font-size: .95rem; }
.dev-text p { color: var(--muted); margin-bottom: 1rem; line-height: 1.7; }
.dev-text strong { color: var(--text); font-weight: 700; }
.dev-pullquote {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--accent-2);
    border-left: 3px solid var(--accent);
    padding: .75rem 1.2rem;
    margin: 1.2rem 0;
    background: rgba(74,222,128,.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.dev-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3.2rem; }
.stat-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm); padding: 1.6rem 1.2rem; text-align: center;
    box-shadow: var(--shadow);
}
.stat-num {
    font-size: 2rem; font-weight: 800;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    letter-spacing: -.02em;
}
.stat-label { color: var(--muted); font-size: .88rem; margin-top: .3rem; }

/* ---------- FAQ ---------- */
.section-faq { background: var(--ink-2); }
.section-faq .sec-title { color: var(--text); }
.faq-list {
    margin-top: 2.8rem;
    display: grid;
    gap: 1rem;
    max-width: 780px;
}
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.6rem 1.8rem;
    transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(74,222,128,.25); }
.faq-q { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.faq-a { color: var(--muted); line-height: 1.7; font-size: .97rem; }

/* ---------- Contact ---------- */
.section-contact { background: var(--ink); }
.section-contact .sec-title { color: var(--text); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-lead { color: var(--muted); font-size: 1.05rem; margin-top: 1rem; max-width: 420px; line-height: 1.7; }
.contact-copy .btn-primary { margin-top: 1.6rem; max-width: 420px; }
.contact-points { list-style: none; margin-top: 1.6rem; display: grid; gap: .7rem; color: var(--text); font-weight: 500; font-size: .95rem; }
.contact-form-wrap {
    background: #0e1628;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 2.2rem 2rem; box-shadow: var(--shadow-lg);
}
.contact-form-lead { color: var(--muted); font-size: .95rem; margin: 0 0 1.4rem; font-weight: 500; }
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label { display: block; font-weight: 600; color: var(--text); font-size: .88rem; margin-bottom: .35rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: .82rem 1rem;
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: var(--radius-sm); font: inherit; color: var(--text);
    background: rgba(255,255,255,.05);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--accent); background: rgba(74,222,128,.04);
    box-shadow: 0 0 0 3px rgba(74,222,128,.12);
}
.contact-form textarea { resize: vertical; }
.field-error { color: #f87171; font-size: .82rem; margin-top: .3rem; }
.form-errors {
    background: rgba(239,68,68,.1); color: #f87171;
    padding: .7rem .9rem; border-radius: var(--radius-sm); margin-bottom: 1rem;
    font-size: .9rem; border: 1px solid rgba(239,68,68,.2);
}
.form-fineprint { color: var(--muted); font-size: .82rem; text-align: center; margin-top: .9rem; }

/* ---------- Alerts ---------- */
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin: 1.4rem 0 0; font-weight: 500; }
.alert-success {
    background: rgba(74,222,128,.1); color: var(--accent);
    border: 1px solid rgba(74,222,128,.3);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--muted); padding: 52px 0; text-align: center; border-top: 1px solid rgba(255,255,255,.05); }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 700; font-size: 1.15rem; margin-bottom: .6rem; }
.footer-tagline { color: var(--accent); font-size: .85rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .5rem; }
.footer-line { margin: .3rem 0; font-size: .92rem; }
.footer-line a { color: var(--accent-2); }
.footer-line a:hover { color: var(--accent); }
.footer-copy { margin-top: 1rem; font-size: .82rem; color: #4a5568; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .steps-grid, .showcase-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-row { grid-template-columns: repeat(2, 1fr); }
    .dev-grid { grid-template-columns: 1fr; gap: 2rem; }
    .dev-photo { max-width: 240px; }
    .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    nav { position: absolute; top: 68px; left: 0; right: 0; }
    .nav-links {
        display: none; flex-direction: column; align-items: stretch; gap: 0;
        background: var(--ink-2); border-bottom: 1px solid rgba(255,255,255,.07); padding: .5rem 0;
    }
    .nav-links.open { display: flex; }
    .nav-links li { padding: 0 24px; }
    .nav-links a { display: block; padding: .85rem 0; }
    .nav-cta { display: inline-block; margin: .4rem 0; text-align: center; }
}
@media (max-width: 720px) {
    .hero { padding: 64px 0 76px; }
    .section { padding: 64px 0; }
    .steps-grid, .showcase-grid { grid-template-columns: 1fr; }
    .hero-cta .btn { width: 100%; }
    .hero-anchor { font-size: 1rem; }
    .manifesto-quote { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .proof-row { grid-template-columns: 1fr 1fr; }
    .hero-badges { gap: .8rem; flex-direction: column; }
}
