:root {
  --bg: #0D0F18;
  --surface: #13161F;
  --surface-2: #1A1E2B;
  --border: #1E2333;
  --text: #F0EDE6;
  --text-muted: #8B8FA8;
  --accent: #E8A838;
  --accent-dim: #C48A1E;
  --teal: #2DD4BF;
  --danger: #FF6B6B;
  --success: #4ADE80;
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-brand: 'Fraunces', Georgia, serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 15, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  padding: 140px 2rem 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 168, 56, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 168, 56, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-accent {
  color: var(--accent);
  display: inline-block;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
}

/* DASHBOARD FRAME */
.dash-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,168,56,0.08);
}
.dash-header {
  background: var(--surface-2);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.dash-dots {
  display: flex;
  gap: 6px;
}
.dash-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.dash-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.metric-card {
  padding: 1.25rem;
  border-right: 1px solid var(--border);
}
.metric-card:last-child { border-right: none; }
.metric-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.metric-value {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.metric-delta {
  display: block;
  font-size: 0.7rem;
  margin-top: 0.25rem;
}
.metric-delta.up { color: var(--success); }
.metric-delta.neutral { color: var(--text-muted); }
.metric-delta.down { color: var(--danger); }
.dash-chart {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-bottom: 0.5rem;
}
.bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent-dim), var(--accent));
  border-radius: 3px 3px 0 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.bar:last-child { opacity: 1; }
.chart-label {
  font-size: 0.65rem;
  color: var(--text-muted);
}
.dash-alert {
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 107, 107, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.alert-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--danger);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.alert-arrow { color: var(--accent); margin-left: auto; }

/* STATS */
.stats-row {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 3rem;
}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.stat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ROLE SECTIONS */
.role-section {
  padding: 6rem 2rem;
}
.role-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.role-inner.reverse {
  direction: rtl;
}
.role-inner.reverse > * {
  direction: ltr;
}
.role-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.role-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}
.role-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.role-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.rf-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.role-feature h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.role-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.syndicator .role-inner { direction: ltr; }
.merchant { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.merchant .role-inner { direction: ltr; }

/* INTEGRATIONS */
.integrations {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.integrations-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.integrations-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.integration-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.int-logo {
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.int-logo:hover { opacity: 1; }

/* PRICING */
.pricing-section {
  padding: 6rem 2rem;
}
.pricing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.pricing-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.pricing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
}
.pricing-card.earnings {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(232,168,56,0.06) 0%, var(--surface) 100%);
}
.pricing-card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.pricing-main {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.pricing-amount {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.pricing-note.muted { color: var(--text-muted); opacity: 0.6; }
.pricing-impact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}
.impact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.impact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.impact-value {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--success);
}
.impact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CLOSING */
.closing {
  padding: 8rem 2rem 6rem;
  text-align: center;
  background: linear-gradient(to bottom, transparent, rgba(232,168,56,0.03));
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner,
  .role-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .role-inner.reverse { direction: ltr; }
  .stats-row { flex-direction: column; gap: 2rem; }
  .stat-divider { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .dash-metrics { grid-template-columns: 1fr; }
  .metric-card { border-right: none; border-bottom: 1px solid var(--border); }
  .metric-card:last-child { border-bottom: none; }
  .impact-item { flex-direction: column; text-align: center; }
}