/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0C0F1E;
  --bg-2: #12162B;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --accent: #00D4A4;
  --accent-dim: rgba(0,212,164,0.12);
  --amber: #F4A261;
  --amber-dim: rgba(244,162,97,0.12);
  --text: #F0EEE8;
  --text-2: rgba(240,238,232,0.55);
  --text-3: rgba(240,238,232,0.3);
  --radius: 14px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(12,15,30,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0,212,164,0.2);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 40px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,164,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-chart-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  opacity: 0.6;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 10%, transparent 60%);
}
.hero-chart-art svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.badge-dot--amber {
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}

/* Hero Card */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.card-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.card-ticker {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.card-reason {
  background: var(--bg-2);
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.card-reason p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}
.card-factors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.factor {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0,212,164,0.15);
}

/* === MARKET PULSE === */
.market-pulse {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
}
.pulse-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}
.pulse-items {
  display: flex;
  gap: 32px;
  flex-wrap: nowrap;
}
.pulse-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.pulse-ticker {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.05em;
}
.pulse-price {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}
.pulse-change {
  font-size: 11px;
  font-weight: 500;
}
.pulse-change--up { color: var(--accent); }
.pulse-change--down { color: #FF6B6B; }

/* === SECTION HEADER (shared) === */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
}

/* === SIGNAL INTERFACE === */
.signal-interface {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.signal-interface .section-header {
  text-align: left;
  margin-bottom: 48px;
}
.chat-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 48px;
  max-width: 780px;
}
.chat-header {
  padding: 14px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-dots {
  display: flex;
  gap: 5px;
}
.chat-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.chat-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.chat-model {
  font-size: 11px;
  color: var(--text-3);
}
.chat-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.chat-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
}
.msg-avatar--ai {
  background: var(--accent-dim);
  border-color: rgba(0,212,164,0.2);
  color: var(--accent);
}
.msg-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  max-width: 580px;
}
.msg-bubble--ai {
  background: var(--bg-2);
}
.signal-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.score-label {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
}
.score-value {
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.score-value--strong {
  color: var(--accent);
  background: var(--accent-dim);
}
.reason-text {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 10px;
}
.reason-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reason-list li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: 8px;
  border-left: 2px solid var(--accent);
}
.confidence-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-3);
  font-style: italic;
}
.chat-input-bar {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.input-placeholder {
  font-size: 13px;
  color: var(--text-3);
}

.interface-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.int-feature {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.int-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,164,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.int-feature h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.int-feature p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}

/* === EDGE STATS === */
.edge-stats {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 40px;
  text-align: center;
}
.edge-inner {
  max-width: 900px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.edge-item {
  padding: 0 32px;
}
.edge-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.edge-desc {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}
.edge-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}
.edge-tagline {
  font-size: 16px;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: center;
  margin-bottom: 72px;
  gap: 0;
}
.step {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  position: relative;
  justify-self: center;
}
.step-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--border);
  border-top: 1.5px solid var(--border);
  transform: rotate(45deg);
}

.philosophy {
  text-align: center;
  padding: 60px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.philosophy-mark {
  margin: 0 auto 24px;
  width: fit-content;
}
.philosophy blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.4;
}
.philosophy-attribution {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* === CLOSING === */
.closing {
  padding: 100px 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}
.closing p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 48px;
}
.closing-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 500px;
  margin: 0 auto;
}
.closing-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
}
.closing-label {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  text-align: left;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 16px;
}
.footer-disclaimer {
  font-size: 11px;
  color: var(--text-3);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-chart-art { display: none; }
  .edge-inner { grid-template-columns: 1fr; gap: 24px; }
  .edge-divider { display: none; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step-connector { display: none; }
  .interface-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; }
  .nav { padding: 0 24px; }
  .signal-interface { padding: 60px 24px; }
  .how-it-works { padding: 60px 24px; }
  .edge-stats { padding: 48px 24px; }
  .closing { padding: 60px 24px; }
  .market-pulse { padding: 14px 24px; }
  .hero-card { margin-top: 0; }
  .hero-headline { font-size: 40px; }
}
@media (max-width: 480px) {
  .hero-meta { gap: 10px; }
  .pulse-items { gap: 20px; }
  .closing-stat { flex-direction: column; text-align: center; }
}