/* ============================================================
   Ultimate Bible – Landing Page Styles
   ============================================================ */

:root {
  --navy:        #0C1A3A;
  --navy-mid:    #142450;
  --navy-light:  #1E3A6C;
  --gold:        #C9963A;
  --gold-light:  #E0B050;
  --white:       #ffffff;
  --off-white:   #F9F7F3;
  --cream:       #F4EFE6;
  --text:        #111827;
  --text-muted:  #6B7280;
  --border:      rgba(0,0,0,0.07);
  --radius:      16px;
  --transition:  0.25s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12, 26, 58, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex; align-items: center; gap: 32px;
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px; height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: white; white-space: nowrap;
  transition: color var(--transition);
}
.navbar.scrolled .nav-logo { color: var(--navy); }

.logo-icon { width: 22px; height: 22px; flex-shrink: 0; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.nav-links a:hover, .navbar.scrolled .nav-links a:hover { color: var(--gold); }
.navbar.scrolled .nav-links a { color: var(--text-muted); }

.nav-cta {
  background: var(--gold);
  color: white; font-size: 0.875rem; font-weight: 600;
  padding: 9px 20px; border-radius: 50px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--text); }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--navy); padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.navbar.scrolled .mobile-menu { background: white; border-top: 1px solid var(--border); }
.mobile-link {
  padding: 12px 0; font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
.navbar.scrolled .mobile-link { color: var(--text); border-bottom-color: var(--border); }
.mobile-link:last-child { border-bottom: none; }
.mobile-download {
  margin-top: 8px; color: var(--gold) !important;
  font-weight: 600;
}
.mobile-menu.open { display: flex; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 100px 24px 120px;
}

.hero-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,150,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-block;
  background: rgba(201,150,58,0.15);
  border: 1px solid rgba(201,150,58,0.3);
  color: var(--gold-light);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900; line-height: 1.1;
  color: white; margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.68); line-height: 1.7;
  max-width: 580px; margin: 0 auto 40px;
  font-weight: 300;
}

.store-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.app-store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: white; color: var(--navy);
  padding: 12px 24px; border-radius: 14px;
  font-weight: 600; transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(255,255,255,0.9);
}
.app-store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

.app-store-btn-light {
  background: var(--navy); color: white;
  border-color: var(--navy);
}
.app-store-btn-light:hover { box-shadow: 0 8px 30px rgba(12,26,58,0.35); }

.apple-logo { width: 22px; height: 27px; flex-shrink: 0; }

.btn-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn-small { font-size: 0.68rem; font-weight: 400; opacity: 0.7; }
.btn-large { font-size: 1.05rem; font-weight: 700; }

.hero-note {
  margin-top: 20px; font-size: 0.82rem;
  color: rgba(255,255,255,0.4); font-weight: 400;
}

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ── Verse Banner ─────────────────────────────────────────── */
.verse-banner {
  background: var(--off-white);
  padding: 56px 24px;
  text-align: center;
}
.verse-quote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic; color: var(--navy);
  max-width: 700px; margin: 0 auto 12px;
  line-height: 1.5;
}
.verse-quote cite {
  font-size: 0.9rem; color: var(--gold);
  font-style: normal; font-weight: 600;
}

/* ── Section shared ───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--navy);
  line-height: 1.15; margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 520px; margin: 0 auto; line-height: 1.65;
}

/* ── Features ─────────────────────────────────────────────── */
.features { padding: 96px 0; background: var(--white); }

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

.feature-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.07);
  border-color: rgba(201,150,58,0.2);
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--gold); }

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.feature-card p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.65; }

/* ── Why Section ──────────────────────────────────────────── */
.why-section { padding: 96px 0; background: var(--cream); }

.why-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}

.why-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900; color: var(--navy);
  line-height: 1.15; margin-bottom: 20px;
}
.why-text p {
  font-size: 1rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 16px;
}

.promise-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.promise-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 1rem; font-weight: 500; color: var(--navy);
}
.promise-list li svg { width: 18px; height: 18px; stroke: var(--gold); flex-shrink: 0; }

.why-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card.gold { background: var(--navy); border-color: var(--navy); }

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900;
  color: var(--navy); line-height: 1;
  margin-bottom: 8px;
}
.stat-card.gold .stat-num { color: var(--gold-light); }

.stat-lbl {
  display: block; font-size: 0.82rem;
  font-weight: 500; color: var(--text-muted);
}
.stat-card.gold .stat-lbl { color: rgba(255,255,255,0.55); }

/* ── Community ────────────────────────────────────────────── */
.community-section { padding: 96px 0; background: var(--white); }

.community-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.community-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.community-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.07); }

.community-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.community-icon svg { width: 24px; height: 24px; stroke: var(--gold); }

.community-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
}
.community-card p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.65; }

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 100px 24px; text-align: center; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,150,58,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; color: white;
  margin-bottom: 20px; line-height: 1.15;
}
.cta-section p {
  font-size: 1.05rem; color: rgba(255,255,255,0.6);
  max-width: 580px; margin: 0 auto 40px; line-height: 1.7;
}
.cta-note {
  margin-top: 20px; font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: #070f22;
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 40px; flex-wrap: wrap; gap: 32px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: white; margin-bottom: 8px;
}
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links a {
  font-size: 0.88rem; color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.25); }

/* ── 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); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-stats { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 90px 20px 110px; }
  .hero-title { font-size: 2.2rem; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 12px; }
}
