/* Vahi Khata — public landing page with sign-in (same structure as the SAFE landing page) */
:root {
  --ink: #2A1D17; --ink-2: #3A2A22; --red: #B3261E; --red-2: #941F18; --cream: #F1E2BF; --page: #FFFDF6;
  --green: #2F7D5B; --green-soft: #E3F1EA; --red-soft: #F8E3E1; --amber: #B7791F; --amber-soft: #FBF0D9;
  --bg: #F6F2EA; --surface: #FFFFFF; --surface-2: #FAF6EE; --border: #E7DED0; --text: #2A1D17; --muted: #74665C;
  --shadow: 0 1px 2px rgba(42,29,23,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: Inter, 'Segoe UI', system-ui, sans-serif; color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; }
.hidden { display: none !important; }

.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; line-height: 1.2; }
.btn.lg { padding: 12px 20px; font-size: 15px; border-radius: 10px; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #120c09; }
.btn.accent { background: var(--red); color: #fff; }
.btn.accent:hover { background: var(--red-2); }
.btn.ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.16); }
.btn:disabled { opacity: .65; cursor: progress; }
.btn svg { width: 18px; height: 18px; }

.lp { overflow-x: hidden; font-size: 15px; }
.lp-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lp h1, .lp h2 { letter-spacing: -.02em; }
.lp p { line-height: 1.6; }
.lp h3 { font-size: 16px; }

/* nav */
.lp-nav { position: sticky; top: 0; z-index: 30; background: rgba(42,29,23,.94); backdrop-filter: saturate(1.4) blur(10px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.lp-nav .lp-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.lp-logo img { height: 44px; display: block; }
.lp-links { display: flex; gap: 22px; margin-left: auto; }
.lp-links a { color: #E3D6C3; font-weight: 500; font-size: 14px; }
.lp-links a:hover { color: #fff; text-decoration: none; }

/* hero */
.lp-hero { color: #fff; padding: 64px 0 84px;
  background: radial-gradient(900px 520px at 88% 0%, rgba(179,38,30,.55), transparent 65%),
              radial-gradient(700px 420px at 0% 100%, rgba(224,165,38,.18), transparent 60%), var(--ink); }
.lp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.lp-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F2C46B; margin-bottom: 14px; }
.lp-eyebrow.dark { color: var(--red); }
.lp-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 750; line-height: 1.08; margin-bottom: 8px; }
.lp-hindi { font-family: 'Tiro Devanagari Hindi', 'Nirmala UI', serif; font-size: clamp(20px, 2.4vw, 26px); color: var(--cream); margin: 0 0 18px; }
.lp-lead { font-size: 17.5px; color: #E3D6C3; max-width: 560px; margin: 0 0 28px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: #E3D6C3; font-size: 14.5px; }
.lp-ticks li { display: flex; gap: 10px; align-items: center; }
.lp-ticks svg { width: 18px; height: 18px; color: #7FD3A8; flex: none; }

/* sign-in card */
.lp-login { background: var(--surface); color: var(--text); padding: 26px; border-radius: 16px; box-shadow: 0 24px 60px rgba(10,5,3,.5); scroll-margin-top: 90px; }
.lp-login-head { display: flex; gap: 12px; align-items: center; }
.lp-login-head img { width: 42px; height: 42px; }
.lp-login-head b { display: block; font-size: 20px; letter-spacing: -.01em; }
.lp-login-head span { color: var(--muted); font-size: 13.5px; }
.lp-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 4px; margin: 18px 0; }
.lp-seg button { font: inherit; font-weight: 600; font-size: 13.5px; border: 0; background: none; padding: 8px; border-radius: 7px; color: var(--muted); cursor: pointer; }
.lp-seg button.on { background: var(--surface); color: var(--red); box-shadow: var(--shadow); }
.lp-form { display: grid; gap: 14px; }
.lp-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.f { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.f .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.f input, .f select { font: inherit; font-weight: 400; font-size: 14.5px; color: var(--text); padding: 10px 12px; border: 1px solid #D8CDBC; border-radius: 9px; background: #fff; width: 100%; }
.f input:focus, .f select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.lp-pw { position: relative; display: block; }
.lp-pw input { padding-right: 64px; }
.lp-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--red); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 4px 8px; }
.lp-form .btn { justify-content: center; }
.lp-alert { background: var(--red-soft); color: #7A1A14; border: 1px solid #EFC4BF; border-radius: 9px; padding: 9px 12px; font-size: 13.5px; }
.lp-success { background: var(--green-soft); color: #1E5A40; border: 1px solid #BFDCCB; border-radius: 9px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.lp-login-foot { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }

/* stats strip */
.lp-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.lp-strip .lp-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.lp-strip b { display: block; font-size: 26px; font-weight: 750; color: var(--red); }
.lp-strip span { color: var(--muted); font-size: 13.5px; }

/* sections */
.lp-sec { padding: 84px 0; }
.lp-sec.alt { background: var(--bg); }
.lp-sec-head { max-width: 680px; margin-bottom: 44px; }
.lp-sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 720; line-height: 1.15; }
.lp-sec-head p { color: var(--muted); font-size: 16px; margin: 14px 0 0; }

.lp-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-feat-copy { display: grid; gap: 22px; }
.lp-point { display: flex; gap: 14px; }
.lp-point > span { width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.lp-point > span svg { width: 17px; height: 17px; }
.lp-point p { margin: 4px 0 0; color: var(--muted); }

/* dashboard mock */
.lp-mock { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(42,29,23,.14); overflow: hidden; }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--ink); color: #CBB9A5; font-size: 12px; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.lp-mock-bar span { margin-left: 8px; }
.lp-mock-body { padding: 18px; display: grid; gap: 16px; }
.lp-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-mock-kpis div { border: 1px solid var(--border); border-top: 3px solid var(--green); border-radius: 8px; padding: 10px; min-width: 0; }
.lp-mock-kpis div.bad { border-top-color: var(--red); }
.lp-mock-kpis div.mid { border-top-color: var(--ink); }
.lp-mock-kpis small { display: block; color: var(--muted); font-size: 11px; }
.lp-mock-kpis b { font-size: 15px; font-variant-numeric: tabular-nums; }
.lp-mock-chart { height: 120px; display: flex; align-items: flex-end; gap: 6px; padding: 10px; background: var(--surface-2); border-radius: 8px; }
.lp-mock-chart i { flex: 1; background: #E3D3BE; border-radius: 4px 4px 0 0; }
.lp-mock-chart i.on { background: var(--red); }
.lp-mock-rows { display: grid; gap: 6px; font-size: 13px; }
.lp-mock-rows div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; }
.lp-mock-rows em { font-style: normal; font-weight: 600; font-size: 12px; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
.lp-mock-rows em.ok { background: var(--green-soft); color: var(--green); }
.lp-mock-rows em.warn { background: var(--amber-soft); color: var(--amber); }
.lp-mock-rows em.bad { background: var(--red-soft); color: var(--red); }

/* modules */
.lp-mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-mod { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; transition: transform .15s, box-shadow .15s; }
.lp-mod:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(42,29,23,.08); }
.lp-mod p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.lp-ic { width: 42px; height: 42px; border-radius: 10px; background: #F6E7E4; color: var(--red); display: grid; place-items: center; margin-bottom: 14px; }
.lp-ic svg { width: 22px; height: 22px; }

/* built for India */
.lp-india { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.lp-ind { display: flex; gap: 14px; }
.lp-ind > svg { width: 26px; height: 26px; color: var(--red); flex: none; margin-top: 2px; }
.lp-ind p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* steps */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.lp-steps li > span { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; }
.lp-steps p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.lp-final { background: linear-gradient(120deg, var(--ink) 0%, #6E2A20 100%); color: #fff; padding: 56px 0; }
.lp-final .lp-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lp-final h2 { font-size: 28px; }
.lp-final p { color: #E3D6C3; margin: 8px 0 0; max-width: 560px; }
.lp-foot { background: var(--ink); color: #A8968A; font-size: 13px; padding: 22px 0; }
.lp-foot .lp-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-foot a { color: #E3D6C3; }

/* ---------- vyapar-style additions ---------- */
.lp-nav-btns { display: flex; gap: 10px; }
.lp-hero h1 { font-size: clamp(30px, 4.2vw, 48px); }
.lp-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lp-badges span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #F3E9DA; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 7px 12px; border-radius: 99px; }
.lp-badges svg { width: 16px; height: 16px; color: #7FD3A8; }

/* phone mock-up */
.lp-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.lp-phone { width: 290px; background: #fff; color: var(--text); border-radius: 30px; border: 9px solid #120c09; box-shadow: 0 30px 70px rgba(0,0,0,.45); padding: 18px 16px 16px; font-size: 13px; }
.lp-phone-top { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.lp-phone-top img { width: 24px; height: 24px; }
.lp-phone-top em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.lp-phone-party { padding: 10px 0; }
.lp-phone-party small { display: block; color: var(--muted); font-size: 11px; }
.lp-phone-lines div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.lp-phone-lines div.sub { color: var(--muted); }
.lp-phone-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; font-size: 15px; }
.lp-phone-total b { font-size: 22px; color: var(--red); }
.lp-phone-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-phone-actions span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 9px; font-weight: 600; }
.lp-phone-actions .wa { background: #1FA855; color: #fff; }
.lp-phone-actions .wa svg { width: 16px; height: 16px; }
.lp-phone-actions .pr { background: var(--ink); color: #fff; }
.lp-float { position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; color: var(--text); border-radius: 12px; padding: 10px 14px; box-shadow: 0 14px 34px rgba(0,0,0,.3); font-size: 13px; }
.lp-float small { display: block; color: var(--muted); font-size: 11px; }
.lp-float .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.lp-float .dot.ok { background: var(--green); } .lp-float .dot.bad { background: var(--red); }
.lp-visual { padding: 34px 0 44px; }
.lp-float-1 { left: 50%; margin-left: -230px; top: 0; }
.lp-float-2 { left: 50%; margin-left: 40px; bottom: 0; }

.lp-sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-center { text-align: center; margin-top: 32px; }
.lp-narrow { max-width: 820px; }

/* a day at the shop */
.lp-day { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-day-card { border: 1px solid var(--border); border-radius: 12px; padding: 18px; background: var(--surface); position: relative; }
.lp-day-time { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.lp-day-time b { font-size: 15px; color: var(--red); }
.lp-day-time em { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--surface-2); border: 1px solid var(--border); padding: 2px 8px; border-radius: 99px; color: var(--muted); }
.lp-day-card p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* industries */
.lp-inds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.lp-indcard { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 12px; text-align: center; font-size: 14px; }
.lp-indcard .lp-ic { margin: 0 auto 10px; }

/* FAQ */
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0 18px; }
.lp-faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--red); }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq p { margin: 0 0 16px; color: var(--muted); }

/* footer */
.lp-foot2 { background: var(--ink); color: #A8968A; font-size: 14px; padding: 44px 0 20px; }
.lp-foot2 > .lp-in:first-child { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.lp-foot2 h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
.lp-foot2 a { display: block; color: #E3D6C3; margin-bottom: 8px; }
.lp-foot-brand img { height: 40px; }
.lp-foot-brand p { font-family: 'Tiro Devanagari Hindi', serif; color: var(--cream); margin: 10px 0 0; }
.muted-dark { color: #A8968A; }
.lp-copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px; padding-top: 16px; font-size: 13px; }

/* sign-in pop-up */
.lp-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.lp-modal.open { display: flex; }
.lp-modal-bg { position: absolute; inset: 0; background: rgba(20,12,8,.62); backdrop-filter: blur(3px); }
.lp-modal .lp-login { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; }
.lp-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--surface-2); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.lp-close svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .lp-day { grid-template-columns: repeat(2, 1fr); }
  .lp-inds { grid-template-columns: repeat(3, 1fr); }
  .lp-foot2 > .lp-in:first-child { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lp-day { grid-template-columns: 1fr; }
  .lp-inds { grid-template-columns: repeat(2, 1fr); }
  .lp-nav-btns { gap: 6px; }
  .lp-nav-btns .btn { padding: 8px 11px; font-size: 13px; }
  .lp-float-1 { margin-left: -150px; } .lp-float-2 { margin-left: -40px; }
  .lp-phone { width: 260px; }
}
@media (max-width: 980px) {
  .lp-hero-grid, .lp-feat { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero { padding: 44px 0 56px; }
  .lp-login { max-width: 480px; }
  .lp-mods, .lp-india, .lp-steps, .lp-strip .lp-in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lp-in { padding: 0 16px; }
  .lp-links { display: none; }
  .lp-nav .lp-in { justify-content: space-between; }
  .lp-logo img { height: 36px; }
  .lp-sec { padding: 56px 0; }
  .lp-india, .lp-steps { grid-template-columns: 1fr; }
  .lp-mods { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lp-mod { padding: 14px; }
  .lp-mod .lp-ic { width: 36px; height: 36px; margin-bottom: 10px; }
  .lp-mod h3 { font-size: 14.5px; }
  .lp-mod p { font-size: 12.5px; }
  .lp-login { padding: 20px; }
  .lp-form .row2 { grid-template-columns: 1fr; }
  .lp-cta .btn { flex: 1 1 100%; justify-content: center; }
  .lp-mock-kpis b { font-size: 13px; }
}
