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

:root {
  --parchment: #F5EDD8;
  --parchment-light: #FAF4E6;
  --ember: #C5572B;
  --ember-dark: #A8461F;
  --gold: #B8860B;
  --ink: #1C1208;
  --ink-soft: #3D2B0F;
  --gray: #888;
  --card: #FFFDF5;
  --border: rgba(197,87,43,0.12);
}

html { scroll-behavior: smooth; }

@keyframes flamePulse {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(197,87,43,0.5), 0 20px 60px rgba(197,87,43,0.35); }
  50%  { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(197,87,43,0), 0 24px 70px rgba(197,87,43,0.55); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(197,87,43,0), 0 20px 60px rgba(197,87,43,0.35); }
}

@keyframes navFlamePulse {
  0%   { box-shadow: 0 0 0 0 rgba(197,87,43,0.6); }
  50%  { box-shadow: 0 0 0 5px rgba(197,87,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(197,87,43,0); }
}

.flame-pulse {
  animation: flamePulse 2.4s ease-in-out infinite;
}

.nav-flame-pulse {
  animation: navFlamePulse 2.4s ease-in-out infinite;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--ember); text-decoration: none; }
a:hover { color: var(--ember-dark); }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,237,216,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
}

.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px;
}

.nav-logo-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px; font-weight: bold;
  color: var(--ink);
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ember); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 24px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
}

.btn-primary {
  background: var(--ember); color: white;
}
.btn-primary:hover { background: var(--ember-dark); color: white; transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--ember);
  border: 1.5px solid var(--ember);
}
.btn-outline:hover { background: var(--ember); color: white; }

/* HERO */
.hero {
  text-align: center;
  padding: 96px 24px 80px;
  background: linear-gradient(180deg, var(--parchment-light) 0%, var(--parchment) 100%);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(197,87,43,0.1);
  color: var(--ember);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: bold; font-style: italic;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--ember); }

.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--ink-soft);
  max-width: 560px; margin: 0 auto 40px;
  line-height: 1.7;
}

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

.app-store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: white;
  padding: 12px 24px; border-radius: 14px;
  font-size: 14px; font-weight: 600;
  transition: all 0.2s;
}
.app-store-btn:hover { background: #333; color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.app-store-btn svg { width: 20px; height: 20px; }

/* VERSE OF THE DAY */
.verse-banner {
  background: linear-gradient(135deg, rgba(197,87,43,0.08), rgba(184,134,11,0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
}

.verse-banner blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 2.5vw, 20px);
  font-style: italic;
  color: var(--ink);
  max-width: 680px; margin: 0 auto 12px;
  line-height: 1.7;
}

.verse-ref {
  font-size: 12px; font-weight: 700; letter-spacing: 0.07em;
  color: var(--ember); text-transform: uppercase;
}

/* FEATURES */
.features {
  padding: 88px 24px;
  max-width: 1100px; margin: 0 auto;
}

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ember);
  margin-bottom: 12px;
}

.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-style: italic; color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px; color: var(--ink-soft);
  max-width: 520px; line-height: 1.7;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(197,87,43,0.1);
}

.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(197,87,43,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}

.feature-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px; font-weight: bold;
  color: var(--ink); margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px; color: var(--gray); line-height: 1.65;
}

/* PLANS */
.plans {
  background: linear-gradient(180deg, var(--parchment) 0%, var(--parchment-light) 100%);
  padding: 88px 24px;
}

.plans-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-top: 48px;
}

.plan-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 18px; padding: 28px 22px;
  text-align: left; position: relative;
}

.plan-card.featured {
  border-color: var(--ember);
  box-shadow: 0 8px 32px rgba(197,87,43,0.15);
}

.plan-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--ember); color: white;
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px; border-radius: 10px;
}

.plan-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px; font-weight: bold;
  color: var(--ink); margin-bottom: 4px;
}

.plan-price {
  font-size: 28px; font-weight: 800;
  color: var(--ember); margin: 12px 0 4px;
}

.plan-price span { font-size: 13px; font-weight: 400; color: var(--gray); }

.plan-features { list-style: none; margin-top: 20px; }
.plan-features li {
  font-size: 13px; color: var(--ink-soft);
  padding: 5px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex; gap: 8px; align-items: flex-start;
}
.plan-features li::before { content: "✓"; color: var(--ember); font-weight: 700; flex-shrink: 0; }

/* CTA */
.cta-section {
  padding: 88px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--ember), #9B3A17);
}

.cta-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-style: italic; color: white;
  margin-bottom: 16px;
}

.cta-section p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }

.btn-white {
  background: white; color: var(--ember); font-weight: 700;
  padding: 14px 32px; border-radius: 28px; font-size: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); color: var(--ember); }

/* FOOTER */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand .nav-logo-text { color: white; }
.footer-brand p { font-size: 13px; margin-top: 10px; max-width: 240px; line-height: 1.6; }

.footer-links h4 { color: white; font-size: 13px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.05em; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links ul li a:hover { color: white; }

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 12px;
}

/* PAGE HEADER */
.page-header {
  padding: 72px 24px 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--parchment-light) 0%, var(--parchment) 100%);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 52px);
  font-style: italic; color: var(--ink);
  margin-bottom: 12px;
}

.page-header p { font-size: 15px; color: var(--gray); }

/* CONTENT PAGES */
.content-wrap {
  max-width: 760px; margin: 0 auto;
  padding: 56px 24px 80px;
}

.content-wrap h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px; color: var(--ink);
  margin: 40px 0 12px;
}

.content-wrap h2:first-child { margin-top: 0; }

.content-wrap p, .content-wrap li {
  font-size: 15px; color: var(--ink-soft); line-height: 1.8;
  margin-bottom: 12px;
}

.content-wrap ul { padding-left: 20px; }
.content-wrap ul li { margin-bottom: 8px; }

.content-wrap .last-updated {
  font-size: 12px; color: var(--gray); font-style: italic; margin-bottom: 40px;
}

/* SUPPORT CARDS */
.support-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px; margin: 40px 0;
}

.support-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
}

.support-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px; color: var(--ink); margin-bottom: 8px;
}

.support-card p { font-size: 14px; color: var(--gray); margin-bottom: 16px; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 64px 20px 56px; }
  .features, .plans { padding: 64px 20px; }
}
