/* 1stReply website — design tokens */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --surface: #f6f8fc;
  --brand: #1a5fd0;
  --brand-dark: #12439a;
  --brand-soft: #e7efff;
  --accent: #f59e0b;
  --accent-soft: #fff4d6;
  --good: #15803d;
  --good-soft: #e3f6ea;
  --bad: #b91c1c;
  --bad-soft: #fdeaea;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .25);
  --font: 'Poppins', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="mr"] body { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
section { padding: 88px 0; }
.alt { background: var(--surface); }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 14px; border-radius: 99px; margin-bottom: 16px;
}
html[lang="mr"] .eyebrow { letter-spacing: 0; text-transform: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
html[lang="mr"] h1, html[lang="mr"] h2, html[lang="mr"] h3 { line-height: 1.4; letter-spacing: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 640px; }
.head { text-align: center; margin-bottom: 52px; }
.head .lead { margin: 14px auto 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 16px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(26, 95, 208, .6); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.logo .by { font-size: 12px; font-weight: 500; color: var(--muted); align-self: flex-end; margin-bottom: 2px; }
@media (max-width: 420px) { .logo .by { display: none; } }
.links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.links a:hover { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.lang button { padding: 6px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.nav .btn { padding: 9px 18px; font-size: 14px; border-radius: 10px; }

/* Hero */
.hero { padding: 72px 0 96px; background:
  radial-gradient(900px 400px at 85% -10%, var(--brand-soft), transparent 70%),
  radial-gradient(600px 300px at 0% 100%, var(--accent-soft), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 62px); font-weight: 700; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin-bottom: 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.trust li::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 7px; }

/* Phone mockup */
.phone { margin-inline: auto; width: 300px; background: #0b1220; border-radius: 40px; padding: 11px; box-shadow: 0 40px 60px -30px rgba(15, 23, 42, .5); }
.screen { background: #eef2f9; border-radius: 30px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; }
.screen-top { background: var(--brand); color: #fff; padding: 20px 18px 16px; }
.screen-top small { opacity: .8; font-size: 12px; display: block; }
.screen-top strong { font-size: 17px; }
.screen-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.call-card { background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: 13px; box-shadow: 0 2px 6px rgba(15, 23, 42, .06); }
.call-card .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--good-soft); display: grid; place-items: center; font-size: 16px; }
.call-card b { display: block; font-size: 14px; }
.call-card span { color: var(--muted); }
.bubble { max-width: 88%; padding: 11px 14px; font-size: 13.5px; line-height: 1.5; border-radius: 16px; animation: pop .5s both; }
.bubble.out { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble.in { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 2px 6px rgba(15, 23, 42, .06); }
.bubble:nth-of-type(2) { animation-delay: .5s; } .bubble:nth-of-type(3) { animation-delay: 1.1s; }
.stamp { align-self: center; font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, .7); padding: 3px 10px; border-radius: 99px; }
.stat-row { display: flex; gap: 10px; margin-top: auto; }
.stat-row div { flex: 1; background: #fff; border-radius: 12px; padding: 10px; text-align: center; font-size: 11px; color: var(--muted); }
.stat-row b { display: block; font-size: 22px; color: var(--ink); line-height: 1.2; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* What is it + steps */
.what { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.what p { color: var(--ink-2); margin-top: 16px; font-size: 17px; }
.callout { margin-top: 24px; background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 16px 18px; border-radius: 10px; font-size: 15px; }
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); counter-increment: step; }
.step::before { content: counter(step); flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* Why best */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--brand-soft); margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink-2); }

/* Compare */
.compare { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.col { border-radius: var(--radius); padding: 30px; }
.col h3 { font-size: 20px; margin-bottom: 16px; }
.col li { padding: 9px 0 9px 32px; position: relative; font-size: 15.5px; }
.col li::before { position: absolute; left: 0; top: 9px; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; line-height: 1; }
.col.no { background: var(--bad-soft); } .col.no li::before { content: "✕"; background: var(--bad); color: #fff; }
.col.yes { background: var(--good-soft); border: 2px solid var(--good); } .col.yes li::before { content: "✓"; background: var(--good); color: #fff; }

/* Use cases */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case { background: #fff; border-radius: var(--radius); padding: 24px 20px; text-align: center; border: 1px solid var(--line); }
.case .ico { font-size: 34px; margin-bottom: 10px; }
.case h3 { font-size: 17px; margin-bottom: 8px; }
.case p { font-size: 14px; color: var(--muted); }
.sample { margin: 40px auto 0; max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sample .bubble { max-width: 100%; align-self: stretch; animation: none; }
.sample small { display: block; font-size: 12px; opacity: .8; margin-bottom: 4px; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat-grid .card { padding: 22px; }
.feat-grid h3 { font-size: 16.5px; }
.feat-grid .ico { width: 44px; height: 44px; font-size: 22px; }

/* Activate */
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }
.activate { max-width: 744px; margin: 0 auto; background: var(--good-soft); border: 1.5px solid #9fd8b4; border-radius: 22px; padding: 26px 28px; display: grid; gap: 18px; }
.activate h3 { font-size: 19px; margin-bottom: 10px; }
.activate ol { padding-left: 20px; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.btn-wa { background: #25d366; color: #073b1c; justify-self: start; }
.btn-wa:hover { background: #1ebe5b; transform: translateY(-2px); }

/* Legal & contact pages */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 40px); margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 8px; }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.contact-cards .panel h3 { font-size: 17px; margin-bottom: 6px; }
.contact-cards .panel p { margin: 0; }
.back { display: inline-block; margin-bottom: 20px; font-size: 14px; color: var(--brand); }
footer .legal-links { flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 620px) { .contact-cards { grid-template-columns: 1fr; } .btn-wa { justify-self: stretch; } }

/* Setup + privacy */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel h3 { font-size: 21px; margin-bottom: 14px; }
.panel li { padding: 8px 0 8px 30px; position: relative; font-size: 15.5px; color: var(--ink-2); }
.panel li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.panel .small { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--brand); transition: transform .2s; }
.faq details[open] { border-color: var(--brand); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }

/* Download CTA */
.download { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; text-align: center; border-radius: 28px; padding: 64px 28px; }
.download h2 { margin-bottom: 14px; }
.download p { max-width: 560px; margin: 0 auto 28px; opacity: .92; font-size: 17px; }
.download .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: none; }
.download .btn-primary:hover { background: var(--accent-soft); }
.download .hint { margin: 18px 0 0; font-size: 13.5px; opacity: .8; }
.contact { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 15px; }
.contact a { text-decoration: underline; text-underline-offset: 3px; }

footer { padding: 36px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
footer ul { display: flex; gap: 22px; }
footer a:hover { color: var(--brand); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .links { display: none; }
  .hero .wrap, .what, .compare, .two { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cases, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 48px; }
}
@media (max-width: 620px) {
  section { padding: 64px 0; }
  .why-grid, .cases, .feat-grid, .sample { grid-template-columns: 1fr; }
  .nav .btn { display: none; }
  .phone { width: 100%; max-width: 300px; }
  .btn { width: 100%; }
  .download { padding: 48px 20px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
