/* Creator Cash Clarity — Main stylesheet */
/* Clean, calm, founder-friendly. Creator-focused. */

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

:root {
  --bg: #f8f6f2;
  --bg-alt: #f1ede6;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-mid: #555;
  --text-light: #888;
  --accent: #1a7a4a;
  --accent-light: #e8f4ed;
  --border: #e0ddd8;
  --dark: #111111;
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Navigation ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.nav-links a.cta-nav {
  background: var(--text);
  color: #fff;
  font-weight: 600;
  padding: 7px 16px;
}

.nav-links a.cta-nav:hover {
  background: #333;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 40px 80px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.btn-primary:active { transform: none; }

.btn-primary svg { transition: transform 0.15s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}

.btn-secondary:hover { color: var(--text); }

/* ─── Trust bar ───────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 40px;
  text-align: center;
}

.trust-bar p {
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: italic;
}

/* ─── Sections ─────────────────────────────────────────── */
.section {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.section-header p {
  margin-top: 14px;
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ─── Problem section ──────────────────────────────────── */
.problem-section {
  background: var(--bg-alt);
  padding: 80px 40px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.problem-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.problem-text > p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.problem-questions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-questions li {
  font-size: 0.9375rem;
  color: var(--text);
  font-style: italic;
  padding-left: 20px;
  position: relative;
}

.problem-questions li::before {
  content: '"';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.problem-closing {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--accent-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.problem-closing p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

/* ─── Solution section ────────────────────────────────── */
.solution-section {
  padding: 80px 40px;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.solution-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.solution-text > p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.solution-card p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 24px;
}

.solution-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text);
}

.highlight-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ─── How it works ────────────────────────────────────── */
.how-it-works {
  background: var(--dark);
  color: #fff;
  padding: 80px 40px;
  text-align: center;
}

.how-it-works .section-label { color: #9ecaad; }

.how-it-works h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.step-card {
  padding: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ─── Who it's for ─────────────────────────────────────── */
.who-section {
  padding: 80px 40px;
  background: var(--bg-alt);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.who-for h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8125rem;
}

.who-for ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.who-for li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}

.who-for li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.not-for h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.not-for ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.not-for li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.5;
}

.not-for li::before {
  content: '–';
  color: var(--text-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── FAQ ──────────────────────────────────────────────── */
.faq-section {
  padding: 80px 40px;
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s;
}

.faq-question:hover { color: var(--accent); }

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: transform 0.2s;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.faq-item.open .faq-answer { display: block; }

/* ─── Final CTA ────────────────────────────────────────── */
.final-cta {
  background: var(--dark);
  color: #fff;
  padding: 96px 40px;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 40px;
}

.final-cta .btn-primary {
  background: #fff;
  color: var(--text);
}

.final-cta .btn-primary:hover {
  background: #e8e8e8;
}

/* ─── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 32px 40px;
  text-align: center;
}

.footer p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

/* ─── Pricing page ─────────────────────────────────────── */
.pricing-hero {
  padding: 80px 40px 60px;
  text-align: center;
}

.pricing-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.pricing-hero p {
  font-size: 1.0625rem;
  color: var(--text-mid);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
  align-items: stretch;
}

.tier-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.tier-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light), 0 4px 24px rgba(0,0,0,0.06);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.tier-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.tier-tagline {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.5;
}

.tier-price {
  margin-bottom: 8px;
}

.tier-price strong {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.tier-price span {
  font-size: 0.9375rem;
  color: var(--text-mid);
}

.tier-best-for {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.tier-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}

.tier-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.tier-includes li .check-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

.tier-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: var(--text);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}

.tier-cta:hover { background: #333; }

.featured .tier-cta {
  background: var(--accent);
}

.featured .tier-cta:hover {
  background: #168a42;
}

/* ─── Add-ons ──────────────────────────────────────────── */
.addons-section {
  background: var(--bg-alt);
  padding: 64px 40px;
}

.addons-inner {
  max-width: 720px;
  margin: 0 auto;
}

.addons-inner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.addons-inner > p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.addon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.addon-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.addon-card p {
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.addon-card .addon-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
}

.audit-card {
  background: var(--accent-light);
  border-color: #c4e0cc;
}

.audit-card .addon-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.audit-card .audit-note {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}

/* ─── Cancellation ─────────────────────────────────────── */
.cancel-section {
  padding: 48px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

.cancel-section h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.cancel-section p {
  font-size: 0.9375rem;
  color: var(--text-mid);
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .tiers-grid { grid-template-columns: 1fr; max-width: 480px; }
  .steps-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: 0 20px; }
  .nav-links a:not(.cta-nav) { display: none; }
  .section, .problem-section, .solution-section, .who-section, .faq-section { padding: 56px 20px; }
  .hero { padding: 64px 20px 56px; }
  .hero h1 { font-size: 1.75rem; }
  .final-cta { padding: 64px 20px; }
  .addons-section { padding: 48px 20px; }
  .footer { padding: 24px 20px; }
  .pricing-hero { padding: 56px 20px 40px; }
  .tiers-grid { padding: 0 20px 56px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
}

/* ─── Checkout UI ─────────────────────────────────────── */
.tier-checkout {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-email-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.875rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s;
  outline: none;
}

.checkout-email-input:focus {
  border-color: var(--accent);
  background: var(--surface);
}

.checkout-email-input::placeholder {
  color: var(--text-light);
}

.checkout-error {
  font-size: 0.8125rem;
  color: #c0392b;
  min-height: 16px;
}

/* Make button-style tier-cta work as button */
button.tier-cta {
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

button.tier-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}