/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
  --bg: #0d0d0d;
  --bg-2: #141410;
  --bg-card: #1a1916;
  --bg-card-2: #1f1d1a;
  --accent: #c8972a;
  --accent-dim: rgba(200, 151, 42, 0.12);
  --accent-border: rgba(200, 151, 42, 0.3);
  --text: #e8e4db;
  --text-2: #9c958a;
  --text-3: #5e5a53;
  --tag-alert-bg: rgba(220, 80, 60, 0.15);
  --tag-alert: #e05c44;
  --tag-monitor-bg: rgba(200, 151, 42, 0.12);
  --tag-monitor: #c8972a;
  --tag-research-bg: rgba(100, 150, 200, 0.12);
  --tag-research: #7ab3d4;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

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

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-inner { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-badge {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,151,42,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-left { max-width: 560px; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-bottom: 2rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-3);
  font-weight: 400;
}
.meta-divider { color: var(--text-3); opacity: 0.5; }

/* ─── EMAIL PREVIEW ─────────────────────────────────────────── */
.hero-right { display: flex; justify-content: center; }
.email-preview {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,151,42,0.08);
  font-size: 0.8rem;
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-card-2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.preview-dots { display: flex; gap: 5px; }
.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.preview-from {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}
.preview-subject {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
.subject-label {
  color: var(--text-3);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.subject-text {
  color: var(--text-2);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-body { padding: 1.25rem; }
.preview-greeting {
  color: var(--text-2);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  font-style: italic;
}
.preview-signal {
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
  margin-bottom: 1rem;
}
.preview-signal:last-child { margin-bottom: 0; }
.signal-category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}
.signal-text { color: var(--text-2); font-size: 0.8rem; line-height: 1.5; }

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.howitworks {
  padding: 6rem 2.5rem;
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hiw-inner { max-width: 1280px; margin: 0 auto; }
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.step { padding-right: 2rem; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  opacity: 0.35;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}
.step-connector {
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
  width: 60px;
}
.connector-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-border), transparent);
  opacity: 0.4;
}

/* ─── SAMPLE ─────────────────────────────────────────────────── */
.sample-section {
  padding: 7rem 2.5rem;
  background: var(--bg);
}
.sample-inner { max-width: 1280px; margin: 0 auto; }
.sample-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4rem;
}
.sample-email {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  max-width: 720px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.sample-email-meta {
  padding: 0.85rem 1.75rem;
  background: var(--bg-card-2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.meta-time { font-size: 0.8rem; color: var(--text-3); }
.sample-email-body { padding: 2rem 1.75rem; }
.greeting {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 2rem;
  font-style: italic;
}
.sig { margin-bottom: 1.75rem; }
.sig:last-child { margin-bottom: 0; }
.sig-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.sig-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  flex-shrink: 0;
}
.sig-tag-alert { background: var(--tag-alert-bg); color: var(--tag-alert); }
.sig-tag-monitor { background: var(--tag-monitor-bg); color: var(--tag-monitor); }
.sig-tag-research { background: var(--tag-research-bg); color: var(--tag-research); }
.sig-title { font-size: 0.95rem; font-weight: 500; color: var(--text); line-height: 1.4; }
.sig-body { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; margin-top: 0.4rem; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features-section {
  padding: 7rem 2.5rem;
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.features-inner { max-width: 1280px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}
.feature-card.feature-wide { grid-column: span 2; }
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.feature-desc { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; }

/* ─── MANIFESTO ──────────────────────────────────────────────── */
.manifesto {
  padding: 7rem 2.5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,151,42,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto-inner { max-width: 860px; margin: 0 auto; position: relative; }
.manifesto-text { display: flex; flex-direction: column; gap: 1.5rem; }
.manifesto-line {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-2);
  line-height: 1.65;
}
.manifesto-highlight { color: var(--text); font-weight: 500; }

/* ─── CLOSING ─────────────────────────────────────────────────── */
.closing-section {
  padding: 7rem 2.5rem 5rem;
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.footer {
  padding: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.footer-tagline { font-size: 0.8rem; color: var(--text-3); margin-top: 0.25rem; }
.footer-meta { font-size: 0.8rem; color: var(--text-3); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { display: none; }
  .steps-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.feature-wide { grid-column: span 2; }
}
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .howitworks, .sample-section, .features-section, .manifesto, .closing-section { padding: 5rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.feature-wide { grid-column: span 1; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .meta-divider { display: none; }
}

/* ─── THEME CSS PLACEHOLDER ──────────────────────────────────── */
.themeCSS { display: none; }
