/* ============================================================
   📄 માહિતી-પાનાં (info pages) — સહિયારી CSS
   ------------------------------------------------------------
   કોણ વાપરે છે:
     privacy.html · terms.html · refund.html · features.html · help.html

   આ પાનાં *સ્વતંત્ર* છે — app.js / Firebase / Tailwind માંથી કશું જોઈતું નથી.
   લોગિન પેજની નીચેની કડીઓથી નવા ટૅબમાં ખૂલે છે, અને એ જ URL Razorpay /
   Google Play જેવી ચકાસણીમાં સીધું આપી શકાય એ માટે અલગ HTML ફાઈલ રાખી છે.

   ⚠️ રંગ/માપ index.html ના style.css જેવા જ ટોકન-નામે રાખ્યા છે, પણ અહીં
      નકલ કરેલા છે — જેથી આ પાનું ખોલવા આખું style.css (૯૦ KB) ઊતરે નહીં.

   ✏️ બદલાવ કરો ત્યારે પાંચેય HTML માં `pages.css?v=N` નો આંકડો વધારવો,
      નહીં તો બ્રાઉઝર જૂની ફાઈલ કેશમાંથી જ વાપરશે (vercel.json માં
      /css/ પર ૧ વર્ષનું immutable કેશ છે).
   ============================================================ */

:root {
  --primary: #0C4A6E;
  --navy: #0C4A6E;
  --navy2: #1167A0;
  --green: #2C9E4F;
  --green2: #37BB5E;
  --saffron: #F2911B;
  --saffron2: #FFA838;
  --danger: #D6435B;
  --background: #EAF1EF;
  --surface: #FFFFFF;
  --surface2: #F5F9F8;
  --ink: #14323B;
  --ink-soft: #496168;
  --muted: #7E939A;
  --line: #D7E4E0;
  --radius: 20px;
  --radius-sm: 13px;
  --shadow: 0 12px 34px rgba(15, 50, 59, .12);
  --shadow-sm: 0 4px 16px rgba(15, 50, 59, .08);
  --grad-navy: linear-gradient(135deg, #0C4A6E, #1576AC);
  --grad-green: linear-gradient(135deg, #258845, #3DB763);
  --grad-saffron: linear-gradient(135deg, #E5841A, #FFA838);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Anek Gujarati', 'Inter', sans-serif; }

body {
  background: var(--background);
  color: var(--ink);
  line-height: 1.75;
  font-size: 15.5px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* પાછળનાં ઝાંખાં વર્તુળ — લોગિન પેજ જેવો જ માહોલ */
.pg-shape {
  position: fixed; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: .3;
}
.pg-shape.s1 { width: 380px; height: 380px; background: var(--saffron2); top: -120px; right: -110px; }
.pg-shape.s2 { width: 300px; height: 300px; background: var(--green2); bottom: -60px; left: -60px; }

/* ---------------- ઉપરની પટ્ટી ---------------- */
.pg-top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.pg-top-in {
  max-width: 940px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
}
.pg-logo {
  display: flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; min-width: 0;
}
.pg-logo .pl-mark {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; color: #fff; background: var(--grad-navy);
}
.pg-logo .pl-mark .material-icons { font-size: 21px; }
.pg-logo b { display: block; font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.pg-logo small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.pg-back {
  margin-left: auto; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface2); border: 1.5px solid var(--line); color: var(--navy);
  font-size: 13px; font-weight: 700; text-decoration: none;
  padding: 7px 13px; border-radius: 999px;
  transition: background .15s, border-color .15s;
}
.pg-back:hover { background: #EAF3F8; border-color: #BBDCEE; }
.pg-back .material-icons { font-size: 17px; }

/* ---------------- મુખ્ય ભાગ ---------------- */
.pg-wrap { max-width: 940px; margin: 0 auto; padding: 22px 16px 40px; }

.pg-hero {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 24px 20px; margin-bottom: 18px;
  border-top: 5px solid var(--navy);
}
.pg-hero.is-green { border-top-color: var(--green); }
.pg-hero.is-saffron { border-top-color: var(--saffron); }
.pg-hero.is-danger { border-top-color: var(--danger); }
.pg-hero-ic {
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 12px;
  display: grid; place-items: center; color: #fff; background: var(--grad-navy);
}
.pg-hero.is-green .pg-hero-ic { background: var(--grad-green); }
.pg-hero.is-saffron .pg-hero-ic { background: var(--grad-saffron); }
.pg-hero.is-danger .pg-hero-ic { background: linear-gradient(135deg, #B9314B, #E4667C); }
.pg-hero-ic .material-icons { font-size: 29px; }
.pg-hero h1 { font-size: 27px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 4px; }
.pg-hero .pg-h1-en { display: block; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .3px; }
.pg-hero p { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }
.pg-updated {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  background: var(--surface2); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 13px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
}
.pg-updated .material-icons { font-size: 15px; color: var(--green); }

/* ---------------- અનુક્રમણિકા ---------------- */
.pg-toc {
  background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  padding: 15px 18px; margin-bottom: 18px;
}
.pg-toc b {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 9px;
}
.pg-toc b .material-icons { font-size: 16px; }
.pg-toc ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; counter-reset: toc; }
.pg-toc a {
  display: inline-block; counter-increment: toc;
  background: var(--surface2); border: 1px solid var(--line); border-radius: 9px;
  padding: 5px 11px; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.pg-toc a::before { content: counter(toc) ". "; color: var(--muted); font-weight: 700; }
.pg-toc a:hover { background: #EAF3F8; border-color: #BBDCEE; }

/* ---------------- લખાણનું કાર્ડ ---------------- */
.pg-card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px 26px 26px;
}
.pg-sec { padding-top: 22px; scroll-margin-top: 70px; }
.pg-sec + .pg-sec { border-top: 1px dashed var(--line); }
.pg-sec h2 {
  display: flex; align-items: center; gap: 9px;
  font-size: 19px; font-weight: 800; color: var(--navy); line-height: 1.4; margin-bottom: 10px;
}
.pg-sec h2 .material-icons {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; font-size: 18px;
  display: grid; place-items: center; background: #EAF3F8; color: var(--navy2);
}
.pg-sec h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin: 14px 0 5px; }
.pg-sec p { color: var(--ink-soft); margin-bottom: 10px; }
.pg-sec p b, .pg-sec li b { color: var(--ink); font-weight: 700; }
.pg-sec ul, .pg-sec ol { margin: 0 0 12px 4px; padding-left: 18px; color: var(--ink-soft); }
.pg-sec li { margin-bottom: 6px; }
.pg-sec li::marker { color: var(--green); font-weight: 700; }
.pg-sec a { color: var(--navy2); font-weight: 600; }
.pg-en { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .2px; line-height: 1.4; }

/* માહિતી/ચેતવણીની પેટી */
.pg-note {
  border-radius: var(--radius-sm); padding: 13px 15px; margin: 12px 0;
  font-size: 14.5px; line-height: 1.7;
  background: var(--surface2); border-left: 4px solid var(--navy2); color: var(--ink-soft);
}
.pg-note.ok { background: #EAF7EE; border-left-color: var(--green); }
.pg-note.warn { background: #FFF6E8; border-left-color: var(--saffron); }
.pg-note.bad { background: #FCEDF0; border-left-color: var(--danger); }
.pg-note b { color: var(--ink); }

/* કોષ્ટક */
.pg-table-wrap { overflow-x: auto; margin: 12px 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.pg-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; background: var(--surface); }
.pg-table th {
  background: var(--surface2); color: var(--navy); font-weight: 700; text-align: left;
  padding: 10px 13px; border-bottom: 2px solid var(--line); white-space: nowrap;
}
.pg-table td { padding: 9px 13px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.pg-table tr:last-child td { border-bottom: none; }
.pg-table tbody tr:nth-child(even) { background: #FBFDFC; }

/* ---------------- સંપર્ક ---------------- */
.pg-contact {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 24px; margin-top: 18px; border-top: 5px solid var(--green);
}
.pg-contact h2 {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px;
}
.pg-contact h2 .material-icons { font-size: 21px; color: var(--green); }
.pg-contact > p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 14px; }
.pg-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 11px; }
.pg-ci {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 13px;
}
.pg-ci > .material-icons {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; font-size: 18px;
  display: grid; place-items: center; background: var(--grad-navy); color: #fff;
}
.pg-ci div { min-width: 0; }
.pg-ci small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.pg-ci b, .pg-ci a { display: block; font-size: 14px; color: var(--ink); font-weight: 700; word-break: break-word; line-height: 1.5; }
.pg-ci a { color: var(--navy2); text-decoration: none; }
.pg-ci a:hover { text-decoration: underline; }

/* ---------------- નીચેની પટ્ટી ---------------- */
.pg-foot { max-width: 940px; margin: 0 auto; padding: 4px 16px 34px; text-align: center; }
.pg-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-bottom: 14px; }
.pg-foot-links a {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 13px; font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.pg-foot-links a:hover { background: #EAF3F8; border-color: #BBDCEE; }
.pg-foot-links a.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pg-foot-links a .material-icons { font-size: 16px; }
.pg-foot p { font-size: 12.5px; color: var(--ink-soft); }
.pg-foot p b { color: var(--primary); }
.pg-foot .pf-copy { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---------------- સુવિધા/મદદ પાનાં માટે વધારાનું ---------------- */
/* મોડ્યુલની જાળી */
.pg-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 11px; margin: 14px 0; }
.pg-mod {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 13px;
}
.pg-mod > .material-icons {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px; font-size: 20px;
  display: grid; place-items: center; background: #EAF3F8; color: var(--navy2);
}
.pg-mod b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; line-height: 1.4; }
.pg-mod small { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.6; font-weight: 500; }
.pg-badge {
  display: inline-block; margin-left: 5px; vertical-align: middle;
  font-size: 10.5px; font-weight: 800; letter-spacing: .4px;
  padding: 1px 7px; border-radius: 999px; background: #FFF1DC; color: #A15C00; border: 1px solid #F5D8A8;
}
.pg-badge.free { background: #EAF7EE; color: #1E7038; border-color: #BCE3C8; }

/* પગલાં (કેવી રીતે વાપરવું) */
.pg-steps { list-style: none; counter-reset: step; padding: 0; margin: 14px 0 4px; }
.pg-steps > li {
  counter-increment: step; position: relative;
  padding: 0 0 18px 46px; margin: 0;
}
.pg-steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-navy); color: #fff; font-weight: 800; font-size: 14.5px;
}
/* પગલાં જોડતી ઊભી લીટી (છેલ્લા સિવાય) */
.pg-steps > li:not(:last-child)::after {
  content: ''; position: absolute; left: 15.5px; top: 36px; bottom: 6px;
  width: 2px; background: var(--line);
}
/* ⚠️ `>` ફરજિયાત: `.pg-steps > li b` લખીએ તો પગલાંની અંદરના લખાણમાં આવતો દરેક
   <b> પણ display:block થઈ જાય અને વાક્યની વચ્ચેથી નવી લીટીએ ઊતરી જાય. */
.pg-steps > li > b { display: block; font-size: 15.5px; color: var(--navy); font-weight: 700; margin-bottom: 3px; }
.pg-steps > li p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 6px; }
.pg-steps > li ul { margin-left: 0; }

/* સવાલ-જવાબ */
.pg-faq { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 9px; background: var(--surface2); }
.pg-faq > summary {
  cursor: pointer; list-style: none; padding: 12px 15px;
  font-size: 15px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.pg-faq > summary::-webkit-details-marker { display: none; }
.pg-faq > summary::before {
  content: 'expand_more'; font-family: 'Material Icons'; font-size: 20px; color: var(--muted);
  transition: transform .18s;
}
.pg-faq[open] > summary::before { transform: rotate(180deg); }
.pg-faq[open] > summary { border-bottom: 1px solid var(--line); }
.pg-faq-body { padding: 12px 15px 4px; }
.pg-faq-body p { font-size: 14.5px; }

/* ---------------- મોબાઈલ ---------------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .pg-wrap { padding: 14px 11px 30px; }
  .pg-hero { padding: 19px 17px 16px; border-radius: var(--radius-sm); }
  .pg-hero h1 { font-size: 22px; }
  .pg-hero-ic { width: 46px; height: 46px; border-radius: 14px; }
  .pg-hero-ic .material-icons { font-size: 25px; }
  .pg-card { padding: 4px 17px 20px; border-radius: var(--radius-sm); }
  .pg-sec h2 { font-size: 17px; }
  .pg-contact { padding: 18px 17px; border-radius: var(--radius-sm); }
  .pg-logo small { display: none; }
  .pg-back span:not(.material-icons) { display: none; }
  .pg-back { padding: 8px 10px; }
}

/* ---------------- છાપકામ ---------------- */
@media print {
  body { background: #fff; font-size: 12px; line-height: 1.6; }
  .pg-shape, .pg-back, .pg-toc, .pg-foot-links { display: none !important; }
  .pg-top { position: static; border-bottom: 2px solid #000; }
  .pg-hero, .pg-card, .pg-contact { box-shadow: none; border: 1px solid #999; page-break-inside: avoid; }
  .pg-sec { page-break-inside: avoid; }
  .pg-faq { page-break-inside: avoid; }
  .pg-faq > summary::before { display: none; }
  .pg-faq-body { display: block !important; }
}
