/* ChunavDesk public website — design system (separate from the app's app.css) */
:root {
  --ink: #0b1220; --ink-2: #334155; --muted: #64748b; --line: #e6e8ef; --surface: #f7f8fb;
  --brand: #4f46e5; --brand-2: #2563eb; --brand-3: #7c3aed; --mint: #10b981; --amber: #f59e0b; --rose: #e11d48;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 1px 1px rgba(11,18,32,.04);
  --shadow-md: 0 10px 30px -10px rgba(11,18,32,.18), 0 2px 6px rgba(11,18,32,.06);
  --shadow-lg: 0 40px 80px -30px rgba(37,99,235,.35), 0 20px 40px -20px rgba(11,18,32,.25);
}
html { scroll-behavior: smooth; }
body { font-family: Inter, Hind, "Noto Sans Devanagari", system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
html[lang="hi"] body { font-family: Hind, Inter, "Noto Sans Devanagari", sans-serif; }
.display { font-family: Manrope, Inter, Hind, sans-serif; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
html[lang="hi"] .display { font-family: Hind, Manrope, sans-serif; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.h2 { font-family: Manrope, Inter, Hind, sans-serif; font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; font-size: clamp(28px, 3.4vw, 40px); }
html[lang="hi"] .h2 { font-family: Hind, sans-serif; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.lead { color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.muted { color: var(--muted); }
.wrap { max-width: 1152px; margin: 0 auto; padding: 0 20px; }
.grad-text { background: linear-gradient(92deg, var(--brand-2), var(--brand-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease-out), background 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.b:active { transform: scale(0.97); }
.b-p { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(79,70,229,.6); }
.b-p:hover { box-shadow: 0 12px 26px -8px rgba(79,70,229,.7); }
.b-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.b-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.b-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
@media (hover: hover) and (pointer: fine) { .b:hover { border-color: #cfd4e0; } .b-p:hover { border-color: transparent; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms ease, background 200ms ease; }
.nav.scrolled { border-color: var(--line); background: rgba(255,255,255,.92); }
.nav-link { padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background 160ms ease, color 160ms ease; }
.nav-link:hover, .nav-link.on { color: var(--ink); background: var(--surface); }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-2), var(--brand-3)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: Manrope; font-weight: 800; font-size: 13px; box-shadow: 0 6px 14px -6px rgba(79,70,229,.7); }
.logo-text { font-family: Manrope, sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: #fff; }
.lang button { height: 28px; padding: 0 10px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang button.on { background: var(--ink); color: #fff; }

/* hero */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg .grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(11,18,32,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }
.hero-bg .glow { position: absolute; width: 900px; height: 600px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(99,102,241,.22), transparent); filter: blur(30px); }
.frame { position: relative; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame .chrome { height: 34px; background: #f5f6fa; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.frame .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d8dbe4; }
.frame .chrome span { margin-left: 8px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.frame img { display: block; width: 100%; height: auto; }
.tilt { transform: perspective(1400px) rotateX(3deg); transform-origin: top; }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: 10px 14px; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.float b { font-family: Manrope; font-size: 18px; letter-spacing: -0.02em; }
.phone { width: 230px; border-radius: 30px; border: 8px solid #0b1220; background: #0b1220; box-shadow: var(--shadow-lg); overflow: hidden; }
.phone img { display: block; width: 100%; border-radius: 22px; }

/* cards */
.card-s { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card-s.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); } }
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 6; }
@media (min-width: 768px) { .bento > .c2 { grid-column: span 3; } .bento > .c3 { grid-column: span 2; } .bento > .c4 { grid-column: span 4; } }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.t-indigo { background: #eef2ff; color: #4338ca; } .t-blue { background: #eff6ff; color: #1d4ed8; } .t-mint { background: #ecfdf5; color: #047857; }
.t-amber { background: #fffbeb; color: #b45309; } .t-rose { background: #fff1f2; color: #be123c; } .t-violet { background: #f5f3ff; color: #6d28d9; } .t-cyan { background: #ecfeff; color: #0e7490; }
.pill-s { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* steps */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 24px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--brand-2), var(--brand-3)); opacity: .25; }
@media (min-width: 768px) { .steps::before { left: 0; right: 0; top: 24px; bottom: auto; height: 2px; width: auto; } }
.step-n { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-2), var(--brand-3)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: Manrope; font-weight: 800; font-size: 18px; box-shadow: 0 8px 18px -8px rgba(79,70,229,.7); position: relative; }

/* tabs (screens) */
.stab { padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); border: 1px solid transparent; transition: background 160ms ease, color 160ms ease; }
.stab.on { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.screen-stack { position: relative; aspect-ratio: 16 / 10; }
.screen-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(.985); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
.screen-stack img.on { opacity: 1; transform: none; }

/* dark band */
.dark { background: radial-gradient(1000px 400px at 20% 0%, rgba(99,102,241,.35), transparent 60%), #0b1220; color: #fff; }
.dark .muted { color: #9aa4b8; }
.stat-big { font-family: Manrope; font-weight: 800; font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.03em; line-height: 1; }

/* pricing */
.plan-s { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.plan-s.hot { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand-2), var(--brand-3)) border-box; box-shadow: var(--shadow-md); }
.plan-s .badge { position: absolute; top: -13px; left: 20px; background: linear-gradient(90deg, var(--brand-2), var(--brand-3)); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.price-s { font-family: Manrope; font-weight: 800; font-size: 34px; letter-spacing: -0.03em; }
.tick li { position: relative; padding-left: 26px; }
.tick li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #ecfdf5; color: #047857; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* faq */
.faq-s details { border-bottom: 1px solid var(--line); }
.faq-s summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; font-size: 16px; }
.faq-s summary::-webkit-details-marker { display: none; }
.faq-s summary::after { content: "+"; font-size: 22px; color: var(--muted); transition: transform 200ms var(--ease-out); }
.faq-s details[open] summary::after { transform: rotate(45deg); }
.faq-s p { color: var(--ink-2); padding-bottom: 18px; line-height: 1.65; }

/* forms */
.f-in { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 15px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.f-in:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
textarea.f-in { height: auto; padding: 12px 14px; }
.f-l { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; display: block; }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: 60ms; } .rv[data-d="2"] { transition-delay: 120ms; } .rv[data-d="3"] { transition-delay: 180ms; } .rv[data-d="4"] { transition-delay: 240ms; } .rv[data-d="5"] { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) { .rv { transform: none; transition: opacity 200ms ease; } .tilt { transform: none; } .b:active { transform: none; } html { scroll-behavior: auto; } }

footer a { transition: color 160ms ease; }
