/* ═══════════════════════════════════════════════════════════ */
/* DIRECTION B — MARKETING                                     */
/* Hero cinématique · gradient · social proof · landing page  */
/* ═══════════════════════════════════════════════════════════ */

:root {
  --bg:        #060810;
  --surface:   #0c0f1a;
  --surface-2: #111525;
  --border:    #1a1f33;
  --text:      #dce2f5;
  --muted:     #556082;
  --faint:     #242b45;
  --accent:    #00d4aa;
  --accent-dim:rgba(0,212,170,0.12);
  --blue:      #4d9fff;
  --green:     #00c97a;
  --red:       #ff4d6a;
  --gold:      #f5a623;
  --font-display: 'Clash Display', 'Cabinet Grotesk', sans-serif;
  --font-body:    'Satoshi', 'General Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums lining-nums; }
.accent { color: var(--accent); }
.green { color: var(--green); }
.red { color: var(--red); }
.gold { color: var(--gold); }

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  position: sticky;
  top: 0;
  background: rgba(6,8,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-nyx {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.logo-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
  font-weight: 500;
}
.nav-link:hover { color: var(--text); }

.btn-cta-nav {
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #060810;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}
.btn-cta-nav:hover { background: #00b891; transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 7rem 3rem 5rem;
  overflow: hidden;
}

/* Background grid lines */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,170,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

/* Glow orb */
.hero-orb {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.12) 0%, rgba(77,159,255,0.06) 50%, transparent 70%);
  pointer-events: none;
  animation: orb-float 6s ease-in-out infinite;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.03); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 99px;
  padding: 0.375rem 0.875rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 2rem;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,201,122,0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(0,201,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,201,122,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.title-gradient {
  background: linear-gradient(135deg, #00d4aa 0%, #4d9fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #00d4aa, #00b891);
  color: #060810;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 4px 24px rgba(0,212,170,0.25);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,212,170,0.35);
}

.btn-hero-ghost {
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}
.btn-hero-ghost:hover { border-color: var(--text); color: var(--text); }

/* Hero stats inline */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  max-width: 460px;
}
.h-stat {
  flex: 1;
  padding: 1rem;
  text-align: center;
}
.h-stat-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.h-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.h-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── DASHBOARD PREVIEW CARD ───────────────────────────────── */
.hero-preview {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 40px rgba(0,212,170,0.08);
  animation: card-float 5s ease-in-out infinite;
}
@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.preview-dots { display: flex; gap: 5px; }
.preview-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--faint);
}
.preview-dots span:nth-child(1) { background: #ff6059; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #28ca42; }
.preview-url {
  flex: 1;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}
.preview-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--red);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.preview-dot-live {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s infinite;
}

.preview-content { padding: 1rem; }

.preview-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}
.pk {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.625rem;
  text-align: center;
}
.pk.accent-card { border-color: var(--accent); background: var(--accent-dim); }
.pk-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pk-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.preview-chart {
  width: 100%;
  height: 90px;
  background: var(--surface-2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.875rem;
}
.preview-chart svg { width: 100%; height: 100%; }

.preview-signals { display: flex; flex-direction: column; gap: 0; }
.ps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--faint);
}
.ps:last-child { border-bottom: none; }
.ps-name { flex: 1; font-weight: 500; }
.ps-val { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; }

/* ── TICKER ───────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem 0;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker 22s linear infinite;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--muted); flex-shrink: 0;
}
.ticker-name { font-weight: 600; color: var(--text); }
.ticker-chg { font-weight: 600; }
.ticker-chg.up { color: var(--green); }
.ticker-chg.down { color: var(--red); }

/* ── SECTION SHARED ───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid rgba(0,212,170,0.25);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-sub { font-size: 1rem; color: var(--muted); max-width: 500px; margin: 0 auto; }

/* ── HOW SECTION ─────────────────────────────────────────── */
.how-section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color 200ms ease;
}
.step:hover { border-color: var(--accent); }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.step-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--faint);
  align-self: center;
  flex-shrink: 0;
}

/* ── PERFORMANCE ─────────────────────────────────────────── */
.perf-section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.perf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 200ms ease, transform 200ms ease;
}
.perf-card:hover { border-color: var(--border); transform: translateY(-3px); }
.perf-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0,212,170,0.06) 0%, var(--surface) 100%);
  box-shadow: 0 0 32px rgba(0,212,170,0.1);
}
.perf-inst {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.perf-strategy {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
}
.perf-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.ps-stat { display: flex; flex-direction: column; gap: 2px; }
.ps-val { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; }
.ps-lbl { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em; }
.perf-validation {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
}

/* ── SIGNUP SECTION ─────────────────────────────────────── */
.signup-section {
  padding: 7rem 3rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.signup-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.signup-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.signup-desc { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
.signup-features { display: flex; flex-direction: column; gap: 0.75rem; }
.feat {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.feat-icon { color: var(--green); font-weight: 700; flex-shrink: 0; }
.feat.premium { color: var(--text); }

/* Form card */
.signup-form {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field-label { font-size: 0.75rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.875rem;
  font-size: 0.9rem;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}
.input::placeholder { color: var(--muted); }
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.12);
}
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: linear-gradient(135deg, #00d4aa, #00b891);
  color: #060810;
  border: none;
  border-radius: 8px;
  padding: 0.9rem;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 4px 20px rgba(0,212,170,0.2);
}
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,212,170,0.3);
}
.form-note { font-size: 0.75rem; color: var(--muted); text-align: center; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { padding: 2.5rem 3rem; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}
.footer-disclaimer { font-size: 0.75rem; color: var(--faint); max-width: 400px; text-align: center; line-height: 1.5; }
.footer-copy { font-size: 0.7rem; color: var(--faint); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem 4rem; }
  .hero-preview { max-width: 480px; }
  .how-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .perf-grid { grid-template-columns: 1fr; }
  .signup-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .nav { padding: 1.25rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
}
