/* Booth Saathi landing page. Brand blue from the app (#015BB5), Roboto + Noto Sans Devanagari. */

@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("fonts/Roboto-Regular.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url("fonts/Roboto-Medium.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("fonts/Roboto-Bold.ttf") format("truetype"); }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 400; font-display: swap; src: url("fonts/NotoSansDevanagari-Regular.ttf") format("truetype"); }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 700; font-display: swap; src: url("fonts/NotoSansDevanagari-Bold.ttf") format("truetype"); }

:root {
  --blue: #015BB5;
  --blue-deep: #0A3F80;
  --blue-ink: #0B2545;
  --teal: #2BC4B4;
  --ink: #1B2533;
  --muted: #5B6B7E;
  --line: #DCE6F2;
  --soft: #F1F7FD;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .08);
  --font: "Roboto", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--blue-ink); line-height: 1.3; margin: 0; }
p { margin: 0; }
b { font-weight: 700; }

/* Only the chosen language shows (Hindi by default, even without JavaScript). */
[data-lang="hi"] [lang="en"], [data-lang="en"] [lang="hi"] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 10px max(20px, env(safe-area-inset-left)) 10px max(20px, env(safe-area-inset-right));
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.brand .lockup { width: auto; height: 44px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--blue); }
.lang-btn {
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--blue); background: var(--soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none;
  transition: transform .12s ease, background-color .12s ease;
}
.btn:active { transform: scale(.98); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; background: var(--blue); color: var(--white); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #0E66C2; }
.hero .btn-primary { background: var(--white); color: var(--blue); }
.hero .btn-primary:hover { background: #EAF3FD; }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-outline { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--soft); }
.btn-block { width: 100%; }
.btn-stack { display: grid; gap: 10px; margin-top: auto; }

/* ---------------------------------------------------------------- hero */
.hero {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(43, 196, 180, .22), transparent 60%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px;
  padding: 72px 20px 0;
}
.hero-text { padding-bottom: 72px; }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .02em; opacity: .85; margin-bottom: 14px; }
.hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -.01em; }
.lead { margin-top: 18px; font-size: clamp(17px, 2vw, 20px); opacity: .92; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 14px; opacity: .8; max-width: 36em; }
.hero-art { align-self: end; display: flex; justify-content: center; }
.hero-art .phone { width: min(300px, 70vw); margin-bottom: -60px; transform: rotate(-2deg); }

/* Phone frame around the screenshots */
.phone {
  margin: 0;
  padding: 9px;
  border-radius: 38px;
  background: #0E1726;
  box-shadow: 0 30px 60px rgba(4, 22, 48, .35), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { border-radius: 30px; width: 100%; }
.phone.sm { padding: 6px; border-radius: 28px; box-shadow: 0 12px 30px rgba(11, 37, 69, .18); }
.phone.sm img { border-radius: 23px; }

/* ---------------------------------------------------------------- facts strip */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-inner {
  list-style: none; margin: 0 auto; max-width: 1160px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 88px 20px 36px;
}
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { flex: none; color: var(--blue); margin-top: 2px; }
.facts strong { display: block; color: var(--blue-ink); font-size: 17px; }
.facts .sub { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------------------------------------------------------------- sections */
.section { padding: 80px 20px; }
.section.soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { margin-top: 10px; color: var(--muted); }

.cards {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--soft); color: var(--blue);
  margin-bottom: 16px;
}
.card .icon svg { width: 26px; height: 26px; }
.icon-text { font-weight: 700; font-size: 20px; gap: 1px; }
.icon-text span { font-size: 15px; opacity: .75; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

/* Screens gallery: a swipeable row on phones, five columns on wide screens */
.gallery {
  list-style: none; margin: 0 auto; padding: 0 0 8px;
  max-width: 1160px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.gallery li { text-align: center; }
.gallery p { margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--blue-ink); }

/* Install */
.install {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.install-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.install-card h3 { font-size: 22px; }
.install-card > p { color: var(--muted); font-size: 16px; }
.install-card > .btn { margin-top: auto; }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: 14px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.steps li::before {
  content: counter(step);
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white); font-size: 14px; font-weight: 700;
  margin-top: 1px;
}

/* Privacy */
.checks { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 14px; }
.checks li {
  position: relative; padding: 16px 18px 16px 52px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
}
.checks li::before {
  content: ""; position: absolute; left: 18px; top: 19px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.links { display: flex; justify-content: center; gap: 24px; margin-top: 26px; font-weight: 500; }

/* Contact */
.contact {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 26px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink);
}
a.contact-card:hover { border-color: var(--blue); }
.contact-card svg { width: 30px; height: 30px; color: var(--blue); margin-bottom: 4px; }
.contact-card .label { font-size: 14px; color: var(--muted); }
.contact-card .value { font-weight: 700; color: var(--blue-ink); overflow-wrap: break-word; }

/* Footer */
.foot { background: var(--blue-ink); color: rgba(255, 255, 255, .8); }
.foot-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
  font-size: 14px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- tablets and phones */
@media (max-width: 980px) {
  .cards, .install { grid-template-columns: repeat(2, 1fr); }
  .gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 210px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 12px; margin: 0 -20px;
    -webkit-overflow-scrolling: touch;
  }
  .gallery li { scroll-snap-align: center; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .lang-btn { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .hero-text { padding-bottom: 0; }
  .hero-art .phone { width: min(250px, 66vw); margin-bottom: -48px; }
  .cta .btn { width: 100%; }
  .facts-inner { grid-template-columns: 1fr; gap: 18px; padding-top: 76px; }
  .section { padding: 56px 16px; }
  .cards, .install, .contact { grid-template-columns: 1fr; }
  .gallery { padding: 0 16px 12px; margin: 0 -16px; }
}
@media (max-width: 380px) {
  .brand .lockup { height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
