/* ═══════════════════════════════════════════════
   Tradespage — Platform Landing Page
   Clean SaaS · Navy + Electric Blue · Inter
   ═══════════════════════════════════════════════ */

:root {
  --navy:        #0F1E3C;
  --navy2:       #162040;
  --blue:        #2563EB;
  --blue-light:  #3B82F6;
  --blue-pale:   #EFF6FF;
  --accent:      #F59E0B;
  --green:       #10B981;
  --text:        #111827;
  --text-muted:  #6B7280;
  --surface:     #FFFFFF;
  --surface2:    #F9FAFB;
  --border:      #E5E7EB;
  --shadow:      0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.10);
  --radius:      12px;
  --font:        'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--surface); color: var(--text); overflow-x: hidden; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  padding: 6px 12px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--navy); background: var(--surface2); }
.btn-nav {
  background: var(--blue); color: #fff;
  font-size: 0.875rem; font-weight: 700;
  padding: 9px 20px; border-radius: 9px;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-nav:hover { background: #1d4ed8; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(160deg, #f0f7ff 0%, #fff 50%, #f9fafb 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 65%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-pale);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--blue);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 28px;
}
.badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 800px;
  margin-left: auto; margin-right: auto;
}
.hero h1 span { color: var(--blue); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  font-size: 1rem; font-weight: 700;
  padding: 15px 28px; border-radius: 10px;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--navy);
  font-size: 1rem; font-weight: 700;
  padding: 14px 26px; border-radius: 10px;
  border: 1.5px solid var(--border); cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}
.btn-secondary:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(37,99,235,0.1); }

/* Social proof row */
.hero-proof {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.proof-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-muted);
}
.proof-icon { font-size: 1.1rem; }
.proof-sep { color: var(--border); font-size: 1.2rem; }

/* Preview card */
.hero-preview {
  margin-top: 72px;
  position: relative;
}
.preview-label {
  font-size: 0.75rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 16px;
}
.preview-window {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  max-width: 860px;
  margin: 0 auto;
}
.preview-bar {
  background: var(--surface2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dot { width: 11px; height: 11px; border-radius: 50%; }
.preview-dot:nth-child(1) { background: #ff5f57; }
.preview-dot:nth-child(2) { background: #ffbd2e; }
.preview-dot:nth-child(3) { background: #28ca41; }
.preview-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}
.preview-scale-wrap {
  width: 100%;
  height: 520px;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.preview-embed {
  width: 167%;
  height: 167%;
  border: none;
  display: block;
  background: #fff;
  transform: scale(0.6);
  transform-origin: top left;
  pointer-events: none;
}
.preview-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to top, rgba(240,247,255,0.95), transparent);
  pointer-events: none;
}
.preview-open-btn {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.preview-open-btn:hover { text-decoration: underline; }

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 96px 0;
  background: var(--surface);
}
.section-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 64px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.step:hover { border-color: rgba(37,99,235,0.3); box-shadow: var(--shadow); transform: translateY(-2px); }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ── TRADES ── */
.trades {
  padding: 96px 0;
  background: var(--surface2);
}
.trades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trade-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.trade-card:hover { border-color: rgba(37,99,235,0.3); box-shadow: var(--shadow); transform: translateY(-2px); }
.trade-card.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.trade-card.coming {
  opacity: 0.55;
  cursor: default;
}
.trade-card.coming:hover { transform: none; box-shadow: none; }
.coming-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--border);
  color: var(--text-muted);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 8px;
}
.trade-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.trade-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.trade-card p  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }
.trade-card.active h3 { color: var(--blue); }

/* ── FEATURES ── */
.features {
  padding: 96px 0;
  background: var(--surface);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface2);
}
.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ── PRICING ── */
.pricing {
  padding: 96px 0;
  background: var(--surface2);
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1), var(--shadow-lg);
  position: relative;
}
.price-badge-top {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 10px;
}
.price-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.05em; text-transform: uppercase; }
.price-amount {
  font-size: 2.6rem; font-weight: 800;
  color: var(--navy); letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 4px;
}
.price-amount sup { font-size: 1.2rem; vertical-align: top; margin-top: 8px; }
.price-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; }
.price-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--text);
}
.check { color: var(--green); flex-shrink: 0; font-size: 0.9rem; margin-top: 1px; }
.btn-buy {
  display: block; width: 100%; text-align: center;
  background: var(--blue); color: #fff;
  font-size: 0.95rem; font-weight: 700;
  padding: 14px; border-radius: 10px;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-buy:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-buy.outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-buy.outline:hover { background: var(--surface2); border-color: var(--navy); }
.pricing-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ── CTA ── */
.cta-section {
  padding: 96px 0;
  background: var(--navy);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-section p { font-size: 1.05rem; color: rgba(255,255,255,0.65); margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--navy);
  font-size: 1rem; font-weight: 700;
  padding: 15px 28px; border-radius: 10px;
  border: none; cursor: pointer; text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover { opacity: 0.92; transform: translateY(-2px); }
.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,0.85);
  font-size: 1rem; font-weight: 700;
  padding: 14px 26px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.3); cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.7); color: #fff; }

/* ── FOOTER ── */
footer {
  background: #060E1F;
  padding: 40px 0 28px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  font-size: 1rem; font-weight: 800;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.01em;
}
.footer-brand span { color: var(--blue-light); }
.footer-note { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trades-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 420px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .trades-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
