/* =====================================================================
   Pujya AI — Design system (shared by website, Pandit PWA and admin)
   Saffron · Maroon · Temple gold. Light / Dark / System via [data-theme].
   ===================================================================== */

:root {
  --brand: #E8590C;
  --brand-600: #C2410C;
  --brand-700: #9A3412;
  --brand-300: #FDBA74;
  --brand-50: #FFF4EC;
  --brand-100: #FFE8D6;
  --maroon: #7A1F1F;
  --maroon-700: #5C1515;
  --gold: #C9971C;
  --gold-300: #F4C27A;
  --gold-50: #FFF8E6;

  --bg: #FFFBF6;
  --bg-tint: #FFF6EC;
  --surface: #FFFFFF;
  --surface-2: #FFF8F1;
  --surface-3: #FCEFE2;
  --text: #2A1B12;
  --text-2: #4D3a2E;
  --muted: #84705F;
  --border: #F1E3D3;
  --border-strong: #E5CDB4;

  --success: #15803D; --success-bg: #E9F8EF;
  --info: #0E7490;    --info-bg: #E6F6FA;
  --warning: #B45309; --warning-bg: #FFF4DE;
  --danger: #B91C1C;  --danger-bg: #FDECEC;
  --primary-bg: #FFEFE3;

  --grad-brand: linear-gradient(135deg, #F97316 0%, #E8590C 45%, #B4320C 100%);
  --grad-maroon: linear-gradient(135deg, #8B2323 0%, #5C1515 100%);
  --grad-hero: radial-gradient(1200px 520px at 85% -10%, rgba(249,115,22,.22), transparent 60%),
               radial-gradient(900px 480px at -10% 10%, rgba(201,151,28,.18), transparent 55%),
               linear-gradient(180deg, #FFF6EB 0%, #FFFBF6 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(90, 40, 10, .06);
  --shadow: 0 6px 20px -6px rgba(120, 50, 10, .14), 0 2px 6px rgba(120, 50, 10, .05);
  --shadow-lg: 0 24px 60px -18px rgba(120, 45, 10, .28);
  --ring: 0 0 0 4px rgba(232, 89, 12, .18);

  --font: "Poppins", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Marcellus", "Tiro Devanagari Hindi", Georgia, serif;
  --container: 1200px;
  --header-h: 72px;
  color-scheme: light;
}

/* Dark tokens: applied for explicit dark, and for "system" when the OS is dark */
:root[data-theme="dark"] {
  --brand: #FB7A2E; --brand-600: #F26419; --brand-700: #FDBA74; --brand-300: #9A3412;
  --brand-50: #2A1A10; --brand-100: #33200F;
  --maroon: #F2A3A3; --maroon-700: #E07C7C;
  --gold: #E8B84A; --gold-300: #8A6A1E; --gold-50: #2A2210;
  --bg: #120D0A; --bg-tint: #17110D; --surface: #1C1511; --surface-2: #231A15; --surface-3: #2B211A;
  --text: #F7EDE3; --text-2: #E4D3C3; --muted: #B3A091; --border: #33271F; --border-strong: #46362B;
  --success: #4ADE80; --success-bg: #12271A; --info: #67E8F9; --info-bg: #0F2329;
  --warning: #FBBF24; --warning-bg: #2A200C; --danger: #F87171; --danger-bg: #2C1414; --primary-bg: #2E1C10;
  --grad-hero: radial-gradient(1200px 520px at 85% -10%, rgba(251,122,46,.20), transparent 60%),
               radial-gradient(900px 480px at -10% 10%, rgba(232,184,74,.10), transparent 55%),
               linear-gradient(180deg, #1A120D 0%, #120D0A 100%);
  --shadow: 0 8px 24px -8px rgba(0,0,0,.6); --shadow-lg: 0 24px 60px -18px rgba(0,0,0,.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --brand: #FB7A2E; --brand-600: #F26419; --brand-700: #FDBA74; --brand-300: #9A3412;
    --brand-50: #2A1A10; --brand-100: #33200F;
    --maroon: #F2A3A3; --maroon-700: #E07C7C;
    --gold: #E8B84A; --gold-300: #8A6A1E; --gold-50: #2A2210;
    --bg: #120D0A; --bg-tint: #17110D; --surface: #1C1511; --surface-2: #231A15; --surface-3: #2B211A;
    --text: #F7EDE3; --text-2: #E4D3C3; --muted: #B3A091; --border: #33271F; --border-strong: #46362B;
    --success: #4ADE80; --success-bg: #12271A; --info: #67E8F9; --info-bg: #0F2329;
    --warning: #FBBF24; --warning-bg: #2A200C; --danger: #F87171; --danger-bg: #2C1414; --primary-bg: #2E1C10;
    --grad-hero: radial-gradient(1200px 520px at 85% -10%, rgba(251,122,46,.20), transparent 60%),
                 radial-gradient(900px 480px at -10% 10%, rgba(232,184,74,.10), transparent 55%),
                 linear-gradient(180deg, #1A120D 0%, #120D0A 100%);
    --shadow: 0 8px 24px -8px rgba(0,0,0,.6); --shadow-lg: 0 24px 60px -18px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.large-text { font-size: 112.5%; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="hi"] body { font-size: 15.5px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--text); font-weight: 600; }
h1, h2, .display { font-family: var(--font-display); font-weight: 400; letter-spacing: .2px; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.25rem 0; }
::selection { background: var(--brand-100); color: var(--text); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: 0; max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.muted { color: var(--muted); }
.text-brand { color: var(--brand-600); }
.text-success { color: var(--success); } .text-danger { color: var(--danger); } .text-warning { color: var(--warning); }
.center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; }
.row-wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 48px 0; } }
.mt-0{margin-top:0}.mt-1{margin-top:6px}.mt-2{margin-top:12px}.mt-3{margin-top:20px}.mt-4{margin-top:32px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:6px}.mb-2{margin-bottom:12px}.mb-3{margin-bottom:20px}
.w-100 { width: 100%; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--surface); --b-fg: var(--text); --b-bd: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font: 500 .95rem/1 var(--font); cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease, background .2s, opacity .2s;
  text-decoration: none; user-select: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--b-fg); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn-primary { --b-bg: var(--grad-brand); --b-fg: #fff; --b-bd: transparent; background: var(--grad-brand); box-shadow: 0 8px 20px -8px rgba(232, 89, 12, .7); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(232, 89, 12, .8); }
.btn-maroon { background: var(--grad-maroon); --b-fg: #fff; --b-bd: transparent; color: #fff; }
.btn-ghost { --b-bg: transparent; --b-bd: transparent; }
.btn-ghost:hover { background: var(--surface-3); box-shadow: none; }
.btn-soft { --b-bg: var(--brand-50); --b-fg: var(--brand-600); --b-bd: transparent; }
.btn-outline { --b-bg: transparent; --b-fg: var(--brand-600); --b-bd: var(--brand-300); }
.btn-success { --b-bg: var(--success); --b-fg: #fff; --b-bd: transparent; }
.btn-danger { --b-bg: var(--danger-bg); --b-fg: var(--danger); --b-bd: transparent; }
.btn-white { --b-bg: #fff; --b-fg: #7A1F1F; --b-bd: transparent; }
.btn-sm { height: 34px; padding: 0 14px; font-size: .85rem; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn-icon.btn-sm { width: 34px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-size: .84rem; font-weight: 500; color: var(--text-2); }
.field .hint { font-size: .78rem; color: var(--muted); }
.field .error { font-size: .78rem; color: var(--danger); }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font: 400 .95rem var(--font); transition: border .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2384705F' d='M1.6 5.2 8 11.6l6.4-6.4-1.1-1.1L8 9.4 2.7 4.1z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: var(--ring); outline: none; }
.input.is-invalid { border-color: var(--danger); }
.input-group { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
.input-group:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.input-group .addon { padding: 0 12px; color: var(--muted); font-weight: 500; }
.input-group .input { border: 0; box-shadow: none !important; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; }
.otp-inputs input { width: 48px; height: 56px; text-align: center; font-size: 1.4rem; font-weight: 600; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); }
.otp-inputs input:focus { border-color: var(--brand); box-shadow: var(--ring); outline: none; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .92rem; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.switch { position: relative; display: inline-block; width: 52px; height: 30px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: var(--border-strong); border-radius: 30px; transition: .2s; cursor: pointer; }
.switch .slider::before { content: ""; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.switch input:checked + .slider { background: var(--success); }
.switch input:checked + .slider::before { transform: translateX(22px); }

/* Option tiles (radio cards) */
.option-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.option-tile { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border .15s, box-shadow .15s, transform .15s; }
.option-tile:hover { border-color: var(--brand-300); }
.option-tile input { position: absolute; opacity: 0; pointer-events: none; }
.option-tile .tile-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; font-size: 1.2rem; flex: 0 0 auto; }
.option-tile.selected, .option-tile:has(input:checked) { border-color: var(--brand); box-shadow: var(--ring); background: var(--surface-2); }
.option-tile .tile-title { font-weight: 600; }
.option-tile .tile-sub { font-size: .82rem; color: var(--muted); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card-pad { padding: 22px; }
.card-hover { transition: transform .2s ease, box-shadow .25s ease, border-color .2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.card-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 4px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.card-head h3 { margin: 0; font-size: 1rem; }
.card-body { padding: 20px 22px; }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* ---------- Badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.badge-primary { background: var(--primary-bg); color: var(--brand-600); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-gold { background: var(--gold-50); color: var(--gold); border: 1px solid var(--gold-300); }
.badge-muted { background: var(--surface-3); color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font-size: .88rem; cursor: pointer; transition: .15s; white-space: nowrap; }
.chip:hover { border-color: var(--brand-300); color: var(--brand-600); }
.chip.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -8px rgba(232,89,12,.8); }
.chips-scroll { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -16px rgba(120,50,10,.4); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .3px; }
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; }
.brand b { color: var(--brand-600); font-weight: 400; }
.brand small { display: block; font-family: var(--font); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: -4px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-size: .93rem; font-weight: 500; }
.nav a:hover, .nav a.active { background: var(--brand-50); color: var(--brand-600); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; transition: .15s; font-size: 1.05rem; }
.icon-btn:hover { color: var(--brand-600); border-color: var(--brand-300); }
.icon-btn .dot { position: absolute; top: 6px; right: 7px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 10px; background: var(--danger); color: #fff; font-size: .62rem; display: grid; place-items: center; font-weight: 700; }
.lang-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-toggle a { padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.lang-toggle a.active { background: var(--brand-50); color: var(--brand-600); }
.menu-toggle { display: none; }
.user-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: .9rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-weight: 600; font-size: .85rem; overflow: hidden; flex: 0 0 auto; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.4rem; }
.avatar-xl { width: 96px; height: 96px; font-size: 2rem; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60; }
.dropdown.open .dropdown-menu { display: block; animation: pop .15s ease; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--text-2); background: none; border: 0; font: inherit; font-size: .92rem; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--surface-3); color: var(--brand-600); }
.dropdown-menu .sep { height: 1px; background: var(--border); margin: 6px 0; }
@media (max-width: 900px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px; margin: 0; display: none; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; }
  .menu-toggle { display: grid; }
  .hide-sm { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); padding: 64px 0 80px; }
.hero::before { content: ""; position: absolute; right: -180px; top: -140px; width: 640px; height: 640px; opacity: .12; background: url("/img/mandala.svg") center/contain no-repeat; animation: rotate 140s linear infinite; pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: url("/img/toran.svg") repeat-x bottom/auto 18px; opacity: .55; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 16px; }
.hero h1 .hl { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.1rem; color: var(--text-2); max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: .82rem; font-weight: 500; margin-bottom: 18px; }
.hero-badge .pulse { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-size: .7rem; }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--maroon); }
.hero-stats div span { font-size: .82rem; color: var(--muted); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 36px 0 56px; } }

/* AI composer */
.composer { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 18px; }
.composer-head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; border-bottom: 1px dashed var(--border); margin-bottom: 14px; }
.composer-head .ai-orb { width: 44px; height: 44px; border-radius: 14px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-size: 1.3rem; box-shadow: 0 10px 22px -10px rgba(232,89,12,.9); }
.composer-head b { display: block; }
.composer-head span { font-size: .8rem; color: var(--success); display: inline-flex; align-items: center; gap: 6px; }
.composer-head span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-bg); }
.composer-bubble { background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px 18px 18px 18px; padding: 12px 14px; font-size: .93rem; margin-bottom: 14px; }
.composer-input { display: flex; gap: 8px; align-items: center; background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: 999px; padding: 6px 6px 6px 18px; transition: .15s; }
.composer-input:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.composer-input input { flex: 1; border: 0; background: transparent; color: var(--text); font: 400 1rem var(--font); outline: none; min-width: 0; }
.composer-input .btn { height: 42px; }
.suggestions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.suggestion { padding: 7px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-size: .8rem; border: 1px solid transparent; cursor: pointer; transition: .15s; }
.suggestion:hover { border-color: var(--brand-300); }

/* ---------- Puja cards ---------- */
.puja-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; color: var(--text); }
.puja-card:hover { color: var(--text); }
.puja-art { position: relative; height: 150px; display: grid; place-items: center; overflow: hidden; }
.puja-art img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.puja-art .art-icon { position: relative; width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.35); color: #fff; box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }
.puja-art .art-icon svg { width: 46px; height: 46px; }
.puja-art::before { content: ""; position: absolute; inset: 0; background: url("/img/mandala.svg") center/220px no-repeat; opacity: .14; }
.art-flame { background: linear-gradient(135deg, #F97316, #B4320C); }
.art-diya { background: linear-gradient(135deg, #D97706, #9A3412); }
.art-book { background: linear-gradient(135deg, #9F1239, #5C1515); }
.art-scroll { background: linear-gradient(135deg, #B45309, #78350F); }
.art-home { background: linear-gradient(135deg, #0F766E, #134E4A); }
.art-lotus { background: linear-gradient(135deg, #DB2777, #831843); }
.art-sun { background: linear-gradient(135deg, #CA8A04, #854D0E); }
.art-beads { background: linear-gradient(135deg, #7C3AED, #4C1D95); }
.puja-tag { position: absolute; top: 12px; left: 12px; }
.puja-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.puja-body h3 { margin: 0; font-size: 1.05rem; }
.puja-body p { margin: 0; color: var(--muted); font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.puja-meta { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted); }
.puja-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; font-size: 1.15rem; color: var(--text); }
.price small { font-weight: 400; color: var(--muted); font-size: .75rem; display: block; }
.price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 6px; }

/* Category tiles */
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; text-align: center; color: var(--text); }
.cat-tile .cat-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 24px -12px rgba(0,0,0,.4); }
.cat-tile .cat-icon svg { width: 34px; height: 34px; }
.cat-tile b { font-size: .95rem; font-weight: 600; }
.cat-tile span { font-size: .78rem; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; }
.step-card { position: relative; padding: 26px 22px; }
.step-card .num { position: absolute; top: 18px; right: 20px; font-family: var(--font-display); font-size: 2.6rem; color: var(--brand-100); line-height: 1; }
.step-card .step-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1.02rem; }
.step-card p { color: var(--muted); font-size: .88rem; margin: 0; }

/* Trust band */
.trust-band { background: var(--grad-maroon); color: #fff; border-radius: var(--radius-xl); padding: 36px; position: relative; overflow: hidden; }
.trust-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; background: url("/img/mandala.svg") center/contain no-repeat; opacity: .12; filter: invert(1); }
.trust-band h2 { color: #fff; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item i { font-size: 1.5rem; color: #FCD34D; }
.trust-item b { display: block; color: #fff; }
.trust-item span { color: rgba(255,255,255,.75); font-size: .85rem; }

/* Reviews */
.review-card { padding: 22px; }
.stars { color: #F59E0B; letter-spacing: 2px; font-size: .95rem; }
.review-card p { margin: 10px 0 14px; color: var(--text-2); font-size: .93rem; }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\F4FE"; font-family: "bootstrap-icons"; color: var(--brand-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }

/* CTA */
.cta { background: var(--grad-brand); color: #fff; border-radius: var(--radius-xl); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; opacity: .9; }
.cta::before { content: ""; position: absolute; left: -60px; top: -80px; width: 300px; height: 300px; background: url("/img/mandala.svg") center/contain no-repeat; opacity: .14; filter: brightness(10); }
@media (max-width: 760px) { .cta { flex-direction: column; text-align: center; padding: 32px 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: #1C120D; color: #D9C7B6; padding: 56px 0 26px; margin-top: 40px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: -17px; left: 0; right: 0; height: 18px; background: url("/img/toran.svg") repeat-x top/auto 18px; opacity: .8; }
.site-footer a { color: #D9C7B6; }
.site-footer a:hover { color: #FDBA74; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; font-family: var(--font); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #A8968A; font-size: .9rem; margin-top: 12px; max-width: 340px; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid #33241B; display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; color: #8F7D70; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */
.page-hero { background: var(--grad-hero); padding: 40px 0 34px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 8px; }
.page-hero p { color: var(--text-2); margin: 0; max-width: 680px; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-600); }

/* ---------- Puja detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } .sticky-col { position: static; } }
.package-card { position: relative; padding: 20px; border: 1.5px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); cursor: pointer; transition: .15s; }
.package-card:hover { border-color: var(--brand-300); }
.package-card.selected { border-color: var(--brand); box-shadow: var(--ring); background: var(--surface-2); }
.package-card .popular { position: absolute; top: -11px; right: 16px; }
.package-card ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .88rem; color: var(--text-2); }
.package-card li { display: flex; gap: 8px; }
.package-card li::before { content: "\F26A"; font-family: "bootstrap-icons"; color: var(--success); }
.benefit-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; }
.benefit-list li i { color: var(--gold); font-size: 1.1rem; margin-top: 2px; }
.samagri-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.samagri-grid div { padding: 10px 12px; border: 1px dashed var(--border-strong); border-radius: 10px; font-size: .86rem; background: var(--surface-2); }
.samagri-grid div b { font-weight: 500; }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.price-table td { padding: 9px 0; border-bottom: 1px dashed var(--border); vertical-align: top; }
.price-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table .sub { display: block; font-size: .76rem; color: var(--muted); }
.price-table .discount td { color: var(--success); }
.price-table .total td { border-bottom: 0; padding-top: 14px; font-weight: 700; font-size: 1.1rem; }

/* ---------- Stepper ---------- */
.stepper { display: flex; gap: 8px; margin-bottom: 26px; }
.stepper .s { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: .85rem; color: var(--muted); }
.stepper .s i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-style: normal; font-weight: 600; flex: 0 0 auto; }
.stepper .s.active { border-color: var(--brand); color: var(--text); box-shadow: var(--ring); }
.stepper .s.active i { background: var(--grad-brand); color: #fff; }
.stepper .s.done i { background: var(--success); color: #fff; }
@media (max-width: 700px) { .stepper .s span { display: none; } .stepper .s { justify-content: center; } }

/* Slots */
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.date-pill { flex: 0 0 auto; width: 70px; padding: 10px 0; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); text-align: center; cursor: pointer; transition: .15s; }
.date-pill small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; }
.date-pill b { display: block; font-size: 1.25rem; }
.date-pill.active { background: var(--grad-brand); color: #fff; border-color: transparent; }
.date-pill.active small { color: rgba(255,255,255,.85); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font: 500 .85rem var(--font); color: var(--text-2); }
.slot:hover { border-color: var(--brand-300); }
.slot.active { background: var(--brand-50); border-color: var(--brand); color: var(--brand-600); }
.slot-group-title { font-size: .78rem; color: var(--muted); margin: 14px 0 8px; display: flex; align-items: center; gap: 6px; }

/* Map */
.map { height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); z-index: 1; }
.map-lg { height: 460px; }
.leaflet-container { font-family: var(--font) !important; }
.pin-pandit { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35); display: grid; place-items: center; color: #fff; font-size: 1.2rem; }
.pin-home { width: 40px; height: 40px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #7A1F1F; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35); display: grid; place-items: center; }
.pin-home i { transform: rotate(45deg); color: #fff; }
.pulse-ring { position: absolute; inset: -10px; border-radius: 50%; border: 3px solid rgba(232,89,12,.5); animation: ping 1.8s ease-out infinite; }

/* Pandit card */
.pandit-card { padding: 18px; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; transition: .15s; border: 1.5px solid var(--border); }
.pandit-card.selected { border-color: var(--brand); box-shadow: var(--ring); }
.pandit-photo { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; background: var(--grad-maroon); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; flex: 0 0 auto; position: relative; }
.pandit-photo img { width: 100%; height: 100%; object-fit: cover; }
.pandit-photo .online { position: absolute; bottom: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #22C55E; border: 2px solid #fff; }
.pandit-name { font-weight: 600; margin: 0; }
.pandit-stats { display: flex; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.pandit-stats b { color: var(--text); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 18px 34px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline .tdot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); font-size: .7rem; border: 2px solid var(--surface); }
.timeline li.done .tdot { background: var(--success); color: #fff; }
.timeline li.done::before { background: var(--success); }
.timeline li.current .tdot { background: var(--grad-brand); color: #fff; box-shadow: var(--ring); }
.timeline b { display: block; font-size: .92rem; font-weight: 500; }
.timeline span { font-size: .78rem; color: var(--muted); }
.timeline li.todo b { color: var(--muted); font-weight: 400; }

/* OTP display */
.otp-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--gold-50); border: 1.5px dashed var(--gold-300); }
.otp-digits { display: flex; gap: 6px; }
.otp-digits span { width: 42px; height: 50px; border-radius: 10px; background: var(--surface); border: 1px solid var(--gold-300); display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; color: var(--maroon); font-variant-numeric: tabular-nums; }

/* ETA banner */
.eta-banner { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--grad-brand); color: #fff; }
.eta-banner .eta-num { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.eta-banner small { opacity: .85; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .1s; }
.table tbody tr:hover { background: var(--surface-2); }
.table tbody tr.clickable { cursor: pointer; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tfoot td { font-weight: 700; background: var(--surface-2); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs button, .tabs a { background: none; border: 0; padding: 12px 16px; font: 500 .92rem var(--font); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs .active { color: var(--brand-600); border-bottom-color: var(--brand); }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(30, 15, 8, .55); backdrop-filter: blur(4px); z-index: 1000; display: grid; place-items: center; padding: 16px; animation: fade .15s ease; }
.modal { width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); animation: pop .2s ease; }
.modal.modal-lg { max-width: 760px; }
.modal.modal-xl { max-width: 1040px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px 6px; }
.modal-head h3 { margin: 0; font-size: 1.15rem; }
.modal-body { padding: 14px 24px 22px; }
.modal-foot { padding: 14px 24px 20px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--border); }
@media (max-width: 560px) { .modal-backdrop { align-items: end; padding: 0; } .modal { border-radius: 24px 24px 0 0; max-height: 92vh; } }

/* ---------- Toast ---------- */
.toasts { position: fixed; z-index: 2000; top: 18px; right: 18px; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: slidein .25s ease; font-size: .9rem; }
.toast i { font-size: 1.15rem; }
.toast.success i { color: var(--success); } .toast.error i { color: var(--danger); } .toast.info i { color: var(--info); }
.toast b { display: block; font-weight: 600; }
@media (max-width: 560px) { .toasts { left: 12px; right: 12px; top: 12px; max-width: none; } }

/* ---------- Empty, skeleton, misc ---------- */
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .empty-icon { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 24px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; font-size: 2rem; }
.empty h3 { color: var(--text); }
.skeleton { background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 37%, var(--surface-3) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 10px; }
.sk-line { height: 14px; margin: 8px 0; }
.sk-card { height: 260px; border-radius: var(--radius-lg); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--brand-100); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; margin: 20px auto; }
.divider-om { display: flex; align-items: center; gap: 14px; color: var(--gold); margin: 6px 0 18px; }
.divider-om::before, .divider-om::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-300), transparent); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: .9rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); font-size: .9rem; align-items: flex-start; }
.alert i { font-size: 1.1rem; margin-top: 1px; }
.alert-info { background: var(--info-bg); color: var(--info); }
.alert-warning { background: var(--warning-bg); color: var(--warning); }
.alert-success { background: var(--success-bg); color: var(--success); }
.alert-danger { background: var(--danger-bg); color: var(--danger); }
.alert-brand { background: var(--brand-50); color: var(--brand-700); }
.prose { color: var(--text-2); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.maintenance { background: var(--warning-bg); color: var(--warning); text-align: center; padding: 8px; font-size: .88rem; }
.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 12px 24px -8px rgba(37,211,102,.7); }
.whatsapp-fab:hover { color: #fff; transform: scale(1.05); }

/* ---------- Chat ---------- */
.chat-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; height: calc(100vh - var(--header-h) - 48px); min-height: 520px; margin: 24px auto; }
.chat-side { padding: 16px; overflow: auto; }
.chat-side .conv { display: block; padding: 10px 12px; border-radius: 12px; color: var(--text-2); font-size: .88rem; }
.chat-side .conv:hover, .chat-side .conv.active { background: var(--surface-3); color: var(--brand-600); }
.chat-main { display: flex; flex-direction: column; overflow: hidden; }
.chat-log { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.chat-row { display: flex; gap: 10px; max-width: 100%; }
.chat-row.me { justify-content: flex-end; }
.chat-row .bot-av { width: 34px; height: 34px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; flex: 0 0 auto; font-size: .95rem; }
.chat-stack { display: flex; flex-direction: column; gap: 10px; max-width: min(640px, 92%); min-width: 0; }
.bubble { padding: 11px 15px; border-radius: 18px; font-size: .94rem; white-space: pre-wrap; word-wrap: break-word; }
.chat-row.bot .bubble { background: var(--surface-2); border: 1px solid var(--border); border-top-left-radius: 6px; }
.chat-row.me .bubble { background: var(--grad-brand); color: #fff; border-top-right-radius: 6px; }
.chat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.chat-card { padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); font-size: .86rem; cursor: pointer; transition: .15s; }
.chat-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow); }
.chat-card b { display: block; font-size: .93rem; }
.chat-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.chat-buttons button, .chat-buttons a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--brand-300); background: var(--surface); color: var(--brand-600); font: 500 .85rem var(--font); cursor: pointer; }
.chat-buttons button:hover, .chat-buttons a:hover { background: var(--brand-50); }
.chat-input { border-top: 1px solid var(--border); padding: 14px; display: flex; gap: 10px; align-items: center; background: var(--surface); }
.chat-input input { flex: 1; height: 48px; border-radius: 999px; border: 1px solid var(--border-strong); padding: 0 18px; font: 400 .95rem var(--font); background: var(--bg); color: var(--text); }
.chat-input input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-300); animation: bounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@media (max-width: 860px) { .chat-shell { grid-template-columns: 1fr; margin: 0 -20px; height: calc(100dvh - var(--header-h)); } .chat-side { display: none; } .chat-main { border-radius: 0; border-left: 0; border-right: 0; } }

/* Floating chat widget */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 45; height: 56px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--grad-brand); color: #fff; display: flex; align-items: center; gap: 10px; box-shadow: 0 14px 30px -10px rgba(232,89,12,.8); cursor: pointer; border: 0; font: 600 .92rem var(--font); }
.chat-fab .orb { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 1.2rem; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 1001; width: 410px; height: min(680px, calc(100vh - 40px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-lg); animation: pop .2s ease; }
.chat-panel .chat-panel-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--grad-maroon); color: #fff; }
.chat-panel .chat-panel-head b { display: block; }
.chat-panel .chat-panel-head small { opacity: .8; }
@media (max-width: 560px) { .chat-panel { inset: 0; width: auto; height: auto; border-radius: 0; } .chat-fab span.lbl { display: none; } .chat-fab { padding: 0 7px; } }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .6; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes ping { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
@media (min-width: 901px) and (max-width: 1180px) { .hide-lg { display: none; } }
.split { grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Overflow & mobile fixes ---------- */
html, body { overflow-x: clip; }
.price-table td[colspan] { white-space: normal; text-align: left; }
.hero-grid > *, .detail-grid > *, .grid > *, .split > * { min-width: 0; }
.composer-input input { width: 100%; }
@media (max-width: 560px) {
  .brand small { display: none; }
  .brand { font-size: 1.25rem; }
  .brand img { width: 34px; height: 34px; }
  .site-header .container { gap: 10px; }
  .header-actions { gap: 6px; }
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 18px; }
  .composer { padding: 14px; }
  .cta { padding: 28px 18px; }
  .trust-band { padding: 24px 18px; }
  .stepper { gap: 4px; }
  .kv { grid-template-columns: 110px 1fr; }
}
.nav a, .brand span, .brand small, .user-pill { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1440px) { .hide-lg { display: none; } }
@media (min-width: 901px) and (max-width: 1100px) { .brand small { display: none; } .nav a { padding: 8px 10px; } }

/* ---------- Installed app: launch splash ---------- */
.pj-splash { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(120% 80% at 50% 35%, #9A2B1F 0%, #7A1F1F 45%, #3E0E0E 100%); color: #fff; text-align: center; transition: opacity .55s ease, visibility .55s; }
.pj-splash.out { opacity: 0; visibility: hidden; }
.pj-splash-art { position: relative; width: 200px; height: 200px; display: grid; place-items: center; margin-bottom: 18px; }
.pj-splash-mandala { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; filter: brightness(8) sepia(1) saturate(4) hue-rotate(-10deg); animation: pj-spin 14s linear infinite; }
.pj-splash-glow { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(255,193,7,.55), rgba(249,115,22,0) 70%); animation: pj-glow 2.4s ease-in-out infinite; }
.pj-splash-logo { position: relative; width: 104px; height: 104px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 18px 40px -10px rgba(0,0,0,.6); animation: pj-pop .9s cubic-bezier(.2,1.4,.4,1) both; }
.pj-splash-name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 2.5rem; letter-spacing: .5px; color: #fff; animation: pj-rise .8s .35s ease both; }
.pj-splash-name b { color: #FDBA74; font-weight: 400; }
.pj-splash-tag { margin: 0; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.78); animation: pj-rise .8s .6s ease both; }
.pj-splash-dots { display: flex; gap: 6px; margin-top: 26px; animation: pj-rise .6s .9s ease both; }
.pj-splash-dots i { width: 7px; height: 7px; border-radius: 50%; background: #FDBA74; animation: pj-dot 1.2s ease-in-out infinite; }
.pj-splash-dots i:nth-child(2) { animation-delay: .15s; } .pj-splash-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pj-spin { to { transform: rotate(360deg); } }
@keyframes pj-glow { 0%, 100% { transform: scale(.85); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes pj-pop { from { transform: scale(.4) rotate(-120deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pj-rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pj-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-6px); opacity: 1; } }

/* ---------- Install banner + iPhone steps ---------- */
.install-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto;
  padding: 10px 10px 10px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 18px 40px -14px rgba(0,0,0,.45); animation: pj-rise .4s ease; }
.install-bar.above-tabs { bottom: calc(78px + env(safe-area-inset-bottom)); }
.install-bar img { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto; }
.install-bar b { display: block; font-size: .92rem; line-height: 1.25; }
.install-bar span { display: block; font-size: .76rem; color: var(--muted); line-height: 1.3; }
.install-bar .icon-btn { width: 32px; height: 32px; flex: 0 0 auto; }
body:has(#pjInstall) .chat-fab { bottom: calc(92px + env(safe-area-inset-bottom)); }
.ios-steps { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.ios-steps li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.ios-steps .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-weight: 700; flex: 0 0 auto; }
.ios-steps i { font-size: 1.15rem; color: var(--brand-600); }

/* ---------- Mobile header: language inside the menu, notifications panel full width ---------- */
.nav-extra { display: none; }
@media (max-width: 900px) {
  .nav-extra { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 4px; margin-top: 6px; border-top: 1px solid var(--border); }
  .nav-extra .lang-toggle { align-self: flex-start; }
  .nav-extra .lang-toggle a { padding: 6px 16px; }
  .nav-extra .install-link { padding: 10px 0; color: var(--brand-600); font-weight: 600; }
}
@media (max-width: 560px) {
  .dropdown-menu.sheet-sm { position: fixed; left: 10px; right: 10px; top: calc(var(--header-h) + 4px); width: auto !important; min-width: 0; max-height: 72vh !important; }
}
.push-cta { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 4px 0 6px; border-radius: 12px; background: var(--brand-50); color: var(--text); font-size: .86rem; }
.push-cta i { font-size: 1.2rem; color: var(--brand-600); }
.push-cta .btn { margin-left: auto; }
