/* =============================================
   ALPHABOT — INDEX / LANDING PAGE CSS
   ============================================= */

/* ---- HERO ---- */
.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Ticker tape */
.ticker-tape {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  overflow: hidden;
  height: 38px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  z-index: 3;
  display: flex;
  align-items: center;
}

.ticker-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.ticker-item {
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid var(--border);
}

.ticker-item .t-sym {
  color: var(--text-primary);
  font-weight: 700;
}

.ticker-item .t-up {
  color: var(--accent);
}

.ticker-item .t-down {
  color: var(--red);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Hero text */
.hero-text {
  padding-top: 120px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: 'Space Mono', monospace;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 520px;
  font-weight: 400;
  margin-top: 16px;
}

/* Stats */
.hero-stats {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: 'Space Mono', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* Hero card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 320px;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  margin-top: 80px;
  animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.card-header-bar {
  background: var(--bg-elevated);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.bar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.bar-dot.red {
  background: #ff5f57;
}

.bar-dot.yellow {
  background: #febc2e;
}

.bar-dot.green {
  background: #28c840;
}

.bar-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Mini chart SVG area */
.mini-chart {
  height: 120px;
  padding: 12px;
  position: relative;
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(0, 255, 136, 0.03) 100%);
}

.mini-chart svg {
  width: 100%;
  height: 100%;
}

.card-metrics {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.m-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.m-val {
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.signal-buy {
  color: var(--accent) !important;
  font-size: 0.72rem !important;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 2px 8px;
  border-radius: 4px;
}

.card-actions {
  padding: 16px;
  border-top: 1px solid var(--border);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
  animation: bounceDown 2s infinite;
  z-index: 2;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ---- HOW IT WORKS ---- */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.step-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.step-card:hover::before {
  opacity: 1;
}

.step-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
}

/* ---- PERF STRIP ---- */
.perf-strip {
  padding: 40px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.perf-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s;
}

.perf-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.perf-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.perf-val {
  font-family: 'Space Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.perf-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- STRATEGIES ---- */
.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.strategy-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.featured-strategy {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, var(--bg-card), rgba(0, 255, 136, 0.04));
  box-shadow: var(--shadow-glow);
}

.s-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-family: 'Space Mono', monospace;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.s-badge.momentum {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.s-badge.arbitrage {
  background: rgba(68, 153, 255, 0.1);
  color: #4499ff;
  border: 1px solid rgba(68, 153, 255, 0.3);
}

.s-badge.scalp {
  background: rgba(255, 196, 0, 0.1);
  color: #ffcc00;
  border: 1px solid rgba(255, 196, 0, 0.3);
}

.s-badge.mean {
  background: rgba(255, 68, 102, 0.1);
  color: #ff4466;
  border: 1px solid rgba(255, 68, 102, 0.3);
}

.strategy-card h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.strategy-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 16px;
}

.s-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}

.s-ret {
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
}

.s-dd {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
}

/* ---- TESTIMONIALS ---- */
.testimonial-section {
  background: var(--bg-surface);
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  height: 100%;
  transition: all 0.3s;
}

.testi-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.testi-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 20px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.9rem;
}

.testi-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .hero-text {
    padding-top: 100px;
  }

  .hero-title {
    letter-spacing: -1px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .stat-val {
    font-size: 1.4rem;
  }
}