/* ═══════════════════════════════════
   DEALBRIDGE — Design System
   Dark obsidian + warm ivory + amber
   Typography: Cormorant Garamond + Inter
   ═══════════════════════════════════ */

:root {
  --bg: #0c0f18;
  --bg-surface: #111520;
  --bg-card: #141a27;
  --fg: #f0ebe1;
  --fg-muted: #8a8078;
  --fg-faint: #4a4540;
  --accent: #e8a838;
  --accent-dim: rgba(232, 168, 56, 0.15);
  --border: rgba(240, 235, 225, 0.08);
  --border-accent: rgba(232, 168, 56, 0.3);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

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

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(12, 15, 24, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 80px 60px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 40% at 70% 50%, rgba(232, 168, 56, 0.04) 0%, transparent 70%),
    var(--bg);
}

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

.hero-left { display: flex; flex-direction: column; gap: 32px; }

.hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 500;
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--fg);
  line-height: 1.08;
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Monitor ── */
.monitor {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,168,56,0.08);
}

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

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.live-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}

.monitor-body { padding: 8px 0; }

.deal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.deal-row:last-child { border-bottom: none; }
.deal-row:hover { background: rgba(232, 168, 56, 0.04); }

.deal-row.deal-new {
  background: linear-gradient(90deg, rgba(232, 168, 56, 0.06) 0%, transparent 100%);
}

.deal-left { display: flex; align-items: center; gap: 12px; }

.deal-flag { font-size: 1.2rem; line-height: 1; }

.deal-info { display: flex; flex-direction: column; gap: 2px; }

.deal-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
}

.deal-sector {
  font-size: 0.72rem;
  color: var(--fg-muted);
}

.deal-score {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  min-width: 40px;
  text-align: right;
}

.score-high { color: #22c55e; }
.score-mid { color: var(--accent); }
.score-low { color: var(--fg-muted); }

.monitor-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 0.72rem;
  color: var(--fg-faint);
  border-top: 1px solid var(--border);
}

/* ── Section Shared ── */
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--fg);
  margin-bottom: 60px;
  line-height: 1.2;
}

/* ── Live Feed / Process ── */
.live-feed {
  padding: 100px 60px;
  border-bottom: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.process-step {
  padding: 40px 32px;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
}

.process-step h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg);
}

.process-step p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── Manifesto ── */
.manifesto {
  padding: 100px 60px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--fg);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 24px;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

.manifesto-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

.manifesto-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 40px;
}

.manifesto-stat-block { display: flex; flex-direction: column; gap: 6px; }

.manifesto-big {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

.manifesto-sub {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Features ── */
.features {
  padding: 100px 60px;
  border-bottom: 1px solid var(--border);
}

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

.feature-card {
  padding: 40px 32px;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}

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

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

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--fg);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── Closing ── */
.closing {
  padding: 120px 60px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(232, 168, 56, 0.03) 0%, transparent 70%),
    var(--bg);
  text-align: center;
}

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

.closing-headline {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.15;
}

.closing-body {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 40px;
}

.closing-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.meta-sep { color: var(--accent); opacity: 0.5; }

/* ── Footer ── */
.footer {
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--fg-muted);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--fg-faint);
}

.footer-sub {
  font-size: 0.75rem;
  color: var(--fg-faint);
  opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav { padding: 16px 32px; }
  .hero { padding: 60px 32px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { padding: 48px 20px; }
  .hero-headline { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .live-feed, .manifesto, .features, .closing { padding: 60px 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer { padding: 32px 20px; }
  .closing-headline { font-size: 2rem; }
  .manifesto-big { font-size: 3rem; }
}