/* CreatorPost — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: #1e1e1e;
  --text: #ededed;
  --muted: #888;
  --accent: #7c3aed;
  --accent-light: #8b5cf6;
  --accent-hover: #6d28d9;
  --radius: 8px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}

.logo span { color: var(--accent-light); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.15s;
}

nav ul a:hover { color: var(--text); text-decoration: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: #444;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 7rem 2rem 5rem;
  max-width: 720px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--accent-light);
  margin-bottom: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Features ── */
.features {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 3.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: #333;
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(124,58,237,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── How it works ── */
.how-it-works {
  padding: 5rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── CTA section ── */
.cta-section {
  padding: 6rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ── Waitlist form ── */
.waitlist-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
}

.waitlist-form input[type="email"]:focus { border-color: var(--accent); }
.waitlist-form input::placeholder { color: var(--muted); }

.success-msg {
  display: none;
  color: #4ade80;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

footer .logo { font-size: 0.95rem; }

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); text-decoration: none; }

/* ── Kit embed overrides ── */
.kit-embed { width: 100%; max-width: 480px; margin: 0 auto; }

.kit-embed .formkit-form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.kit-embed .formkit-field input,
.kit-embed input[name="email_address"] {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--text) !important;
  font-size: 0.9rem !important;
  padding: 0.65rem 1rem !important;
}

.kit-embed .formkit-field input:focus,
.kit-embed input[name="email_address"]:focus {
  border-color: var(--accent) !important;
  outline: none !important;
}

.kit-embed .formkit-submit,
.kit-embed button[data-element="submit"] {
  background: var(--accent) !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: background 0.15s !important;
  border: none !important;
}

.kit-embed .formkit-submit:hover,
.kit-embed button[data-element="submit"]:hover {
  background: var(--accent-hover) !important;
}

.kit-embed .formkit-guarantee,
.kit-embed [data-element="guarantee"] {
  color: var(--muted) !important;
  font-size: 0.8rem !important;
}

/* ── Prose pages (privacy/terms) ── */
.prose-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.prose-page h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.prose-page .last-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.prose-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.prose-page p, .prose-page li {
  font-size: 0.95rem;
  color: #c0c0c0;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.prose-page ul {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose-page a { color: var(--accent-light); }
.prose-page strong { color: var(--text); font-weight: 600; }

/* ── Callback page ── */
.callback-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 2rem;
}

.callback-page .icon { font-size: 3rem; margin-bottom: 1rem; }
.callback-page h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.callback-page p { color: var(--muted); }

@media (max-width: 600px) {
  nav ul { display: none; }
  .hero { padding: 4rem 1.25rem 3rem; }
  footer { flex-direction: column; align-items: flex-start; }
}
