/* ===== Gita Focus — shared styles ===== */
/* Design system v1.0: Krishna Blue + Sacred Gold, warm manuscript surfaces */

:root {
  --primary-900: #213A80;
  --primary-800: #2D4A9E;
  --primary-700: #3D5DB8;
  --primary-600: #5876CA;

  --gold-500: #D4A84F;
  --gold-400: #E0BB67;
  --gold-300: #F0D189;

  --bg-primary: #FAF8F3;
  --bg-secondary: #F5F0E7;
  --bg-tertiary: #EFE8DB;

  --text-primary: #1F2B46;
  --text-secondary: #5D667A;
  --text-muted: #9098A8;

  --border-light: rgba(212, 168, 79, 0.15);
  --border-medium: rgba(212, 168, 79, 0.25);

  --shadow-card: 0 10px 30px rgba(33, 58, 128, 0.08);
  --shadow-float: 0 15px 40px rgba(33, 58, 128, 0.12);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --maxw: 1080px;
}

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

html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.display {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--primary-800); text-decoration: none; }
a:hover { color: var(--primary-700); }

.gold { color: var(--gold-500); }
.accent { color: var(--primary-700); }

/* ===== Header / Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow-card); }
.brand-name { font-weight: 600; font-size: 18px; color: var(--text-primary); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-secondary); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--primary-800); }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: var(--gold-300); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary-700), var(--primary-900));
  color: var(--gold-300);
  border: 1px solid var(--gold-500);
  box-shadow: var(--shadow-float);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); color: var(--gold-300); }
.btn-ghost {
  background: #fff;
  color: var(--primary-800);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
}
.btn-ghost:hover { transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15px; }

/* Plain text link (used for "See how it works") */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 6px;
  font-weight: 600;
  font-size: 16px;
  color: var(--gold-300);
}
.text-link:hover { color: var(--gold-400); }
.text-link .arrow { transition: transform 0.2s ease; }
.text-link:hover .arrow { transform: translateX(4px); }

/* App Store badge button */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 26px 0 22px;
  border-radius: 16px;
  background: #0F1830;
  color: #fff;
  border: 1px solid var(--gold-500);
  box-shadow: var(--shadow-float);
  transition: transform 0.15s ease, filter 0.2s ease;
}
.appstore:hover { transform: translateY(-2px); filter: brightness(1.12); color: #fff; }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .lbl { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore .lbl small { font-size: 11px; opacity: 0.8; font-weight: 500; }
.appstore .lbl span { font-size: 19px; font-weight: 600; }

/* ===== Sections ===== */
section { padding: 88px 0; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 5vw, 40px); margin-bottom: 16px; }
.lead { font-size: 19px; color: var(--text-secondary); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* divider with lotus diamonds */
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; color: var(--gold-500); margin: 0 auto 28px;
}
.divider::before, .divider::after {
  content: ""; height: 1px; width: 54px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}
.divider::after { background: linear-gradient(90deg, var(--gold-400), transparent); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 78% 12%, rgba(88, 118, 202, 0.25), transparent 60%),
    linear-gradient(180deg, #213A80 0%, #1A2E63 60%, #16264F 100%);
  color: #fff;
  overflow: hidden;
  padding: 0;
}
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 76px 24px 84px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(33px, 7.2vw, 60px); color: #fff; margin-bottom: 22px; }
.hero-copy h1 .gold { color: var(--gold-300); }
.hero-copy p.sub { font-size: 20px; color: rgba(255, 255, 255, 0.82); max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.65); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 440px; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45)); }
.hero-halo {
  position: absolute; inset: 0; margin: auto;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 209, 137, 0.28), transparent 60%);
  filter: blur(8px); z-index: 0;
}
.hero-art img { position: relative; z-index: 1; }

/* sanskrit ribbon under hero */
.ribbon {
  background: var(--primary-900);
  border-top: 1px solid rgba(212,168,79,0.3);
  border-bottom: 1px solid rgba(212,168,79,0.3);
  text-align: center;
  padding: 22px 24px;
}
.ribbon .sa { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--gold-300); }
.ribbon .en { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ===== Problem strip ===== */
.problem { background: var(--bg-secondary); }
.problem .display { font-size: clamp(26px, 4.6vw, 38px); max-width: 760px; margin: 0 auto; }
.problem .display .accent { color: var(--primary-700); }

/* ===== How it works ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.step {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(180deg, var(--primary-700), var(--primary-900));
  color: var(--gold-300);
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600;
  border: 1px solid var(--gold-500);
  margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 16px; }

/* ===== Features ===== */
.features { background: var(--bg-secondary); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.feature {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow-card);
}
.feature .ic {
  width: 48px; height: 48px; flex: none;
  border-radius: 14px;
  background: var(--bg-tertiary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  border: 1px solid var(--border-light);
}
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { color: var(--text-secondary); font-size: 16px; }

/* ===== Scripture / Krishna+Arjuna ===== */
.scripture {
  background:
    radial-gradient(900px 500px at 20% 30%, rgba(88,118,202,0.22), transparent 60%),
    linear-gradient(180deg, #1A2E63, #16264F);
  color: #fff;
}
.scripture-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.scripture-grid img { width: 100%; max-width: 420px; filter: drop-shadow(0 24px 48px rgba(0,0,0,0.4)); }
.scripture blockquote { font-family: 'Cormorant Garamond', serif; font-size: clamp(25px, 4.2vw, 34px); line-height: 1.3; color: #fff; }
.scripture blockquote .gold { color: var(--gold-300); }
.scripture cite { display: block; margin-top: 20px; font-style: normal; font-size: 15px; color: var(--gold-400); font-weight: 600; letter-spacing: 0.04em; }

/* ===== Final CTA ===== */
.final { text-align: center; background: var(--bg-primary); }
.final .display { font-size: clamp(28px, 5.2vw, 44px); margin-bottom: 14px; }
.final .lead { margin: 0 auto 30px; }

/* ===== Footer ===== */
footer {
  background: var(--primary-900);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 40px;
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 38px; height: 38px; border-radius: 10px; }
.foot-brand span { font-weight: 600; color: #fff; font-size: 17px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: rgba(255,255,255,0.78); font-size: 15px; }
.foot-links a:hover { color: var(--gold-300); }
.foot-bottom {
  max-width: var(--maxw); margin: 32px auto 0; padding: 22px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: rgba(255,255,255,0.55);
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
}

/* ===== Content pages (privacy / support) ===== */
.page-hero {
  background: linear-gradient(180deg, #213A80, #1A2E63);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: 46px; color: #fff; }
.page-hero p { color: rgba(255,255,255,0.78); margin-top: 12px; font-size: 17px; }
.doc { padding: 64px 0 88px; }
.doc-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.doc h2 { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; color: var(--primary-900); margin: 40px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 19px; margin: 26px 0 8px; color: var(--text-primary); }
.doc p { color: var(--text-secondary); margin-bottom: 16px; }
.doc ul { margin: 0 0 18px 22px; color: var(--text-secondary); }
.doc li { margin-bottom: 9px; }
.doc strong { color: var(--text-primary); }
.callout {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 8px 0 28px;
}
.callout p { margin: 0; color: var(--text-primary); }

/* FAQ */
.faq { margin-top: 8px; }
.faq details {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 4px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 17px; color: var(--text-primary);
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-500); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-secondary); padding-bottom: 20px; margin: 0; }

.contact-card {
  background: linear-gradient(180deg, var(--primary-700), var(--primary-900));
  color: #fff;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-float);
  margin-top: 8px;
}
.contact-card h2 { font-family: 'Cormorant Garamond', serif; color: #fff; font-size: 30px; margin-bottom: 8px; }
.contact-card p { color: rgba(255,255,255,0.82); margin-bottom: 24px; }
.contact-card a.btn-ghost { background: #fff; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 56px; }
  .hero-copy p.sub { margin-left: auto; margin-right: auto; max-width: 520px; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 300px; }
  .hero-halo { width: 320px; height: 320px; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .scripture-grid { grid-template-columns: 1fr; text-align: center; }
  .scripture-grid img { max-width: 280px; margin: 0 auto; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .page-hero h1 { font-size: clamp(28px, 8vw, 34px); }
  .appstore, .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
