/* Beat Medical Debt — landing page styles
   Palette: black base, electric blue + purple contrast.
   Draft scaffold — copy is placeholder pending Alex's final e-book. */

:root {
  --black: #07070b;
  --panel: #0e0e16;
  --panel-2: #14141f;
  --ink: #f5f6fb;
  --muted: #a4a7bd;
  --blue: #2f6bff;
  --blue-bright: #4f8bff;
  --purple: #9333ea;
  --purple-bright: #b86bff;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --grad-soft: linear-gradient(135deg, rgba(47,107,255,.18), rgba(147,51,234,.18));
  --ring: rgba(120,120,255,.35);
  --radius: 18px;
  --maxw: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient glow background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(47,107,255,.20), transparent 60%),
    radial-gradient(55% 45% at 90% 10%, rgba(147,51,234,.20), transparent 60%),
    radial-gradient(50% 50% at 50% 100%, rgba(80,40,180,.12), transparent 60%);
  z-index: -1;
}

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

a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem; letter-spacing: .2px;
  padding: 16px 30px; border: 0; border-radius: 999px; cursor: pointer;
  color: #fff; background: var(--grad);
  box-shadow: 0 10px 30px rgba(80,60,220,.40), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  width: 100%;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); text-decoration: none;
  box-shadow: 0 16px 40px rgba(80,60,220,.55), inset 0 1px 0 rgba(255,255,255,.3); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-head { padding: 22px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 16px var(--purple-bright); }
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head-note { color: var(--muted); font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 70px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--purple-bright);
  border: 1px solid var(--ring); border-radius: 999px; padding: 7px 14px; margin-bottom: 22px;
  background: var(--grad-soft);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -.5px; }
h1 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subhead { color: var(--muted); font-size: 1.18rem; margin-top: 20px; max-width: 33ch; }
.trust-row { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.trust-row b { color: var(--ink); }

/* E-book cover mock */
.cover-stage { display: flex; justify-content: center; perspective: 1200px; }
.cover {
  width: 300px; aspect-ratio: 3/4; border-radius: 10px; position: relative;
  background: linear-gradient(160deg, #14142a, #0a0a16);
  border: 1px solid rgba(150,140,255,.25);
  box-shadow: -28px 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03) inset;
  transform: rotateY(-16deg) rotateX(4deg);
  padding: 30px 26px; display: flex; flex-direction: column; justify-content: space-between;
}
.cover::after { content:""; position:absolute; top:0; left:14px; bottom:0; width:10px;
  background: linear-gradient(90deg, rgba(255,255,255,.10), transparent); border-radius: 4px; }
.cover .tag { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--purple-bright); font-weight: 700; }
.cover h3 { font-size: 1.55rem; line-height: 1.12; font-weight: 800; }
.cover h3 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cover .by { font-size: .82rem; color: var(--muted); }
.cover .seal { align-self: flex-start; font-size: .7rem; font-weight: 700; color: #fff;
  background: var(--grad); padding: 5px 11px; border-radius: 999px; }

/* ---------- Form card ---------- */
.optin {
  background: var(--panel); border: 1px solid rgba(140,140,255,.16); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.optin h2 { font-size: 1.35rem; margin-bottom: 6px; }
.optin p.lead { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input {
  width: 100%; padding: 14px 16px; font-size: 1rem; color: var(--ink);
  background: var(--panel-2); border: 1px solid rgba(150,150,255,.18); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s; font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px var(--ring); }
.field input::placeholder { color: #5c5f75; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-msg { font-size: .9rem; margin-top: 12px; text-align: center; min-height: 1.2em; }
.form-msg.err { color: #ff7a7a; }
.form-msg.ok { color: #7affb0; }

/* ---------- Authority chip bar ---------- */
.authbar { border-top: 1px solid rgba(140,140,255,.14); border-bottom: 1px solid rgba(140,140,255,.14); background: var(--grad-soft); }
.authbar .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; align-items: center; padding: 20px 22px; }
.chip { display: flex; align-items: center; gap: 9px; font-size: .95rem; color: var(--ink); font-weight: 600; }
.chip .ic { font-size: 1.15rem; }
.chip b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }

/* ---------- Positioning callout ---------- */
.positioning { text-align: center; }
.positioning .label { font-size: .8rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--purple-bright); margin-bottom: 18px; }
.positioning .pquote { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.32; max-width: 22ch; margin: 0 auto; }
.positioning .pquote .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* value cards: tighter heading treatment when used for "what I stand for" */
.inside-card .ic-lg { font-size: 1.7rem; display: block; margin-bottom: 12px; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-sub { color: var(--muted); text-align: center; max-width: 55ch; margin: 0 auto 40px; }

.inside-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.inside-card {
  background: var(--panel); border: 1px solid rgba(140,140,255,.14); border-radius: 16px; padding: 26px;
  transition: transform .15s, border-color .15s;
}
.inside-card:hover { transform: translateY(-4px); border-color: var(--ring); }
.inside-card .num { font-size: .85rem; font-weight: 800; color: var(--purple-bright);
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  background: var(--grad-soft); border: 1px solid var(--ring); margin-bottom: 14px; }
.inside-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.inside-card p { color: var(--muted); font-size: .95rem; }

/* Credibility band */
.cred { background: var(--grad-soft); border-top: 1px solid rgba(140,140,255,.14); border-bottom: 1px solid rgba(140,140,255,.14); }
.cred .wrap { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
.cred .avatar { width: 92px; height: 92px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff;
  box-shadow: 0 0 30px rgba(147,51,234,.45); }
.cred h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cred p { color: var(--muted); max-width: 60ch; }

/* Final CTA */
.final-cta { text-align: center; }
.final-cta .btn { width: auto; min-width: 300px; }

/* Footer */
footer { padding: 40px 0; border-top: 1px solid rgba(140,140,255,.1); color: var(--muted); font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
.disclaimer { margin-top: 14px; font-size: .76rem; color: #6b6e85; max-width: 80ch; }

/* ---------- Thank-you page ---------- */
.ty { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.ty .check { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid;
  place-items: center; margin: 0 auto 24px; font-size: 2.4rem; box-shadow: 0 0 40px rgba(147,51,234,.5); }
.ty h1 { margin-bottom: 14px; }
.ty p { color: var(--muted); max-width: 50ch; margin: 0 auto 14px; }
.ty .btn { width: auto; min-width: 280px; margin-top: 16px; }
.ty .next { margin-top: 40px; padding: 24px; background: var(--panel); border: 1px solid rgba(140,140,255,.14);
  border-radius: 16px; max-width: 480px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 20px 0 50px; }
  .subhead { max-width: none; }
  .cover { width: 230px; transform: rotateY(-10deg); }
  .cred .wrap { grid-template-columns: 1fr; text-align: center; }
  .cred .avatar { margin: 0 auto; }
  .head-note { display: none; }
}
