/* ═══════════════════════════════════════════════════════════
   Unfallen — Ambassador Program
   Shared styles. Tokens lifted 1:1 from unfallenapp.com so these
   pages read as native. New components below the divider.
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --gold: #D4AF37;
  --gold-light: #F0D68A;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --bg-dark: #0D0B08;
  --bg-card: #1A1610;
  --text-primary: #F5F0E8;
  --text-secondary: #A89F8F;
  --text-dim: #6B6356;
  --ok: #7FB069;
  --no: #C36A5C;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 11, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-decoration: none;
}

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-links a.nav-apply {
  color: var(--bg-dark);
  background: var(--gold);
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 600;
}
.nav-links a.nav-apply:hover { background: var(--gold-light); color: var(--bg-dark); }

/* ═══ LAYOUT PRIMITIVES ═══ */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 48px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
}

.h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  margin-bottom: 16px;
}
.h2 em { font-style: italic; color: var(--gold); }

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ═══ BUTTONS (from live site) ═══ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.cta-btn--primary { background: var(--gold); color: var(--bg-dark); }
.cta-btn--primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px var(--gold-glow); }
.cta-btn--secondary { background: var(--bg-card); color: var(--text-secondary); border-color: rgba(212, 175, 55, 0.15); }
.cta-btn--secondary:hover { border-color: rgba(212, 175, 55, 0.3); color: var(--text-primary); transform: translateY(-2px); }

/* ═══ HERO ═══ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 130px 48px 60px 72px;
  position: relative;
  gap: 48px;
}
.hero-text { flex: 0 1 560px; position: relative; z-index: 2; }
.hero-text::before {
  content: '';
  position: absolute;
  top: -120px; left: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none; opacity: 0.35;
}
.headline {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  margin-top: 22px;
}
.headline em { font-style: italic; color: var(--gold); }
.subline { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--text-secondary); max-width: 500px; }
.cta-section { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual: real app phone + floating reward overlays */
.hero-phone {
  flex: 0 0 auto;
  position: relative;
  width: 360px;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.hero-phone-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 520px; height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.phone-frame {
  position: relative;
  width: 300px;
  border-radius: 38px;
  padding: 8px;
  background: linear-gradient(160deg, #2a2418, #14110b);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(212, 175, 55, 0.1);
  transform: rotate(-2deg);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}
.hero-phone:hover .phone-frame { transform: rotate(0deg) translateY(-6px); }
.phone-frame img {
  width: 100%;
  display: block;
  border-radius: 30px;
}
.badge {
  position: absolute;
  z-index: 2;
  background: rgba(26, 22, 16, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}
.badge--impr {
  top: 64px; left: -36px;
  display: flex; align-items: center; gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  animation: floaty 4s ease-in-out infinite;
}
.badge--impr .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}
.badge--coin {
  bottom: 56px; right: -40px;
  display: flex; flex-direction: column; align-items: flex-end;
  padding: 22px 26px;
  border-radius: 22px;
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(150deg, rgba(212,175,55,0.22), rgba(26,22,16,0.95));
  box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 45px var(--gold-glow);
  animation: floaty 4s ease-in-out infinite 0.6s;
}
.coin-amt {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
}
.coin-lbl { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ═══ STEPS ═══ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.step {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
}
.step .num {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 30px; color: var(--gold);
}
.step h3 { font-size: 18px; margin: 12px 0 8px; }
.step p { color: var(--text-secondary); font-size: 15px; line-height: 1.55; }

/* ═══ PAYMENT CARDS ═══ */
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.pay-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 18px;
  padding: 32px 26px;
  text-align: center;
}
.pay-card.feature { border-color: rgba(212, 175, 55, 0.4); box-shadow: 0 0 40px var(--gold-glow); }
.pay-card .big {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 48px; color: var(--gold); line-height: 1;
}
.pay-card .unit { color: var(--text-secondary); font-size: 14px; margin-top: 6px; }
.pay-card h3 { font-size: 17px; margin: 18px 0 6px; }
.pay-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.5; }

/* ═══ RULES (do / don't) ═══ */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.rule-col {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 18px;
  padding: 28px 26px;
}
.rule-col h3 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.rule-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rule-col li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.rule-col li .mark { flex: 0 0 auto; font-weight: 700; }
.rule-col.do li .mark { color: var(--ok); }
.rule-col.dont li .mark { color: var(--no); }

/* ═══ QUALIFY chips ═══ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--text-secondary);
  padding: 8px 16px; border-radius: 999px; font-size: 14px;
}

/* ═══ SHOWCASE (product band) ═══ */
.showcase { display: grid; grid-template-columns: 0.85fr 1fr; gap: 56px; align-items: center; }
.showcase-visual { display: flex; justify-content: center; position: relative; }
.showcase-visual .phone-frame { transform: rotate(2deg); width: 280px; }
.showcase-visual:hover .phone-frame { transform: rotate(0) translateY(-6px); }
.showcase-visual .glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 460px; height: 460px; background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  filter: blur(8px); pointer-events: none; z-index: 0;
}
.showcase-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.showcase-list li { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }
.showcase-list li .mark { color: var(--gold); flex: 0 0 auto; font-weight: 700; }

/* ═══ QUALIFY with angel ═══ */
.qualify-grid { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: center; }
.qualify-angel { position: relative; display: flex; justify-content: center; }
.qualify-angel img { width: 240px; height: auto; filter: drop-shadow(0 16px 40px rgba(212,175,55,0.35)); animation: floaty 5s ease-in-out infinite; }
.qualify-angel::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 320px; height: 320px; background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  filter: blur(6px); pointer-events: none; z-index: -1;
}

/* ═══ FORM ═══ */
.form-section { background: var(--bg-card); border-top: 1px solid rgba(212,175,55,0.1); border-bottom: 1px solid rgba(212,175,55,0.1); }
.apply-form { max-width: 680px; margin: 32px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  max-width: 100%;
  background: var(--bg-dark);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-hint { font-size: 12px; color: var(--text-dim); }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-actions { grid-column: 1/-1; margin-top: 8px; }
.form-status { grid-column: 1/-1; min-height: 20px; font-size: 14px; }
.form-status.error { color: var(--no); }
.form-status.ok { color: var(--ok); }
.cta-btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ═══ FAQ ═══ */
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq details {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-secondary); line-height: 1.6; padding: 0 0 18px; font-size: 15px; }

/* ═══ CONTENT (guidelines / media kit prose) ═══ */
.doc { max-width: 800px; margin: 0 auto; padding: 130px 48px 80px; }
.doc h1 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; }
.doc h1 em { font-style: italic; color: var(--gold); }
.doc h2 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 26px; margin: 44px 0 14px; }
.doc h3 { font-size: 18px; margin: 28px 0 10px; color: var(--gold-light); }
.doc p, .doc li { color: var(--text-secondary); line-height: 1.7; font-size: 16px; }
.doc ul, .doc ol { margin: 12px 0 12px 22px; display: flex; flex-direction: column; gap: 8px; }
.doc .intro { font-size: 18px; color: var(--text-primary); margin-top: 16px; }
.doc a:not(.cta-btn) { color: var(--gold); }
.doc hr { border: none; border-top: 1px solid rgba(212,175,55,0.12); margin: 40px 0; }

/* media kit */
.kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin: 24px 0; }
.kit-item { background: var(--bg-card); border: 1px solid rgba(212,175,55,0.12); border-radius: 14px; padding: 16px; text-align: center; }
.kit-item img { width: 100%; height: 160px; object-fit: contain; border-radius: 8px; background: var(--bg-dark); }
.kit-item .name { font-size: 13px; color: var(--text-secondary); margin: 12px 0 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; }
.swatch { text-align: center; font-size: 12px; color: var(--text-dim); }
.swatch .chip { display: block; width: 84px; height: 84px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); margin-bottom: 8px; }

/* ═══ THANK YOU ═══ */
.thanks { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 130px 24px 60px; }
.thanks-inner { max-width: 560px; position: relative; }
.thanks-inner::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 480px; height: 480px; background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  opacity: 0.4; pointer-events: none;
}
.thanks .seal { font-size: 56px; }
.thanks .seal-angel { width: 160px; height: auto; filter: drop-shadow(0 16px 40px rgba(212,175,55,0.4)); animation: floaty 5s ease-in-out infinite; }
.thanks h1 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(34px, 6vw, 54px); line-height: 1.1; margin: 18px 0; }
.thanks h1 em { font-style: italic; color: var(--gold); }
.thanks p { color: var(--text-secondary); font-size: 18px; line-height: 1.6; }
.thanks .next { text-align: left; background: var(--bg-card); border: 1px solid rgba(212,175,55,0.12); border-radius: 16px; padding: 24px 28px; margin: 32px 0; }
.thanks .next h3 { color: var(--gold-light); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.thanks .next li { color: var(--text-secondary); margin-bottom: 10px; line-height: 1.5; list-style: none; padding-left: 24px; position: relative; }
.thanks .next li::before { content: '→'; color: var(--gold); position: absolute; left: 0; }

/* ═══ FOOTER ═══ */
.footer { text-align: center; padding: 40px 48px; border-top: 1px solid rgba(212, 175, 55, 0.06); }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ═══ ANIM ═══ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-text { animation: fadeUp 0.8s ease-out; }
.hero-phone { animation: fadeUp 0.8s ease-out 0.15s both; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .nav { padding: 16px 32px; }
  .wrap { padding: 0 32px; }
  .hero { padding: 120px 32px 60px; }
  .hero-phone { width: 300px; }
  .phone-frame { width: 256px; }
  .badge--impr { left: -20px; }
  .badge--coin { right: -22px; padding: 18px 20px; }
  .coin-amt { font-size: 46px; }
}
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-logo { font-size: 20px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  /* Collapse to logo + Apply button only — the text links wrap and collide at phone widths. */
  .nav-links li:not(:has(.nav-apply)) { display: none; }
  .nav-links a.nav-apply { padding: 8px 16px; }
  .wrap { padding: 0 20px; }
  .hero { flex-direction: column; align-items: flex-start; text-align: left; padding: 100px 20px 40px; min-height: auto; gap: 40px; }
  .hero-text { flex: none; width: 100%; }
  .hero-text::before { display: none; }
  .hero-phone { width: 100%; max-width: 340px; margin: 0 auto; }
  .badge--impr { left: 0; }
  .badge--coin { right: 0; }
  .steps, .pay-grid { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase-visual { order: -1; }
  .qualify-grid { grid-template-columns: 1fr; gap: 24px; }
  .qualify-angel { order: -1; }
  .qualify-angel img { width: 180px; }
  .apply-form { grid-template-columns: 1fr; }
  .doc { padding: 110px 20px 60px; }
  .section { padding: 56px 0; }
}
@media (max-width: 400px) {
  .cta-section { flex-direction: column; align-items: stretch; }
  .cta-btn { justify-content: center; }
}
