/* ===== BASE ===== */
:root {
  --bg: #080c14;
  --bg-2: #0d1420;
  --bg-card: #111927;
  --fg: #e2e8f0;
  --fg-muted: #94a3b8;
  --accent: #00e5cc;
  --accent-dim: rgba(0, 229, 204, 0.12);
  --accent-glow: rgba(0, 229, 204, 0.08);
  --border: rgba(148, 163, 184, 0.08);
  --border-accent: rgba(0, 229, 204, 0.2);
}

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

html { scroll-behavior: smooth; }

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

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.nav-cta {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.8; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 100px 32px 96px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 204, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 420px;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.workflow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}
.workflow-step.active { color: var(--fg); }
.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-muted);
  flex-shrink: 0;
}
.step-dot.pulse {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-dim); }
  50% { box-shadow: 0 0 0 6px var(--accent-glow); }
}
.workflow-arrow { color: var(--fg-muted); opacity: 0.4; }
.output-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.output-tag {
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ===== PROOF ===== */
.proof {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 32px;
}
.proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.proof-stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}
.stat-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}
.proof-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== SECTIONS ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--fg-muted);
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--border-accent); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== HOW ===== */
.how {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 32px;
}
.how-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.how-step {
  flex: 1;
  padding: 0 28px;
}
.how-arrow {
  flex-shrink: 0;
  padding-top: 8px;
  align-self: center;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.how-step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.how-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== PRODUCTS ===== */
.products {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
}
.product-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.product-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.product-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.product-meta {
  font-size: 12px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 96px 32px 120px;
  position: relative;
  overflow: hidden;
}
.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 229, 204, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.closing-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.closing-inner p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 14px !important;
  color: var(--fg-muted) !important;
  font-style: italic;
  opacity: 0.7;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-meta {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* ===== DEMO ===== */
.demo {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 32px;
}
.demo-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.demo-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.demo-flow {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 60px;
}
.demo-step {
  flex: 1;
}
.demo-step-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.demo-arrow {
  flex-shrink: 0;
  padding-top: 80px;
  color: var(--fg-muted);
}

/* Mock tool UI */
.demo-tool-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.mock-topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #febc2e; }
.mock-dot.green { background: #28c840; }
.mock-tab {
  font-size: 12px;
  color: var(--fg-muted);
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: 6px;
  opacity: 0.6;
}
.mock-tab.active {
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  opacity: 1;
}
.mock-input-area {
  padding: 20px 18px;
}
.mock-text-muted {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.5;
  margin-bottom: 12px;
  font-style: italic;
}
.mock-placeholder-lines { display: flex; flex-direction: column; gap: 8px; }
.mock-line {
  height: 12px;
  background: var(--border);
  border-radius: 4px;
}
.mock-line.mock-highlight { background: var(--border-accent); }
.mock-footer {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-char-count { font-size: 12px; color: var(--fg-muted); }
.mock-btn-generate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #080c14;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* Mock output cards */
.demo-outputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-output-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.demo-output-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}
.demo-platform-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.demo-platform-icon.linkedin { background: #0A66C2; color: #fff; }
.demo-platform-icon.twitter { background: #000; color: #fff; }
.demo-platform-icon.newsletter { background: var(--accent-dim); color: var(--accent); font-size: 13px; }
.demo-copy-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 2px 8px;
  border-radius: 100px;
}
.demo-output-body {
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--fg);
}
.demo-output-body p { margin: 0; }
.demo-tweets { display: flex; flex-direction: column; gap: 0; }
.demo-tweet {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.55;
}
.demo-tweet:last-child { border-bottom: none; margin-bottom: 0; }
.demo-newsletter p { margin: 0 0 8px; }
.demo-newsletter p:last-child { margin: 0; }

/* Demo CTA */
.demo-cta {
  text-align: center;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #080c14;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-demo:hover { opacity: 0.88; transform: translateY(-1px); }
.demo-cta-sub {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ===== CAPTURE ===== */
.capture {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 96px 32px;
}
.capture-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.capture-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.capture-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.capture-inner > p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}
.capture-form { width: 100%; }
.capture-input-group {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 14px;
}
.capture-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 18px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.capture-input::placeholder { color: var(--fg-muted); }
.capture-input:focus { border-color: var(--border-accent); }
.capture-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #080c14;
  border: none;
  border-radius: 10px;
  padding: 13px 22px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  min-width: 150px;
}
.capture-btn:hover:not(:disabled) { opacity: 0.88; }
.capture-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(8,12,20,0.3);
  border-top-color: #080c14;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.capture-btn.loading .btn-label { display: none; }
.capture-btn.loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.capture-error {
  display: none;
  font-size: 14px;
  color: #f87171;
  margin-bottom: 8px;
}
.capture-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  padding: 16px 0;
}
.capture-fine {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
  margin-top: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero { padding: 64px 24px 72px; }
  .features { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .how { padding: 64px 24px; }
  .how-steps {
    flex-direction: column;
    gap: 36px;
  }
  .how-arrow { display: none; }
  .how-step { padding: 0; }
  .products { padding: 64px 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .proof-inner { flex-direction: column; gap: 32px; }
  .proof-divider { width: 40px; height: 1px; }
  .proof-stat { padding: 0; }
  .closing { padding: 64px 24px 80px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .nav-tagline { display: none; }
  .demo-flow { flex-direction: column; gap: 24px; }
  .demo-arrow { display: none; }
  .demo-step { width: 100%; }
  .capture-input-group { flex-direction: column; }
  .capture-btn { width: 100%; }
  .capture { padding: 64px 24px; }
}