/* ==========================================================================
   OFP Instant Pro — landing page styles
   Dark theme, no framework, no external requests.
   ========================================================================== */

:root {
  --bg: #08090b;
  --bg-elevated: #111318;
  --bg-card: #14161b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f6;
  --text-muted: #9a9ca3;
  --text-faint: #6b6d74;

  --gold: #f5b942;
  --gold-soft: rgba(245, 185, 66, 0.12);
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-soft: rgba(34, 197, 94, 0.12);
  --neon: #00ff87;
  --accent: #ff8f4d;
  --accent-soft: rgba(255, 143, 77, 0.12);
  --limited-price: #4bde80;
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --container-w: 1180px;

  --font: -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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #04220f;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.container-narrow { max-width: 820px; }

.center { text-align: center; }

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

p { margin: 0 0 1rem; }

.lead { color: var(--text-muted); font-size: 1.02rem; }
.lead-narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.lead-gold { color: var(--gold); font-weight: 600; }
.lead-gold-bold { color: var(--gold); font-weight: 700; }
.lead-accent { color: var(--accent); font-weight: 600; font-size: 1.15rem; }
.note { color: var(--text-faint); font-size: 0.9rem; }
.disclaimer { color: var(--text-faint); font-size: 0.85rem; text-align: center; margin-top: 2rem; }

.text-gold { color: var(--gold); }
.text-gold-3d {
  background: linear-gradient(180deg, #ffe9b0 0%, var(--gold) 45%, #c98a1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.35));
}

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.pill-new { background: var(--green); color: #04220f; }
.pill-accounts-left {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #241503;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(245, 185, 66, 0.35);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

.btn-primary { background: var(--neon); color: #04220f; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--green);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-name { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-logo { height: 28px; width: auto; }
.brand-sub { font-weight: 600; font-size: 0.95rem; }

/* ---------- hero ---------- */
.hero { padding: 3.5rem 0 3rem; }

.hero-headline { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-headline h1 { margin-bottom: 0.5rem; }
.hero-subhead { color: var(--gold); font-weight: 800; font-size: clamp(1.4rem, 2.8vw, 2rem); margin-bottom: 2rem; }
.typing-cursor { display: inline-block; margin-left: 2px; animation: cursor-blink 1s step-end infinite; }
@keyframes cursor-blink { 50% { opacity: 0; } }

.hero-media-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.hero-media-row > * { flex: 1 1 50%; min-width: 0; }

.hero-image-wrap { position: relative; border-radius: var(--radius-md); overflow: hidden;     display: flex;
    justify-content: end;
    align-items: center;}
.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-elevated);
}

.offer-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  box-shadow: 0 0 50px rgba(245, 185, 66, 0.35), 0 0 100px rgba(245, 185, 66, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  overflow: visible;
}
.offer-label { color: var(--text-muted); letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 0.25rem; }
.offer-price { font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 800; margin: 0 0 0.5rem; }
.offer-limited { border-top: 1px solid var(--border); padding-top: 1rem; color: var(--text-muted); font-size: 0.95rem; }
.offer-limited-price { color: var(--limited-price); font-weight: 700; }
.check-icon { color: var(--green); }

.asset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.25rem 0;
}
.asset-pill {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.asset-pill.is-active { background: var(--text); color: #0a0a0a; border-color: var(--text); }

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  text-align: left;
  margin: 0.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.rule { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.9rem; }
.rule dt { color: var(--text-muted); margin: 0; font-weight: 400; }
.rule dd { margin: 0; font-weight: 700; }
.rule-no { color: var(--red); }

.show-all-toggle {
  margin-top: 0.9rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
}
.show-all-toggle .chevron { transition: transform 0.2s ease; }
.show-all-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

/* ---------- sections ---------- */
.section { padding: 4rem 0; position: relative; }
.section-tight { padding: 3rem 0; position: relative; }
.section-blobby { overflow: hidden; }

/* ---------- decorative floating blobs ---------- */
.blob {
  position: absolute;
  border-radius: 1rem;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
@keyframes blob-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes blob-pulse {
  0%, 100% { opacity: 0.06; }
  50% { opacity: 0.14; }
}
.blob-hero-1 { top: 4rem; left: 4%; width: 8rem; height: 8rem; background: var(--accent); opacity: 0.1; animation: blob-float 6s ease-in-out infinite; }
.blob-hero-2 { bottom: 6rem; right: 6%; width: 10rem; height: 10rem; background: var(--green); opacity: 0.1; animation: blob-float 7s ease-in-out infinite 0.5s; }
.blob-hero-3 { top: 45%; left: 22%; width: 6rem; height: 6rem; background: var(--accent); opacity: 0.12; transform: rotate(45deg); animation: blob-float 6s ease-in-out infinite 1s; }
.blob-hero-4 { bottom: 30%; right: 28%; width: 5rem; height: 5rem; background: var(--green); opacity: 0.12; transform: rotate(12deg); animation: blob-float 7s ease-in-out infinite 0.3s; }

.blob-stats-1 { top: 5rem; right: 3%; width: 8rem; height: 8rem; background: var(--accent); opacity: 0.08; animation: blob-float 6s ease-in-out infinite; }
.blob-stats-2 { bottom: 5rem; left: 5%; width: 10rem; height: 10rem; background: var(--green); opacity: 0.08; animation: blob-float 7s ease-in-out infinite 0.5s; }
.blob-stats-3 { top: 50%; right: 25%; width: 6rem; height: 6rem; background: var(--accent); opacity: 0.1; transform: rotate(45deg); animation: blob-float 6s ease-in-out infinite 1s; }

.blob-mission-1 { top: 22%; left: 2%; width: 8rem; height: 8rem; background: var(--gold); opacity: 0.06; border-radius: 1rem; animation: blob-float 8s ease-in-out infinite; }
.blob-mission-2 { bottom: 30%; right: 2%; width: 10rem; height: 10rem; background: var(--accent); opacity: 0.06; animation: blob-float 8s ease-in-out infinite 0.6s; }

.blob-leaderboard-1 { top: 22%; right: 22%; width: 22rem; height: 22rem; border-radius: 999px; background: var(--gold); opacity: 0.06; animation: blob-pulse 5s ease-in-out infinite; }
.blob-leaderboard-2 { bottom: 22%; left: 22%; width: 22rem; height: 22rem; border-radius: 999px; background: var(--green); opacity: 0.06; animation: blob-pulse 5s ease-in-out infinite 1s; }

.blob-whofor-1 { top: 30%; left: 30%; width: 22rem; height: 22rem; border-radius: 999px; background: var(--green); opacity: 0.06; animation: blob-pulse 5s ease-in-out infinite; }
.blob-whofor-2 { bottom: 30%; right: 30%; width: 22rem; height: 22rem; border-radius: 999px; background: var(--gold); opacity: 0.06; animation: blob-pulse 5s ease-in-out infinite 1s; }

.blob-strength-1 { top: 22%; right: 22%; width: 22rem; height: 22rem; border-radius: 999px; background: var(--accent); opacity: 0.06; animation: blob-pulse 5s ease-in-out infinite; }
.blob-strength-2 { bottom: 22%; left: 22%; width: 22rem; height: 22rem; border-radius: 999px; background: var(--green); opacity: 0.06; animation: blob-pulse 5s ease-in-out infinite 1.5s; }

@media (max-width: 768px) {
  .blob { display: none; }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col-calc { align-items: center; }
.two-col-about { grid-template-columns: 0.9fr 1.1fr; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.eyebrow-plain { color: var(--text-faint); letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700; margin-bottom: 2rem; }

.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.steps li { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.steps li p { margin: 0.2rem 0 0; color: var(--text-muted); font-size: 0.92rem; }
.step-num {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

/* ---------- carousel / proof ---------- */
.carousel { position: relative; margin-top: 2.5rem; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 1.25rem;
}
.carousel-track .proof-card { flex: none; }
.proof-card {
  background: var(--bg-card);
  border: 1px solid rgba(245, 185, 66, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.proof-body { display: flex; gap: 1rem; align-items: flex-start; }

.proof-avatar-col { flex: none; width: 112px; }
.proof-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 185, 66, 0.35);
  background: var(--bg-elevated);
  margin-bottom: 0.6rem;
}
.proof-name { margin: 0; font-weight: 700; font-size: 0.92rem; }

.proof-stats-col { flex: 1; min-width: 0; }
.proof-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; display: block; }
.proof-tag-down { color: var(--red); }
.proof-tag-up { color: var(--green); }
.proof-figure { font-weight: 800; font-size: 1.1rem; margin: 0.3rem 0 0; }
.proof-figure-neg { color: var(--red); }
.proof-figure-pos { color: var(--green); }
.proof-figure-label { color: var(--text-faint); font-weight: 400; font-size: 0.75rem; margin-left: 0.25rem; }
.proof-figure-sub { margin: 0.1rem 0 0; font-size: 0.85rem; color: var(--text-muted); }
.proof-caption { font-size: 0.82rem; font-style: italic; color: var(--text-faint); margin: 0.4rem 0 0; }

.proof-divider { position: relative; height: 1px; background: var(--border); margin: 0.85rem 0; }
.proof-arrow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  color: var(--gold);
  padding: 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.carousel-controls { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.cert-strip {
  margin-top: 2.5rem;
  overflow: hidden;
}
.cert-strip-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: cert-scroll 60s linear infinite;
}
.cert-strip:hover .cert-strip-track { animation-play-state: paused; }
@keyframes cert-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cert-strip-track { animation: none; }
}
.cert-card-img {
  width: 220px;
  flex: none;
  aspect-ratio: 1196 / 1040;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
}

/* ---------- calculator ---------- */
.split-callout {
  background: linear-gradient(120deg, var(--green-soft), transparent);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
}
.split-callout-title { color: var(--green); font-weight: 800; font-size: 1.3rem; margin: 0; }
.split-callout-sub { color: var(--text-muted); margin: 0.2rem 0 0; font-size: 0.9rem; }

.calc-card {
  background: var(--bg-card);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.calc-card:hover { border-color: rgba(34, 197, 94, 0.5); box-shadow: 0 0 30px rgba(34, 197, 94, 0.15); }
.calc-label { color: var(--text-faint); font-size: 0.75rem; letter-spacing: 0.06em; font-weight: 700; margin: 0; }
.calc-label-spaced { margin-top: 1.5rem; }
.calc-account-size { font-size: 1.8rem; font-weight: 800; margin: 0.25rem 0 1.5rem; }
.calc-slider-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.calc-rate { color: var(--green); font-weight: 800; font-size: 1.1rem; margin: 0; }
.calc-slider {
  width: 100%;
  accent-color: var(--green);
  cursor: pointer;
}
.calc-slider-scale { display: flex; justify-content: space-between; color: var(--text-faint); font-size: 0.75rem; margin-top: 0.25rem; }
.calc-takehome { font-size: 2.2rem; font-weight: 800; margin: 0.25rem 0 0.35rem; }
.calc-basis { color: var(--text-faint); font-size: 0.85rem; margin: 0; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(20, 22, 27, 0.6), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.final-cta { padding-top: 0; }

/* ---------- stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover { border-color: var(--green); box-shadow: 0 0 20px rgba(34, 197, 94, 0.4); }
.stat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.stat-value { font-size: 1.8rem; font-weight: 800; margin: 0 0 0.25rem; }
.stat-label { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ---------- about ---------- */
.about-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}
.rule-line {
  display: inline-block;
  width: 48px; height: 3px;
  background: var(--gold);
  margin-bottom: 1rem;
  border-radius: 2px;
}

/* ---------- feature / persona / strength grids ---------- */
.feature-grid, .persona-grid, .strength-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.persona-grid, .strength-grid { grid-template-columns: 1fr 1fr; }

.feature-card, .persona-card, .strength-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.feature-card {
  border-color: rgba(34, 197, 94, 0.3);
  transition: border-color 0.3s ease;
}
.feature-card:hover { border-color: var(--green); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
}
.feature-card p, .persona-card p, .strength-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.strength-grid { gap: 2rem; }
.strength-card {
  padding: 2.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.strength-card:hover { border-color: rgba(245, 185, 66, 0.4); transform: scale(1.015); }
.strength-card .feature-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  font-size: 2.1rem;
  margin-bottom: 1.5rem;
}
.strength-card h3 { font-size: 1.7rem; margin-bottom: 0.75rem; }
.strength-card p { font-size: 1rem; line-height: 1.6; }
.strength-card .checklist { margin-top: 1.25rem; }
.strength-card .checklist li { padding-left: 1.4rem; }
.strength-card .checklist li::before {
  content: "";
  width: 7px; height: 7px;
  top: 0.55em;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- leaderboard ---------- */
.lb-head {
  display: grid;
  grid-template-columns: 0.7fr 3fr 3fr 2fr 2fr;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.lb-head span:nth-child(3), .lb-head span:nth-child(4), .lb-head span:nth-child(5) { text-align: center; }
.leaderboard-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; }
.lb-row {
  display: grid;
  grid-template-columns: 0.7fr 3fr 3fr 2fr 2fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.lb-row:hover { transform: scale(1.015); }
.lb-row.lb-top {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.04));
  border: 2px solid rgba(34, 197, 94, 0.4);
}
.lb-row.lb-rank-1 { border-color: var(--green); background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.06)); }
.lb-row.lb-rank-2 { border-color: rgba(34, 197, 94, 0.65); }
.lb-row.lb-rank-3 { border-color: rgba(34, 197, 94, 0.45); }

.lb-rank-num { font-size: 1.5rem; font-weight: 800; color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.35rem; }
.lb-rank-1 .lb-rank-num { color: #facc15; }
.lb-rank-2 .lb-rank-num { color: #d1d5db; }
.lb-rank-3 .lb-rank-num { color: #b45309; }
.lb-trophy { font-size: 1.1rem; }

.lb-trader { display: flex; align-items: center; gap: 0.75rem; }
.lb-avatar {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-soft), var(--green-soft));
  border: 2px solid rgba(245, 185, 66, 0.3);
  font-weight: 700;
  font-size: 1.05rem;
}
.lb-trader-name { font-weight: 700; display: flex; align-items: center; gap: 0.4rem; }
.lb-trader-assets-mobile { display: none; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.15rem; }

.lb-assets { text-align: center; color: var(--text-muted); font-size: 0.88rem; }

.lb-payouts { display: flex; justify-content: center; }
.lb-payouts-badge { background: var(--green-soft); border-radius: 999px; padding: 0.25rem 0.75rem; }
.lb-payouts-badge b { color: var(--green); font-weight: 800; }
.lb-payouts-badge span { font-size: 0.72rem; color: var(--text-muted); margin-left: 0.3rem; }

.lb-total { display: flex; justify-content: center; align-items: center; gap: 0.2rem; color: #34d399; font-weight: 800; }
.lb-dollar { font-weight: 700; }

.lb-mobile-label { display: none; font-size: 0.72rem; color: var(--text-muted); margin-right: 0.4rem; }

.leaderboard-cta { margin-top: 2.5rem; }
.leaderboard-cta-line { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; }
.trophy-title { margin-right: 0.4rem; }

@media (max-width: 768px) {
  .lb-head { display: none; }
  .lb-row {
    grid-template-columns: auto 1fr;
    grid-template-areas: "rank trader" "payouts total";
    row-gap: 0.75rem;
    padding: 1rem;
  }
  .lb-rank { grid-area: rank; }
  .lb-trader { grid-area: trader; }
  .lb-assets { display: none; }
  .lb-trader-assets-mobile { display: block; }
  .lb-payouts { grid-area: payouts; justify-content: flex-start; }
  .lb-total { grid-area: total; justify-content: flex-end; }
  .lb-mobile-label { display: inline; }
}

/* ---------- video testimonials ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: none; display: block; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-show-all-wrap { margin-top: 2rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color 0.2s ease; }
.faq-item.is-open { border-color: rgba(245, 185, 66, 0.5); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: var(--text);
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  text-align: left;
}
.faq-question .chevron { transition: transform 0.2s ease; flex: none; }
.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.4rem;
  color: var(--text-muted);
}
.faq-item.is-open .faq-answer { max-height: 320px; padding-bottom: 1.1rem; }
.faq-answer p { margin: 0; font-size: 0.92rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; margin-top: 2rem; background: rgba(20, 22, 27, 0.5); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: var(--text-faint); font-size: 0.85rem; margin: 0; }
@media (max-width: 640px) {
  .footer-inner { justify-content: center; text-align: center; }
  .footer-copy { width: 100%; }
}

/* ---------- image placeholders (until real assets are dropped in) ---------- */
img[data-placeholder-label] {
  background: repeating-linear-gradient(45deg, #17181d, #17181d 10px, #1d1f26 10px, #1d1f26 20px);
}
img.is-placeholder {
  object-fit: contain;
  padding: 1rem;
}

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }

.modal-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 2rem;
  margin: auto;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.modal-subtitle { color: var(--text-muted); font-size: 0.92rem; text-align: center; }
.modal-switch { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  color: var(--text);
  font-size: 0.92rem;
}
.form-field input:focus, .form-field select:focus {
  outline: none;
  border-color: var(--green);
}
.form-field.has-error input, .form-field.has-error select { border-color: var(--red); }
.field-error { color: var(--red); font-size: 0.8rem; margin: 0.3rem 0 0; min-height: 1em; }

.password-wrap { position: relative; }
.password-wrap input { padding-right: 2.6rem; }

.phone-input-group { display: flex; gap: 0.5rem; }
.phone-input-group .phone-code {
  flex: 0 0 4.2rem;
  width: 4.2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-card);
  cursor: default;
}
.phone-input-group .phone-code:focus { border-color: var(--border-strong); }
.phone-input-group input[type="tel"] { flex: 1 1 auto; min-width: 0; }
.password-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.7;
}

.form-field-checkbox { margin: 1.25rem 0; }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted); font-weight: 400; cursor: pointer; }
.checkbox-label input { margin-top: 0.2rem; accent-color: var(--green); }
.checkbox-label a { color: var(--green); }

.success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
}
.success-icon-lg { width: 88px; height: 88px; font-size: 2.4rem; margin-bottom: 1.5rem; }

/* ---------- thank-you page ---------- */
.ty-section { padding: 6rem 0; min-height: calc(100vh - 68px - 140px); display: flex; align-items: center; }
.ty-section .container { width: 100%; }
#tyMessage { margin-bottom: 2rem; }

body.modal-open { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col-about { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .persona-grid, .strength-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .hero-media-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 1.5rem; }
  .proof-avatar-col { width: 80px; }
}
