/* =====================================================================
   Encounter — Frontend CSS
   File:    public/assets/css/frontend/app.css
   Usage:   Loaded by resources/views/frontend/layouts/app.blade.php
   ===================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --sage:       #5F9A80;
  --sage-dark:  #2E4A3D;
  --sage-deep:  #1B2B23;
  --sage-light: #DCEAE2;
  --cream:      #F3F0E8;
  --paper:      #FBFAF5;
  --gold:       #F2A93B;
  --terra:      #E67635;
  --ink:        #20281F;
  --ink-soft:   #5C6B60;
  --line:       rgba(32, 40, 31, 0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .serif {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
a   { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--gold); color: var(--sage-deep); }

/* ---------- Layout wrapper ---------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 700; font-family: 'Manrope', sans-serif;
  cursor: pointer; border: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--sage-dark); color: #fff;
  padding: 12px 24px; font-size: 14.5px;
  box-shadow: 0 6px 18px rgba(46, 74, 61, 0.25);
}
.btn-lg  { padding: 17px 32px; font-size: 16px; }
.btn-ghost {
  background: transparent; color: var(--sage-dark);
  border: 1.5px solid var(--sage-dark);
  padding: 11px 22px; font-size: 14.5px;
}

/* ---------- Section layout ---------- */
section { padding: 108px 0; }
@media (max-width: 640px) { section { padding: 72px 0; } }
.section-head { max-width: 640px; margin-bottom: 60px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 16px;
}
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--sage); display: inline-block; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; color: var(--sage-deep); }
.section-head p  { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- NAV ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 240, 232, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, box-shadow .2s ease;
}
header.nav.scrolled {
  box-shadow: 0 4px 20px rgba(27, 43, 35, 0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--sage-dark);
  flex-shrink: 0;
}
.brand img {
  height: 44px;
  width: auto;
  max-height: 48px;
  display: block;
}
.brand .mark { width: 34px; height: 34px; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  font-size: 15px;
  font-weight: 600;
  color: var(--sage-dark);
}
.nav-links a {
  opacity: 0.75;
  transition: opacity .2s ease, color .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--sage-dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.lang-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--sage);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sage-dark);
  cursor: pointer;
}

/* Nav Toggle Button (hamburger) - hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--sage-dark);
  transition: border-color .2s ease, background-color .2s ease;
  flex-shrink: 0;
}
.nav-toggle:hover {
  border-color: var(--sage);
  background: rgba(95, 154, 128, 0.08);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--sage-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}

/* Hamburger active animation into X */
header.nav.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
header.nav.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
header.nav.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive navigation <= 880px */
@media (max-width: 880px) {
  .lang-pill span.label {
    display: none;
  }
  .lang-pill {
    padding: 8px 10px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(243, 240, 232, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(27, 43, 35, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 22px;
    z-index: 99;
  }
  header.nav.nav-open .nav-links {
    display: flex;
    animation: navMenuSlideDown .25s ease forwards;
  }
  .nav-links a {
    padding: 12px 16px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--sage-dark);
    border-radius: 10px;
    opacity: 0.85;
    transition: background-color .15s ease, color .15s ease, opacity .15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-links a::after {
    display: block;
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.4;
    transition: transform .15s ease, opacity .15s ease;
  }
  .nav-links a:hover {
    background: rgba(95, 154, 128, 0.12);
    color: var(--sage-deep);
    opacity: 1;
  }
  .nav-links a:hover::after,
  .nav-links a.active::after {
    opacity: 0.85;
    transform: translateX(2px) rotate(45deg);
  }
  .nav-links a.active {
    background: var(--sage-light);
    color: var(--sage-dark);
    font-weight: 700;
    opacity: 1;
  }
}

@keyframes navMenuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #FFD97D 0%, #F6AE3E 32%, #E67635 68%, #C8531F 100%);
  padding-top: 64px; overflow: hidden;
}
.hero-rays {
  position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% -10%,
    rgba(255, 255, 255, 0.35) 0deg 3deg, transparent 3deg 12deg);
  mix-blend-mode: overlay;
}
.hero-dove { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); width: 70px; opacity: 0.9; }
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; padding: 64px 0 0;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 36px; }
  .hero-dove  { display: none; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.35); border: 1px solid rgba(255, 255, 255, 0.6);
  color: #5A2E0C; font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1   { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; color: #3A1C05; }
.hero h1 em{ font-style: italic; color: #fff; }
.hero p.lede { margin-top: 22px; font-size: 18px; line-height: 1.6; max-width: 480px; color: #4A2410; font-weight: 500; }
@media (max-width: 960px) { .hero p.lede { margin-left: auto; margin-right: auto; } }
.hero-cta  { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
@media (max-width: 960px) { .hero-cta { justify-content: center; } }
.hero-btn-light { background: #fff; color: #8A3B0E; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: #5A2E0C; font-weight: 600; opacity: 0.85; }

/* ---------- Phone Mockup ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; padding: 20px 0 0; }
.phone {
  width: 290px; background: var(--cream); border-radius: 42px; border: 8px solid var(--sage-deep);
  box-shadow: 0 40px 70px -20px rgba(30, 20, 5, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.15);
  overflow: hidden; position: relative;
}
.phone::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: var(--sage-deep); border-radius: 0 0 14px 14px; z-index: 5;
}
.phone-screen { height: 590px; overflow: hidden; position: relative; }
.p-topbar { background: var(--sage-dark); padding: 34px 18px 18px; color: #fff; display: flex; align-items: center; justify-content: space-between; }
.p-topbar .p-brand { display: flex; align-items: center; gap: 6px; font-family: 'Fraunces', serif; font-weight: 700; font-size: 16px; }
.p-topbar .p-brand svg { width: 20px; height: 20px; }
.p-avatars { display: flex; gap: 6px; }
.p-dot { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.p-hero-card { margin: 14px; background: var(--sage); border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: center; color: #fff; }
.p-play { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-hero-card .t1 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 14.5px; }
.p-hero-card .t2 { font-size: 11px; opacity: 0.85; margin-top: 2px; }
.p-avatar-circle { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); margin-left: auto; flex-shrink: 0; }
.p-verse { margin: 14px; font-size: 12px; line-height: 1.6; color: var(--ink-soft); font-style: italic; }
.p-sectitle { margin: 18px 14px 8px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; }
.p-sectitle span:last-child { color: var(--sage); font-weight: 700; font-size: 11.5px; }
.p-row { display: flex; gap: 10px; padding: 0 14px; overflow: hidden; }
.p-card { width: 74px; flex-shrink: 0; }
.p-card .sw { width: 74px; height: 64px; border-radius: 10px; background: linear-gradient(135deg, var(--gold), var(--terra)); }
.p-card p   { font-size: 10px; font-weight: 700; margin-top: 6px; }
.p-card small { font-size: 8.5px; color: var(--ink-soft); }
.p-progress-card { margin: 16px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; gap: 10px; align-items: center; }
.p-progress-card .sw { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--sage), var(--sage-dark)); flex-shrink: 0; }
.p-progress-card .fill { margin-top: 2px; }
.p-progress-card .bar { height: 5px; background: var(--sage-light); border-radius: 99px; margin-top: 6px; overflow: hidden; }
.p-progress-card .bar i { display: block; height: 100%; width: 88%; background: var(--sage); }
.p-navbar {
  position: absolute; bottom: 0; left: 0; right: 0; background: #fff;
  border-top: 1px solid var(--line); display: flex; align-items: center;
  justify-content: space-around; padding: 10px 0 16px;
}
.p-navbar .center {
  width: 52px; height: 52px; border-radius: 50%; background: var(--sage);
  margin-top: -26px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(95, 154, 128, 0.5);
}
.p-navicon { width: 20px; height: 20px; opacity: 0.35; }
.float-chip {
  position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 16px 30px rgba(30, 20, 5, 0.18);
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--sage-dark);
}
.chip-1 { top: 6%; left: -6%; }
.chip-2 { bottom: 14%; right: -10%; }
@media (max-width: 960px) { .chip-1, .chip-2 { display: none; } }

/* ---------- Marquee Strip ---------- */
.strip { background: var(--sage-deep); color: var(--sage-light); padding: 14px 0; overflow: hidden; }
.strip-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: scrollMarquee 26s linear infinite;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 15px;
}
.strip-track span { opacity: 0.85; }
@keyframes scrollMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Feature Grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px rgba(46, 74, 61, 0.22); border-color: transparent; }
.feat-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--sage-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feat-icon svg { width: 24px; height: 24px; stroke: var(--sage-dark); }
.feat-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--sage-deep); }
.feat-card p  { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Split Sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split.reverse .split-media { order: 0; } }

/* ---------- Verse Card ---------- */
.verse-card { background: var(--sage-deep); border-radius: 26px; padding: 44px 34px; color: var(--sage-light); position: relative; overflow: hidden; }
.verse-card svg.deco { position: absolute; bottom: 0; right: 0; width: 230px; opacity: 0.12; }
.verse-card .book      { font-family: 'Fraunces', serif; font-size: 22px; color: #fff; margin-bottom: 22px; font-weight: 700; }
.verse-card .verse-line{ font-size: 15.5px; line-height: 2; position: relative; z-index: 2; }
.verse-card .verse-line b  { color: var(--gold); font-weight: 800; margin-right: 4px; font-size: 11px; vertical-align: top; }
.verse-card .verse-line.hl { background: rgba(242, 169, 59, 0.22); border-radius: 8px; padding: 2px 8px; margin: 0 -8px; }
.verse-card .tags { margin-top: 26px; display: flex; gap: 8px; position: relative; z-index: 2; }
.vtag { font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, 0.12); padding: 6px 12px; border-radius: 999px; }

/* ---------- Check List ---------- */
ul.check-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
ul.check-list li  { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--ink); }
ul.check-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; stroke: var(--sage-dark); }
ul.check-list b   { display: block; margin-bottom: 2px; }
ul.check-list span.d { color: var(--ink-soft); font-weight: 500; font-size: 14px; }

/* ---------- Q&A Cards ---------- */
.qa-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin-bottom: 14px; }
.qa-q    { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-weight: 700; font-size: 15.5px; color: var(--sage-deep); }
.qa-tag  { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--sage-light); color: var(--sage-dark); flex-shrink: 0; white-space: nowrap; }
.qa-a    { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Journey / Day Grid ---------- */
.journey { background: var(--sage-dark); border-radius: 32px; padding: 64px 56px; position: relative; overflow: hidden; }
@media (max-width: 640px) { .journey { padding: 44px 24px; border-radius: 24px; } }
.journey svg.line-art { position: absolute; bottom: 0; right: 0; width: 340px; opacity: 0.18; }
.journey-head { max-width: 600px; position: relative; z-index: 2; }
.journey-head .kicker { color: var(--gold); }
.journey-head h2 { color: #fff; }
.journey-head p  { color: var(--sage-light); }
.day-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; position: relative; z-index: 2; }
@media (max-width: 820px) { .day-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 520px) { .day-grid { grid-template-columns: repeat(5, 1fr); } }
.day-cell { aspect-ratio: 1; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--sage-light); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.day-cell.done    { background: var(--gold);  color: #3A1C05; border-color: transparent; }
.day-cell.current { background: #fff; color: var(--sage-dark); border-color: transparent; }

/* ---------- Language Grid ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 760px) { .lang-grid { grid-template-columns: repeat(2, 1fr); } }
.lang-chip { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.lang-chip .flagdot { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--sage), var(--sage-dark)); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Fraunces', serif; font-size: 14px; }
.lang-chip.soon { opacity: 0.55; }
.lang-chip .soon-tag { margin-left: auto; font-size: 10px; font-weight: 800; background: var(--sage-light); color: var(--sage-dark); padding: 4px 8px; border-radius: 6px; }

/* ---------- Quote / Share ---------- */
.quote-section { background: var(--cream); }
.quote-wrap    { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .quote-wrap { grid-template-columns: 1fr; } }
.quote-cards { position: relative; height: 380px; }
.qcard {
  position: absolute; width: 230px; border-radius: 20px; padding: 30px 24px; color: #fff;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 15.5px; line-height: 1.55;
  box-shadow: 0 30px 50px -18px rgba(30, 20, 5, 0.35);
}
.qcard.a { background: linear-gradient(160deg, var(--gold), var(--terra)); top: 0; left: 10%; transform: rotate(-6deg); z-index: 2; }
.qcard.b { background: linear-gradient(160deg, var(--sage), var(--sage-dark)); top: 70px; left: 38%; transform: rotate(4deg); z-index: 1; }
@media (max-width: 520px) { .qcard.b { display: none; } .qcard.a { left: 0; width: 80%; } }
.qcard .ref { font-family: 'Manrope', sans-serif; font-style: normal; font-size: 11px; font-weight: 800; opacity: 0.85; margin-top: 16px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.testi-card p { font-size: 15px; line-height: 1.65; color: var(--ink); font-family: 'Fraunces', serif; font-style: italic; }
.testi-who   { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-who .av { width: 38px; height: 38px; border-radius: 50%; background: var(--sage-light); flex-shrink: 0; }
.testi-who b   { font-size: 13.5px; display: block; }
.testi-who span{ font-size: 12px; color: var(--ink-soft); }

/* ---------- CTA Block ---------- */
.cta {
  background: linear-gradient(180deg, #FFD97D 0%, #F6AE3E 30%, #E67635 75%, #C8531F 100%);
  border-radius: 36px; padding: 80px 40px; text-align: center; position: relative; overflow: hidden;
}
@media (max-width: 640px) { .cta { padding: 56px 24px; border-radius: 26px; } }
.cta h2 { color: #3A1C05; font-size: clamp(28px, 4vw, 42px); }
.cta p  { color: #4A2410; font-weight: 600; margin-top: 14px; font-size: 16px; }
.cta .hero-cta { justify-content: center; margin-top: 30px; }
.store-badges  { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.store-badge   { background: #1B2B23; color: #fff; border-radius: 12px; padding: 11px 18px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; }
.store-badge small { display: block; font-weight: 500; font-size: 9.5px; opacity: 0.7; }

/* ---------- Footer ---------- */
footer { background: var(--sage-deep); color: var(--sage-light); padding: 70px 0 34px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } }
.foot-brand .brand { color: #fff; }
.foot-brand .brand img { filter: brightness(0) invert(1); }
.foot-brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; opacity: 0.75; max-width: 280px; }
footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; margin-bottom: 16px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
footer ul a { opacity: 0.85; }
footer ul a:hover { opacity: 1; }
.foot-bottom {
  margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; opacity: 0.6; flex-wrap: wrap; gap: 12px;
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }


@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* =====================================================================
   AUTH PAGES — Sign In / Sign Up
   ===================================================================== */

/* Two-column shell: visual panel + form panel */
.auth-shell {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) { .auth-shell { grid-template-columns: 1fr; } }

/* Left: gradient visual panel */
.auth-visual {
  background: linear-gradient(180deg, #FFD97D 0%, #F6AE3E 32%, #E67635 68%, #C8531F 100%);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 56px;
}
@media (max-width: 900px) { .auth-visual { min-height: 280px; padding: 36px; } }
.auth-visual .rays {
  position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% -10%,
    rgba(255,255,255,0.35) 0deg 3deg, transparent 3deg 12deg);
  mix-blend-mode: overlay;
}
.auth-visual .dove {
  position: absolute; top: 12%; left: 50%; transform: translateX(-50%);
  width: 60px; opacity: 0.9;
}
.auth-visual blockquote {
  position: relative; z-index: 2;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 26px; color: #3A1C05; line-height: 1.4; max-width: 420px;
}
.auth-visual cite {
  position: relative; z-index: 2; display: block;
  margin-top: 16px; font-style: normal; font-weight: 700; font-size: 13px; color: #5A2E0C;
}

/* Right: form panel */
.auth-form-side {
  display: flex; align-items: center; justify-content: center;
  padding: 56px 40px;
}
@media (max-width: 640px) { .auth-form-side { padding: 36px 20px; } }
.auth-card { width: 100%; max-width: 420px; }

/* Progress dots */
.step-dots { display: flex; gap: 8px; margin-bottom: 34px; }
.step-dots i {
  height: 5px; flex: 1; border-radius: 99px;
  background: var(--line); transition: background .3s;
}
.step-dots i.done { background: var(--sage); }

/* Steps — only .active is shown */
.auth-step { display: none; }
.auth-step.active { display: block; }

/* Back button */
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--sage-dark);
  opacity: 0.75; margin-bottom: 22px; background: none; border: none;
  cursor: pointer; font-family: 'Manrope', sans-serif;
}
.back-btn:hover { opacity: 1; }

/* Step headings */
.eyebrow-txt { font-size: 14px; color: var(--ink-soft); font-weight: 600; margin-bottom: 4px; }
.auth-step h2 { font-size: 28px; color: var(--sage-deep); margin-bottom: 6px; }
.auth-step p.desc { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 26px; line-height: 1.55; }

/* Form fields */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field input, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: 14.5px; font-family: 'Manrope', sans-serif;
  outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus { border-color: var(--sage); }
.field input:disabled { opacity: 0.65; cursor: not-allowed; }
.field-note {
  font-size: 12px; color: var(--sage); font-weight: 700;
  margin-top: 8px; display: flex; align-items: center; gap: 6px;
}

/* Pill toggle (gender / language) */
.pill-select { display: flex; gap: 10px; }
.pill-opt {
  flex: 1; text-align: center; padding: 13px; border-radius: 12px;
  border: 1.5px solid var(--line); font-weight: 700; font-size: 14px;
  color: var(--ink-soft); transition: all .18s;
  background: none; cursor: pointer; font-family: 'Manrope', sans-serif;
}
.pill-opt.active { background: var(--sage-dark); color: #fff; border-color: transparent; }

/* OTP input row */
.otp-row { display: flex; gap: 12px; margin: 6px 0 18px; }
.otp-row input {
  width: 56px; height: 56px; text-align: center;
  font-size: 22px; font-weight: 800; border-radius: 12px;
  border: 1.5px solid var(--line); font-family: 'Manrope', sans-serif;
}
.otp-row input:focus { border-color: var(--sage); outline: none; }
.otp-links { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 26px; }
.otp-links span { color: var(--ink-soft); }
.otp-links a { color: var(--sage-dark); font-weight: 700; }

/* Phone field with country code */
.phone-field { display: flex; gap: 10px; }
.phone-field select { width: 100px; flex-shrink: 0; }

/* Divider with text */
.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 26px 0; color: var(--ink-soft); font-size: 13px;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Social buttons */
.social-btn {
  width: 100%; padding: 13px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 14.5px; color: var(--sage-dark);
  margin-bottom: 12px; transition: border-color .2s;
  cursor: pointer; font-family: 'Manrope', sans-serif;
}
.social-btn:hover { border-color: var(--sage); }

/* Full-width button variant */
.full-btn { width: 100%; padding: 16px; border-radius: 14px; font-size: 15px; }

/* Legal small print */
.legal {
  font-size: 12px; color: var(--ink-soft);
  text-align: center; margin-top: 22px; line-height: 1.6;
}
.legal a { color: var(--sage-dark); font-weight: 700; }

/* Success state */
.success-badge {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.success-badge svg { width: 30px; height: 30px; stroke: var(--sage-dark); }
.mini-preview {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px; margin-top: 26px;
  display: flex; align-items: center; gap: 14px;
}
.mini-preview .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--terra));
  flex-shrink: 0;
}
.mini-preview b   { display: block; font-size: 14.5px; }
.mini-preview span{ font-size: 12.5px; color: var(--ink-soft); }


/* active nav link */
.nav-links a.active { opacity: 1; }

/* =====================================================================
   BIBLE PAGE
   ===================================================================== */

/* ---------- Page Hero (dark sage) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--sage-dark), var(--sage-deep));
  padding: 56px 0 90px; position: relative; overflow: hidden; color: #fff;
}
.page-hero svg.line-art { position: absolute; bottom: -10px; right: -10px; width: 340px; opacity: 0.16; }
.page-hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.page-hero .kicker::before { content: ''; width: 22px; height: 2px; background: var(--gold); display: inline-block; }
.page-hero h1 { font-size: clamp(34px, 5vw, 50px); position: relative; z-index: 2; }
.page-hero p  { margin-top: 14px; color: var(--sage-light); font-size: 16px; max-width: 520px; position: relative; z-index: 2; }

/* ---------- Toolbar card (floats over hero) ---------- */
.toolbar {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  margin-top: -56px; position: relative; z-index: 10;
  box-shadow: 0 30px 60px -30px rgba(27, 43, 35, 0.35);
  padding: 22px 26px;
}
.crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.crumb button { color: var(--sage-dark); opacity: 0.7; background: none; border: none; cursor: pointer; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 13.5px; }
.crumb button:hover { opacity: 1; text-decoration: underline; }
.crumb .sep { opacity: 0.4; }
.crumb .current { color: var(--sage-deep); }
.toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.testament-toggle { display: flex; background: var(--sage-light); border-radius: 999px; padding: 4px; gap: 4px; }
.testament-toggle button {
  padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 700;
  color: var(--sage-dark); transition: background .2s, color .2s;
  background: none; border: none; cursor: pointer; font-family: 'Manrope', sans-serif;
}
.testament-toggle button.active { background: var(--sage-dark); color: #fff; }
.search-box {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px;
  min-width: 240px; flex: 1; max-width: 340px;
}
.search-box input { border: none; outline: none; font-family: 'Manrope', sans-serif; font-size: 14px; width: 100%; background: transparent; }
.search-box svg { width: 17px; height: 17px; stroke: var(--ink-soft); flex-shrink: 0; }
.lang-toggle { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--sage); border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 700; color: var(--sage-dark); }

/* ---------- View switching ---------- */
.bible-view { padding: 48px 0 100px; }
.bible-view-hidden { display: none; }

/* ---------- Books grid ---------- */
.testament-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sage); margin: 36px 0 18px; }
.testament-label:first-child { margin-top: 0; }
.book-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1350px) { .book-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1000px) { .book-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 876px)  { .book-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 650px)  { .book-grid { grid-template-columns: repeat(2, 1fr); } }
.book-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 16px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
  cursor: pointer;
}
.book-card:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -18px rgba(46, 74, 61, 0.28); border-color: transparent; }
.book-card .swatch { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--sage), var(--sage-dark)); margin-bottom: 4px; }
.book-card b    { font-family: 'Fraunces', serif; font-size: 14px; color: var(--sage-deep); font-weight: 700; }
.book-card span { font-size: 12px; color: var(--ink-soft); }

/* ---------- Chapters grid ---------- */
.chapter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.chapter-head h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--sage-deep); }
.chapter-head p  { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; }
.ch-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; }
@media (max-width: 900px) { .ch-grid { grid-template-columns: repeat(7, 1fr); } }
@media (max-width: 560px) { .ch-grid { grid-template-columns: repeat(5, 1fr); } }
.ch-cell {
  aspect-ratio: 1; border-radius: 11px; background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: var(--sage-dark);
  transition: transform .15s ease, background .15s, color .15s; cursor: pointer;
}
.ch-cell:hover { transform: translateY(-3px); background: var(--sage-light); }
.ch-cell.read  { background: var(--sage); color: #fff; border-color: transparent; }

/* ---------- Reader ---------- */
.reader-shell { display: grid; grid-template-columns: 230px 1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .reader-shell { grid-template-columns: 1fr; } }
.reader-side { position: sticky; top: 96px; }
@media (max-width: 860px) { .reader-side { position: static; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; } }
.side-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 12px; }
@media (max-width: 860px) { .side-title { display: none; } }
.side-ch-list { display: flex; flex-direction: column; gap: 4px; max-height: 520px; overflow-y: auto; }
@media (max-width: 860px) { .side-ch-list { flex-direction: row; max-height: none; } }
.side-ch-list button {
  text-align: left; padding: 9px 14px; border-radius: 10px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap;
  background: none; border: none; cursor: pointer; font-family: 'Manrope', sans-serif; width: 100%;
}
.side-ch-list button:hover { background: var(--sage-light); color: var(--sage-dark); }
.side-ch-list button.active { background: var(--sage-dark); color: #fff; }

.reader-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 44px 46px; position: relative; overflow: hidden; }
@media (max-width: 640px) { .reader-card { padding: 30px 22px; } }
.reader-card svg.deco { position: absolute; top: -30px; right: -30px; width: 200px; opacity: 0.06; }
.reader-title { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; position: relative; z-index: 2; }
.reader-title h2 { font-size: clamp(26px, 3vw, 34px); color: var(--sage-deep); }
.reader-tools { display: flex; gap: 8px; }
.tool-btn {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s; cursor: pointer;
}
.tool-btn svg { width: 17px; height: 17px; stroke: var(--sage-dark); }
.tool-btn:hover { background: var(--sage-light); border-color: transparent; }

.verse-block { margin-top: 28px; font-size: 17px; color: var(--ink); position: relative; z-index: 2; line-height: 1.75; }
.verse-block sup { font-weight: 800; color: var(--sage); font-size: 11px; }
.verse-block .v { cursor: pointer; display: block; border-radius: 6px; transition: background .15s; margin: 0; padding: 0; }
.verse-block .v:hover  { background: transparent; }
.verse-block .v.hl-gold { background: rgba(242, 169, 59,  0.28); }
.verse-block .v.hl-sage { background: rgba(95,  154, 128, 0.22); }
.verse-block .v.hl-rose { background: rgba(233, 142, 142, 0.24); }

.reader-nav { display: flex; justify-content: space-between; margin-top: 38px; position: relative; z-index: 2; }
.reader-nav button { font-weight: 700; font-size: 14px; color: var(--sage-dark); background: none; border: none; cursor: pointer; font-family: 'Manrope', sans-serif; }
.reader-nav button.next { background: var(--sage-dark); color: #fff; padding: 12px 22px; border-radius: 999px; }
.reader-nav button.prev { opacity: 0.7; }
.reader-nav button.prev:hover { opacity: 1; }

/* ---------- Verse highlight popover ---------- */
.verse-popover {
  position: fixed; z-index: 300; background: var(--sage-deep); border-radius: 14px;
  padding: 8px; display: none; gap: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.verse-popover.show { display: flex; }
.verse-popover button { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.verse-popover button:hover { background: rgba(255, 255, 255, 0.12); }
.verse-popover .swb { width: 18px; height: 18px; border-radius: 50%; }
.verse-popover .swb.g { background: var(--gold); }
.verse-popover .swb.s { background: var(--sage); }
.verse-popover .swb.r { background: #E98E8E; }
.verse-popover svg { width: 16px; height: 16px; stroke: #fff; }




/* =====================================================================
   STUDY PLANS / DAILY PLANS PAGE
   ===================================================================== */

/* Shared utility */
.row-between { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.view-all    { font-size: 13px; font-weight: 800; color: var(--sage); }

/* ---------- Topic chips ---------- */
.chip-row { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px; }
.chip { flex-shrink: 0; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--sage-dark); background: #fff; transition: background .15s, border-color .15s; cursor: pointer; font-family: 'Manrope', sans-serif; }
.chip.active, .chip:hover { background: var(--sage-dark); color: #fff; border-color: transparent; }

/* ---------- View switching ---------- */
.plans-view { padding: 52px 0 100px; }
.plans-view-hidden { display: none; }

/* ---------- Plan cards ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
.plan-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; }
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 22px 36px -18px rgba(46,74,61,0.28); }
.plan-thumb { height: 120px; background: linear-gradient(135deg,var(--gold),var(--terra)); }
.plan-thumb.alt1 { background: linear-gradient(135deg,var(--sage),var(--sage-dark)); }
.plan-thumb.alt2 { background: linear-gradient(135deg,#E98E8E,#C24A4A); }
.plan-thumb.alt3 { background: linear-gradient(135deg,#8EA7E9,#4A5FC2); }
.plan-body { padding: 16px 16px 18px; }
.plan-body b    { font-family: 'Fraunces',serif; font-size: 16px; color: var(--sage-deep); display: block; }
.plan-body span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Course cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .course-grid { grid-template-columns: 1fr; } }
.course-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 22px 36px -18px rgba(46,74,61,0.28); }
.course-media { width: 130px; flex-shrink: 0; background: linear-gradient(160deg,var(--gold),var(--terra)); }
.course-media.alt { background: linear-gradient(160deg,var(--sage),var(--sage-dark)); }
.course-info { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.course-info .tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sage); margin-bottom: 6px; }
.course-info b    { font-family: 'Fraunces',serif; font-size: 18px; color: var(--sage-deep); }
.course-info span { font-size: 13px; color: var(--ink-soft); margin-top: 6px; display: block; }

/* ---------- Detail hero ---------- */
.detail-hero { background: linear-gradient(160deg,var(--sage),var(--sage-dark)); border-radius: 26px; padding: 44px 40px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden; }
.detail-hero svg.deco { position: absolute; bottom: -20px; right: -10px; width: 200px; opacity: 0.15; }
.detail-hero h2 { font-size: clamp(26px,3.4vw,36px); position: relative; z-index: 2; }
.detail-hero p  { margin-top: 6px; opacity: 0.85; position: relative; z-index: 2; }
.play-badge { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; position: relative; z-index: 2; color: #fff; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 32px; }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.stat-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--sage-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon svg { width: 20px; height: 20px; stroke: var(--sage-dark); }
.stat-card b    { display: block; font-size: 14px; }
.stat-card span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- About text ---------- */
.about-text { margin-top: 32px; font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); max-width: 720px; }
.about-text p { margin-bottom: 14px; }

/* ---------- Day reading ---------- */
.reading-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 42px 44px; }
@media (max-width: 640px) { .reading-card { padding: 28px 22px; } }
.book-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.book-tab { padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); cursor: pointer; font-family: 'Manrope',sans-serif; }
.book-tab.active { background: var(--sage-dark); color: #fff; border-color: transparent; }
.spotify-btn { margin-top: 30px; width: 100%; background: #C8342A; color: #fff; padding: 16px; border-radius: 14px; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-family: 'Manrope',sans-serif; border: none; }
.spotify-btn:hover { opacity: 0.9; }

/* =====================================================================
   GOSPEL QUESTIONS PAGE
   ===================================================================== */

.questions-view { padding: 52px 0 100px; }
.questions-view-hidden { display: none; }

/* Tab row */
.tab-row { display: flex; gap: 6px; background: var(--sage-light); border-radius: 999px; padding: 4px; }
.tab-row button {
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  color: var(--sage-dark); background: none; border: none; cursor: pointer;
  font-family: 'Manrope', sans-serif; transition: background .15s, color .15s;
}
.tab-row button.active { background: var(--sage-dark); color: #fff; }

/* Gospel books grid */
.qa-book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .qa-book-grid { grid-template-columns: repeat(2, 1fr); } }
.qa-book-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; display: flex; align-items: center; justify-content: space-between;
  transition: transform .18s ease, box-shadow .18s ease; cursor: pointer;
}
.qa-book-card:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -18px rgba(46, 74, 61, 0.28); }
.qa-book-card b { font-family: 'Fraunces', serif; font-size: 19px; color: var(--sage-deep); display: block; }
.qa-book-card span { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; display: block; }
.qa-book-card svg { width: 18px; height: 18px; stroke: var(--ink-soft); flex-shrink: 0; }

/* Chapter grid state */
.ch-cell.has { background: var(--sage); color: #fff; border-color: transparent; }

/* Accordion Q&A list */
.qa-list { display: flex; flex-direction: column; gap: 14px; }
.qa-list .qa-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 24px; cursor: pointer; transition: border-color .2s; margin-bottom: 0;
}
.qa-list .qa-card:hover { border-color: var(--sage); }
.qa-list .qa-q {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; font-weight: 700; font-size: 15.5px; color: var(--sage-deep);
}
.qa-list .qa-q svg { width: 18px; height: 18px; stroke: var(--ink-soft); flex-shrink: 0; transition: transform .2s; }
.qa-list .qa-card.open .qa-q svg { transform: rotate(90deg); }
.qa-ref { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; font-weight: 600; }
.qa-list .qa-a {
  display: none; margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--line); font-size: 14.5px; line-height: 1.7; color: var(--ink-soft);
}
.qa-list .qa-a ul { margin: 10px 0 0 18px; }
.qa-list .qa-a li { margin-bottom: 8px; }
.qa-list .qa-card.open .qa-a { display: block; }

/* My Questions */
.my-q-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin-bottom: 14px; }
.my-q-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.my-q-top b { font-size: 15px; color: var(--sage-deep); font-weight: 700; }
.status { font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.status.answered { background: var(--sage-light); color: var(--sage-dark); }
.status.pending { background: #F2E4C6; color: #8A5A0E; }
.my-q-date { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
.my-q-answer { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* Ask Box */
.ask-box { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin-bottom: 32px; }
.ask-box textarea {
  width: 100%; min-height: 110px; border: 1.5px solid var(--line);
  border-radius: 14px; padding: 16px; font-family: 'Manrope', sans-serif;
  font-size: 14.5px; resize: vertical; outline: none; transition: border-color .2s;
}
.ask-box textarea:focus { border-color: var(--sage); }
.ask-box-row { display: flex; justify-content: flex-end; gap: 12px; margin-top: 14px; }
