:root {
  --bg: #f7fafc; --bg2: #edf3f8; --card: #ffffff; --line: #dde5ee; --input: #ffffff;
  --ink: #0f172a; --muted: #475569; --teal: #0d9488; --sky: #0284c7; --on-grad: #ffffff;
  --nav-bg: rgba(247,250,252,.85); --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.06);
  --grad: linear-gradient(90deg, var(--teal), var(--sky));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; }
h1, h2, h3, h4, .logo { font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif; }
a { color: var(--teal); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
section { padding: 88px 0; position: relative; }
section.alt { background: var(--bg2); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; margin: 0 0 12px; }
.lead { color: var(--muted); margin: 0 0 40px; max-width: 640px; font-size: 1.05rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn { display: inline-block; padding: 13px 24px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: var(--on-grad); box-shadow: 0 8px 30px rgba(13,148,136,.25); }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(13,148,136,.35); }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* nav */
nav { position: sticky; top: 0; z-index: 30; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
nav .logo { margin-right: auto; }
.logo img { width: 34px; height: 34px; }
.links { display: flex; gap: 26px; align-items: center; }
.links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.links a:hover, .links a.active { color: var(--ink); }
.links a.active:not(.btn) { text-decoration: underline 2px var(--teal); text-underline-offset: 8px; }
.links a.btn { color: var(--on-grad); padding: 9px 18px; }
.menu-btn, .cur-btn { background: var(--card); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); padding: 8px; cursor: pointer; }
.menu-btn { display: none; }
.menu-btn svg { width: 20px; height: 20px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* prices: rupees by default, dollars when <html data-currency="usd"> (set in <head>, switchable with the ₹/$ button) */
:root[data-currency="usd"] .inr, :root:not([data-currency="usd"]) .usd { display: none; }
.cur-btn { font: inherit; font-size: .85rem; font-weight: 700; padding: 8px 10px; }

/* home hero */
.hero { padding: 40px 0 60px; overflow: hidden;
  background: radial-gradient(600px 400px at 80% 40%, rgba(56,189,248,.14), transparent 70%),
              radial-gradient(500px 400px at 10% 10%, rgba(45,212,191,.12), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 20px; min-height: 600px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.06; margin: 0 0 20px; letter-spacing: -.02em; }
/* desktop: size the headline to its column so "You run your business." stays on one line */
@supports (container-type: inline-size) {
  @media (min-width: 901px) {
    .hero .wrap > div:first-child { container-type: inline-size; }
    .hero h1 { font-size: min(3.8rem, 9cqi); }
    .hero h1 span { white-space: nowrap; }
  }
}
.hero p { font-size: 1.15rem; color: var(--muted); margin: 0 0 30px; max-width: 540px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--muted); font-size: .95rem; }
.trust b { color: var(--ink); font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; margin-right: 4px; }
.globe-box { position: relative; height: 560px; }
#globe { width: 100%; height: 100%; display: block; }
.globe-box::after { content: ""; position: absolute; inset: 20% 20%; border-radius: 50%; background: radial-gradient(circle, rgba(45,212,191,.18), transparent 65%); filter: blur(30px); z-index: -1; }

/* inner page hero */
.page-hero { padding: 90px 0 56px; border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 360px at 75% 0%, rgba(56,189,248,.14), transparent 70%),
              radial-gradient(500px 300px at 0% 0%, rgba(45,212,191,.12), transparent 70%); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.02em; max-width: 820px; }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 0 28px; }

/* cards + 3D tilt */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); transition: transform .25s ease-out, border-color .25s; transform-style: preserve-3d; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(45,212,191,.12), transparent 60%); }
.card:hover { border-color: rgba(45,212,191,.45); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
a.card { display: block; color: inherit; text-decoration: none; }
.pillar h3 { font-size: 1.4rem; }
.more { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--teal); }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; color: var(--teal);
  background: linear-gradient(135deg, rgba(45,212,191,.18), rgba(56,189,248,.08)); border: 1px solid rgba(45,212,191,.3); transform: translateZ(30px); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-grad); background: var(--grad); padding: 3px 9px; border-radius: 999px; }

.pains { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.pains li { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--teal); padding: 16px 18px; border-radius: 10px; box-shadow: var(--shadow); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); } /* lists are 6 or 9 items: full rows */
@media (max-width: 1000px) { .ticks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ticks { grid-template-columns: 1fr; } }
.ticks li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 14px 46px; box-shadow: var(--shadow); }
.ticks li::before { content: "✓"; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: var(--on-grad); font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* plans */
.plans { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.plan { display: flex; flex-direction: column; }
.badge + h3 { padding-right: 96px; } /* keep titles clear of the corner badge */
.plan.featured { border-color: rgba(45,212,191,.6); box-shadow: 0 0 0 1px rgba(45,212,191,.3), 0 20px 60px rgba(45,212,191,.14); }
.plan .price { font-family: "Space Grotesk", sans-serif; font-size: 1.9rem; font-weight: 700; margin: 6px 0 14px; }
.plan .price small { font-size: .9rem; color: var(--muted); font-weight: 400; font-family: "Segoe UI", system-ui, sans-serif; }
.plan ul { margin: 0 0 20px; padding-left: 20px; color: var(--muted); flex: 1; }
.plan li { margin-bottom: 4px; }
.note { color: var(--muted); font-size: .95rem; margin-top: 20px; }
.plan .note { margin-top: 0; }
.card .list { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.card .tags { margin-top: 12px; }

/* comparison table */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font-family: "Space Grotesk", sans-serif; }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--muted); font-weight: 600; }
.compare th:last-child, .compare td:last-child { background: rgba(45,212,191,.07); }

.nums { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); text-align: center; }
.nums .card { padding: 28px 18px; }
.nums strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 2.8rem; line-height: 1.1; }
.nums span { color: var(--muted); }
.step-no { font-family: "Space Grotesk", sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1; margin-bottom: 12px; }

.split { display: grid; gap: 40px; grid-template-columns: 1.2fr 1fr; align-items: start; }
.split p { color: var(--muted); }
.split .nums { grid-template-columns: 1fr 1fr; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { border: 1px solid var(--line); color: var(--ink); background: var(--bg2); padding: 6px 12px; border-radius: 8px; font-size: .9rem; font-weight: 500; }

/* technology stack panel */
.stack { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.stack-row { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: center; padding: 22px 28px; }
.stack-row + .stack-row { border-top: 1px solid var(--line); }
.stack-head { display: flex; gap: 14px; align-items: center; }
.stack-head .icon { margin: 0; flex: none; transform: none; }
.stack-head h3 { margin: 0; font-size: 1.05rem; }
.stack-head p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .stack-row { grid-template-columns: 1fr; gap: 14px; padding: 20px; } }

details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

.cta-band { text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(45,212,191,.16), transparent 70%), var(--bg2); }
.cta-band .lead { margin: 0 auto 30px; }
.cta-band .ctas { justify-content: center; }

/* contact */
.contact-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1.4fr; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-list .card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; }
.contact-list .icon { margin: 0; flex: none; }
.contact-list b { display: block; }
.contact-list small { color: var(--muted); font-size: .92rem; }
.form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form h2 { grid-column: 1 / -1; font-size: 1.6rem; margin: 0; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--input); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.form select option { background: var(--bg2); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.form button { cursor: pointer; font: inherit; font-weight: 600; }
.form .btn-primary { border: 0; }

/* footer */
footer { padding: 56px 0 24px; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); background: var(--bg); }
.foot { display: grid; gap: 32px; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
.foot h4 { color: var(--ink); margin: 0 0 12px; }
.foot p { margin: 12px 0 0; max-width: 300px; }
.foot div > a:not(.logo) { display: block; color: var(--muted); text-decoration: none; margin-bottom: 6px; }
.foot div > a:not(.logo):hover { color: var(--ink); }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: .88rem; }
.copy a { color: inherit; }
.copy:first-child { margin-top: 0; }
.form-note { margin: 0; color: var(--muted); font-size: .88rem; }
.page-hero.center { text-align: center; padding: 120px 0 110px; }
.page-hero.center p { margin-left: auto; margin-right: auto; }
.page-hero.center .ctas { justify-content: center; }

/* legal / long-form text */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose h3 { font-size: 1.15rem; margin: 0 0 8px; }
.prose ol { padding-left: 22px; }
.prose .table-wrap { margin: 20px 0; }
.compare.plain th:last-child, .compare.plain td:last-child { background: none; }

/* blog */
.wrap.article { max-width: 804px; }
.article.prose { font-size: 1.06rem; line-height: 1.75; }
.back { display: block; width: fit-content; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.back:hover { color: var(--teal); }
.post-meta { color: var(--muted); font-size: .9rem; }
.page-hero .post-meta { margin: 0; font-size: .95rem; }
.post-card { display: flex; flex-direction: column; }
.post-card .cat { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.post-card h3 { font-size: 1.2rem; line-height: 1.35; }
.post-card p { flex: 1; margin-bottom: 18px; }
.post-card .post-meta { margin-top: auto; }
.posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-cta { margin-top: 48px; padding: 28px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); }
.post-cta p { margin: 0 0 20px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; background: #25d366; color: #fff; text-decoration: none; font-weight: 600; padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 40; }

/* scroll reveal (class "js" is set in <head>, so content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .globe-box { height: 340px; order: -1; margin: 0 -22px -20px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px 22px 18px; }
  nav.open .links { display: flex; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .links a.active:not(.btn) { text-decoration: none; color: var(--teal); }
  .links a.btn { margin-top: 14px; text-align: center; border: 0; }
}
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}
