/* SignalPulse Landing Page Styles */

:root {
  --bg: #0a0f1a;
  --bg-2: #0f1624;
  --bg-3: #141d2e;
  --accent: #f59e0b;
  --accent-dim: #b4730a;
  --green: #4ade80;
  --text: #e8edf5;
  --text-muted: #7a8ba8;
  --text-dim: #4a5a78;
  --border: #1a2438;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

/* HERO */
.hero {
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at 60% 50%, black 30%, transparent 80%);
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
}

/* HERO WIDGET */
.hero-widget {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.06);
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.widget-ticker {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
}
.widget-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-3);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.widget-chart {
  background: var(--bg-3);
  border-radius: 10px;
  padding: 16px 16px 8px;
  margin-bottom: 20px;
}
.chart-line {
  height: 80px;
}
.chart-line svg {
  width: 100%;
  height: 100%;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 8px;
  padding: 0 2px;
}
.widget-prediction {
  background: var(--bg-3);
  border-radius: 10px;
  padding: 16px;
}
.pred-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pred-direction {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.pred-direction.up { color: var(--green); }
.pred-direction.down { color: #f87171; }
.pred-confidence {
  font-size: 13px;
  color: var(--text-muted);
}
.pred-bar {
  height: 6px;
  background: var(--bg);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.pred-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  opacity: 0.7;
}
.pred-data {
  font-size: 11px;
  color: var(--text-dim);
}

/* PREDICTIONS SECTION */
.predictions {
  padding: 100px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 56px;
}
.pred-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pred-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.pred-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
}
.pred-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pred-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
}
.pred-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* HOW IT WORKS */
.howitworks {
  padding: 100px 24px;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
}
.step {
  flex: 1;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 16px;
}
.step-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
}
.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.step-connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: var(--border);
  margin: 28px 20px 0;
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--border);
  border-top: 2px solid var(--border);
  transform: rotate(45deg);
}

/* METHODOLOGY */
.methodology {
  padding: 100px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.method-content {
  max-width: 680px;
}
.method-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.method-headline {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text);
  margin-bottom: 20px;
}
.method-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.method-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.spec {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.spec-val {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.method-disclaimer {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-3);
}

/* CLOSING */
.closing {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}
.closing-headline {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text);
  margin-bottom: 20px;
  max-width: 760px;
}
.closing-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 56px;
}
.closing-vision {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.vision-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.vision-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vision-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FOOTER */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-legal {
  font-size: 12px;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 120px 20px 80px;
  }
  .pred-cards {
    grid-template-columns: 1fr;
  }
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0 auto;
  }
  .step-connector::after {
    right: auto;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-right: none;
    border-top: none;
    border-left: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
  }
  .method-specs {
    grid-template-columns: 1fr;
  }
  .closing-vision {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .predictions, .howitworks, .methodology, .closing {
    padding: 64px 20px;
  }
  .hero {
    padding: 100px 20px 64px;
  }
}