/* ═══════════════════════════════════
   PROPHETWATCH — Design System
   ═══════════════════════════════════ */

:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #0E0E18;
  --bg-card: #111120;
  --bg-surface: #141428;
  --fg-primary: #EDE8DF;
  --fg-secondary: #9891A8;
  --fg-muted: #5E5A72;
  --accent: #C9943A;
  --accent-dim: rgba(201, 148, 58, 0.12);
  --accent-glow: rgba(201, 148, 58, 0.25);
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(201, 148, 58, 0.3);
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Stars background */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.1) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.12) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.08) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 15% 80%, rgba(201,148,58,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.1) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.06) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 85%, rgba(255,255,255,0.08) 0%, transparent 100%);
  background-size: 100% 100%;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 8vw 100px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 860px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--border-accent);
  border-radius: 2px;
  background: var(--accent-dim);
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  margin-bottom: 32px;
}

.hero-title .line1 {
  display: block;
  color: var(--fg-primary);
}

.hero-title .line2 {
  display: block;
  color: var(--accent);
  font-style: italic;
}

.hero-lede {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--fg-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.meta-item {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.meta-sep {
  color: var(--border-accent);
  font-size: 12px;
}

/* ─── SECTION COMMON ─── */
.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg-primary);
  margin-bottom: 48px;
}

.section-title.left-aligned {
  margin-bottom: 24px;
}

/* ─── INDICATORS ─── */
.indicators {
  position: relative;
  z-index: 1;
  padding: 100px 8vw;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.indicator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
}

.indicator-card {
  background: var(--bg-card);
  padding: 40px 32px;
  transition: background 0.3s ease;
}

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

.card-icon {
  margin-bottom: 24px;
  opacity: 0.85;
}

.indicator-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

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

/* ─── HOW IT WORKS ─── */
.how {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.how-left {
  padding: 80px 6vw 80px 8vw;
  border-right: 1px solid var(--border);
}

.how-desc {
  font-size: 16px;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}

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

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 2px;
}

.step h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* Signal display */
.how-right {
  padding: 80px 8vw 80px 6vw;
  display: flex;
  align-items: center;
}

.signal-display {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.signal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
}

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

.signal-dot.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.signal-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-secondary);
}

.signal-list {
  padding: 0;
}

.signal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.signal-item:last-child {
  border-bottom: none;
}

.signal-item:hover {
  background: var(--bg-surface);
}

.sig-cat {
  font-size: 13px;
  color: var(--fg-secondary);
}

.sig-val {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 2px;
}

.signal-footer {
  padding: 12px 24px;
  font-size: 11px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

/* ─── PHILOSOPHY ─── */
.philosophy {
  position: relative;
  z-index: 1;
  padding: 100px 8vw;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

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

.philosophy-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-style: italic;
  font-weight: 400;
  color: var(--fg-primary);
  line-height: 1.5;
  margin-bottom: 20px;
  position: relative;
}

.philosophy-quote::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 24px;
}

.philosophy-cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 40px;
}

.philosophy-body {
  font-size: 16px;
  color: var(--fg-secondary);
  line-height: 1.75;
}

/* ─── CLOSING ─── */
.closing {
  position: relative;
  z-index: 1;
  padding: 100px 8vw;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
}

.closing-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg-primary);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.closing-body {
  font-size: 17px;
  color: var(--fg-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 40px;
}

.closing-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 2px;
  margin-bottom: 80px;
  transition: opacity 0.2s;
}

.closing-cta:hover { opacity: 0.8; }

.closing-vision {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  max-width: 600px;
}

.vision-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.vision-item:last-child {
  border-bottom: none;
}

.vision-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  flex-shrink: 0;
  margin-top: 2px;
}

.vision-item p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.5;
}

/* ─── FOOTER ─── */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 48px 8vw;
  background: var(--bg-primary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-primary);
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
  text-align: right;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero { padding: 60px 6vw 80px; }
  .how { grid-template-columns: 1fr; }
  .how-left { border-right: none; border-bottom: 1px solid var(--border); padding: 60px 6vw; }
  .how-right { padding: 60px 6vw; }
  .indicator-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-note { text-align: left; }
  .hero-meta { gap: 6px; }
}

@media (max-width: 480px) {
  .closing-vision { max-width: 100%; }
  .section-title { font-size: 30px; }
  .hero-title { font-size: 56px; }
}