/* ===========================
   SYNTHEDGE — DESIGN SYSTEM
   Dark, precision fintech UI
   =========================== */

:root {
  --bg-base:       #0A0B0F;
  --bg-card:       #111318;
  --bg-card-hover: #161820;
  --bg-section:    #0D0E13;

  --border:        #1E2030;
  --border-light:  #252840;

  --text-primary:  #F0F1F5;
  --text-secondary:#8B8FA8;
  --text-muted:    #4E5266;

  --accent:        #6C63FF;
  --accent-glow:   rgba(108, 99, 255, 0.18);
  --accent-hover:  #7B74FF;

  --teal:          #00D4AA;
  --teal-glow:     rgba(0, 212, 170, 0.12);

  --gold:          #F5C842;
  --red:           #FF4D6A;
  --green:         #22C55E;

  --font-display:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;

  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-xl:     24px;

  --shadow-card:   0 1px 0 rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:   0 0 40px rgba(108, 99, 255, 0.15);

  --max-w:         1160px;
  --nav-h:         68px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

/* CONTAINER */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 20px rgba(108,99,255,0.35); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-primary.btn-block { display: flex; justify-content: center; width: 100%; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-family: var(--font-display);
  font-weight: 500; font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--accent); }
.btn-ghost.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-ghost.btn-block { display: flex; justify-content: center; width: 100%; margin-top: 10px; }

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(10, 11, 15, 0.92);
  border-color: var(--border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 40px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; font-weight: 500; }
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text-secondary); border-radius: 2px; transition: 0.3s; }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 80px;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}
.hero-grid-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(108,99,255,0.08), transparent);
}
.hero { text-align: center; }
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.2);
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 28px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.7;transform:scale(1.3)} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.accent-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 580px; margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 40px;
  max-width: 640px; margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.stat { text-align: center; padding: 0 32px; }
.stat-num { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--text-primary); }
.stat-label { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* ===========================
   TICKER
   =========================== */
.ticker-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0; overflow: hidden; background: var(--bg-section);
}
.ticker-inner {
  display: flex; gap: 0;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-inner span { font-size: 12px; color: var(--text-muted); padding: 0 16px; }
.ticker-inner .sep { color: var(--border-light); padding: 0 4px; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===========================
   SECTIONS
   =========================== */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-section); }
.section-header { text-align: center; margin-bottom: 60px; }
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
}
.section-sub { color: var(--text-secondary); margin-top: 14px; font-size: 1rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===========================
   STEPS
   =========================== */
.steps-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0;
}
.step-connector {
  width: 60px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--teal));
  align-self: center; margin-top: -60px; opacity: 0.4;
  flex-shrink: 0;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-number {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 16px;
}
.step-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 20px;
}
.step-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.step-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.step-detail {
  font-size: 12px; font-weight: 500;
  color: var(--teal); background: var(--teal-glow);
  padding: 6px 12px; border-radius: 100px; display: inline-block;
}

/* ===========================
   PLAN CARDS
   =========================== */
.plan-toggle {
  display: flex; justify-content: center; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 4px;
  margin-bottom: 48px; width: fit-content; margin-left: auto; margin-right: auto;
}
.plan-tab {
  padding: 8px 20px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  transition: all 0.2s;
}
.plan-tab.active { background: var(--accent); color: #fff; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative; transition: border-color 0.3s;
}
.plan-card:hover { border-color: var(--border-light); }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 40px rgba(108,99,255,0.12); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  padding: 4px 14px; border-radius: 100px; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.plan-name { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.plan-size { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-bottom: 6px; }
.plan-price { font-size: 1.1rem; font-weight: 600; color: var(--accent); margin-bottom: 24px; }
.plan-price span { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.plan-rules { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-rules li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.rule-icon { font-style: normal; flex-shrink: 0; }
.rule-icon.pass { color: var(--green); }
.rule-icon.fail { color: var(--red); }

/* ===========================
   FEATURES
   =========================== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-large { grid-column: span 2; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
  display: flex; flex-direction: column; gap: 12px;
}
.feature-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.feature-premium:hover { border-color: var(--gold); }
.feature-tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--teal-glow); color: var(--teal);
  width: fit-content;
}
.feature-tag.premium { background: rgba(245,200,66,0.1); color: var(--gold); }
.feature-card svg { color: var(--accent); }
.feature-premium svg { color: var(--gold); }
.feature-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.feature-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.feature-list li { font-size: 12px; color: var(--text-muted); padding-left: 14px; position: relative; }
.feature-list li::before { content: '·'; position: absolute; left: 4px; color: var(--accent); }

/* ===========================
   PREMIUM CARDS
   =========================== */
.premium-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 700px; margin: 0 auto; }
.premium-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  position: relative;
}
.premium-card-featured { border-color: var(--accent); box-shadow: 0 0 40px rgba(108,99,255,0.12); }
.premium-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--teal));
  color: #fff; padding: 4px 14px; border-radius: 100px; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.premium-name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 8px; }
.premium-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin-bottom: 24px; }
.premium-price span { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.premium-perks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.premium-perks li { font-size: 13px; display: flex; align-items: center; gap: 8px; }
.perk-yes { color: var(--text-secondary); }
.perk-yes::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.perk-no { color: var(--text-muted); }
.perk-no::before { content: '—'; color: var(--text-muted); flex-shrink: 0; }

/* ===========================
   PAYOUTS FEED
   =========================== */
.payouts-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.payout-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px;
  display: flex; align-items: center; gap: 14px;
}
.payout-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-glow); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.payout-name { font-size: 13px; font-weight: 600; }
.payout-country { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.payout-amount { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--green); margin-left: auto; text-align: right; }
.payout-instrument { font-size: 10px; color: var(--text-muted); text-align: right; margin-top: 2px; }

/* ===========================
   FAQ
   =========================== */
.faq-grid { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 1px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 8px; }
.faq-q {
  width: 100%; text-align: left; padding: 18px 20px;
  font-size: 14px; font-weight: 500; color: var(--text-primary);
  background: var(--bg-card); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-q::after { content: '+'; font-size: 18px; color: var(--accent); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 20px; max-height: 0; overflow: hidden;
  font-size: 13px; color: var(--text-secondary); line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--bg-card);
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 18px; }

/* ===========================
   CTA SECTION
   =========================== */
.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, rgba(108,99,255,0.12) 0%, rgba(0,212,170,0.06) 100%);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: var(--radius-xl); padding: 72px 40px; text-align: center;
}
.cta-box h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.cta-box p { color: var(--text-secondary); margin-bottom: 32px; font-size: 1rem; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px; background: var(--bg-section);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 13px; margin-top: 12px; max-width: 260px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-muted); transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom p { font-size: 11px; color: var(--text-muted); line-height: 1.6; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-stats { flex-direction: column; gap: 20px; padding: 24px; }
  .stat-divider { width: 40px; height: 1px; }
  .plans-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .premium-cards { grid-template-columns: 1fr; }
  .payouts-feed { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
}

/* UTILITY */
.text-accent { color: var(--accent); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--text-muted); }
