/* =============================================================================
 * index.css — Landing page styles (redesigned Feb 2026)
 * Professional landing page: dark/light sections, Inter font, generous whitespace
 * ============================================================================= */

/* === LANDING PAGE OVERRIDES === */
body.landing {
  background: #080d19;
}

/* Landing page nav: starts transparent, becomes solid on scroll */
/* Base nav (shared.css) is solid — landing overrides to transparent */
body.landing .nav-bar {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: none;
  padding: 16px 0;
}

body.landing .nav-bar.scrolled {
  background: rgba(8, 13, 25, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0;
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #080d19 0%, #0c1428 50%, #0a1020 100%);
  overflow: hidden;
}

/* Ambient glow behind hero content */
.hero-section::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74,158,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: translate(0, 0) scale(1); }
  100% { opacity: 1; transform: translate(40px, -20px) scale(1.2); }
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #4a9eff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4a9eff;
  border-radius: 50%;
}

.hero-headline {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-bold {
  display: block;
  color: #ffffff;
}

.hero-light {
  display: block;
  color: rgba(255,255,255,0.45);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 400;
}

/* === BUTTONS === */
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4a9eff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover {
  background: #3b8de6;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-arrow { font-size: 16px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  text-decoration: none;
}

.btn-secondary-light {
  border-color: rgba(255,255,255,0.25);
}

/* === HERO STATS === */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 32px;
}

.hero-stat:first-child { padding-left: 0; }

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

.hero-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* === SECTIONS (alternating dark/light) === */
.section-light {
  background: #f7f8fc;
  padding: 100px 0;
  position: relative;
}

/* Gradient bleed at top of light sections */
.section-light::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, #0c1428 0%, #f7f8fc 100%);
  pointer-events: none;
  z-index: 1;
}

/* First light section after hero uses hero's bottom color */
.hero-section + .section-light::before {
  background: linear-gradient(180deg, #0a1020 0%, #f7f8fc 100%);
}

.section-dark {
  background: #0c1428;
  padding: 100px 0;
  position: relative;
}

/* Gradient bleed at top of dark sections */
.section-dark::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, #f7f8fc 0%, #0c1428 100%);
  pointer-events: none;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === SECTION LABELS === */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #4a9eff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4a9eff;
  border-radius: 50%;
}

.section-label-light {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #4a9eff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label-light::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4a9eff;
  border-radius: 50%;
}

/* === SECTION HEADLINES === */
.section-headline {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.section-headline-light {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.section-sub-light {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}

/* === TWO-COLUMN LAYOUT === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.two-col-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.two-col-text p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: #4a9eff;
  border-radius: 50%;
}

.feature-list li strong {
  color: #0f172a;
  font-weight: 600;
}

/* === VISUAL CARD (product proof) === */
.two-col-visual {
  position: relative;
}

/* Ambient glow behind visual card */
.two-col-visual::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: -20px;
  left: -20px;
  background: radial-gradient(ellipse at center, rgba(74,158,255,0.06) 0%, transparent 70%);
  border-radius: 24px;
  pointer-events: none;
}

.visual-card {
  position: relative;
  background: linear-gradient(135deg, #0c1428 0%, #0f1a35 100%);
  border: 1px solid rgba(74,158,255,0.12);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 60px rgba(74,158,255,0.04);
}

.visual-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.vc-badge {
  background: rgba(74,158,255,0.12);
  color: #4a9eff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.vc-source {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.vc-signal {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-left: auto;
}

.vc-bullish {
  background: rgba(61,220,132,0.12);
  color: #3ddc84;
}

.visual-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.visual-card-body {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 16px;
}

.visual-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.vc-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.visual-card-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* === HOW IT WORKS (steps) === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  position: relative;
  padding: 32px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  transition: border-color 0.2s, background 0.2s;
}

.step:hover {
  border-color: rgba(74,158,255,0.12);
  background: rgba(255,255,255,0.03);
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(74,158,255,0.15);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* === LATEST POSTS === */
.latest-posts-grid {
  margin-bottom: 40px;
}

/* Post cards on light background need different colors */
.section-light .post-card {
  border-bottom-color: #e2e8f0;
  padding: 20px 0;
  cursor: pointer;
  transition: background 0.15s;
}

.section-light .post-card:hover {
  background: #eef2f7;
  margin: 0 -24px;
  padding: 20px 24px;
  border-radius: 8px;
}

.section-light .post-title {
  color: #0f172a;
}

.section-light .post-preview {
  color: #64748b;
}

.section-light .post-meta {
  color: #94a3b8;
}

.section-light .ticker-badge {
  background: rgba(74,158,255,0.08);
  border-color: rgba(74,158,255,0.15);
  color: #3b82f6;
}

.section-light .source-badge {
  color: #94a3b8;
  border-color: #e2e8f0;
}

.section-light .tag {
  background: #eef2f7;
  border-color: #e2e8f0;
  color: #64748b;
}

.section-light .loading {
  color: #94a3b8;
}

.section-cta-row {
  text-align: center;
}

/* === DIFFERENTIATOR GRID === */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.diff-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.diff-card-highlight {
  background: linear-gradient(135deg, #0c1428 0%, #111d3a 100%);
  border-color: rgba(74,158,255,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(74,158,255,0.08);
}

.diff-card-highlight h3 { color: #fff; }
.diff-card-highlight p { color: rgba(255,255,255,0.6); }

.diff-card-highlight .diff-icon-circle {
  background: rgba(74,158,255,0.15);
  color: #4a9eff;
  border-color: rgba(74,158,255,0.3);
}

/* Styled letter icons instead of emojis */
.diff-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  background: rgba(0,0,0,0.06);
  color: #64748b;
  border: 1px solid rgba(0,0,0,0.08);
}

.diff-icon-green {
  background: rgba(61,220,132,0.08);
  color: #22c55e;
  border-color: rgba(61,220,132,0.15);
}

.diff-icon-blue {
  background: rgba(74,158,255,0.15);
  color: #4a9eff;
  border-color: rgba(74,158,255,0.25);
}

.diff-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

/* === REQUEST SECTION === */
.request-container {
  max-width: 520px;
}

.req-ticker-input {
  width: 120px !important;
  text-transform: uppercase;
  font-weight: 700 !important;
  font-size: 18px !important;
  letter-spacing: 0.05em;
  padding: 14px 16px !important;
}

.req-optional-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}

.request-container input[type="email"],
.request-container input[type="text"],
.request-container input[type="password"],
.request-container textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 8px;
  outline: none;
  margin-bottom: 12px;
  font-family: inherit;
  transition: border-color 0.15s;
  resize: vertical;
}

.request-container input::placeholder,
.request-container textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.request-container input:focus,
.request-container textarea:focus {
  border-color: #4a9eff;
}

.btn-form {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.request-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 8px;
}

.request-status.success {
  color: #3ddc84;
  border: 1px solid rgba(61,220,132,0.3);
  background: rgba(61,220,132,0.06);
}

.request-status.error {
  color: #ff6b6b;
  border: 1px solid rgba(255,107,107,0.3);
  background: rgba(255,107,107,0.06);
}

.request-hint {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

/* Auth tabs */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}

.auth-tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.auth-tab:first-child { border-radius: 8px 0 0 8px; }
.auth-tab:last-child { border-radius: 0 8px 8px 0; border-left: none; }

.auth-tab.active {
  background: rgba(74,158,255,0.12);
  color: #4a9eff;
  border-color: rgba(74,158,255,0.3);
}

.auth-tab:last-child.active { border-left: 1px solid rgba(74,158,255,0.3); }

.user-type-row {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.user-type-row label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-type-row input[type="radio"] {
  width: auto;
  margin: 0;
}

.user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.user-bar strong { color: #fff; }

.user-bar a {
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  text-decoration: none;
}

.user-bar a:hover { color: #ff6b6b; }

.dashboard-link {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
}

/* === FOOTER === */
.footer-section {
  background: linear-gradient(180deg, #0c1428 0%, #060a14 100%);
  padding: 100px 0 60px;
  text-align: center;
}

.footer-headline {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.footer-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 40px;
}

.footer-section .hero-ctas {
  justify-content: center;
  margin-bottom: 64px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.35);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.2);
}

.footer-copy a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
}

.footer-copy a:hover { color: rgba(255,255,255,0.5); }

/* === NOSCRIPT === */
.noscript-content {
  padding: 40px 0;
  background: #080d19;
  color: rgba(255,255,255,0.6);
}

.noscript-content h3 {
  font-size: 16px;
  color: #4a9eff;
  margin-bottom: 12px;
}

.noscript-content p, .noscript-content li {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.noscript-content a { color: #4a9eff; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-stat { padding: 0; }
  .hero-stat-divider { display: none; }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 100px 20px 60px;
  }

  .section-inner {
    padding: 0 20px;
  }

  .section-light, .section-dark {
    padding: 64px 0;
  }

  .hero-ctas {
    flex-direction: column;
    margin-bottom: 48px;
  }

  .btn-primary, .btn-secondary {
    justify-content: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .hero-stat-divider { display: none; }

  .hero-stat {
    padding: 0;
  }

  .visual-card { padding: 20px; }
}

/* === SMOOTH SCROLL === */
html {
  scroll-behavior: smooth;
}
