/* Thrivient — Creator publishing tool (creator-facing landing)
   Shares brand palette with the main site (site/styles.css) but adds SaaS-product styles. */

:root {
  --color-bg: #000000;
  --color-yellow: #E5C84F;
  --color-gray: #525252;
  --color-text: #E8E8E8;
  --color-text-muted: #8A8A8A;
  --color-border: #1F1F1F;
  --color-card: #0A0A0A;
  --color-card-hover: #121212;
  --color-success: #4ADE80;
  --max-width: 1080px;
  --max-width-narrow: 720px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

a { color: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-yellow);
  text-decoration: none;
}
.wordmark .muted { color: var(--color-gray); }
.wordmark .sub {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-left: 8px;
  font-weight: 500;
  vertical-align: middle;
}
nav.top-nav { display: flex; gap: 28px; align-items: center; }
nav.top-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
nav.top-nav a:hover { color: var(--color-yellow); }
nav.top-nav a.nav-cta {
  background: var(--color-yellow);
  color: var(--color-bg);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
}
nav.top-nav a.nav-cta:hover { opacity: 0.85; color: var(--color-bg); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-yellow);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 840px;
  margin: 0 auto 20px;
}
.hero h1 .accent { color: var(--color-yellow); }
.hero p.lead {
  font-size: 19px;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--color-yellow); color: var(--color-bg); }
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-yellow); color: var(--color-yellow); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- Section ---------- */
section.block { padding: 80px 0; border-bottom: 1px solid var(--color-border); }
.section-heading { text-align: center; margin-bottom: 56px; }
.section-heading h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-heading p { color: var(--color-text-muted); font-size: 17px; max-width: 580px; margin: 0 auto; }

/* ---------- Who is this for ---------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.who-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.15s ease;
}
.who-card:hover { border-color: var(--color-yellow); }
.who-card .who-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(229, 200, 79, 0.12);
  color: var(--color-yellow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-weight: 700;
}
.who-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.who-card p { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }

/* ---------- Feature grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.feature-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--color-yellow);
  color: var(--color-bg);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.feature h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.feature p { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }

/* ---------- How it works (3-step) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.step {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px 24px;
  position: relative;
}
.step .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-yellow);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}
.faq-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--color-yellow); }
.faq-item p { color: var(--color-text-muted); font-size: 15px; line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(229, 200, 79, 0.04));
}
.cta-band h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-band p { color: var(--color-text-muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
footer.site-footer {
  padding: 40px 0;
  font-size: 13px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a { color: var(--color-text-muted); margin-right: 20px; text-decoration: none; }
.footer-links a:hover { color: var(--color-yellow); }

/* ---------- Connect / Sign-in pages ---------- */
.auth-shell {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 40px 36px;
}
.auth-card h1 { font-size: 26px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.auth-card p.sub { color: var(--color-text-muted); font-size: 15px; margin-bottom: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--color-text-muted); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 15px;
  font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--color-yellow); }
.divider {
  display: flex; align-items: center;
  margin: 24px 0;
  color: var(--color-text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.divider::before, .divider::after {
  content: ''; flex: 1;
  height: 1px; background: var(--color-border);
}
.divider::before { margin-right: 12px; }
.divider::after { margin-left: 12px; }
.tiktok-btn {
  width: 100%;
  background: #FE2C55;
  color: white;
  padding: 13px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}
.tiktok-btn:hover { opacity: 0.92; }
.auth-footer { text-align: center; font-size: 13px; color: var(--color-text-muted); margin-top: 24px; }
.auth-footer a { color: var(--color-yellow); text-decoration: none; }

/* ---------- Dashboard mock ---------- */
.dash-shell { display: flex; min-height: calc(100vh - 73px); }
.dash-side {
  width: 240px;
  border-right: 1px solid var(--color-border);
  padding: 24px 16px;
  flex-shrink: 0;
}
.dash-main { flex: 1; padding: 32px 40px; }
.dash-side .side-section { margin-bottom: 28px; }
.dash-side .side-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-text-muted); margin-bottom: 8px; padding: 0 8px;
}
.dash-side a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 2px;
}
.dash-side a.active { background: rgba(229, 200, 79, 0.1); color: var(--color-yellow); }
.dash-side a:hover { background: var(--color-card-hover); color: var(--color-text); }

.connected-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--color-success);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.connected-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-success); }

.dash-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.dash-subtitle { color: var(--color-text-muted); margin-bottom: 32px; }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.kpi {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 18px;
}
.kpi-label { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.kpi-value { font-size: 24px; font-weight: 700; }

.upload-zone {
  border: 2px dashed var(--color-border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: var(--color-text-muted);
}
.upload-zone strong { display: block; color: var(--color-text); font-size: 16px; margin-bottom: 6px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.plan {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--color-yellow); position: relative; }
.plan.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  left: 50%; transform: translateX(-50%);
  background: var(--color-yellow);
  color: var(--color-bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.plan h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.plan .price { font-size: 36px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.02em; }
.plan .price small { font-size: 14px; color: var(--color-text-muted); font-weight: 500; }
.plan .plan-desc { color: var(--color-text-muted); font-size: 14px; margin-bottom: 20px; min-height: 40px; }
.plan ul { list-style: none; flex: 1; margin-bottom: 24px; }
.plan li { font-size: 14px; color: var(--color-text); padding: 6px 0; padding-left: 24px; position: relative; }
.plan li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--color-yellow);
  font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero h1 { font-size: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .dash-shell { flex-direction: column; }
  .dash-side { width: 100%; border-right: none; border-bottom: 1px solid var(--color-border); }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 16px; }
  nav.top-nav { gap: 16px; }
  nav.top-nav a:not(.nav-cta) { display: none; }
  .dash-main { padding: 24px 20px; }
}
