/* ========================================================
   MoneyABC Design System - Realtime Edition
   Typography: Outfit (Display) & Figtree (Body)
   ======================================================== */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-raised: #f3f5f7;
  --ink: #1b232b;
  --muted: #56626d;
  --line: #dfe3e6;
  --gold: #f7b731;
  --gold-glow: rgba(247, 183, 49, 0.28);
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.25);
  --band: #f1f4f8;
  --bandtext: #1b232b;
  --bandmuted: #56626d;
  --bandline: #dfe3e6;
  --d: 'Outfit', system-ui, -apple-system, sans-serif;
  --b: 'Figtree', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 30px -10px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 50px -28px rgba(0, 0, 0, 0.35);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12181d;
    --surface: #1a222a;
    --surface-raised: #222c36;
    --ink: #f1f3f4;
    --muted: #9aa6af;
    --line: #2b3640;
    --band: #0b0f13;
    --bandtext: #f1f3f4;
    --bandline: #202830;
    --bandmuted: #8895a0;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #12181d;
  --surface: #1a222a;
  --surface-raised: #222c36;
  --ink: #f1f3f4;
  --muted: #9aa6af;
  --line: #2b3640;
  --band: #0b0f13;
  --bandtext: #f1f3f4;
  --bandline: #202830;
  --bandmuted: #8895a0;
  color-scheme: dark;
}

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

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--b);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4 {
  font-family: var(--d);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.7rem, 6.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 48px);
}

section {
  padding: 80px 0;
}

.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 58ch;
  margin-top: 18px;
}

.dot {
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 0.04em;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.logo {
  font: 800 1.4rem var(--d);
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

nav a:hover, nav a.active {
  color: var(--ink);
}

nav a.active {
  border-color: var(--gold);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Pulsating live beacon */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: color-mix(in srgb, var(--green) 12%, transparent);
  color: var(--green);
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font: 700 0.78rem var(--d);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.live-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #1b232b !important;
  font: 700 1rem var(--d);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px var(--gold-glow);
}

.btn:active {
  transform: translateY(0);
}

.btn.sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 2px solid var(--ink);
  box-shadow: none;
}

.btn.ghost:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.btn.dark {
  background: #1b232b;
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

:root[data-theme="dark"] .btn.dark {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--ink) !important;
}

/* Theme Toggle */
.theme-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.15s, color 0.15s;
}

.theme-btn:hover {
  border-color: var(--gold);
  color: var(--ink);
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
}

.hero .wrap, .two {
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero .wrap {
  grid-template-columns: 1.15fr 0.85fr;
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.facts {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

.facts b {
  display: block;
  font: 800 1.6rem var(--d);
  color: var(--ink);
  line-height: 1.1;
}

/* Live Ledger & Tracker Cards */
.ledger {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.ledger::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #ff8f00);
}

.ledger h3 {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.96rem;
  transition: background-color 0.3s;
}

.row span:last-child {
  color: var(--muted);
  white-space: nowrap;
}

.row.win {
  border-bottom: 0;
  padding-bottom: 0;
  font-weight: 700;
}

.row.win span:last-child {
  color: #1b232b;
  background: var(--gold);
  padding: 3px 14px;
  border-radius: var(--radius-full);
}

.row.highlight-new {
  animation: flashGreen 2.5s ease-out;
}

@keyframes flashGreen {
  0% {
    background-color: rgba(16, 185, 129, 0.35);
  }
  100% {
    background-color: transparent;
  }
}

/* Band Sections */
.band {
  background: var(--band);
  color: var(--bandtext);
  border-top: 1px solid var(--bandline);
  border-bottom: 1px solid var(--bandline);
}

.band .lead {
  color: var(--bandmuted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  border-top: 1px solid var(--bandline);
  padding-top: 24px;
}

.step {
  padding: 12px 16px 20px 0;
}

.step .n {
  font: 800 2.5rem var(--d);
  color: var(--gold);
  line-height: 1;
}

.step h3 {
  margin: 12px 0 8px;
}

.step p {
  color: var(--bandmuted);
  font-size: 0.98rem;
}

/* Pan-African Regional Rollout */
.pan {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.pan .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.pan .c {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.pan .c:hover {
  transform: translateY(-3px);
}

.pan .c b {
  font: 800 1.35rem var(--d);
  display: block;
}

.pan .c span {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 4px;
  display: block;
}

.pan .c.on {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold), var(--shadow-sm);
  background: color-mix(in srgb, var(--gold) 4%, var(--surface));
}

/* Curriculum Weeks */
.weeks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.week {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.tag {
  display: inline-block;
  background: var(--gold);
  color: #1b232b;
  font: 700 0.85rem var(--d);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  width: max-content;
}

.week p {
  color: var(--muted);
  margin: 10px 0 16px;
}

.out {
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin-top: auto;
  font-size: 0.95rem;
}

.clip {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* 90-Day Runway Track */
.track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  position: relative;
}

.track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 2px;
  background: var(--bandline);
}

.stage {
  position: relative;
  padding: 44px 28px 0 0;
}

.stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px var(--band);
}

.stage small {
  color: var(--gold);
  font: 700 0.85rem var(--d);
  text-transform: uppercase;
}

.stage h3 {
  margin: 4px 0 8px;
}

.stage p {
  color: var(--bandmuted);
  font-size: 0.96rem;
}

/* ========================================================
   Founder Stories Video Grid - Rich & Well-Balanced Cards
   ======================================================== */
.vids {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px;
  margin-top: 36px;
  width: 100%;
}

.vid {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s, border-color 0.22s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.vid:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border-color: var(--gold);
}

.thumb {
  aspect-ratio: 16/10 !important;
  background: linear-gradient(145deg, #1d2834 0%, #10161e 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Dark gradient overlay for thumbnails - ensures badges/play/footer stay readable */
.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.08) 40%,
    rgba(0, 0, 0, 0.08) 60%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.thumb-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  gap: 8px;
}

.plat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 700 0.74rem var(--d);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plat.tt {
  background: #010101;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.plat.yt {
  background: #ff0000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.category-pill {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.35);
  font: 700 0.7rem var(--d);
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.play-wrapper {
  position: relative;
  z-index: 2;
}

.play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
}

.vid:hover .play {
  transform: scale(1.12);
  background: #ffb733;
}

.play::after {
  content: "";
  border-left: 14px solid #1b232b;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

.thumb-footer {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  font-weight: 500;
}

.verified-dot {
  color: #10b981;
  font-size: 0.8rem;
}

.meta {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.founder-identity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  gap: 8px;
}

.founder-identity b {
  font: 750 1.18rem var(--d);
  color: var(--ink);
}

.country-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.25);
  white-space: nowrap;
}

.business-title {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.founder-quote {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin: 0 0 16px 0;
}

.vid-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s;
  margin-top: auto;
}

.vid:hover .vid-action {
  background: var(--gold);
  color: #1b232b;
  border-color: var(--gold);
}

.vid-arrow {
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.2s;
}

.vid:hover .vid-arrow {
  transform: translate(2px, -2px);
}

/* Filters */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.filters button, .filter-btn {
  font: 600 0.95rem var(--b);
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--line);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.15s;
}

.filters button.active, .filter-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Fee & FAQ */
.fee-hero {
  background: var(--gold);
  color: #1b232b;
}

.fee-hero .price {
  font: 800 clamp(4.5rem, 12vw, 7.5rem)/0.9 var(--d);
  letter-spacing: -0.05em;
}

.faq {
  max-width: 800px;
  margin: 36px auto 0;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font: 700 1.15rem var(--d);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--muted);
}

details[open] summary::after {
  content: "−";
}

details p {
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.65;
}

/* Forms */
form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

label small {
  font-weight: 400;
  color: var(--muted);
}

input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.chk {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.92rem;
}

.chk input {
  width: auto;
  margin-top: 5px;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-top: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th, td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--surface-raised);
  font: 700 0.88rem var(--d);
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

/* Real-Time Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  pointer-events: none;
}

.toast {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  animation: slideIn 0.35s ease-out;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.toast.sale {
  border-left-color: var(--green);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 64px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: auto;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

footer p {
  max-width: 58ch;
  margin-top: 10px;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

/* ========================================================
   Login Split Layout - Carousel Left, Form Right
   ======================================================== */
.login-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  padding: 0;
}

.login-carousel-side {
  position: relative;
  background: var(--band);
  color: var(--bandtext);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 48px 56px;
  overflow: hidden;
}

.login-carousel-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(247, 183, 49, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--band), transparent);
  pointer-events: none;
  z-index: 2;
}

.login-logo {
  font: 800 1.45rem var(--d);
  color: var(--ink);
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

.login-mobile-logo {
  display: none;
  font-size: 1.4rem;
  justify-content: center;
  margin-bottom: 12px;
}

.carousel-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
  padding: 40px 0;
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  min-height: 400px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.carousel-slide.active {
  display: flex;
  pointer-events: auto;
  animation: slideFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-tag {
  display: inline-block;
  width: max-content;
  background: rgba(247, 183, 49, 0.15);
  color: var(--gold);
  font: 700 0.78rem var(--d);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(247, 183, 49, 0.3);
  margin-bottom: 18px;
}

.slide-headline {
  font: 800 clamp(2rem, 3.2vw, 2.75rem)/1.15 var(--d);
  letter-spacing: -0.03em;
  color: var(--bandtext);
  margin-bottom: 16px;
}

.slide-desc {
  color: var(--bandmuted);
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 54ch;
  margin-bottom: 28px;
}

.slide-stat {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font: 800 2.2rem var(--d);
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--bandmuted);
  margin-top: 4px;
}

/* Testimonial Card */
.slide-testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

:root[data-theme="dark"] .slide-testimonial {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.testimonial-quote {
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--bandtext);
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ff8f00);
  color: #1b232b;
  font: 800 0.9rem var(--d);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--bandtext);
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--bandmuted);
}

/* Mini Steps */
.slide-steps {
  display: grid;
  gap: 12px;
}

.mini-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--ink);
  transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.mini-step:hover {
  border-color: var(--gold);
  transform: translateX(2px);
}

:root[data-theme="dark"] .mini-step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.07);
  color: var(--bandmuted);
  box-shadow: none;
}

:root[data-theme="dark"] .mini-step:hover {
  background: rgba(255, 255, 255, 0.07);
}

.mini-step-n {
  font: 800 0.85rem var(--d);
  color: var(--gold);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(247, 183, 49, 0.12);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 32px;
  height: 4px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--ink) 25%, transparent);
  border: 0;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

:root[data-theme="dark"] .carousel-dot {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-dot.active {
  width: 48px;
  background: var(--gold);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-footer {
  position: relative;
  z-index: 3;
}

/* Login Form Side */
.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  background: var(--bg);
}

.login-form-container {
  width: 100%;
  max-width: 620px;
}

.login-form-header {
  margin-bottom: 28px;
}

.login-title {
  font: 800 clamp(2.1rem, 3.2vw, 2.7rem)/1.1 var(--d);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}

.login-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.login-error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: color-mix(in srgb, #ef4444 10%, var(--surface));
  border: 1px solid color-mix(in srgb, #ef4444 30%, var(--line));
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 22px;
  color: #ef4444;
  font-size: 0.94rem;
  font-weight: 600;
}

.login-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 42px 40px;
  display: grid;
  gap: 20px;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
}

:root[data-theme="dark"] .login-form {
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.09);
}

.login-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.login-form input {
  height: 52px;
  padding: 14px 18px;
  font-size: 1.02rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Demo Accounts Section */
.demo-accounts {
  margin-top: 10px;
  padding: 20px 22px;
  background: var(--surface-raised);
  border: 1px dashed var(--line);
  border-radius: 14px;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.demo-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 0.84rem var(--d);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.demo-card-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  text-align: left;
  width: 100%;
}

.demo-card-btn:hover {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 6%, var(--bg));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.demo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
}

.demo-card-top svg {
  color: var(--muted);
  transition: transform 0.18s, color 0.18s;
}

.demo-card-btn:hover .demo-card-top svg {
  color: var(--gold);
  transform: translateX(3px);
}

.demo-email {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  word-break: break-all;
  margin-bottom: 3px;
}

.demo-meta {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
}

.demo-role {
  font: 700 0.72rem var(--d);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.demo-role.admin {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  color: #92400e;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}

:root[data-theme="dark"] .demo-role.admin {
  color: var(--gold);
}

.demo-role.founder {
  background: color-mix(in srgb, var(--green) 18%, transparent);
  color: #065f46;
  border: 1px solid color-mix(in srgb, var(--green) 40%, transparent);
}

:root[data-theme="dark"] .demo-role.founder {
  color: var(--green);
}

.login-footer-link {
  text-align: center;
  font-size: 0.94rem;
  color: var(--muted);
  margin-top: 10px;
}

.login-footer-link a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-footer-link a:hover {
  color: var(--gold);
}

/* ========================================================
   Expansive, Well-Balanced Centered Hero Banner
   ======================================================== */
.hero-banner {
  padding: 52px 0 36px !important;
  position: relative;
  background: radial-gradient(ellipse 75% 55% at 50% 0%, rgba(245, 166, 35, 0.1) 0%, transparent 75%);
}

.hero-banner .wrap.hero-wrap-centered {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  grid-template-columns: 1fr !important;
  max-width: 1160px !important;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 4vw, 48px) !important;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.32);
  color: var(--gold);
  border-radius: 999px;
  padding: 7px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px !important;
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero-badge-pill:hover {
  transform: translateY(-1px);
  background: rgba(245, 166, 35, 0.18);
}

.hero-banner h1.hero-title {
  font-size: clamp(3.2rem, 5.8vw, 4.8rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 16px 0 !important;
  text-align: center;
  max-width: 1020px;
}

.hero-banner .hero-lead {
  font-size: clamp(1.15rem, 1.55vw, 1.34rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto 30px auto !important;
  text-align: center;
}

.hero-banner .hero-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin: 0 0 34px 0 !important;
}

.hero-banner .hero-cta .btn {
  padding: 15px 32px !important;
  font-size: 1.06rem !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s;
}

.hero-banner .hero-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.28);
}

.hero-banner .hero-cta .btn.ghost {
  border-width: 2px !important;
  padding: 14px 30px !important;
}

.hero-banner .hero-facts {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(24px, 4.5vw, 64px) !important;
  flex-wrap: wrap !important;
  padding: 16px 42px !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
  margin: 0 !important;
}

.hero-banner .hero-facts .fact-item {
  text-align: center;
}

.hero-banner .hero-facts .fact-item b {
  font: 850 clamp(1.45rem, 2.2vw, 1.95rem) var(--d);
  color: var(--ink);
  line-height: 1.15;
  display: block;
}

.hero-banner .hero-facts .fact-item span {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.hero-banner .hero-facts .fact-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

@media (max-width: 640px) {
  .hero-banner {
    padding: 32px 0 20px !important;
  }
  .hero-banner .hero-facts {
    padding: 14px 20px !important;
    gap: 18px !important;
  }
  .hero-banner .hero-facts .fact-divider {
    display: none;
  }
}

/* ========================================================
   Tracker Showcase Section (Balanced & Expansive)
   ======================================================== */
.section-tracker {
  padding: 30px 0 72px;
}

.section-tracker .tracker-container {
  max-width: 960px;
  margin: 0 auto;
}

.tracker-header-intro {
  text-align: center;
  margin-bottom: 20px;
}

.tracker-kicker {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 6px;
}

.tracker-header-intro h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.tracker-header-intro .lead {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}

.tracker-centered-card {
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.tracker-sales-box {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tracker-sales-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.tracker-view-all {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.85rem;
  transition: opacity 0.2s;
}

.tracker-view-all:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.section-fullwidth .wrap {
  max-width: 100%;
  padding: 0 clamp(24px, 5vw, 80px);
}

.section-fullwidth .lead {
  max-width: none;
}

/* Responsive queries */
@media (max-width: 880px) {
  .hero .wrap, .two {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .pan .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .weeks {
    grid-template-columns: 1fr;
  }
  .track {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .track::before {
    left: 11px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  .stage {
    padding: 0 0 0 52px;
  }

  /* Login split becomes stacked */
  .login-split {
    grid-template-columns: 1fr;
  }

  .login-carousel-side {
    padding: 28px 24px;
    min-height: 420px;
  }

  .carousel-track {
    min-height: 300px;
  }

  .login-form-side {
    padding: 36px 24px;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
    padding: 10px 0;
  }
  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }
  nav ul {
    gap: 16px;
    white-space: nowrap;
    padding-bottom: 4px;
  }
  .pair {
    grid-template-columns: 1fr;
  }
  .pan .grid {
    grid-template-columns: 1fr;
  }

  /* Login: hide carousel on small screens, show mobile logo */
  .login-carousel-side {
    display: none;
  }

  .login-mobile-logo {
    display: flex;
  }

  .login-form-side {
    padding: 32px 16px;
  }

  .login-form {
    padding: 28px 20px;
  }

  .login-split {
    min-height: 100vh;
  }
}

/* ========================================================
   COMPACT NON-SCROLLABLE JOIN APPLICATION FORM
   ======================================================== */
.join-section {
  padding: 30px 0 45px;
}

.join-grid-compact {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.join-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.join-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 700 0.76rem var(--d);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--gold) 15%, transparent);
  border: 1px solid var(--gold);
  color: #1b232b;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  width: max-content;
}

:root[data-theme="dark"] .join-badge {
  color: var(--gold);
}

.join-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
}

.join-lead {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}

.join-steps-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.step-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.step-mini span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: #1b232b;
  font: 800 0.75rem var(--d);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.join-tip-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.join-tip-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.join-tip-box p {
  color: var(--muted);
  margin: 0;
}

.join-guarantee-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
}

/* Compact Form Card */
.join-form-compact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.join-form-row {
  display: grid;
  gap: 12px;
}

.join-form-row.cols-4 {
  grid-template-columns: 1.3fr 0.8fr 1fr 1.3fr;
}

.join-form-row.cols-3 {
  grid-template-columns: 1.3fr 1.3fr 1fr;
}

.join-form-row.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.join-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.join-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.join-field label small {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}

.join-field input,
.join-field select,
.join-field textarea {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}

.join-field input:focus,
.join-field select:focus,
.join-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.join-field textarea {
  min-height: 62px;
  height: 62px;
  line-height: 1.45;
  resize: vertical;
}

/* Bottom Action & Agreement Bar */
.join-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
  flex-wrap: wrap;
}

.join-agreements {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 55%;
}

.join-chk {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
  font-size: 0.8rem;
}

.join-chk input {
  margin: 0;
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.join-submit-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.join-fee-badge {
  text-align: right;
  line-height: 1.15;
}

.join-fee-badge strong {
  font: 800 1.35rem var(--d);
  color: var(--ink);
  display: block;
}

.join-fee-badge small {
  font-size: 0.75rem;
  color: var(--muted);
}

.btn-join-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #1b232b;
  font: 700 0.95rem var(--d);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px var(--gold-glow);
  transition: all 0.15s ease;
}

.btn-join-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--gold-glow);
}

@media (max-width: 960px) {
  .join-grid-compact {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .join-form-row.cols-4,
  .join-form-row.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
  .join-agreements {
    max-width: 100%;
  }
}

@media (max-width: 580px) {
  .join-form-row.cols-4,
  .join-form-row.cols-3,
  .join-form-row.cols-2 {
    grid-template-columns: 1fr;
  }
  .join-action-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .join-submit-group {
    justify-content: space-between;
    width: 100%;
  }
}

