/* ============================================================
   ForexAI - Landing page
   ============================================================ */

.landing-body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 35, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .3px;
}
.landing-brand:hover { color: var(--green); }

/* Ticker */
.ticker-bar {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 8px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 40s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-item { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text-dim); }
.ticker-item b { color: var(--text); margin-right: 6px; }

/* Hero */
.hero {
  padding: 80px 0 60px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 15% 10%, rgba(0,255,136,.08), transparent),
    radial-gradient(ellipse 45% 40% at 90% 30%, rgba(59,130,246,.08), transparent),
    radial-gradient(ellipse 50% 50% at 60% 90%, rgba(168,85,247,.06), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(0,255,136,.25);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
}
.text-gradient {
  background: linear-gradient(90deg, var(--green), #00c26f, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { color: var(--text-dim); font-size: 17px; line-height: 1.7; max-width: 540px; margin-top: 18px; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 28px; font-weight: 800; color: var(--green); }
.hero-stats span { color: var(--text-dim); font-size: 12px; }

.hero-visual { position: relative; }
.hero-chart-card {
  background: var(--panel);
  border: 1px solid var(--border-2);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.hero-chart-head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}
.hero-chart { height: 280px; position: relative; }
.hero-trade-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 14px;
}
.hero-trade-row small { display: block; color: var(--text-dim); font-size: 11px; }
.hero-trade-row strong { font-size: 15px; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.5px; }
.section-head p { color: var(--text-dim); margin-top: 12px; }

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(0,255,136,.4); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-dim);
  color: var(--green);
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 14px; line-height: 1.65; margin: 0; }

.step-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  position: relative;
}
.step-num {
  font-size: 42px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green);
  opacity: .7;
  display: block;
  margin-bottom: 12px;
}
.step-card h3 { font-size: 18px; font-weight: 700; }
.step-card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 10px 0 0; }

.cta-box {
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(0,255,136,.25);
  border-radius: 20px;
  text-align: center;
  padding: 60px 24px;
}
.cta-box h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-box p { color: var(--text-dim); margin: 12px 0 26px; }

.landing-footer { border-top: 1px solid var(--border); background: var(--bg-2); }
.landing-footer a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.landing-footer a:hover { color: var(--green); }
.footer-hr { border-color: var(--border); opacity: 1; }
.disclaimer { line-height: 1.6; }

@media (max-width: 991.98px) {
  .hero { padding: 50px 0 40px; text-align: center; }
  .hero .btn-lg { margin-bottom: 8px; }
  .hero-lead { margin-inline: auto; }
  .hero-stats { justify-content: center; }
}
