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

:root {
  --bg-primary: #0a0b0f;
  --bg-secondary: #111318;
  --bg-card: #16181f;
  --bg-card-hover: #1c1f27;
  --accent: #e8a030;
  --accent-dim: rgba(232, 160, 48, 0.12);
  --accent-border: rgba(232, 160, 48, 0.25);
  --text-primary: #f0f0f5;
  --text-secondary: #8a8a9a;
  --text-muted: #55556a;
  --border: rgba(255,255,255,0.07);
  --green: #4ade80;
  --signal-funding: #a78bfa;
  --signal-hiring: #34d399;
  --signal-tech: #60a5fa;
  --signal-news: #fb923c;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
}

html { scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(10, 11, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  padding: 120px 40px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 32px;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}

.proof-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* === SIGNAL FEED === */
.signal-feed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.feed-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

.feed-live-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}

.feed-items { padding: 8px 0; }

.feed-item {
  padding: 12px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: var(--bg-card-hover); }

.feed-signal-tag {
  grid-row: 1;
  grid-column: 1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  width: fit-content;
  align-self: start;
  margin-top: 2px;
}

.feed-signal-tag.funding { background: rgba(167, 139, 250, 0.15); color: #c4b5fd; }
.feed-signal-tag.hiring { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; }
.feed-signal-tag.tech { background: rgba(96, 165, 250, 0.12); color: #93c5fd; }
.feed-signal-tag.news { background: rgba(251, 146, 60, 0.12); color: #fdba74; }

.feed-company {
  grid-row: 1;
  grid-column: 2;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.feed-role {
  grid-row: 2;
  grid-column: 2;
  font-size: 12px;
  color: var(--text-secondary);
}

.feed-time {
  grid-row: 2;
  grid-column: 1;
  font-size: 10px;
  color: var(--text-muted);
  align-self: center;
  padding-left: 1px;
}

/* === SIGNAL BAR === */
.signal-bar {
  padding: 20px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.signal-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.signal-bar-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.signal-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sig-tag {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}

/* === SECTIONS === */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.65;
}

/* === FEATURES === */
.features {
  padding: 100px 40px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features .section-title { text-align: center; margin-bottom: 12px; }
.features .section-sub { text-align: center; margin: 0 auto 60px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 36px 32px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--bg-card-hover); }

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 100px 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hiw-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hiw-inner .section-title { margin-bottom: 60px; text-align: center; }

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
}

.hiw-step { padding: 0 20px; }

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hiw-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
}

.connector-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* === INTEGRATIONS === */
.integrations {
  padding: 100px 40px;
}

.integrations-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.int-left .section-title { margin-bottom: 20px; }
.int-left p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.int-clarity { font-size: 14px !important; color: var(--accent) !important; font-weight: 500; }

.stack-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.stack-layer {
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.layer-funnel { background: rgba(232,160,48,0.08); border-color: rgba(232,160,48,0.3); }
.layer-enrich { background: rgba(167,139,250,0.06); border-color: rgba(167,139,250,0.2); }
.layer-crm { background: rgba(96,165,250,0.06); border-color: rgba(96,165,250,0.2); }

.layer-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.layer-desc { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.stack-arrow {
  display: flex;
  justify-content: center;
  padding: 12px 0;
  color: var(--text-muted);
}

/* === CLOSING === */
.closing {
  padding: 100px 40px 120px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner { max-width: 720px; margin: 0 auto; }

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 40px;
}

.closing-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* === FOOTER === */
.footer {
  padding: 32px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { font-family: var(--font-display); font-size: 18px; color: var(--text-primary); }
.footer-tagline { font-size: 12px; color: var(--text-muted); }

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .hero-headline { font-size: 36px; }
  .hero-proof { gap: 20px; }

  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }

  .hiw-steps { grid-template-columns: 1fr; gap: 40px; }
  .hiw-connector { display: none; }
  .step-num { font-size: 36px; }

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

  .signal-bar { padding: 16px 24px; }
  .nav { padding: 0 24px; }
  .closing { padding: 60px 24px 80px; }
  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 28px; }
  .hero-proof { flex-direction: column; gap: 16px; }
  .proof-divider { display: none; }
  .hero-sub { font-size: 15px; }
  .proof-num { font-size: 22px; }
}
