/* ==============================
   PullSignal Landing Page
   ============================== */

:root {
  --bg: #0c0e14;
  --bg-2: #111420;
  --bg-3: #161a27;
  --fg: #e8e3d9;
  --fg-2: #9d9890;
  --fg-3: #5c5a55;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(232, 227, 217, 0.08);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ==============================
   HEADER
   ============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 14, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.05em;
}

.header-tag {
  display: flex;
  align-items: center;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==============================
   HERO
   ============================== */
.hero {
  padding: 140px 0 100px;
  position: relative;
  z-index: 1;
}

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--fg);
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0;
  max-width: 480px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.signal-rings {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: pulse-ring 4s ease-out infinite;
}

.ring-1 {
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}
.ring-2 {
  width: 140px;
  height: 140px;
  animation-delay: 0.8s;
}
.ring-3 {
  width: 200px;
  height: 200px;
  animation-delay: 1.6s;
}

.ring-center {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}

@keyframes pulse-ring {
  0% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 0.15; }
  100% { opacity: 0; transform: scale(1.1); }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 28px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: var(--fg-3);
  margin-top: 5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

/* ==============================
   PROOF
   ============================== */
.proof {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.proof-header {
  margin-bottom: 48px;
}

.proof-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.proof-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px;
  background: var(--bg-2);
}

.proof-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-body {}

.proof-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  margin: 0 0 6px;
  line-height: 1.4;
}

.proof-desc {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.6;
}

/* ==============================
   FEATURES
   ============================== */
.features {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

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

.features-header {
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--fg);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-2);
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.25);
  background: var(--bg-3);
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-3);
  letter-spacing: 0.08em;
}

.feature-icon-lg {
  opacity: 0.7;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--fg);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.7;
}

/* ==============================
   HOW IT WORKS
   ============================== */
.how-it-works {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.how-header {
  margin-bottom: 64px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: grid;
  grid-template-columns: 60px 1fr 48px;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.how-step-last {
  border-bottom: none;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.step-content {
  padding-right: 32px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--fg);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.6;
}

.step-arrow {
  opacity: 0.4;
}

/* ==============================
   CLOSING
   ============================== */
.closing {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.closing-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 56px;
}

.badge-line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  color: var(--fg);
  margin: 0 0 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.closing-sub {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--fg-2);
  margin: 0 0 48px;
}

.closing-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 8px;
}

.closing-tag span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-2);
  letter-spacing: 0.04em;
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-3);
  letter-spacing: 0.05em;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--fg-3);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
  .header-inner,
  .hero-inner,
  .proof-inner,
  .features-inner,
  .how-inner,
  .closing-inner,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-visual {
    order: -1;
  }

  .signal-rings {
    width: 160px;
    height: 160px;
  }

  .hero-stats {
    padding: 16px 20px;
    gap: 16px;
  }

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

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

  .how-step {
    grid-template-columns: 48px 1fr;
  }

  .step-arrow {
    display: none;
  }

  .closing-badge {
    flex-direction: column;
    gap: 12px;
  }

  .badge-line {
    width: 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 36px;
  }

  .how-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-number {
    display: none;
  }
}