/* ─── Reset & Variables ──────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sf:      #E8751A;
  --sf-l:    #F5A04A;
  --sf-pale: #FDF3E9;
  --bur:     #5C1E1E;
  --cream:   #FAF7F2;
  --parch:   #F0E8DC;
  --parch2:  #EAD9C4;
  --ink:     #1A1208;
  --ink-m:   #3D2B1A;
  --stone:   #7A6E63;
  --stone-l: #C4B8AC;
  --bdr:     rgba(92, 30, 30, .10);
  --bdr-m:   rgba(92, 30, 30, .18);
  --r:       3px;
  --sh:      0 2px 18px rgba(26, 18, 8, .07);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a      { color: inherit; text-decoration: none; }

/* ─── Navigation ────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(250, 247, 242, .93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bdr);
}
.n-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600; color: var(--bur);
  display: flex; align-items: center; gap: .4rem; cursor: pointer;
}
.n-logo .om { font-family: 'Noto Sans Devanagari', serif; font-size: 1.2rem; color: var(--sf); }
.n-links    { display: flex; gap: 2rem; }
.n-link {
  font-size: .78rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  color: var(--stone);
  border-bottom: 1.5px solid transparent; padding: 3px 0;
  transition: color .18s, border-color .18s;
}
.n-link:hover, .n-link.on { color: var(--bur); border-bottom-color: var(--sf); }
.n-right { display: flex; align-items: center; gap: .35rem; }
.lang {
  font-size: .7rem; font-weight: 500; letter-spacing: .05em;
  padding: 4px 9px; border: 1px solid var(--stone-l); border-radius: 2px; color: var(--stone);
  transition: all .16s;
}
.lang:hover, .lang.on { background: var(--sf); border-color: var(--sf); color: #fff; }
.n-sep   { width: 1px; height: 18px; background: var(--bdr-m); margin: 0 .2rem; }
.n-btn   { font-size: .78rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; padding: 5px 13px; border-radius: 2px; transition: all .18s; }
.n-btn.ghost { color: var(--stone); border: 1px solid var(--stone-l); }
.n-btn.ghost:hover { color: var(--bur); border-color: var(--bur); }
.n-btn.solid { background: var(--bur); color: #fff; }
.n-btn.solid:hover { background: var(--sf); }

/* ─── App Shell ─────────────────────────────────────────────────────── */
#app {
  padding-top: 64px;
  min-height: 100vh;
}

/* ─── Shared Utilities ──────────────────────────────────────────────── */
.wrap      { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }
.ph        { padding-top: 5rem; padding-bottom: 2.5rem; }
.p-title   { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; color: var(--bur); line-height: 1.1; margin-bottom: .5rem; }
.p-sub     { font-size: .9rem; font-weight: 300; color: var(--stone); line-height: 1.7; max-width: 580px; }
.eyebrow   { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sf); margin-bottom: 1rem; }
.sec-label {
  font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.sec-label::after { content: ''; flex: 1; height: 1px; background: var(--bdr); }
.btn-p {
  display: inline-flex; align-items: center;
  padding: .7rem 1.6rem; background: var(--bur); color: #fff;
  font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 2px; border: none; cursor: pointer; transition: background .18s;
}
.btn-p:hover { background: var(--sf); }
.back-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--stone); cursor: pointer; padding: 0; margin-bottom: 2rem;
  transition: color .18s;
}
.back-btn:hover { color: var(--bur); }

/* ─── Loading / Error States ────────────────────────────────────────── */
.loading-state { text-align: center; padding: 5rem 2rem; color: var(--stone); font-size: .9rem; font-weight: 300; }
.error-state   { text-align: center; padding: 5rem 2rem; color: var(--bur);   font-size: .9rem; font-weight: 300; }

/* ─── Home: Hero ────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem;
  align-items: center; padding-top: 5.5rem; padding-bottom: 4rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; right: -60px; top: -30px;
  font-family: 'Noto Sans Devanagari', serif; font-size: 20rem;
  color: var(--parch); line-height: 1; pointer-events: none; user-select: none; z-index: 0;
}
.hero-c  { position: relative; z-index: 1; }
.h-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 300; line-height: 1.07; color: var(--bur);
  margin-bottom: 1.25rem; white-space: pre-line;
}
.h-body       { font-size: .93rem; font-weight: 300; line-height: 1.82; color: var(--ink-m); margin-bottom: 2.2rem; max-width: 420px; }
.hero-cards   { display: flex; flex-direction: column; gap: .85rem; position: relative; z-index: 1; }
.sc           { background: #fff; border: 1px solid var(--bdr); border-radius: var(--r); padding: 1.1rem 1.35rem; display: flex; align-items: center; gap: 1.1rem; transition: transform .2s, box-shadow .2s; }
.sc:hover     { transform: translateX(5px); box-shadow: -4px 0 0 var(--sf), var(--sh); }
.sc-dv        { font-family: 'Noto Sans Devanagari', serif; font-size: 1.8rem; color: var(--sf); line-height: 1; min-width: 2.4rem; }
.sc-top       { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600; color: var(--bur); margin-bottom: 2px; }
.sc-bot       { font-size: .76rem; font-weight: 300; color: var(--stone); }

/* ─── Home: Features ────────────────────────────────────────────────── */
.feats        { border-top: 1px solid var(--bdr); background: #fff; }
.feats-in     { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 4rem 2.5rem; max-width: 1160px; margin: 0 auto; }
.fc           { padding: 1.75rem; border: 1px solid var(--bdr); border-radius: var(--r); position: relative; overflow: hidden; transition: border-color .2s; }
.fc:hover     { border-color: var(--sf); }
.fc::before   { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sf); transform: scaleX(0); transform-origin: left; transition: transform .28s; }
.fc:hover::before { transform: scaleX(1); }
.fc-n         { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; color: var(--parch2); margin-bottom: .75rem; }
.fc-t         { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--bur); margin-bottom: .5rem; }
.fc-b         { font-size: .83rem; font-weight: 300; line-height: 1.72; color: var(--stone); }

/* ─── Home: Quote ───────────────────────────────────────────────────── */
.qb    { background: var(--bur); padding: 5rem 2.5rem; text-align: center; }
.qb-dv { font-family: 'Noto Sans Devanagari', serif; font-size: 1.7rem; font-weight: 300; color: var(--sf-l); opacity: .55; margin-bottom: .9rem; }
.qb-t  { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 300; font-style: italic; color: var(--cream); line-height: 1.45; max-width: 680px; margin: 0 auto 1rem; }
.qb-a  { font-size: .68rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--sf-l); opacity: .6; }

/* ─── Shelves ───────────────────────────────────────────────────────── */
.shelves-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; padding-bottom: 5rem; }
.shelf-card   { background: #fff; border: 1px solid var(--bdr); border-radius: var(--r); padding: 2rem; cursor: pointer; transition: border-color .2s, transform .18s, box-shadow .18s; }
.shelf-card:hover { border-color: var(--sf); transform: translateY(-3px); box-shadow: var(--sh); }
.sh-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.sh-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--bur); margin-bottom: .35rem; }
.sh-desc { font-size: .82rem; font-weight: 300; color: var(--stone); line-height: 1.62; margin-bottom: 1rem; }
.sh-meta { font-size: .72rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--sf); }

/* ─── Bundles Grid ──────────────────────────────────────────────────── */
.bundles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; padding-bottom: 5rem; }
.bc       { background: #fff; border: 1px solid var(--bdr); border-radius: var(--r); padding: 1.75rem; cursor: pointer; transition: border-color .2s, transform .18s; display: flex; flex-direction: column; gap: .6rem; }
.bc:hover { border-color: var(--sf); transform: translateY(-2px); }
.bc-name  { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--bur); }
.bc-desc  { font-size: .82rem; font-weight: 300; color: var(--stone); line-height: 1.62; flex: 1; }
.bc-foot  { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--bdr); margin-top: .25rem; }
.bc-price { font-size: .9rem; font-weight: 500; color: var(--ink); }
.bc-price.free-col { color: var(--sf); }
.bc-cnt   { font-size: .74rem; color: var(--stone); }
.tag-free { display: inline-block; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 1px; background: var(--sf-pale); color: var(--sf); margin-bottom: .2rem; }
.tag-paid { display: inline-block; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 1px; background: var(--parch); color: var(--stone); margin-bottom: .2rem; }

/* ─── Bundle Detail ─────────────────────────────────────────────────── */
.bd-wrap  { max-width: 800px; margin: 0 auto; padding: 3rem 2.5rem 5rem; }
.bd-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 300; color: var(--bur); margin-bottom: .55rem; }
.bd-desc  { font-size: .9rem; font-weight: 300; color: var(--stone); line-height: 1.72; max-width: 580px; margin-bottom: 2rem; }
.buy-box  { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; background: var(--parch); border: 1px solid var(--bdr-m); border-radius: var(--r); padding: 1.35rem 1.6rem; margin-bottom: 2rem; }
.buy-box-l { font-size: .85rem; font-weight: 300; color: var(--ink-m); line-height: 1.55; }
.buy-box-l strong { font-weight: 500; color: var(--bur); display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; margin-bottom: .15rem; }
.buy-box-r { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.price-tag { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--bur); }
.btn-buy  { padding: .62rem 1.4rem; background: var(--sf); color: #fff; font-size: .78rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; border-radius: 2px; border: none; cursor: pointer; white-space: nowrap; transition: background .18s; }
.btn-buy:hover { background: var(--bur); }
.cs-note  { font-size: .72rem; color: var(--stone); }
.items-list    { display: flex; flex-direction: column; gap: 1rem; }
.item-card     { background: #fff; border: 1px solid var(--bdr); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.item-card.unlocked:hover { border-color: var(--sf-l); }
.item-inner    { padding: 1.5rem 1.6rem; }
.item-badge    { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 1px; display: inline-block; margin-bottom: .9rem; }
.badge-free    { background: var(--sf-pale); color: var(--sf); }
.badge-locked  { background: #f3f4f6; color: var(--stone); }
.item-dv       { font-family: 'Noto Sans Devanagari', serif; font-size: 2rem; font-weight: 400; color: var(--ink); line-height: 1.25; margin-bottom: .15rem; }
.item-lat      { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--bur); margin-bottom: .2rem; }
.item-tr       { font-size: .83rem; font-weight: 300; color: var(--stone); margin-bottom: 1rem; line-height: 1.5; }
.item-comment  { font-size: .8rem; font-weight: 300; color: var(--ink-m); line-height: 1.68; background: var(--sf-pale); border-left: 3px solid var(--sf-l); padding: .7rem 1rem; border-radius: 0 2px 2px 0; margin-bottom: 1rem; }
.audio-wrap audio { width: 100%; height: 34px; accent-color: var(--sf); display: block; }
.locked-body   { padding: 1.4rem 1.6rem; display: flex; align-items: center; gap: 1.5rem; background: #fafafa; }
.locked-tc     { flex: 1; }
.locked-dv     { font-family: 'Noto Sans Devanagari', serif; font-size: 1.8rem; color: var(--stone-l); filter: blur(5px); user-select: none; line-height: 1.25; margin-bottom: .1rem; }
.locked-lat    { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--stone-l); filter: blur(4px); user-select: none; }
.lock-hint     { font-size: .74rem; font-weight: 300; color: var(--stone); margin-top: .4rem; }
.lock-ico      { flex-shrink: 0; width: 48px; height: 48px; background: var(--parch); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }

/* ─── Contacts ──────────────────────────────────────────────────────── */
.ct-hero       { text-align: center; padding: 5rem 2.5rem 3rem; max-width: 720px; margin: 0 auto; }
.ct-grid       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 820px; margin: 0 auto; padding: 0 2.5rem 3rem; }
.ctc           { background: #fff; border: 1px solid var(--bdr); border-radius: var(--r); padding: 1.75rem; text-align: center; transition: border-color .2s; }
.ctc:hover     { border-color: var(--sf); }
.ctc-ico       { width: 44px; height: 44px; background: var(--sf-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto .85rem; font-size: 1.1rem; }
.ctc-lbl       { font-size: .67rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: .4rem; }
.ctc-val       { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--bur); }
.ctc-val a:hover { color: var(--sf); }
.ct-form-bg    { background: var(--parch); border-top: 1px solid var(--bdr); padding: 4rem 2.5rem; }
.ct-form-in    { max-width: 580px; margin: 0 auto; }
.ct-form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 300; color: var(--bur); margin-bottom: .35rem; }
.ct-form-sub   { font-size: .83rem; font-weight: 300; color: var(--stone); margin-bottom: 2rem; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg            { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.fg label      { font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.fg input, .fg textarea { font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 300; padding: .62rem .9rem; border: 1px solid var(--stone-l); border-radius: 2px; background: #fff; color: var(--ink); outline: none; transition: border-color .18s; width: 100%; }
.fg input:focus, .fg textarea:focus { border-color: var(--sf); }
.fg textarea   { height: 110px; resize: none; }
.btn-send      { width: 100%; padding: .8rem; background: var(--bur); color: #fff; font-size: .82rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; border: none; border-radius: 2px; cursor: pointer; transition: background .18s; margin-top: .25rem; }
.btn-send:hover { background: var(--sf); }
.form-ok       { display: none; text-align: center; padding: 2.5rem; background: #fff; border: 1px solid var(--bdr); border-radius: var(--r); }
.form-ok.show  { display: block; }
.form-ok-t     { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; color: var(--bur); margin: .75rem 0 .4rem; }

/* ─── Footer ────────────────────────────────────────────────────────── */
footer { background: #fff; border-top: 1px solid var(--bdr); padding: 2rem 2.5rem; text-align: center; font-size: .8rem; font-weight: 300; color: var(--stone); }
footer b { color: var(--sf); font-weight: 400; }

/* ─── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  nav          { padding: 0 1.25rem; }
  .n-links     { gap: 1.1rem; }
  .hero        { grid-template-columns: 1fr; padding-top: 3.5rem; padding-bottom: 2rem; }
  .hero-bg     { display: none; }
  .feats-in    { grid-template-columns: 1fr; gap: 1rem; padding: 3rem 1.25rem; }
  .ct-grid     { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .wrap        { padding: 0 1.25rem; }
  .bd-wrap     { padding: 2rem 1.25rem 4rem; }
  .buy-box     { flex-direction: column; align-items: flex-start; }
  .buy-box-r   { align-items: flex-start; }
}
@media (max-width: 520px) { .n-links { display: none; } }
