/* ============================================================
   Asal Sanatani — Landing page
   Design tokens mirror the app. Ivory · gold · ink. No saffron.
   Pure CSS, no frameworks.
   ============================================================ */

:root {
  --bg: #EDE8DE;
  --surface: #FBF8F1;
  --surface-alt: #F4EFE4;
  --surface-deep: #E8E1D1;
  --ink: #2A2420;
  --ink-soft: #5C544B;
  --muted: #9A9087;
  --border: #E2DACB;
  --border-strong: #CDC3B1;
  --accent: #B38A2F;
  --accent-warm: #C89B3A;
  --accent-soft: #E8D9A8;
  --accent-ink: #4A3A17;
  --dark: #1F170C;
  --dark-soft: #3F2C14;

  --font-serif: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, system-ui, sans-serif;
  --font-dev: "Noto Serif Devanagari", "Fraunces", serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-soft: 0 6px 24px rgba(42, 30, 20, 0.06);
  --shadow-card: 0 10px 40px rgba(42, 30, 20, 0.08);
  --shadow-phone: 0 30px 80px rgba(42, 30, 20, 0.22);

  --pad: clamp(16px, 4vw, 24px);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, 0.85);
  backdrop-filter: saturate(120%) blur(14px);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  border-bottom: 1px solid rgba(205, 195, 177, 0.35);
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
}
.brand-om {
  font-family: var(--font-dev);
  color: var(--accent);
  font-size: 22px;
  opacity: 0.85;
}
.brand-name {
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav-links a {
  position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  font-size: 13px;
  color: var(--ink);
  padding: 9px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--accent); color: white; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(232, 217, 168, 0.55), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(232, 217, 168, 0.35), transparent 55%),
    linear-gradient(180deg, #FBF8F1 0%, #F4EFE4 100%);
}
.hero-mandala {
  position: absolute;
  right: -200px;
  top: -120px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 40%, rgba(179, 138, 47, 0.05) 40.5%, rgba(179, 138, 47, 0.05) 41%, transparent 41.5%),
    radial-gradient(circle, transparent 55%, rgba(179, 138, 47, 0.06) 55.5%, rgba(179, 138, 47, 0.06) 56%, transparent 56.5%),
    radial-gradient(circle, transparent 70%, rgba(179, 138, 47, 0.04) 70.5%, rgba(179, 138, 47, 0.04) 71%, transparent 71.5%);
  opacity: 0.6;
  pointer-events: none;
  animation: rotate 240s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow.center { text-align: center; }

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-cta.center-cta { justify-content: center; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  font-family: var(--font-sans);
  transition: transform .2s, box-shadow .2s;
  min-width: 170px;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(42, 30, 20, 0.18);
}
.store-btn.dark {
  background: var(--dark);
  color: #FDF7E8;
}
.store-btn.light {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.store-ic { display: flex; align-items: center; }
.store-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.store-txt small {
  font-size: 10px;
  letter-spacing: 0.8px;
  opacity: 0.75;
  margin-bottom: 2px;
}
.store-txt b {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

/* ---- Phone mockup in hero ---- */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}
.phone-frame {
  width: min(280px, 80vw);
  aspect-ratio: 9 / 19.5;
  background: var(--dark);
  border-radius: 38px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  position: relative;
  transform: rotate(-2deg);
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: var(--dark);
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 20%, rgba(232, 217, 168, 0.5), transparent 60%),
    linear-gradient(180deg, #FBF8F1 0%, #F4EFE4 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  padding: 40px 14px 14px;
  display: flex;
  flex-direction: column;
}
.phone-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-soft);
  padding: 0 6px;
  font-weight: 500;
}
.phone-om {
  font-family: var(--font-dev);
  color: var(--accent);
}
.phone-greeting {
  margin-top: 10px;
  padding: 0 6px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
}
.phone-date {
  padding: 2px 6px 10px;
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
}
.phone-shlok {
  margin: 0 0 10px;
  padding: 14px 12px 12px;
  background:
    radial-gradient(circle at 50% 30%, rgba(179, 138, 47, 0.15), transparent 65%),
    linear-gradient(180deg, #F6EDD8, #FBF8F1);
  border-radius: 14px;
  border: 1px solid var(--border);
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.phone-shlok-ref {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.phone-shlok-body {
  font-family: var(--font-dev);
  font-size: 11px;
  line-height: 1.8;
  color: var(--ink);
  font-weight: 500;
}
.phone-shlok-cta {
  margin-top: 12px;
  font-size: 9px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.phone-strip {
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.phone-strip > div {
  font-size: 8px;
  line-height: 1.3;
  color: var(--ink-soft);
}
.phone-strip small { display: block; font-size: 7px; letter-spacing: 0.5px; opacity: 0.7; margin-bottom: 2px; }
.phone-strip b { color: var(--ink); font-weight: 600; font-size: 10px; }
.phone-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 0 2px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.phone-nav .on { color: var(--accent); }

.scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  padding: clamp(70px, 10vw, 130px) 0;
  background: var(--surface);
  position: relative;
}
.philosophy .container { max-width: 820px; text-align: center; }
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 22px;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.section-title.center { text-align: center; }

.section-body {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 28px;
}
.section-body.center { text-align: center; }

.verse {
  margin: 48px auto 0;
  max-width: 560px;
  padding: 36px 32px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 217, 168, 0.5), transparent 70%),
    var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.verse::before, .verse::after {
  content: "◈";
  position: absolute;
  color: var(--accent);
  font-size: 14px;
  opacity: 0.55;
}
.verse::before { top: 10px; left: 50%; transform: translateX(-50%); }
.verse::after { bottom: 10px; left: 50%; transform: translateX(-50%); }

.verse-sans {
  font-family: var(--font-dev);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.8;
  color: var(--ink);
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
}
.verse footer {
  text-align: center;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
}
.verse footer span {
  display: block;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.55;
}
.verse footer cite {
  font-style: normal;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 600;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: clamp(70px, 10vw, 130px) 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features .container { text-align: center; }
.feature-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  text-align: left;
}
.f-card {
  padding: 28px 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.f-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-strong);
}
.f-ic {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 12px;
  font-family: var(--font-dev);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}
.f-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.f-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.f-card-more {
  background: transparent;
  border-style: dashed;
}
.f-card-more .f-ic {
  background: transparent;
  border: 1px dashed var(--border-strong);
  color: var(--accent);
}

/* ============================================================
   ETHOS
   ============================================================ */
.ethos {
  padding: clamp(70px, 10vw, 130px) 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.ethos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 30%, rgba(179, 138, 47, 0.05), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(179, 138, 47, 0.04), transparent 40%);
  pointer-events: none;
}
.ethos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  position: relative;
}
@media (max-width: 840px) {
  .ethos-grid { grid-template-columns: 1fr; }
}
.ethos-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.ethos-list li {
  padding: 16px 18px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 46px;
}
.ethos-list li::before {
  content: "◆";
  position: absolute;
  left: 18px;
  top: 17px;
  color: var(--accent);
  font-size: 12px;
  opacity: 0.8;
}
.ethos-list li b { color: var(--ink); font-weight: 600; }

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.download {
  padding: clamp(80px, 11vw, 140px) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 217, 168, 0.7), transparent 55%),
    linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
  text-align: center;
  border-top: 1px solid var(--border);
}
.download-inner { max-width: 680px; }
.download-om {
  font-family: var(--font-dev);
  font-size: 56px;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: 16px;
  line-height: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: #D8CDB8;
  padding: 60px 0 22px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(216, 205, 184, 0.15);
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand .brand-om { color: var(--accent-soft); font-size: 28px; }
.footer-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #FDF7E8;
  display: inline-block;
  margin-left: 8px;
  font-weight: 500;
}
.footer-tag {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(216, 205, 184, 0.65);
  line-height: 1.6;
  max-width: 240px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-nav h6 {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent-soft);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-nav a {
  display: block;
  font-size: 14px;
  color: rgba(216, 205, 184, 0.75);
  padding: 4px 0;
  transition: color .2s;
}
.footer-nav a:hover { color: #FDF7E8; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(216, 205, 184, 0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-om {
  font-family: var(--font-dev);
  color: var(--accent-soft);
  opacity: 0.75;
  letter-spacing: 0.5px;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-mandala { animation: none; }
  .scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE TOUCH-UPS
   ============================================================ */
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; }
  .store-btn { width: 100%; justify-content: center; }
  .nav-cta { padding: 7px 14px; font-size: 12px; }
  .phone-frame { transform: none; }
}
