/* ManglaSoft website - the app's own "ManglaSoft" theme: deep blue #134B90 on light blue #E2F1FC. */
:root {
  --blue: #134B90;
  --blue-2: #1A5BA8;
  --blue-3: #2A67B1;
  --blue-ink: #0F3D77;
  --accent: #134B90;
  --accent-2: #1A5BA8;
  --ink: #16243A;
  --muted: #5B7898;
  --line: #C9DFF0;
  --ground: #F3F8FD;
  --card: #FFFFFF;
  --sand: #E2F1FC;
  --good: #2F7D53;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
}
a { color: var(--blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; color: var(--blue-ink); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.hi { font-family: "Nirmala UI", "Noto Sans Devanagari", "Mangal", sans-serif; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--blue-3); margin-bottom: 10px; }
section { padding-block: 72px; }
section.alt { background: var(--sand); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(243,248,253,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.15rem; flex: 0 0 auto; }
.brand img { width: 44px; height: 44px; border-radius: 0; object-fit: contain; }
.brand small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
/* the menu reads as a row of soft pills, clearly not part of the company name beside it */
nav.main { display: flex; gap: 4px; align-items: center; margin-left: 28px; }
nav.main a { color: var(--blue-3); font-size: .92rem; font-weight: 500; white-space: nowrap; padding: 7px 11px; border-radius: 999px; transition: background .12s, color .12s; }
.brand span { white-space: nowrap; }
/* laptop widths: the company name plus the links need a little less room each */
@media (max-width: 1400px) and (min-width: 861px) {
  nav.main { gap: 0; margin-left: 20px; }
  nav.main a { font-size: .85rem; padding: 6px 8px; }
  .brand { font-size: 1rem; }
  .brand img { width: 38px; height: 38px; }
}
nav.main a:hover { color: var(--blue-ink); background: var(--sand); text-decoration: none; }
nav.main a.btn { margin-left: 8px; }
nav.main a.btn, nav.main a.btn:hover { color: #fff; }
/* drop-down groups in the menu (Videos: demos / entries / reports / screens). Hover opens on a mouse;
   a tap toggles .open (site.js) for touch; focus-within keeps it keyboard-reachable. */
nav.main .dd { position: relative; }
nav.main .dd > a::after { content: " \25BE"; font-size: .75em; opacity: .7; }
nav.main .dd .menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; flex-direction: column; gap: 2px; min-width: 230px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(19,75,144,.15); z-index: 30; }
nav.main .dd:hover .menu, nav.main .dd.open .menu, nav.main .dd:focus-within .menu { display: flex; }
nav.main .dd .menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .9rem; }
nav.main .dd .menu a small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 1.1rem; }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 13px 22px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background .15s, transform .05s; }
.btn:hover { background: var(--accent-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.teal { background: var(--blue); }
.btn.teal:hover { background: var(--blue-2); }
.btn.ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn.ghost:hover { background: rgba(19,75,144,.07); }
.btn.sm { padding: 9px 16px; font-size: .92rem; }
.btn.block { display: block; width: 100%; text-align: center; }

/* hero */
.hero { background: linear-gradient(180deg, #134B90 0%, #0F3D77 100%); color: #fff; padding-block: 72px 0; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero .grid > *, .contact > *, .features > *, .plans > *, .videos > *, .dl > *, .steps > * { min-width: 0; }
.hero .eyebrow { color: #BFDCF5; }
.hero h1 { color: #fff; }
.hero .lead { color: #D6E8F8; }
.hero .hi { color: #BFDCF5; font-size: 1.1rem; margin-top: -6px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero .cta .btn { background: #fff; color: var(--blue); }
.hero .cta .btn:hover { background: #E2F1FC; }
.hero .cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.hero .cta .btn.ghost:hover { background: rgba(255,255,255,.12); }
.devices { position: relative; padding-right: 8%; padding-bottom: 28px; }
.phone { position: absolute; right: -4%; bottom: 0; width: 21%; border: 6px solid #15181c; border-radius: 14px; background: #15181c; box-shadow: 0 24px 50px rgba(0,0,0,.45); overflow: hidden; }
.phone img { width: 100%; display: block; border-radius: 9px; }
.frame { background: #0B2F5E; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; }
.frame .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #164A86; }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.28); display: inline-block; }
.frame .slides { position: relative; aspect-ratio: 1.8; overflow: hidden; background: #fff; }
.frame .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .9s ease; }
.frame .slides img.on { opacity: 1; }
.frame .dots { display: flex; justify-content: center; gap: 9px; padding: 10px 0 11px; background: #164A86; }
.frame .dots b { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); display: inline-block; cursor: pointer; transition: background .2s; }
.frame .dots b.on { background: #fff; }
@media (prefers-reduced-motion: reduce) { .frame .slides img { transition: none; } }
.trust { background: var(--blue-ink); color: #D6E8F8; font-size: .92rem; }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: center; padding-block: 14px; }
.trust span::before { content: "✓ "; color: #BFDCF5; font-weight: 700; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 30px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.feature .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--sand); color: var(--blue); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 12px; }
.feature h3 { margin-bottom: 6px; color: var(--blue-ink); }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.feature .hi { font-size: .88rem; color: var(--blue-2); margin-top: 6px; display: block; }

/* editions */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-top: 30px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; position: relative; }
.plan.popular { border: 2px solid var(--blue); box-shadow: 0 12px 30px rgba(19,75,144,.15); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-size: 2.3rem; font-weight: 700; color: var(--blue); letter-spacing: -.02em; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .renew { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.plan ul { margin: 0 0 18px; padding-left: 20px; color: var(--ink); font-size: .95rem; }
.plan li { margin-bottom: 6px; }
.plan .btn { margin-top: auto; }
.compare { margin-top: 36px; overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .95rem; }
table.cmp th, table.cmp td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
table.cmp th { background: var(--sand); color: var(--blue-ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
table.cmp td:not(:first-child) { text-align: center; width: 15%; }
table.cmp .y { color: var(--good); font-weight: 700; }
table.cmp .n { color: #B5C7DA; }
.pricenote { color: var(--muted); font-size: .9rem; margin-top: 14px; }

/* videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }
.video { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.video video { width: 100%; aspect-ratio: 16/9; background: #000; display: block; }
.video .cap { padding: 14px 16px; }
.video .cap h3 { font-size: 1.02rem; margin-bottom: 2px; }
.video .cap p { color: var(--muted); font-size: .9rem; margin: 0; }
/* Every tour is narrated twice - English and Hindi - so each card carries its own language switch. */
.video .lang { display: flex; gap: 6px; margin-top: 10px; }
.video .lang button { font: inherit; font-size: .8rem; line-height: 1; cursor: pointer; padding: 5px 11px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); }
.video .lang button:hover { border-color: #9DB4CE; color: var(--ink); }
.video .lang button.on { background: #134B90; border-color: #134B90; color: #fff; }

/* screens: an endless, slowly scrolling strip (the JS doubles the items so the loop is seamless) */
.marquee { overflow: hidden; margin-top: 30px; padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: strip var(--strip-time, 90s) linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.shot { flex: 0 0 auto; width: 210px; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: zoom-in; transition: transform .15s, box-shadow .15s; }
.shot:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(19,75,144,.18); }
.shot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top left; }
.shot figcaption { display: block; padding: 8px 10px; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1500px) { .shot { width: 240px; } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
.lightbox { position: fixed; inset: 0; background: rgba(8,30,60,.9); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 50; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* downloads */
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 30px; }
.dl .card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.dl .card h3 { margin-bottom: 4px; }
.dl .meta { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 30px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; margin-top: 30px; }
.contact .card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px 14px; font-size: .97rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.kv .hi-note { font-weight: 400; color: var(--muted); font-size: .88rem; }

/* footer */
footer.site { background: var(--blue-ink); color: #BFDCF5; font-size: .88rem; padding-block: 28px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer.site a { color: #E2F1FC; }

/* legal page */
.legal h2 { margin-top: 36px; font-size: 1.35rem; }
.legal { max-width: 760px; }

@media (max-width: 860px) {
  .hero .grid, .contact { grid-template-columns: minmax(0, 1fr); }
  nav.main { display: none; position: absolute; top: 66px; left: 0; right: 0; margin-left: 0; background: var(--ground); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 14px 20px; gap: 6px; }
  nav.main a.btn { margin-left: 0; margin-top: 6px; }
  nav.main .dd .menu { position: static; display: flex; min-width: 0; padding: 0 0 0 14px; border: 0; box-shadow: none; background: none; }
  nav.main.open { display: flex; }
  .menu-btn { display: inline-block; }
  section { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
