/* =============================================================
   AURUM PARTNERS · Production Stylesheet v3
   Black + Gold luxury fintech · Mobile-first · 480/640/768/1024/1280
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500;1,700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg:           #0A0A0B;
  --bg-deep:      #050507;
  --surface:      #131316;
  --surface-hi:   #1C1C20;
  --surface-2:    #0F0F12;

  --border:       rgba(255,255,255,0.06);
  --border-hi:    rgba(212,175,55,0.30);
  --border-mid:   rgba(212,175,55,0.15);

  --gold:         #D4AF37;
  --gold-bright:  #F5D76E;
  --gold-deep:    #A8821C;
  --gold-glow:    rgba(212,175,55,0.18);
  --gold-grad:    linear-gradient(135deg, #F5D76E 0%, #D4AF37 50%, #A8821C 100%);
  --gold-grad-soft: linear-gradient(135deg, rgba(245,215,110,0.18), rgba(168,130,28,0.10));

  --text:         #ECECEE;
  --text-dim:     #8B8B92;
  --text-faint:   #56565E;
  --text-bright:  #FFFFFF;

  --success:      #5DCAA5;
  --warning:      #E0B341;
  --danger:       #E5615F;

  --bronze:       #CD7F32;
  --silver:       #C4C4CC;

  --font-display: 'Playfair Display', 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --radius-xs:    6px;
  --radius-sm:    10px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-pill:  999px;

  --shadow-sm:    0 2px 12px rgba(0,0,0,0.35);
  --shadow-md:    0 12px 32px rgba(0,0,0,0.45);
  --shadow-lg:    0 30px 80px rgba(0,0,0,0.55);
  --shadow-gold:  0 12px 48px rgba(212,175,55,0.18), 0 0 0 1px rgba(212,175,55,0.22);

  --container:    1240px;
  --container-narrow: 880px;

  --ease-out:     cubic-bezier(0.16, 0.84, 0.32, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(212,175,55,0.06), transparent 60%),
    radial-gradient(800px 400px at 10% 10%, rgba(212,175,55,0.04), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--gold-bright); }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
::selection { background: rgba(212,175,55,0.25); color: var(--text-bright); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text-bright);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 16px; color: var(--text-dim); }
em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
strong { color: var(--text-bright); font-weight: 600; }
small { font-size: 0.85em; }

/* ---------- Utility ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }
@media (max-width: 640px) { .container { padding: 0 18px; } }
.section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 72px 0; } }

.flex { display: flex; align-items: center; }
.gap-3 { gap: 24px; }
.right { text-align: right; }
.center { text-align: center; }
.gold { color: var(--gold); }
.text-gold-solid { color: var(--gold); }
.text-secondary { color: var(--text-dim); }
.up { color: var(--success); }
.divider-gold { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border-mid), transparent); margin: 24px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.eyebrow.eyebrow-bare::before { display: none; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Reveal (Intersection Observer hook) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Nav ---------- */
.nav-unified {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,11,0.75);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-unified-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
@media (max-width: 640px) { .nav-unified-inner { padding: 14px 18px; } }
.nav-unified-menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-unified-link {
  padding: 8px 14px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  cursor: pointer;
}
.nav-unified-link:hover { color: var(--text-bright); background: rgba(255,255,255,0.04); }
.nav-unified-link.active { color: var(--gold); background: rgba(212,175,55,0.08); }
@media (max-width: 720px) { .nav-hide-mobile { display: none; } }

.logo { display: flex; align-items: center; gap: 12px; color: var(--text-bright); }
.logo:hover { color: var(--text-bright); }
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--gold-grad);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-weight: 700; font-size: 20px;
  border-radius: 11px;
  box-shadow: 0 4px 16px rgba(212,175,55,0.30);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 13px;
  background: var(--gold-grad);
  filter: blur(12px);
  opacity: 0.35;
  z-index: -1;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text-main {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  line-height: 1; letter-spacing: 0.02em;
}
.logo-text-sub {
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 0.24em; text-transform: uppercase; margin-top: 3px; font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px; font-weight: 500;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform .2s var(--ease-out), box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  letter-spacing: -0.005em;
}
.btn i { font-size: 16px; }
.btn-primary {
  background: var(--gold-grad);
  color: #0a0a0a;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(212,175,55,0.28);
}
.btn-primary:hover { transform: translateY(-1px) scale(1.01); box-shadow: 0 12px 32px rgba(212,175,55,0.4); color: #0a0a0a; }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: rgba(255,255,255,0.02);
  border-color: var(--border-hi);
  color: var(--gold);
}
.btn-secondary:hover { background: rgba(212,175,55,0.08); color: var(--gold-bright); border-color: var(--gold); }
.btn-ghost {
  background: transparent; color: var(--text-dim);
}
.btn-ghost:hover { color: var(--text-bright); background: rgba(255,255,255,0.04); }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ---------- Cards (generic) ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.card.card-glow:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-gold);
}
@media (max-width: 640px) { .card { padding: 24px; } }

/* =============================================================
   HERO (landing)
   ============================================================= */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 85% 10%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(168,130,28,0.06), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 64px;
}
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero-content { max-width: 600px; }
@media (max-width: 1024px) { .hero-content { max-width: none; } }
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  margin: 24px 0 20px;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 0 36px;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
}
.hero-trust-item {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-trust-item::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.hero-trust-num { color: var(--text-bright); font-weight: 600; font-family: var(--font-mono); }

/* ---------- Hero preview (earnings card) ---------- */
.hero-preview { position: relative; perspective: 1200px; }
.preview-card {
  position: relative;
  background: linear-gradient(165deg, rgba(28,28,32,0.95), rgba(15,15,18,0.95));
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212,175,55,0.12), 0 0 80px rgba(212,175,55,0.10);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out);
}
.preview-card:hover { transform: rotateY(-3deg) rotateX(2deg) translateY(-4px); }
.preview-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(245,215,110,0.4), transparent 30%, transparent 70%, rgba(212,175,55,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
}
.preview-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.preview-eyebrow {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.preview-pulse {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
}
.preview-pulse::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(93,202,165,0.7); }
  50%      { box-shadow: 0 0 0 6px rgba(93,202,165,0); }
}
.preview-amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.preview-delta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--success);
  margin-bottom: 24px;
  font-weight: 500;
  font-family: var(--font-mono);
}
.preview-delta::before {
  content: "↗";
  font-size: 14px;
}
.preview-chart {
  width: 100%;
  height: 96px;
  display: block;
  margin-bottom: 20px;
}
.preview-chart-line {
  stroke: var(--gold);
  stroke-width: 2.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: chart-draw 2s var(--ease-out) .4s forwards;
}
.preview-chart-area { fill: url(#preview-gradient); opacity: 0; animation: chart-fade 1s ease-out 1.6s forwards; }
@keyframes chart-draw { to { stroke-dashoffset: 0; } }
@keyframes chart-fade { to { opacity: 1; } }
.preview-chart-dot {
  fill: var(--gold);
  stroke: #0A0A0B;
  stroke-width: 2;
  opacity: 0;
  animation: chart-fade 0.3s ease-out 2.2s forwards;
}
.preview-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}
.preview-avatars { display: flex; }
.preview-avatars span {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface-hi);
  border: 2px solid var(--surface);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-left: -10px;
  font-family: var(--font-mono);
}
.preview-avatars span:first-child { margin-left: 0; }
.preview-avatars span:last-child { background: rgba(212,175,55,0.12); color: var(--gold); }
.preview-foot-text { font-size: 12px; color: var(--text-dim); }

/* floating mini-stat cards on preview */
.preview-float {
  position: absolute;
  background: var(--surface-hi);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 12px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  z-index: 2;
}
.preview-float-tl { top: -20px; left: -32px; animation: float-y 6s ease-in-out infinite; }
.preview-float-br { bottom: 24px; right: -28px; animation: float-y 6s ease-in-out 3s infinite; }
@media (max-width: 1024px) { .preview-float-tl, .preview-float-br { display: none; } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.preview-float-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 16px;
}
.preview-float-num { color: var(--text-bright); font-weight: 600; font-family: var(--font-mono); }
.preview-float-lbl { color: var(--text-faint); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }

/* =============================================================
   STEPS (How it works)
   ============================================================= */
.section-header {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto 64px;
}
.section-header .eyebrow { margin-bottom: 18px; }
.section-header h2 { margin-bottom: 16px; }
.section-subtitle {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-eyebrow { /* alias for compat */
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { /* alias */ font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 56px; left: 7%; right: 7%;
  height: 1px;
  background-image: linear-gradient(90deg, var(--gold) 50%, transparent 0);
  background-size: 8px 1px;
  opacity: 0.25;
  z-index: 0;
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  z-index: 1;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-grad);
  transform: translateX(-100%);
  transition: transform .4s var(--ease-out);
}
.step:hover { border-color: var(--border-hi); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step:hover::after { transform: translateX(0); }
.step-num {
  position: absolute; top: 18px; right: 26px;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.10;
  line-height: 1;
  letter-spacing: -0.03em;
}
.step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(212,175,55,0.10);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 20px;
  position: relative;
}
.step-title { font-size: 1.2rem; margin-bottom: 8px; color: var(--text-bright); }
.step-desc { color: var(--text-dim); font-size: 14px; margin: 0; line-height: 1.6; }

/* =============================================================
   TIERS
   ============================================================= */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}
@media (max-width: 960px) { .tiers-grid { grid-template-columns: 1fr; } }
.tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .3s;
}
.tier-card:hover { transform: translateY(-6px); border-color: var(--border-hi); box-shadow: var(--shadow-md); }
.tier-card.featured {
  background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, var(--surface) 60%);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
@media (min-width: 961px) {
  .tier-card.featured { transform: scale(1.04); }
  .tier-card.featured:hover { transform: scale(1.04) translateY(-6px); }
}
.tier-featured-tag {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold-grad);
  color: #0a0a0a;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(212,175,55,0.3);
  white-space: nowrap;
}
.tier-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 26px;
  margin-bottom: 20px;
}
.tier-icon.bronze { background: rgba(205,127,50,0.12); color: var(--bronze); }
.tier-icon.silver { background: rgba(196,196,204,0.10); color: var(--silver); }
.tier-icon.gold   { background: rgba(212,175,55,0.14); color: var(--gold); }
.tier-name { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 4px; color: var(--text-bright); }
.tier-tagline {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.tier-commission { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.tier-commission-num {
  font-family: var(--font-mono);
  font-size: 3rem; font-weight: 600;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tier-commission-num.gold-tier {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.tier-commission-recur { font-size: 13px; color: var(--text-dim); }
.tier-range {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.tier-features {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.tier-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-dim);
  line-height: 1.5;
}
.tier-features li i { color: var(--gold); font-size: 16px; flex: 0 0 auto; margin-top: 2px; }
.tiers-footnote {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-faint);
}

/* =============================================================
   FEATURES
   ============================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color .25s, transform .25s var(--ease-out), background .25s;
}
.feature-card:hover { border-color: var(--border-hi); background: var(--surface-hi); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(212,175,55,0.08);
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 20px;
  border: 1px solid var(--border-mid);
}
.feature-title { font-size: 1.15rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; color: var(--text-bright); }
.feature-desc { color: var(--text-dim); font-size: 14px; margin: 0; line-height: 1.65; }

/* =============================================================
   STATS STRIP
   ============================================================= */
.stats-strip-section { padding: 80px 0; }
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 56px 48px;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(212,175,55,0.08), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, rgba(15,15,18,0.7) 100%);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
}
@media (max-width: 768px) { .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 40px 24px; } }
@media (max-width: 480px) { .stats-strip { grid-template-columns: 1fr; } }
.stats-strip-item { text-align: center; }
.stats-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 600;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stats-lbl {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* =============================================================
   FAQ
   ============================================================= */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq-item[open] { border-color: var(--border-hi); background: var(--surface-hi); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-bright);
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--gold); }
.faq-q::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--gold);
  font-weight: 300;
  transition: transform .25s var(--ease-out);
}
.faq-item[open] .faq-q::after { content: "−"; transform: rotate(180deg); }
.faq-a {
  padding: 0 26px 22px;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.7;
}
.faq-a p:last-child { margin-bottom: 0; }

/* =============================================================
   FINAL CTA
   ============================================================= */
.cta-section {
  text-align: center;
  padding: 96px 32px;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(212,175,55,0.10), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--text-dim); font-size: 1.08rem; max-width: 540px; margin: 0 auto 32px; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 96px;
  padding: 64px 0 32px;
  background: var(--bg-deep);
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand-line {
  color: var(--text-dim);
  font-size: 14px;
  max-width: 320px;
  margin: 20px 0 0;
  line-height: 1.6;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--text-dim);
  font-size: 14px;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-text { font-size: 13px; color: var(--text-faint); margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-link { color: var(--text-faint); font-size: 13px; }
.footer-link:hover { color: var(--text-bright); }
.footer-inner { /* alias for legacy */
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

/* =============================================================
   SIGNUP — split-screen layout
   ============================================================= */
.signup-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: calc(100vh - 72px);
  align-items: stretch;
}
@media (max-width: 960px) { .signup-wrapper { grid-template-columns: 1fr; min-height: 0; } }
.signup-aside {
  background:
    radial-gradient(500px 400px at 30% 20%, rgba(212,175,55,0.08), transparent 60%),
    var(--bg-deep);
  border-right: 1px solid var(--border);
  padding: 64px 48px;
  display: flex; flex-direction: column;
  position: sticky; top: 72px;
  height: calc(100vh - 72px);
}
@media (max-width: 960px) {
  .signup-aside { position: static; height: auto; padding: 40px 24px; border-right: 0; border-bottom: 1px solid var(--border); }
}
.signup-aside-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-bright);
  margin: 32px 0 8px;
  letter-spacing: -0.02em;
}
.signup-aside-sub { color: var(--text-dim); font-size: 14px; margin-bottom: 40px; }
.stepper-v {
  display: flex; flex-direction: column;
  gap: 0;
  margin-bottom: auto;
  position: relative;
}
.stepper-v::before {
  content: "";
  position: absolute;
  top: 28px; bottom: 28px; left: 15px;
  width: 1px;
  background: var(--border);
}
.step-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  position: relative; z-index: 1;
}
.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 13px; font-weight: 600;
  display: grid; place-items: center;
  transition: all .3s var(--ease-out);
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.step-dot.active {
  background: var(--gold-grad);
  color: #0a0a0a;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.15);
}
.step-dot.completed {
  background: rgba(93,202,165,0.15);
  color: var(--success);
  border-color: rgba(93,202,165,0.4);
}
.step-label {
  font-size: 14px;
  color: var(--text-faint);
  font-weight: 500;
  transition: color .25s;
}
.step-label.active { color: var(--text-bright); }
.step-line { display: none; }
.step-indicator { display: contents; }

.signup-aside-testimonial {
  margin-top: 40px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.aside-quote {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  margin: 0 0 16px;
  line-height: 1.55;
}
.aside-quote-author { display: flex; align-items: center; gap: 12px; }
.aside-quote-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #0a0a0a;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.aside-quote-name { font-size: 13px; color: var(--text-bright); font-weight: 500; }
.aside-quote-meta { font-size: 11px; color: var(--text-faint); }

.signup-main {
  padding: 64px 56px;
  display: flex; flex-direction: column;
  max-width: 720px;
}
@media (max-width: 960px) { .signup-main { padding: 40px 24px; } }

.signup-header { margin-bottom: 32px; text-align: left; }
.signup-header h1 { margin-bottom: 8px; }
.signup-card { padding: 0; background: transparent; border: 0; }

.step-page { display: none; }
.step-page.active { display: block; animation: stepIn .4s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.form-section-title { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 6px; color: var(--text-bright); }
.form-section-subtitle { color: var(--text-dim); margin-bottom: 32px; font-size: 14px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-faint); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.12);
}
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-faint) 50%),
    linear-gradient(135deg, var(--text-faint) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.form-hint { font-size: 12px; color: var(--text-faint); margin: 6px 0 0; }
.form-actions {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.phone-group { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }

.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .upload-grid { grid-template-columns: 1fr; } }
.doc-type-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s var(--ease-out);
}
.doc-type-card:hover { border-color: var(--border-mid); background: var(--surface); }
.doc-type-card.selected { border-color: var(--gold); background: rgba(212,175,55,0.06); }
.doc-type-card i { font-size: 26px; color: var(--gold); margin-bottom: 8px; display: block; }
.doc-type-name { font-size: 14px; font-weight: 500; color: var(--text-bright); margin-bottom: 2px; }
.doc-type-desc { font-size: 12px; color: var(--text-faint); }

.upload-area {
  background: var(--surface-2);
  border: 1.5px dashed var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all .2s var(--ease-out);
}
.upload-area:hover { border-color: var(--gold); background: rgba(212,175,55,0.03); }
.upload-area i { font-size: 30px; color: var(--gold); margin-bottom: 10px; display: block; }
.upload-area-title { font-size: 14px; font-weight: 500; color: var(--text-bright); margin-bottom: 4px; }
.upload-area-hint { font-size: 12px; color: var(--text-faint); }

.checkbox-group {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .2s;
}
.checkbox-group:hover { border-color: var(--border-mid); }
.checkbox-group input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--gold);
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.checkbox-label { font-size: 13px; color: var(--text-dim); line-height: 1.55; cursor: pointer; }
.checkbox-label a { color: var(--gold); }

.success-state { text-align: center; padding: 24px 0; }
.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(93,202,165,0.12);
  color: var(--success);
  display: grid; place-items: center;
  margin: 0 auto 24px;
  font-size: 40px;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(93,202,165,0.5); }
  50%      { box-shadow: 0 0 0 16px rgba(93,202,165,0); }
}
.animate-glow { animation: glow 2s ease-in-out infinite; }
.next-steps {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}
.next-steps-title {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.next-steps ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.next-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-dim); }
.next-steps li i { color: var(--gold); flex-shrink: 0; font-size: 18px; }

.signup-card { padding: 0; }

/* =============================================================
   DASHBOARD
   ============================================================= */
.dashboard { padding: 40px 24px 96px; max-width: var(--container); margin: 0 auto; }
.dashboard-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.greeting { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 6px; color: var(--text-bright); }
.subtitle { color: var(--text-dim); margin: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.tier-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 960px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card { padding: 24px; }
.stat-card.premium {
  background: linear-gradient(180deg, rgba(212,175,55,0.08), var(--surface));
  border-color: var(--border-mid);
}
.stat-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}
.stat-label i { color: var(--gold); font-size: 15px; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-value.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}
.stat-meta.up { color: var(--success); }
.stat-meta i { font-size: 14px; }

.ref-link-card {
  background:
    radial-gradient(400px 200px at 0% 50%, rgba(212,175,55,0.08), transparent 70%),
    var(--surface);
  border-color: var(--border-mid);
  margin-bottom: 24px;
}
.panel-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.panel-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--text-bright); }
.panel-subtitle { font-size: 13px; color: var(--text-dim); margin: 2px 0 0; }
.ref-link-content { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ref-link-input {
  flex: 1; min-width: 260px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-bright);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 14px;
}
.ref-link-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 960px) { .dashboard-grid { grid-template-columns: 1fr; } }
.chart-container { height: 320px; position: relative; }

.tier-progress-card { display: flex; flex-direction: column; gap: 24px; }
.tier-progress-header { display: flex; align-items: center; gap: 14px; }
.tier-progress-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 24px;
}
.tier-progress-info { display: flex; flex-direction: column; gap: 2px; }
.tier-progress-from { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; }
.tier-progress-to { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); }
.progress-bar-wrap { display: flex; flex-direction: column; gap: 10px; }
.progress-bar-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); }
.progress-bar-pct { color: var(--gold); font-weight: 600; font-family: var(--font-mono); }
.progress-bar-target { color: var(--text-faint); }
.progress-bar {
  height: 8px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--gold-grad);
  border-radius: var(--radius-pill);
  transition: width 1s var(--ease-out);
  box-shadow: 0 0 12px rgba(212,175,55,0.4);
}
.progress-requirements {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.progress-requirements li { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.req-label { color: var(--text-dim); }
.req-value { color: var(--text); font-family: var(--font-mono); font-size: 13px; }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 960px) { .quick-actions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quick-actions { grid-template-columns: 1fr; } }
.action-card {
  display: flex; align-items: center; gap: 14px;
  padding: 20px;
  text-decoration: none;
  color: var(--text-bright);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all .25s var(--ease-out);
}
.action-card:hover { border-color: var(--border-hi); transform: translateY(-2px); color: var(--text-bright); box-shadow: var(--shadow-sm); }
.action-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(212,175,55,0.10);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.action-title { font-size: 14px; font-weight: 600; }
.action-desc { font-size: 12px; color: var(--text-faint); margin-top: 2px; }

.toast {
  position: fixed;
  bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface-hi);
  border: 1px solid var(--border-hi);
  color: var(--text-bright);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; pointer-events: none;
  box-shadow: var(--shadow-lg);
  transition: opacity .3s, transform .3s var(--ease-out);
  z-index: 200;
}
.toast i { color: var(--success); font-size: 18px; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* =============================================================
   TABLES
   ============================================================= */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-faint);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  position: sticky; top: 0;
}
thead th.right { text-align: right; }
thead th.center { text-align: center; }
tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text-dim);
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: rgba(212,175,55,0.025); }
.amount-gold { font-family: var(--font-mono); color: var(--gold); font-weight: 600; }
.amount-paid { font-family: var(--font-mono); color: var(--text-bright); font-weight: 500; }

.customer-cell { display: flex; align-items: center; gap: 12px; }
.customer-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-hi);
  border: 1px solid var(--border-mid);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.customer-info, .customer-meta { display: flex; flex-direction: column; gap: 2px; }
.customer-email { color: var(--text-bright); font-size: 13.5px; font-weight: 500; }
.customer-date { color: var(--text-faint); font-size: 12px; }

.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-success { background: rgba(93,202,165,0.12); color: var(--success); border: 1px solid rgba(93,202,165,0.25); }
.badge-warning { background: rgba(224,179,65,0.12); color: var(--warning); border: 1px solid rgba(224,179,65,0.25); }
.badge-danger  { background: rgba(229,97,95,0.12); color: var(--danger); border: 1px solid rgba(229,97,95,0.25); }

.plan-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 500;
  background: var(--surface-hi);
  color: var(--text-bright);
  border: 1px solid var(--border);
}
.plan-badge.elite { background: rgba(212,175,55,0.10); color: var(--gold); border-color: var(--border-mid); }
.type-badge { font-size: 12px; color: var(--text-dim); }
.tier-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tier-tag.bronze { background: rgba(205,127,50,0.12); color: var(--bronze); }
.tier-tag.silver { background: rgba(196,196,204,0.10); color: var(--silver); }
.tier-tag.gold   { background: rgba(212,175,55,0.12); color: var(--gold); }

.amount-cell { font-family: var(--font-mono); color: var(--gold); font-weight: 600; }
.pct-cell { font-size: 11px; color: var(--text-faint); margin-top: 2px; }

/* =============================================================
   COMMISSIONS page
   ============================================================= */
.page { padding: 40px 24px 96px; max-width: var(--container); margin: 0 auto; }
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.page-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 6px; color: var(--text-bright); }
.page-subtitle { color: var(--text-dim); margin: 0; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.info-bar {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(212,175,55,0.05);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-bottom: 24px;
  color: var(--text-dim);
  font-size: 13.5px;
}
.info-bar i { color: var(--gold); font-size: 20px; flex-shrink: 0; margin-top: 1px; }

.stats-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 960px) { .stats-summary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-summary { grid-template-columns: 1fr; } }
.summary-stat { padding: 24px; }
.summary-label {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}
.summary-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1;
  color: var(--text-bright);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.summary-value.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.summary-sub { font-size: 12px; color: var(--text-faint); }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.search-input {
  flex: 1; min-width: 240px;
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  transition: border-color .2s;
}
.search-input:focus-within { border-color: var(--gold); }
.search-input i { color: var(--text-faint); font-size: 17px; }
.search-input input {
  flex: 1; background: transparent; border: 0;
  padding: 13px 0;
  font-size: 14px;
  color: var(--text-bright);
  outline: none;
}
.filter-select {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s;
}
.filter-select:focus { outline: none; border-color: var(--gold); }

.commission-table { width: 100%; }
.commission-table th, .commission-table td { padding: 16px 20px; }
@media (max-width: 768px) {
  .commission-table { display: block; overflow-x: auto; white-space: nowrap; }
}

.pagination {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}
.page-info { font-size: 13px; color: var(--text-faint); }
.page-btn {
  min-width: 36px; height: 36px; padding: 0 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: var(--radius-xs);
  font-size: 13px;
  cursor: pointer;
  display: inline-grid; place-items: center;
  transition: all .2s var(--ease-out);
  font-family: var(--font-mono);
}
.page-btn:hover:not(:disabled) { border-color: var(--border-mid); color: var(--text-bright); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-btn.current {
  background: var(--gold-grad);
  color: #0a0a0a;
  border-color: var(--gold);
  font-weight: 700;
}

/* =============================================================
   PAYOUTS page
   ============================================================= */
.payout-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 960px) { .payout-layout { grid-template-columns: 1fr; } }

.balance-card {
  background:
    radial-gradient(400px 280px at 100% 0%, rgba(212,175,55,0.10), transparent 70%),
    var(--surface);
  border-color: var(--border-mid);
}
.balance-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}
.balance-label i { color: var(--gold); font-size: 16px; }
.balance-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.balance-currency { font-size: 13px; color: var(--text-faint); margin-bottom: 24px; }
.balance-breakdown {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.breakdown-row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.breakdown-label { display: flex; align-items: center; gap: 10px; color: var(--text-dim); }
.breakdown-label i { color: var(--text-faint); font-size: 15px; }
.breakdown-value { font-family: var(--font-mono); color: var(--text-bright); font-weight: 500; }
.next-payout {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-dim);
}
.next-payout i { color: var(--gold); font-size: 18px; flex-shrink: 0; }

.withdraw-card { display: flex; flex-direction: column; }
.withdraw-header { margin-bottom: 24px; }
.withdraw-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 6px; color: var(--text-bright); }
.withdraw-subtitle { color: var(--text-dim); font-size: 13.5px; margin: 0; }

.amount-input-wrap {
  display: flex; align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.amount-input-wrap:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,0.12); }
.amount-currency {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-faint);
  margin-right: 8px;
}
.amount-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-bright);
  padding: 8px 0;
  width: 100%;
  -moz-appearance: textfield;
  font-variant-numeric: tabular-nums;
}
.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount-quick { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.amount-quick-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-mono);
}
.amount-quick-btn:hover { border-color: var(--gold); color: var(--gold); }

.min-warning {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: rgba(229,97,95,0.08);
  border: 1px solid rgba(229,97,95,0.3);
  border-radius: var(--radius-sm);
  color: var(--danger);
  font-size: 13px;
  margin-bottom: 20px;
}
.min-warning i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.min-warning strong { color: var(--danger); }

.method-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.method-tab {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease-out);
  color: var(--text-dim);
}
.method-tab i { font-size: 18px; }
.method-tab:hover { border-color: var(--border-mid); color: var(--text-bright); }
.method-tab.active {
  background: rgba(212,175,55,0.10);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.10);
}

.saved-account {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all .2s var(--ease-out);
}
.saved-account:hover { border-color: var(--border-mid); }
.saved-account.selected { border-color: var(--gold); background: rgba(212,175,55,0.04); }
.account-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--surface-hi);
  display: grid; place-items: center;
  color: var(--gold);
  font-size: 20px;
  flex-shrink: 0;
}
.account-info { flex: 1; }
.account-name { font-size: 14px; font-weight: 500; color: var(--text-bright); }
.account-detail { font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.account-default {
  font-size: 10px;
  color: var(--gold);
  background: rgba(212,175,55,0.10);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--border-mid);
}
.add-account {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px dashed var(--border-mid);
  color: var(--gold);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
  font-weight: 500;
}
.add-account:hover { background: rgba(212,175,55,0.04); border-color: var(--gold); }

.fee-summary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 24px 0;
}
.fee-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 13.5px; }
.fee-label { color: var(--text-dim); }
.fee-value { color: var(--text); font-family: var(--font-mono); font-weight: 500; }
.fee-row.total {
  border-top: 1px solid var(--border);
  padding-top: 14px; margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.fee-row.total span { color: var(--text-bright); }
.fee-row.total span:last-child {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.history-card { padding: 0; overflow: hidden; }
.history-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 24px 16px;
  gap: 16px;
  flex-wrap: wrap;
}
.payout-table { width: 100%; }
.payout-table th, .payout-table td { padding: 16px 24px; }
@media (max-width: 768px) {
  .payout-table { display: block; overflow-x: auto; white-space: nowrap; }
}
.payout-date { display: flex; flex-direction: column; gap: 2px; }
.payout-date strong { color: var(--text-bright); font-weight: 500; font-size: 13.5px; }
.payout-date small { color: var(--text-faint); font-size: 11.5px; }
.method-cell { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); }
.method-cell .method-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--surface-hi);
  display: grid; place-items: center;
  color: var(--gold);
  font-size: 17px;
  flex-shrink: 0;
}
.ref-id { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(5,5,7,0.75);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  padding: 24px;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 440px; width: 100%;
  text-align: center;
  transform: translateY(20px) scale(0.96);
  transition: transform .3s var(--ease-spring);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.show .modal { transform: translateY(0) scale(1); }
.modal h3 { margin-bottom: 10px; font-size: 1.4rem; }
.modal p { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; }
.modal-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(93,202,165,0.12);
  color: var(--success);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  font-size: 36px;
}
.modal-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

/* counter: animated number target (used inside stats strip) */
.counter { font-variant-numeric: tabular-nums; }

/* misc generic */
.current { color: var(--gold); }
.animate-fade-up { } /* legacy noop — reveal class handles animation now */
.delay-1, .delay-2, .delay-3, .delay-4 {}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-hi); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }
