/* =========================================================
   Lightning Blue Press — brand stylesheet
   Look & feel adapted from assisterly.co.uk:
   dark hero, electric "lightning blue" accent, clean modern.
   Single file, no build step. Safe to host on IONOS.
   ========================================================= */

:root {
  /* Brand palette */
  --ink:        #0b1220;   /* near-black navy — dark sections */
  --ink-2:      #0f1b2e;   /* slightly lifted navy */
  --blue:       #2563eb;   /* lightning blue — primary accent */
  --blue-bright:#3b82f6;   /* hover / highlights */
  --blue-soft:  #dbe7ff;   /* tints */
  --gold:       #f5b301;   /* warm accent — stars, small flourishes */
  --paper:      #ffffff;
  --mist:       #f5f8ff;   /* light section background */
  --line:       #e4e9f2;   /* hairline borders */
  --text:       #1b2433;   /* body text on light */
  --muted:      #5b6b85;   /* secondary text */
  --text-dark:  #eaf1ff;   /* body text on dark */
  --muted-dark: #9fb2d4;   /* secondary text on dark */

  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 18px 50px rgba(11, 18, 32, 0.16);
  --shadow-sm:  0 6px 20px rgba(11, 18, 32, 0.10);
  --maxw:       1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

.section { padding: 84px 0; }
.section--mist { background: var(--mist); }
.section--ink  { background: var(--ink); color: var(--text-dark); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: var(--muted-dark); }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.section--ink .eyebrow { color: #cfe0ff; background: rgba(59,130,246,.18); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.section--ink .lead { color: var(--muted-dark); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(37,99,235,.35); }
.btn--primary:hover { background: var(--blue-bright); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--amazon { background: #ff9900; color: #111; box-shadow: 0 10px 24px rgba(255,153,0,.3); }
.btn--amazon:hover { background: #ffa826; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }
.section--ink .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.section--ink .btn--ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand .bolt {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  display: grid; place-items: center; color: #fff; font-size: 1rem;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted-dark); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1100px 600px at 80% -10%, #15264a 0%, var(--ink) 55%); color: var(--text-dark); padding: 72px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--muted-dark); font-size: 1.2rem; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted-dark); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.tick { color: #4ade80; font-weight: 800; }

/* Book cover mockup */
.cover-wrap { display: grid; place-items: center; }
.book {
  position: relative; width: 280px; aspect-ratio: 2/3; border-radius: 6px;
  background: linear-gradient(160deg, #16335f, #0c1b38);
  box-shadow: var(--shadow), inset 3px 0 0 rgba(255,255,255,.08);
  padding: 30px 26px; color: #fff; overflow: hidden;
  transform: rotate(-4deg);
  border-left: 6px solid var(--blue);
}
.book::after { content:""; position:absolute; inset:0; background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 40%); }
.book .kicker { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.book .btitle { font-size: 1.5rem; font-weight: 800; margin: 14px 0 10px; line-height: 1.1; }
.book .bsub { font-size: .82rem; color: #cdd9f2; }
.book .bauthor { position: absolute; bottom: 26px; left: 26px; right: 26px; font-size: .8rem; color: #aebfe0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 10px; }
.cover-note { margin-top: 18px; font-size: .82rem; color: var(--muted-dark); text-align: center; }

/* ---------- Lead magnet / form ---------- */
.magnet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.magnet-list { list-style: none; padding: 0; margin: 18px 0 0; }
.magnet-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.magnet-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 800; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 32px;
}
.card--form { border-top: 4px solid var(--blue); }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-field input {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; background: #fff;
}
.form-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Feature / benefit grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.feature .ic { font-size: 1.6rem; margin-bottom: 12px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 1rem; color: var(--text); }
.who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; display: grid; place-items: center; }
.who .name { font-weight: 700; font-size: .92rem; }
.who .role { color: var(--muted); font-size: .82rem; }

/* ---------- Series / books ---------- */
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.book-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.book-card .mini-cover {
  aspect-ratio: 2/3; border-radius: 6px; margin-bottom: 18px; padding: 20px; color: #fff;
  background: linear-gradient(160deg, #16335f, #0c1b38); border-left: 5px solid var(--blue);
  display: flex; flex-direction: column; justify-content: space-between;
}
.book-card .mini-cover .k { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.book-card .mini-cover .t { font-size: 1.1rem; font-weight: 800; line-height: 1.15; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.badge--live { background: #dcfce7; color: #166534; }
.badge--soon { background: #fef3c7; color: #92400e; }
.book-card h3 { font-size: 1.05rem; }
.book-card p { color: var(--muted); font-size: .92rem; flex-grow: 1; }
.book-card .actions { margin-top: 16px; }

/* ---------- Sample / inside the book ---------- */
.sample {
  background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
}
.sample h3 { color: var(--blue); }
.sample ol { margin: 0; padding-left: 20px; }
.sample ol li { margin-bottom: 10px; color: var(--text); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue), #1e40af); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3ecff; max-width: 52ch; margin: 0 auto 24px; }
.cta-band .btn--ghost { color: #fff; border-color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: var(--muted-dark); display: block; margin-bottom: 9px; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Helpers ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section-head { max-width: 60ch; margin: 0 auto 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .magnet-grid { grid-template-columns: 1fr; }
  .cover-wrap { order: -1; }
  .grid-3, .books, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--ink); padding: 18px 24px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .section { padding: 60px 0; }
}
