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

:root {
  --bg: #1a0533;
  --bg-card: #2a1248;
  --border: #3d1f6d;
  --gold: #f5c842;
  --text: #f0eaff;
  --text-muted: #b8a9d4;
  --error: #ff6b6b;
  --heading: 'EB Garamond', Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Fade-in Animation ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 5, 51, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-logo {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

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

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 200, 66, 0.2);
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

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

.btn-outline:hover {
  background: rgba(245, 200, 66, 0.1);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 18px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: radial-gradient(ellipse at center top, #2a1248 0%, var(--bg) 70%);
}

.hero h1 {
  font-family: var(--heading);
  font-size: 72px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: var(--heading);
  font-size: 26px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-desc {
  max-width: 580px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}

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

/* ── Features ────────────────────────────────────────────── */
.features {
  padding: 100px 0;
}

.section-title {
  font-family: var(--heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(245, 200, 66, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--heading);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ── How It Works ────────────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-card);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 280px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-family: var(--heading);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.step-line {
  width: 60px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Church Plans ────────────────────────────────────────── */
.church-plans {
  padding: 100px 0;
}

.church-card {
  max-width: 560px;
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}

.church-card-header h3 {
  font-family: var(--heading);
  font-size: 28px;
  color: var(--text);
  margin-bottom: 12px;
}

.church-price {
  margin-bottom: 32px;
}

.church-price .price {
  font-family: var(--heading);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
}

.church-price .period {
  font-size: 18px;
  color: var(--text-muted);
}

.church-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.church-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}

.church-features li:last-child {
  border-bottom: none;
}

/* ── Individual Pricing ──────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: var(--bg-card);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--gold);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-family: var(--heading);
  font-size: 24px;
  color: var(--text);
  margin-bottom: 16px;
}

.pricing-amount {
  margin-bottom: 16px;
}

.pricing-amount .price {
  font-family: var(--heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
}

.pricing-amount .period {
  font-size: 18px;
  color: var(--text-muted);
}

.pricing-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

/* ── Church Login CTA ────────────────────────────────────── */
.church-login {
  padding: 80px 0;
  text-align: center;
}

.church-login h2 {
  font-family: var(--heading);
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 12px;
}

.church-login p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero-tagline {
    font-size: 20px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .section-title {
    font-size: 30px;
  }

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

  .steps {
    flex-direction: column;
    gap: 8px;
  }

  .step-line {
    width: 2px;
    height: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .church-card {
    padding: 32px 24px;
  }

  .church-price .price {
    font-size: 40px;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
