/* =====================
   VARIABLES
   ===================== */
:root {
  --bg: #0b0f19;
  --bg-surface: #111827;
  --bg-card: #161d2e;
  --fg: #f1f5f9;
  --fg-muted: #94a3b8;
  --fg-dim: #64748b;
  --accent: #f59e0b;
  --accent-dim: #b45309;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
  --radius-sm: 6px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* =====================
   HEADER
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wordmark-pulse { color: var(--accent); }
.wordmark-mail { color: var(--fg); }

.header-tagline {
  font-size: 0.75rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(245,158,11,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(99,102,241,0.04) 0%, transparent 60%);
  pointer-events: none;
}

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

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

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent); }
}

.eyebrow-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.metric {
  flex: 1;
  text-align: center;
  padding: 16px 20px;
}

.metric-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.metric-divider {
  width: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 28px;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}

.vc-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
  margin-bottom: 6px;
  margin-top: 16px;
}

.vc-bar {
  height: 6px;
  background: rgba(245,158,11,0.2);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.vc-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--w, 70%);
  background: var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(245,158,11,0.4);
}

.vc-status {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
}

@keyframes pulse-anim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

/* Email preview card */
.visual-email-preview {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 20px;
}

.ep-header {
  background: var(--bg-card);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.ep-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.ep-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-dim);
  opacity: 0.4;
}

.ep-dots span:first-child { background: #f97316; }
.ep-dots span:nth-child(2) { background: #eab308; }
.ep-dots span:last-child { background: #22c55e; }

.ep-from {
  font-size: 0.78rem;
  color: var(--fg-muted);
  padding: 12px 20px 6px;
  font-weight: 600;
}

.ep-subject {
  font-size: 0.85rem;
  color: var(--fg);
  padding: 0 20px 8px;
  font-weight: 500;
}

.ep-snippet {
  font-size: 0.78rem;
  color: var(--fg-dim);
  padding: 0 20px 14px;
  line-height: 1.5;
}

.ep-open-btn {
  margin: 0 20px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--accent);
  font-size: 0.72rem;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  text-align: center;
}

/* =====================
   SECTION SHARED
   ===================== */
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
}

/* =====================
   HOW IT WORKS
   ===================== */
.hiw {
  padding: 100px 32px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: start;
  margin-top: 56px;
}

.step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(245,158,11,0.15);
  margin-bottom: 20px;
}

.step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.step-connector::before {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--border), rgba(245,158,11,0.3), var(--border));
}

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

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

.features-body {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  cursor: default;
}

.feature-item:hover {
  background: rgba(255,255,255,0.03);
}

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

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg);
}

.feature-text span {
  font-size: 0.82rem;
  color: var(--fg-dim);
  line-height: 1.4;
}

/* =====================
   MANIFESTO
   ===================== */
.manifesto {
  padding: 100px 32px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.manifesto-shift { margin-top: 40px; }

.manifesto-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--fg-muted);
  line-height: 1.65;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  margin-bottom: 40px;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  padding-left: 28px;
}

/* =====================
   CLOSING
   ===================== */
.closing {
  padding: 100px 32px;
}

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

.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.closing-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.cv-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.cv-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px;
  border-radius: var(--radius);
  min-width: 180px;
  text-align: left;
}

.cv-yours {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}

.cv-yours span:not(.cv-tag) {
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.cv-agent {
  background: rgba(245,158,11,0.05);
  border: 1px solid rgba(245,158,11,0.2);
}

.cv-agent span:not(.cv-tag) {
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.cv-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--fg-dim);
  margin-bottom: 4px;
}

.cv-tag-agent { color: var(--accent); }

.cv-arrow {
  color: var(--fg-dim);
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

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

.footer-built {
  font-size: 0.75rem;
  color: var(--fg-dim);
  opacity: 0.5;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .hero {
    min-height: auto;
    padding: 60px 24px;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step-connector { display: none; }

  .steps-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .features-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hiw, .features, .manifesto, .closing {
    padding: 72px 24px;
  }

  .cv-row {
    flex-direction: column;
    gap: 16px;
  }

  .cv-arrow {
    transform: rotate(90deg);
  }

  .hero-metrics {
    flex-direction: column;
    gap: 8px;
  }

  .metric-divider { display: none; }
}

@media (max-width: 480px) {
  .header-inner { padding: 14px 20px; }
  .header-tagline { display: none; }
  h1 { font-size: 2rem; }
}
