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

:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --surface2: #1A1A1A;
  --border: #242424;
  --accent: #CAFF00;
  --accent-dim: rgba(202, 255, 0, 0.12);
  --text: #F0F0F0;
  --text-muted: #888888;
  --text-dim: #555555;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px;
  background: var(--accent);
  color: #0A0A0A;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 32px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-link:hover { color: var(--text); }

/* === HERO === */
.hero {
  padding: 80px 32px 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(202,255,0,0.3);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.highlight { color: var(--accent); }
.hero-lede {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 36px;
}
.cta-note {
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
}

/* === POST PREVIEW CARDS === */
.hero-visual { display: flex; justify-content: center; }
.post-preview-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 340px;
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}
.post-card--twitter { border-left: 3px solid var(--accent); }
.post-card--scheduled { border-left: 3px solid #555; opacity: 0.75; }
.post-card--draft { border-left: 3px dashed var(--text-dim); opacity: 0.5; }
.post-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.avatar {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.post-meta { display: flex; flex-direction: column; gap: 1px; }
.post-name { font-size: 13px; font-weight: 600; color: var(--text); }
.post-handle { font-size: 11px; color: var(--text-dim); }
.post-body { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.post-line { height: 10px; border-radius: 4px; background: var(--surface2); }
.post-line--long { width: 90%; }
.post-line--medium { width: 72%; }
.post-line--short { width: 50%; }
.post-card-footer { display: flex; gap: 18px; font-size: 12px; color: var(--text-dim); }
.stat-icon { margin-right: 4px; }
.post-status {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.post-status.posted { color: var(--accent); }
.post-status.scheduled { color: var(--text-dim); }
.post-status.draft { color: var(--text-dim); }

/* === HOW SECTION === */
.how {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 32px;
}
.how-inner { max-width: 900px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 56px;
}
.steps { display: flex; gap: 40px; align-items: flex-start; }
.step { flex: 1; }
.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.step-divider {
  width: 1px;
  height: 100px;
  background: var(--border);
  flex-shrink: 0;
  align-self: center;
}

/* === FEATURES === */
.features { padding: 80px 32px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--surface);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--accent); }
.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  filter: invert(1) brightness(0.9);
  opacity: 0.7;
}
.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* === WORKFLOW === */
.workflow {
  border-top: 1px solid var(--border);
  padding: 80px 32px;
  background: var(--surface);
}
.workflow-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.timeline { display: flex; flex-direction: column; gap: 32px; }
.timeline-item { display: flex; align-items: flex-start; gap: 20px; }
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 4px;
}
.timeline-item--done .tl-dot { background: var(--accent); }
.timeline-item--active .tl-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.tl-content { display: flex; flex-direction: column; gap: 4px; }
.tl-time { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); }
.tl-event { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.workflow-desc { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-top: 20px; }

/* === CLOSING === */
.closing { padding: 100px 32px; position: relative; overflow: hidden; }
.closing-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 64px; }
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
}
.closing-sub { font-size: 16px; color: var(--text-muted); line-height: 1.65; margin-top: 20px; max-width: 440px; }
.closing-ambient {
  position: relative;
  width: 180px; height: 180px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ambient-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(202,255,0,0.15);
  animation: pulse 3s ease-in-out infinite;
}
.ambient-ring:nth-child(1) { width: 100%; height: 100%; animation-delay: 0s; }
.ambient-ring:nth-child(2) { width: 70%; height: 70%; animation-delay: 0.5s; }
.ambient-ring:nth-child(3) { width: 40%; height: 40%; animation-delay: 1s; }
.ambient-core {
  width: 48px; height: 48px;
  background: var(--accent);
  color: #0A0A0A;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* === FOOTER === */
.footer { border-top: 1px solid var(--border); padding: 40px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.logo-mark--footer { width: 24px; height: 24px; font-size: 14px; }
.footer-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; }
.footer-tagline { font-size: 13px; color: var(--text-dim); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-inner { padding: 12px 20px; }
  .nav-links { display: none; }
  .hero { padding: 60px 20px 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 36px; letter-spacing: -1px; }
  .post-preview-stack { max-width: 100%; }
  .steps { flex-direction: column; gap: 32px; }
  .step-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .workflow-inner { grid-template-columns: 1fr; gap: 48px; }
  .closing-inner { flex-direction: column; }
  .closing-ambient { display: none; }
  .closing-headline { font-size: 32px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 28px; }
  .section-headline { font-size: 26px; }
  .step-number { font-size: 36px; }
  .closing-headline { font-size: 28px; }
}