/* MonitorPro public home page. Self-contained on purpose: no build step, no dependency on the app's stylesheet. */

:root {
    --ground: #f3faf6;
    --paper: #ffffff;
    --ink: #0f2a3a;
    --muted: #4a6272;
    --line: #d9e8e1;
    --green: #0b7a49;
    --green-bright: #16b57c;
    --green-soft: #e1f5ea;
    --blue: #2f7de1;
    --blue-deep: #1f5fb8;
    --blue-soft: #e6effd;
    --gold: #f5b93a;
    --rose: #b8324a;
    --rose-soft: #fde8ec;
    --radius: 18px;
    --font: "Space Grotesk", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-bn: "Hind Siliguri", "Space Grotesk", system-ui, sans-serif;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh; display: flex; flex-direction: column;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font-bn);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.display { font-family: var(--font); letter-spacing: -0.01em; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
    font: 600 16px/1 var(--font-bn); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--green); color: #fff; box-shadow: 0 8px 22px -10px rgba(15, 145, 87, .8); }
.btn-wa:hover { background: #086339; }
.btn-line { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -10px rgba(47, 125, 225, .8); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-white { background: #fff; color: var(--green); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }

/* ── header ──────────────────────────────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(243, 250, 246, .88); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 150px; height: auto; }
.brand-sub { display: none; padding-left: 14px; border-left: 2px solid var(--line); font: 500 14px/1.2 var(--font); color: var(--muted); }
.nav-links { display: none; margin-left: auto; gap: 26px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); padding: 6px 2px; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: none; gap: 10px; }
.nav-toggle {
    margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-panel { display: none; padding: 8px 20px 22px; border-top: 1px solid var(--line); background: var(--ground); }
.nav-panel.open { display: block; }
.nav-panel a.link { display: block; padding: 12px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-panel .btn { margin-top: 12px; }

@media (min-width: 960px) {
    .brand-sub { display: block; }
    .nav-links { display: flex; }
    .nav-actions { display: flex; }
    .nav-toggle, .nav-panel { display: none !important; }
}

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 44px 0 56px; }
.hero::before {
    content: ""; position: absolute; inset: -120px -10% auto auto; width: 720px; height: 720px; z-index: 0;
    background: radial-gradient(closest-side, rgba(22, 181, 124, .16), transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; inset: auto auto -260px -180px; width: 620px; height: 620px; z-index: 0;
    background: radial-gradient(closest-side, rgba(47, 125, 225, .12), transparent 70%);
    pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
.hero h1 {
    font-family: var(--font-bn); font-weight: 700; font-size: clamp(34px, 6.4vw, 60px); line-height: 1.22;
    letter-spacing: -0.01em; max-width: 14em;
}
.hero h1 .hl { color: var(--green); display: block; }
.hero .lead { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--green); }

@media (min-width: 960px) {
    .hero { padding: 64px 0 84px; }
    .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; }
}

/* the dashboard shown in the hero: an illustration, not a screenshot */
.mock {
    position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
    box-shadow: 0 40px 80px -36px rgba(15, 42, 58, .45), 0 0 0 8px rgba(255, 255, 255, .55);
    overflow: hidden; font-family: var(--font); font-size: 13px; line-height: 1.4;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f8fcfa; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d2e0d9; }
.mock-bar b { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 500; }
.mock-body { display: grid; grid-template-columns: 112px 1fr; min-height: 340px; }
.mock-side { padding: 14px 10px; background: #123a52; color: #cfe3ee; display: none; }
.mock-side p { padding: 8px 10px; border-radius: 8px; margin-bottom: 2px; font-size: 12px; }
.mock-side p.on { background: rgba(255, 255, 255, .13); color: #fff; font-weight: 600; }
.mock-main { padding: 16px; grid-column: 1 / -1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { padding: 10px 10px 9px; border-radius: 12px; background: #f6fbf8; border: 1px solid var(--line); }
.stat small { display: block; color: var(--muted); font-size: 11px; }
.stat strong { font-size: 22px; line-height: 1.1; font-weight: 700; }
.stat.s-active strong { color: var(--green); }
.stat.s-idle strong { color: #c98a0b; }
.stat.s-off strong { color: #7a8c97; }
.live-head { display: flex; align-items: center; justify-content: space-between; margin: 16px 2px 8px; font-weight: 700; font-size: 14px; }
.live-head span { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 12px; color: var(--green); }
.live-head span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); animation: pulse 1.8s ease-out infinite; }
.rows { display: grid; gap: 7px; }
.row {
    display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 10px;
    padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.row .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; }
.row .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .t { color: var(--muted); font-size: 12px; }
.chip { padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.chip.g { background: var(--green-soft); color: var(--green); }
.chip.b { background: var(--blue-soft); color: var(--blue-deep); }
.chip.y { background: #fdf1d4; color: #94650a; }
.chip.r { background: var(--rose-soft); color: var(--rose); }

/* the one orchestrated moment: the live rows arrive once, in turn */
.row { animation: arrive .6s cubic-bezier(.2, .8, .2, 1) both; }
.row:nth-child(1) { animation-delay: .35s; }
.row:nth-child(2) { animation-delay: .6s; }
.row:nth-child(3) { animation-delay: .85s; }
.row:nth-child(4) { animation-delay: 1.1s; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 181, 124, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(22, 181, 124, 0); } }

@media (min-width: 560px) {
    .mock-body { grid-template-columns: 112px 1fr; }
    .mock-side { display: block; }
    .mock-main { grid-column: auto; }
}

/* ── problems ────────────────────────────────────────────────────────────── */
.problems { padding: 56px 0; background: var(--paper); border-block: 1px solid var(--line); }
.section-title { font-family: var(--font-bn); font-weight: 700; font-size: clamp(26px, 4vw, 38px); line-height: 1.3; max-width: 22em; }
.section-sub { margin-top: 12px; color: var(--muted); max-width: 40em; }
.questions { margin-top: 34px; display: grid; gap: 0; }
.q { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.q:first-child { border-top: 0; }
.q .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose); }
.q:nth-child(2) .ic { background: var(--blue-soft); color: var(--blue-deep); }
.q:nth-child(3) .ic { background: #fdf1d4; color: #94650a; }
.q .ic svg { width: 26px; height: 26px; }
.q p { font-size: clamp(19px, 2.6vw, 23px); line-height: 1.5; font-weight: 600; max-width: 24em; }
@media (min-width: 900px) {
    .questions { grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
    .q { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line); padding: 4px 0 4px 26px; gap: 18px; }
    .q:first-child { border-left: 2px solid var(--line); }
}

/* ── solution ────────────────────────────────────────────────────────────── */
.solution { padding: 64px 0 24px; }
.solution-banner {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
    padding: 20px 26px; border-radius: 999px; background: linear-gradient(90deg, var(--green-soft), var(--blue-soft));
    border: 1px solid var(--line);
}
.solution-banner .dot { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #5b3d00; }
.solution-banner .dot svg { width: 22px; height: 22px; }
.solution-banner h2 { font-size: clamp(19px, 3vw, 28px); line-height: 1.3; font-weight: 700; }
.solution-banner h2 b { font-family: var(--font); color: var(--green); }
@media (max-width: 640px) { .solution-banner { border-radius: 26px; padding: 18px; } }
.gives { margin-top: 40px; display: grid; gap: 22px 40px; }
.give h3 { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.give h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--green-bright); flex: none; }
.give:nth-child(even) h3::before { background: var(--blue); }
.give p { margin-top: 6px; color: var(--muted); padding-left: 20px; }
@media (min-width: 760px) { .gives { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gives { grid-template-columns: repeat(4, 1fr); } }

/* ── how it works: a real sequence, so it is numbered ───────────────────── */
.how { padding: 56px 0 20px; }
.steps { margin-top: 32px; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 30px 64px; counter-increment: step; }
.step::before {
    content: counter(step); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 18px/1 var(--font);
}
.step::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 6px; width: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 20px; font-weight: 700; line-height: 1.4; }
.step p { margin-top: 4px; color: var(--muted); max-width: 34em; }
@media (min-width: 900px) {
    .steps { grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
    .step { padding: 62px 0 0 0; }
    .step::before { top: 0; }
    .step::after { left: 52px; right: -36px; top: 21px; bottom: auto; width: auto; height: 2px; }
}

/* ── pricing ─────────────────────────────────────────────────────────────── */
.pricing { padding: 64px 0 56px; }
.plans { margin-top: 38px; display: grid; gap: 28px; align-items: start; }
.plan { position: relative; background: var(--paper); border-radius: 26px; overflow: hidden; }
.plan-head { display: flex; align-items: center; gap: 12px; padding: 18px 26px; color: #fff; font: 700 24px/1.2 var(--font); }
.plan-head svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .22); flex: none; }
.plan-body { padding: 22px 26px 28px; }
.price { display: flex; align-items: baseline; gap: 8px; font-family: var(--font); }
.price strong { font-size: 54px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.price span { color: var(--muted); font: 500 17px/1 var(--font); }
.shots { margin-top: 14px; display: inline-flex; padding: 5px 16px; border-radius: 999px; font-weight: 600; font-size: 15.5px; }
.plan.basic { border: 2px solid #b9d4f6; box-shadow: 0 24px 50px -36px rgba(47, 125, 225, .8); }
.plan.basic .plan-head { background: linear-gradient(100deg, var(--blue), #4b95ee); }
.plan.basic .price strong { color: var(--blue-deep); }
.plan.basic .shots { background: var(--rose-soft); color: var(--rose); }
.plan.pro { border: 2px solid var(--green-bright); box-shadow: 0 34px 70px -34px rgba(15, 145, 87, .75); }
.plan.pro .plan-head { background: linear-gradient(100deg, var(--green), var(--green-bright)); }
.plan.pro .price strong { color: var(--green); }
.plan.pro .shots { background: var(--green-soft); color: var(--green); }
/* A gold bar across the top of the recommended plan: a rotated corner strip got clipped by the card. */
.ribbon {
    display: block; position: static; width: auto; text-align: center;
    background: var(--gold); color: #4a3200; font: 700 12.5px/1 var(--font); letter-spacing: .06em; padding: 8px 0;
}
.incl { margin-top: 20px; padding: 9px 14px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; font-size: 15px; }
.feats { margin-top: 18px; display: grid; gap: 9px; }
.feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; line-height: 1.45; font-family: var(--font); }
.feats svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--green-bright); }
.plan .btn { margin-top: 26px; }
.pricing-note { margin-top: 26px; color: var(--muted); font-size: 15.5px; max-width: 46em; }
@media (min-width: 900px) {
    .plans { grid-template-columns: 1fr 1fr; gap: 34px; }
    .plan.pro { margin-top: -14px; }
}

/* ── trust strip ─────────────────────────────────────────────────────────── */
.trust { padding: 8px 0 56px; }
.trust-box { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border: 1px dashed #9cc7b4; border-radius: var(--radius); background: rgba(255, 255, 255, .6); }
.trust-box svg { width: 30px; height: 30px; color: var(--green); flex: none; margin-top: 2px; }
.trust-box p { max-width: 54em; color: var(--muted); }
.trust-box strong { color: var(--ink); }

/* ── contact band ────────────────────────────────────────────────────────── */
.cta { padding: 0 0 72px; }
.cta-box {
    display: grid; gap: 26px; padding: 36px 28px; border-radius: 30px; color: #fff;
    background: linear-gradient(115deg, #0b3e5c 0%, #0e6a5a 55%, #0f9157 100%);
}
.cta-box h2 { font-size: clamp(25px, 4vw, 38px); line-height: 1.3; font-weight: 700; max-width: 18em; }
.cta-box h2 em { font-style: normal; color: #ffd978; display: block; }
.cta-side { display: grid; gap: 14px; align-content: center; }
.cta-side .phones { display: grid; gap: 4px; font: 500 17px/1.4 var(--font); color: #d8efe6; }
.cta-side .phones a { text-decoration: none; }
.cta-side .phones a:hover { text-decoration: underline; }
@media (min-width: 900px) { .cta-box { grid-template-columns: 1.3fr 1fr; padding: 48px 52px; align-items: center; } }

/* ── footer ──────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--paper); padding: 34px 0 96px; }
.footer-grid { display: grid; gap: 26px; }
.footer img { width: 160px; height: auto; }
.footer h3 { font: 700 15px/1.3 var(--font); margin-bottom: 10px; }
.footer li { padding: 3px 0; color: var(--muted); font-size: 15.5px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--green); text-decoration: underline; }
.footer-base { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ── floating WhatsApp ───────────────────────────────────────────────────── */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
    min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #1faa59; color: #fff; text-decoration: none;
    font: 600 16px/1 var(--font-bn); box-shadow: 0 14px 30px -10px rgba(10, 80, 40, .7);
}
.wa-float:hover { background: #17934a; }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 58px; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .row { animation: none; }
    .live-head span::before { animation: none; }
    .btn { transition: none; }
}
