/* === Lead Gen CSV - Editorial Magazine Landing Page === */

/* --- Reset & Variables --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --slate-bg: #1e293b;
  --slate-dark: #0f172a;
  --slate-mid: #334155;
  --slate-light: #475569;
  --slate-text: #94a3b8;
  --white: #f8fafc;
  --off-white: #f1f5f9;
  --cream: #fafaf9;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-light: #d1fae5;
  --pink: #f472b6;
  --pink-dark: #ec4899;
  --pink-light: #fce7f3;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;

  --max-w: 1200px;
  --section-pad: 6rem 2rem;
  --section-pad-sm: 4rem 1.25rem;
}

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

body {
  background: var(--cream);
  color: var(--slate-bg);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-lead {
  color: var(--slate-bg);
}

.brand-csv {
  color: var(--emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-light);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--slate-bg);
}

.nav-links .skip-link {
  background: var(--emerald);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-links .skip-link:hover {
  background: var(--emerald-dark);
}

/* --- Hero --- */
.hero {
  padding: 5rem 2rem 6rem;
  background: linear-gradient(170deg, var(--cream) 0%, #ecfdf5 50%, var(--cream) 100%);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald-dark);
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  background: var(--emerald-light);
  border-radius: 4px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--slate-dark);
  margin-bottom: 1.25rem;
}

.hero-headline em {
  color: var(--emerald);
  font-style: italic;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--slate-light);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin-bottom: 1rem;
}

.hero-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: var(--sans);
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  color: var(--slate-bg);
  outline: none;
  transition: border-color 0.2s;
}

.hero-form input:focus {
  border-color: var(--emerald);
}

.hero-form input::placeholder {
  color: #a0aec0;
}

.hero-form button {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--sans);
  background: var(--emerald);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.hero-form button:hover {
  background: var(--emerald-dark);
  transform: translateY(-1px);
}

.hero-proof {
  font-size: 0.85rem;
  color: var(--slate-text);
}

.hero-content .skip-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-content .skip-link:hover {
  color: var(--pink-dark);
}

/* Hero Visual Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--slate-dark);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18), 0 8px 20px rgba(15, 23, 42, 0.1);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--slate-bg);
  border-bottom: 1px solid var(--slate-mid);
}

.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-dot.green { background: var(--emerald); }
.card-dot.amber { background: #fbbf24; }
.card-dot.red { background: #ef4444; }

.card-title {
  margin-left: auto;
  color: var(--slate-text);
  font-size: 0.75rem;
}

.card-rows {
  padding: 0.25rem 0;
}

.card-row {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  color: var(--off-white);
}

.card-row:last-child {
  border-bottom: none;
}

.row-name {
  flex: 1;
  font-weight: 600;
}

.row-title {
  flex: 1;
  color: var(--slate-text);
}

.row-conf {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.row-conf.high {
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
}

.row-conf.med {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: var(--slate-bg);
  border-top: 1px solid var(--slate-mid);
  color: var(--slate-text);
  font-size: 0.75rem;
}

.card-dl {
  color: var(--emerald);
  font-weight: 600;
}

/* --- Pull Quote --- */
.pull-quote-section {
  padding: 4rem 2rem;
  background: var(--slate-dark);
}

.pull-quote-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.pull-quote {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--off-white);
  border: none;
  padding: 0;
  margin-bottom: 1rem;
}

.pull-quote strong {
  color: var(--pink);
  font-weight: 700;
}

.pull-cite {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--slate-text);
  letter-spacing: 0.03em;
}

/* --- Section Shared --- */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--emerald-dark);
  margin-bottom: 0.75rem;
}

.section-headline {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--slate-dark);
  margin-bottom: 3rem;
}

/* --- Problem --- */
.problem-section {
  padding: var(--section-pad);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  padding: 2rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: box-shadow 0.3s, transform 0.2s;
}

.problem-card:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.problem-icon {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.problem-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--slate-dark);
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--slate-light);
}

/* --- How It Works --- */
.how-section {
  padding: var(--section-pad);
  background: #f0fdf4;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.step-card {
  flex: 1;
  padding: 2rem;
  background: white;
  border: 1px solid #d1fae5;
  border-radius: 10px;
}

.step-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--slate-dark);
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--slate-light);
}

.step-divider {
  font-size: 1.5rem;
  color: var(--emerald);
  font-weight: 700;
  padding-top: 2.5rem;
  flex-shrink: 0;
}

/* --- Features --- */
.features-section {
  padding: var(--section-pad);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.25rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: box-shadow 0.3s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.feature-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-dark);
  background: var(--emerald-light);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--slate-dark);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--slate-light);
}

/* --- Social Proof --- */
.proof-section {
  padding: var(--section-pad);
  background: var(--slate-dark);
}

.proof-section .section-inner {
  text-align: center;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.proof-card {
  padding: 2.5rem 1.5rem;
  background: var(--slate-bg);
  border: 1px solid var(--slate-mid);
  border-radius: 10px;
  text-align: center;
}

.proof-card.accent {
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.08);
}

.proof-value {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof-label {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 0.5rem;
}

.proof-detail {
  font-size: 0.85rem;
  color: var(--slate-text);
}

.proof-anchor {
  max-width: 550px;
  margin: 0 auto;
}

.proof-anchor p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--slate-text);
  margin-bottom: 0.5rem;
}

.proof-anchor strong {
  color: var(--pink);
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--section-pad);
  background: linear-gradient(170deg, #ecfdf5 0%, var(--cream) 100%);
}

.cta-inner {
  text-align: center;
}

.cta-headline {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--slate-dark);
  margin-bottom: 1rem;
}

.cta-headline em {
  color: var(--emerald);
  font-style: italic;
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--slate-light);
  margin-bottom: 2rem;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto 1rem;
}

.cta-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: var(--sans);
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  color: var(--slate-bg);
  outline: none;
  transition: border-color 0.2s;
}

.cta-form input:focus {
  border-color: var(--emerald);
}

.cta-form input::placeholder {
  color: #a0aec0;
}

.cta-form button {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--sans);
  background: var(--emerald);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.cta-form button:hover {
  background: var(--emerald-dark);
  transform: translateY(-1px);
}

.cta-section .skip-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.cta-section .skip-link:hover {
  color: var(--pink-dark);
}

/* --- FAQ --- */
.faq-section {
  padding: var(--section-pad);
}

.faq-list {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-item:first-child {
  border-top: 1px solid #e2e8f0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-dark);
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: var(--emerald-dark);
}

.faq-icon {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--slate-light);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate-light);
}

/* --- Footer --- */
.footer {
  background: var(--slate-dark);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--slate-mid);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--off-white);
}

.footer-brand p {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--slate-text);
  margin-top: 0.5rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--slate-text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--emerald);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--slate-light);
}

.footer-bottom a {
  color: var(--pink);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* --- Form Success State --- */
.form-success {
  text-align: center;
  padding: 0.75rem;
  color: var(--emerald-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-error {
  text-align: center;
  padding: 0.5rem;
  color: #ef4444;
  font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.75rem;
  }

  .section-headline {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: var(--section-pad-sm);
  }

  .nav-links a:not(.skip-link) {
    display: none;
  }

  .hero {
    padding: 3rem 1.25rem 4rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-form {
    flex-direction: column;
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 100%;
  }

  .pull-quote {
    font-size: 1.25rem;
  }

  .section-headline {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
  }

  .step-divider {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .cta-headline {
    font-size: 2rem;
  }

  .cta-form {
    flex-direction: column;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.85rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .proof-value {
    font-size: 2.25rem;
  }

  .cta-headline {
    font-size: 1.65rem;
  }
}
