/* Design: Dark terminal aesthetic, editorial serif + clean sans, burnt-orange accent on deep ink */

:root {
  --bg: #0F0F12;
  --surface: #17171C;
  --surface-2: #1E1E24;
  --border: #2A2A33;
  --text: #F0EDE6;
  --text-muted: #8A8A99;
  --accent: #E85D2B;
  --accent-dim: rgba(232, 93, 43, 0.15);
  --success: #34D399;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

/* NAV */
.nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-weight: 600;
}

/* HERO */
.hero {
  padding: 5rem 2rem 4rem;
}
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--success);
  background: rgba(52, 211, 153, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  font-weight: 600;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* FEED */
.hero-feed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.feed-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.feed-status {
  font-size: 0.72rem;
  color: var(--success);
  font-weight: 600;
}
.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.feed-item:last-child { border-bottom: none; }
.feed-item--done { opacity: 0.55; }
.feed-icon {
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 10px;
}
.feed-icon--research { background: rgba(99, 102, 241, 0.2); color: #818CF8; }
.feed-icon--write { background: rgba(251, 191, 36, 0.2); color: #FBBF24; }
.feed-icon--send { background: rgba(52, 211, 153, 0.2); color: var(--success); }
.feed-icon--done { background: rgba(138, 138, 153, 0.2); color: var(--text-muted); }
.feed-line { font-size: 0.85rem; font-weight: 500; color: var(--text); line-height: 1.4; }
.feed-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }

/* SECTION SHARED */
.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
}

/* WORKFLOW */
.workflow {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.workflow-header { margin-bottom: 3rem; }
.workflow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.step { padding: 0 1rem; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.step-body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  padding-top: 1.2rem;
  align-self: start;
}

/* FEATURES */
.features {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature {
  background: var(--surface);
  padding: 1.75rem;
  border: 1px solid var(--border);
}
.feature-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
}
.feature-title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.feature-body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* PRICING */
.pricing {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-header { margin-bottom: 3rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.plan {
  background: var(--surface);
  padding: 2rem;
  position: relative;
}
.plan--featured {
  background: var(--surface-2);
}
.plan-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 8px 8px;
}
.plan-name { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.plan-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--text); margin-bottom: 1.25rem; }
.plan-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-features li { font-size: 0.85rem; color: var(--text-muted); padding-left: 1.25rem; position: relative; }
.plan-features li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* CLOSING */
.closing {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin: 0 auto 1rem;
}
.closing-sub { font-size: 1rem; color: var(--text-muted); }

/* SUBSCRIBE BUTTONS */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-subscribe {
  background: var(--accent);
  color: white;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-subscribe:hover { opacity: 0.85; }

.btn-plan {
  display: block;
  margin-top: 1.5rem;
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-plan:hover { opacity: 0.85; }
.plan--featured .btn-plan {
  background: var(--text);
  color: var(--bg);
}
.plan--featured .btn-plan:hover { opacity: 0.85; }

.btn-subscribe-large {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: opacity 0.15s;
}
.btn-subscribe-large:hover { opacity: 0.85; }

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
}
.footer-link:hover { color: var(--text); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.footer-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); }
.footer-desc { font-size: 0.8rem; color: var(--text-muted); margin-left: 0.75rem; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.8rem; color: var(--text-muted); cursor: default; }
.footer-bottom { max-width: 1100px; margin: 0 auto; font-size: 0.75rem; color: var(--border); padding-top: 0.5rem; border-top: 1px solid var(--border); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .workflow-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .step-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
}