/* ============================================================
   WelcomeBookMaker.com — Design System & Marketing Styles
   ============================================================ */

:root {
    /* Brand palette — warm, hospitable, trustworthy */
    --c-ink:        #1f2a37;
    --c-ink-soft:   #4a5568;
    --c-muted:      #718096;
    --c-line:       #e6e9ef;
    --c-bg:         #ffffff;
    --c-bg-soft:    #f7f9fc;
    --c-bg-warm:    #fdf8f3;

    --c-brand:      #2c7a6b;   /* welcoming teal-green */
    --c-brand-dk:   #1f5b50;
    --c-brand-lt:   #e7f3f0;
    --c-accent:     #e8945b;   /* warm amber */
    --c-accent-dk:  #cf7a40;

    --radius:    14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(31,42,55,.06), 0 1px 3px rgba(31,42,55,.08);
    --shadow-md: 0 4px 12px rgba(31,42,55,.08), 0 2px 4px rgba(31,42,55,.06);
    --shadow-lg: 0 18px 50px rgba(31,42,55,.14);

    --font-head: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--c-ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--c-brand); text-decoration: none; }
a:hover { color: var(--c-brand-dk); }

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

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    padding: .85em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-brand); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--c-brand-dk); color: #fff; box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--c-accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-accent:hover { background: var(--c-accent-dk); color: #fff; }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-brand); color: var(--c-brand); }
.btn-lg { font-size: 1.08rem; padding: 1em 2em; }

/* ── Header / nav ────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--c-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .6em; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--c-ink); }
.brand .mark {
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dk));
    display: grid; place-items: center; color: #fff; font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.navlink { color: var(--c-ink-soft); font-weight: 500; font-size: .98rem; }
.nav-links a.navlink:hover { color: var(--c-brand); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: 72px 0 64px; background: radial-gradient(1200px 500px at 80% -10%, var(--c-brand-lt), transparent 60%), var(--c-bg-warm); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    background: var(--c-brand-lt); color: var(--c-brand-dk);
    font-weight: 600; font-size: .85rem; padding: .4em 1em; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero p.lede { font-size: 1.2rem; color: var(--c-ink-soft); max-width: 540px; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hero-trust { display: flex; align-items: center; gap: 18px; color: var(--c-muted); font-size: .9rem; flex-wrap: wrap; }
.hero-trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--c-accent); }

/* Phone mockup */
.hero-art { display: grid; place-items: center; }
.phone {
    width: 290px; aspect-ratio: 9/19; background: #0f1722; border-radius: 38px; padding: 11px;
    box-shadow: var(--shadow-lg); position: relative; transform: rotate(2.5deg);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 18px; background: #0f1722; border-radius: 999px; z-index: 3; }
.phone-screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ps-cover { height: 44%; background: linear-gradient(160deg, var(--c-brand), var(--c-brand-dk)); color: #fff; padding: 40px 20px 16px; display: flex; flex-direction: column; justify-content: flex-end; }
.ps-cover small { opacity: .85; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.ps-cover strong { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; }
.ps-body { padding: 16px; display: grid; gap: 10px; }
.ps-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 12px; font-size: .82rem; color: var(--c-ink-soft); }
.ps-row .ic { width: 26px; height: 26px; border-radius: 7px; background: var(--c-brand-lt); display: grid; place-items: center; color: var(--c-brand-dk); flex: none; }

/* ── Logos / social proof strip ──────────────────────────── */
.proof { padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.proof p { text-align: center; color: var(--c-muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section.alt { background: var(--c-bg-soft); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head .eyebrow { margin-bottom: .8rem; }
.section-head p { color: var(--c-ink-soft); font-size: 1.1rem; }

/* Benefits grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
    padding: 30px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .ic {
    width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
    background: var(--c-brand-lt); color: var(--c-brand-dk); font-size: 1.4rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--c-ink-soft); margin: 0; font-size: .98rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step .num {
    counter-increment: step; width: 52px; height: 52px; margin: 0 auto 16px;
    border-radius: 50%; background: #fff; border: 2px solid var(--c-brand);
    color: var(--c-brand-dk); font-family: var(--font-head); font-weight: 600; font-size: 1.3rem;
    display: grid; place-items: center;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--c-ink-soft); font-size: .94rem; margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
    padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.plan.featured { border-color: var(--c-brand); box-shadow: var(--shadow-lg); position: relative; }
.plan.featured .tag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--c-brand); color: #fff; font-size: .76rem; font-weight: 600;
    padding: .35em 1em; border-radius: 999px; letter-spacing: .04em;
}
.plan h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--c-ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.plan .price { font-family: var(--font-head); font-size: 2.6rem; color: var(--c-ink); margin: .2rem 0; }
.plan .price span { font-family: var(--font-body); font-size: 1rem; color: var(--c-muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 11px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; color: var(--c-ink-soft); font-size: .96rem; }
.plan li .tick { color: var(--c-brand); flex: none; font-weight: 700; }
.plan .btn { width: 100%; margin-top: auto; }

/* FAQ accordion */
.faq-item { border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 18px 22px; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: var(--c-ink); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-q:hover { color: var(--c-brand); }
.faq-ico { flex: none; font-size: 1.3rem; color: var(--c-brand); transition: transform .2s ease; line-height: 1; }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 18px; margin: 0; color: var(--c-ink-soft); }

/* Final CTA */
.cta-band { background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dk)); color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 560px; margin: 0 auto 1.8rem; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--c-ink); color: #c9d2de; padding: 56px 0 32px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #c9d2de; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #8a97a8; font-size: .86rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-art { order: -1; }
    .grid-3, .steps, .pricing { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { position: fixed; inset: 70px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 24px; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform .25s ease; gap: 6px; }
    .nav-links.open { transform: translateY(0); }
    .nav-links a.navlink { padding: 10px 0; }
    .nav-toggle { display: block; }
    .cta-band { padding: 40px 24px; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 48px 0; }
    .section { padding: 60px 0; }
}
