/* ============================================================
 * WorkBTI English — styles
 * Brand: AI Reality Check. White base, indigo + orange.
 * Responsive: mobile-first, PC-optimized (max-width container).
 * ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #4f46e5;
  --brand-ink: #4338ca;
  --brand-soft: #eef2ff;
  --accent: #f97316;
  --accent-soft: #fff7ed;
  --soft: #f8fafc;
  --danger: #dc2626;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.logo .dot { color: var(--accent); }
.nav-links { display: flex; gap: 20px; font-size: 14px; }
.nav-links a { color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 48px; text-align: left; }
.badge { display: inline-block; background: var(--soft); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 999px; margin-bottom: 20px; }
h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 16px; }
h1 .accent { color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 620px; margin-bottom: 32px; }
.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; font-weight: 600; font-size: 16px; padding: 16px 32px; border-radius: 12px; text-decoration: none; transition: background 0.15s; }
.cta:hover { background: var(--brand-ink); text-decoration: none; }
.pricing-hero { margin-top: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-tag { font-size: 13px; font-weight: 600; color: var(--ink); background: var(--soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.price-sep { color: var(--muted); }

/* ---------- sections / cards ---------- */
.section { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.section h2 { font-size: 26px; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 12px; }
.section .sub { color: var(--muted); margin-bottom: 28px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--soft); }

/* ---------- quiz ---------- */
.quiz-head { padding: 32px 0 8px; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 28px; }
.progress-fill { height: 100%; background: var(--brand); border-radius: 999px; transition: width 0.3s ease; }
.q-count { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.q-title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 24px; }
.opt {
  display: block; width: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 12px;
  background: #fff; cursor: pointer; font-size: 16px; color: var(--ink);
  transition: border-color 0.15s, background 0.15s, transform 0.05s;
}
.opt:hover { border-color: var(--brand); background: var(--brand-soft); }
.opt:active { transform: scale(0.995); }
.opt.sel { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }

/* ---------- result card (Neubrutalism share layer) ---------- */
.result-card {
  border: 3px solid #0f172a; border-radius: 8px;
  padding: 40px 28px; background: #fff;
  box-shadow: 8px 8px 0 #0f172a;
  text-align: center; margin: 32px 0;
}
.type-icon {
  width: 88px; height: 88px; border-radius: 50%;
  background: #fff; border: 3px solid #0f172a;
  box-shadow: 4px 4px 0 #0f172a;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; margin: 0 auto 20px;
}
.type-label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #0f172a; font-weight: 700; margin-bottom: 8px; }
.type-name { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px; color: #0f172a; }
.meme-code { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; font-weight: 700; background: #0f172a; color: #fff; padding: 6px 16px; border-radius: 4px; margin-bottom: 20px; }
.share-hook { font-size: 19px; color: #0f172a; font-weight: 600; max-width: 480px; margin: 0 auto 16px; line-height: 1.4; }
.rarity { font-size: 15px; color: #0f172a; margin-bottom: 12px; }
.rarity b { font-size: 18px; }
.quote { font-size: 16px; color: #0f172a; margin-bottom: 8px; font-style: italic; }
.secondary-note { font-size: 14px; color: #0f172a; margin-bottom: 20px; opacity: 0.7; }
.btn-share { display: inline-flex; align-items: center; gap: 8px; background: #0f172a; color: #fff; font-weight: 700; font-size: 16px; padding: 14px 28px; border-radius: 4px; text-decoration: none; cursor: pointer; border: none; box-shadow: 4px 4px 0 rgba(15,23,42,0.25); }
.btn-share:hover { background: #1e293b; text-decoration: none; }

/* ---------- paywall (inward, education tone) ---------- */
.paywall { margin-top: 32px; border: 3px solid #0f172a; border-radius: 8px; padding: 36px 28px; background: #fff; box-shadow: 8px 8px 0 #0f172a; }
.paywall-pretitle { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.paywall h3 { font-size: 26px; font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.paywall h3 .accent-underline { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.pay-hook { font-size: 18px; color: var(--ink); font-weight: 600; margin-bottom: 20px; line-height: 1.45; }
.report-preview { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.rp-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.report-preview ul { list-style: none; }
.report-preview li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.report-preview li:last-child { margin-bottom: 0; }
.report-preview li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.report-preview li b { color: var(--ink); }
.private-note { font-size: 14px; color: var(--muted); font-style: italic; margin-bottom: 20px; }
.pay-cta { margin-bottom: 18px; display: flex; align-items: baseline; gap: 8px; }
.price { font-size: 36px; font-weight: 800; color: var(--ink); }
.price-sub { font-size: 14px; color: var(--muted); }
.btn-pay { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 17px; padding: 16px 32px; border-radius: 4px; text-decoration: none; box-shadow: 4px 4px 0 #0f172a; transition: transform 0.05s, box-shadow 0.05s; }
.btn-pay:hover { background: #ea580c; text-decoration: none; }
.btn-pay:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #0f172a; }
.btn-arrow { font-size: 20px; }
.trust-row { margin-top: 18px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.trust-row span { position: relative; padding-left: 18px; }
.trust-row span::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

.email-capture { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 24px; text-align: center; }
.email-capture .ec-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.email-capture .ec-text { font-size: 14px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.btn-email { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--brand); font-weight: 700; font-size: 15px; padding: 12px 24px; border-radius: 4px; text-decoration: none; border: 2px solid var(--brand); box-shadow: 3px 3px 0 var(--brand); transition: transform 0.05s, box-shadow 0.05s; }
.btn-email:hover { background: var(--brand-soft); text-decoration: none; }
.btn-email:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--brand); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0; margin-top: 32px; }
.foot-links { display: flex; gap: 20px; font-size: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-note { font-size: 13px; color: var(--muted); }

.hidden { display: none !important; }

@media (max-width: 640px) {
  h1 { font-size: 34px; }
  .hero { padding: 48px 0 32px; }
  .type-name { font-size: 32px; }
  .card { padding: 20px; }
}
