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

:root {
  --bg: #0e0c0a;
  --surface: #161310;
  --surface2: #1e1a16;
  --border: #2a2520;
  --fg: #f0ebe3;
  --fg-2: #a09890;
  --fg-3: #655d56;
  --accent: #e8a838;
  --accent-dim: rgba(232, 168, 56, 0.10);
  --accent-glow: rgba(232, 168, 56, 0.06);
  --yt: #ff4444;
  --ig: #c13584;
  --x-col: #e0e0e0;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1100px;
  --section-gap: 5rem;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }
p { color: var(--fg-2); font-size: 1rem; line-height: 1.7; }
em { font-style: italic; color: var(--accent); }

/* === LAYOUT UTILITIES === */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.section-head p { max-width: 520px; margin: 0.75rem auto 0; }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 12, 10, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
nav { display: flex; align-items: center; gap: 1.75rem; }
nav a {
  color: var(--fg-3); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--fg-2); }
nav .btn-login {
  color: var(--accent); font-weight: 600;
}
nav .btn-signup {
  background: var(--accent); color: #0e0c0a;
  padding: 0.4rem 1rem; border-radius: 8px;
  font-weight: 700; font-size: 0.85rem;
}

/* === HERO — centered, single-column === */
.hero {
  padding: 6rem 0 5rem;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, var(--accent-glow) 0%, transparent 65%);
  text-align: center;
}
.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero-kicker {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.25rem;
  display: inline-block;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 1.05rem; max-width: 560px; margin: 0 auto 2.5rem; }

/* === HERO CTA FORM — functional === */
.hero-cta-form {
  display: flex; gap: 0.5rem;
  max-width: 480px; margin: 0 auto 1.25rem;
  align-items: center;
}
.hero-cta-form input {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.hero-cta-form input::placeholder { color: var(--fg-3); }
.hero-cta-form input:focus { border-color: var(--accent); }
.hero-cta-form button {
  background: var(--accent); color: #0e0c0a;
  border: none; border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: opacity 0.2s;
  font-family: var(--font-body);
}
.hero-cta-form button:hover { opacity: 0.88; }
.hero-platforms {
  display: flex; justify-content: center; gap: 0.6rem; align-items: center;
}
.platform-chip {
  font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.7rem;
  border-radius: 20px;
}
.chip-yt { background: rgba(255,68,68,0.12); color: var(--yt); }
.chip-ig { background: rgba(193,53,132,0.12); color: #e06a9f; }
.chip-x { background: rgba(224,224,224,0.07); color: var(--x-col); }

/* === HOW IT WORKS === */
.how-it-works { padding: var(--section-gap) 0; border-top: 1px solid var(--border); }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; align-items: stretch;
}
.steps::before,
.steps::after {
  content: none;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  text-align: center;
}
.step-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid rgba(232,168,56,0.18);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--accent);
}
.step-num {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.75rem;
}
.step h3 { margin-bottom: 0.6rem; }
.step p { font-size: 0.9rem; }

/* === FEATURES === */
.features-section {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; align-items: stretch;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(232,168,56,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.feature-card h3 { margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.9rem; }

/* === PRICING PREVIEW === */
.pricing-preview {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--border);
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--accent-glow) 0%, transparent 65%);
}
.pricing-cards {
  display: flex; justify-content: center; gap: 1.25rem;
  max-width: 700px; margin: 0 auto 1.75rem;
  flex-wrap: wrap;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  text-align: center;
  flex: 1; min-width: 280px; max-width: 340px;
}
.pricing-card.featured {
  border-color: rgba(232,168,56,0.3);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(232,168,56,0.04) 100%);
}
.pricing-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.5rem; display: block;
}
.pricing-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.pricing-card .price {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.pricing-card .price span {
  font-size: 0.85rem; font-weight: 400;
  color: var(--fg-3); font-family: var(--font-body);
}
.pricing-card ul {
  list-style: none; display: flex; flex-direction: column; gap: 0.4rem;
}
.pricing-card li {
  font-size: 0.82rem; color: var(--fg-2);
  display: flex; align-items: flex-start; gap: 0.4rem;
}
.pricing-card li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
}
.pricing-link {
  font-size: 0.85rem; color: var(--accent);
  text-decoration: none; font-weight: 600;
}
.pricing-link:hover { text-decoration: underline; }

/* === CLOSING / CTA === */
.closing-section {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-section h2 { margin-bottom: 1rem; }
.closing-section > p { font-size: 1.05rem; margin-bottom: 2rem; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-button {
  display: inline-block;
  background: var(--accent); color: #0e0c0a;
  padding: 0.85rem 2.25rem; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: opacity 0.2s;
}
.cta-button:hover { opacity: 0.88; }
.closing-tags {
  display: flex; justify-content: center;
  gap: 0.65rem; flex-wrap: wrap; margin-top: 2rem;
}
.closing-tags span {
  font-size: 0.78rem; font-weight: 500;
  padding: 0.35rem 0.9rem; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--fg-2);
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 2rem; margin-bottom: 2rem;
}
.footer-brand { text-align: center; }
.footer-brand .wordmark { display: block; margin-bottom: 0.5rem; font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; }
.footer-brand p { font-size: 0.82rem; color: var(--fg-3); max-width: 220px; }
.footer-links { display: flex; gap: 4rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; text-align: center; }
.footer-col span {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-3); margin-bottom: 0.25rem;
}
.footer-col a { font-size: 0.85rem; color: var(--fg-2); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  font-size: 0.75rem; color: var(--fg-3);
  text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav { gap: 1rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero-cta-form { flex-direction: column; }
  .hero-cta-form input { width: 100%; }
  .hero-cta-form button { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-cards { flex-direction: column; align-items: center; }
  .pricing-card { max-width: 360px; width: 100%; }
  .footer-inner { flex-direction: column; gap: 1.75rem; }
  .footer-links { gap: 2.5rem; }
  .footer-brand { text-align: center; }
}

@media (max-width: 480px) {
  nav a:not(.btn-signup):not(.btn-login) { display: none; }
  h1 { font-size: 2.2rem; }
}