:root {
  --ink: #0b1b3a;
  --ink-2: #153467;
  --panel: #0f2f68;
  --paper: #f7faff;
  --white: #ffffff;
  --muted: #64748b;
  --line: #dbe7fb;
  --lime: #2563eb;
  --lime-2: #60a5fa;
  --blue: #0ea5e9;
  --danger: #e75b61;
  --radius: 22px;
  --shadow: 0 22px 55px rgba(37, 99, 235, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
img, svg { max-width: 100%; }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 100; }
.skip-link:focus { left: 10px; background: var(--lime); padding: 10px 16px; border-radius: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(37, 99, 235, .05);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 850; letter-spacing: -.03em; font-size: 1.16rem; white-space: nowrap; }
.brand-logo-frame { display: block; position: relative; overflow: hidden; width: 228px; height: 50px; flex: 0 0 228px; }
.brand-logo { position: absolute; display: block; width: 255px !important; max-width: none !important; height: 85px !important; left: -15px; top: -17px; object-fit: contain; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(145deg, #2563eb, #0ea5e9); color: white; font-weight: 950; box-shadow: 0 0 0 6px rgba(37,99,235,.08); }
.brand span:last-child { color: var(--lime); }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links a { color: #314463; text-decoration: none; font-weight: 700; font-size: .94rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--lime); }
.nav-actions { display: flex; gap: 10px; }
.mobile-toggle { display: none; margin-left: auto; border: 0; border-radius: 10px; background: var(--lime); color: white; width: 44px; height: 44px; font-size: 1.25rem; font-weight: 900; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 11px 19px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #1677ef); color: white; border: 1px solid #2563eb; text-decoration: none; font-weight: 850; line-height: 1.2; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,99,235,.24); }
.button.secondary { background: white; color: #1d4ed8; border-color: #b8cdf7; }
.button.secondary:hover { border-color: var(--lime); color: var(--lime); box-shadow: 0 10px 24px rgba(37,99,235,.1); }
.button.dark { background: #12366f; border-color: #12366f; color: white; }
.button.small { min-height: 40px; padding: 9px 14px; border-radius: 10px; font-size: .9rem; }

.hero { position: relative; overflow: hidden; color: var(--ink); background: linear-gradient(135deg, #ffffff 0%, #f1f7ff 48%, #e2efff 100%); padding: 88px 0 74px; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -150px; top: -210px; background: radial-gradient(circle, rgba(37,99,235,.17), transparent 64%); }
.hero::after { content: ""; position: absolute; width: 380px; height: 380px; left: -130px; bottom: -230px; background: radial-gradient(circle, rgba(14,165,233,.15), transparent 65%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 54px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 18px; color: var(--lime-2); text-transform: uppercase; letter-spacing: .13em; font-size: .77rem; font-weight: 900; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--lime); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; margin-top: 0; }
h1 { margin-bottom: 22px; max-width: 760px; font-size: clamp(2.55rem, 6.5vw, 5.5rem); }
h1 em { color: var(--lime); font-style: normal; }
.hero-copy { max-width: 650px; color: #566982; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 21px; margin-top: 30px; color: #425775; font-size: .92rem; font-weight: 700; }
.trust-row span::before { content: "✓"; color: var(--lime); margin-right: 7px; }
.server-card { position: relative; padding: 25px; border-radius: 28px; background: rgba(255,255,255,.92); border: 1px solid #cfddf7; box-shadow: 0 30px 90px rgba(37,99,235,.16); }
.server-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.server-lights { display: flex; gap: 7px; }
.server-lights i { width: 9px; height: 9px; border-radius: 50%; display: block; background: #c9d7ed; }
.server-lights i:first-child { background: var(--lime); box-shadow: 0 0 14px rgba(37,99,235,.45); }
.status { font-size: .77rem; text-transform: uppercase; letter-spacing: .12em; color: #6d7f99; font-weight: 900; }
.server-line { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.server-line strong { font-size: 1.12rem; }
.server-line small { display: block; color: #718199; margin-top: 2px; }
.server-value { color: var(--lime); font-weight: 900; }
.mini-chart { height: 58px; margin-top: 18px; display: flex; align-items: end; gap: 7px; }
.mini-chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--blue), rgba(83,199,255,.18)); }

.section { padding: 88px 0; }
.section.dark { background: linear-gradient(135deg, #eef6ff, #dfeeff); color: var(--ink); border-block: 1px solid #d2e3ff; }
.section-head { max-width: 680px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2, .page-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 15px; }
.section-head p, .page-hero p { color: var(--muted); margin: 0; }
.dark .section-head p { color: var(--muted); }
.kicker { color: #1d4ed8; font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 11px; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); background: white; box-shadow: var(--shadow); overflow: hidden; margin-top: -34px; position: relative; z-index: 4; }
.metric { padding: 25px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.03em; }
.metric span { color: var(--muted); font-size: .9rem; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.benefit-grid, .support-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.category-card, .benefit, .support-card { padding: 25px; border: 1px solid var(--line); background: white; border-radius: 19px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.category-card:hover, .support-card:hover { transform: translateY(-5px); border-color: #b7ce77; box-shadow: var(--shadow); }
.card-icon { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 13px; margin-bottom: 22px; color: #1d4ed8; background: #e6efff; border: 1px solid #c7dafd; font-weight: 950; font-size: 1.15rem; }
.category-card h3, .benefit h3, .support-card h3 { margin-bottom: 10px; font-size: 1.22rem; }
.category-card p, .benefit p, .support-card p { margin: 0 0 17px; color: var(--muted); font-size: .94rem; }
.text-link { text-decoration: none; font-weight: 850; }
.text-link::after { content: " →"; color: #2563eb; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 18px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 25px; border-radius: 21px; background: white; border: 1px solid var(--line); }
.plan-card.featured { border: 2px solid var(--lime); box-shadow: 0 22px 60px rgba(37,99,235,.14); }
.plan-label { align-self: flex-start; margin-bottom: 17px; padding: 5px 9px; border-radius: 7px; background: #e8f0ff; color: #1d4ed8; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.plan-card h3 { margin-bottom: 8px; font-size: 1.35rem; }
.plan-copy { min-height: 48px; margin: 0 0 19px; color: var(--muted); font-size: .89rem; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 20px; }
.price strong { font-size: 2.25rem; line-height: 1; letter-spacing: -.05em; }
.price span { color: var(--muted); font-size: .85rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 23px; flex: 1; }
.feature-list li { position: relative; padding: 8px 0 8px 23px; color: #354650; border-bottom: 1px solid #edf1ef; font-size: .9rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: #2563eb; font-weight: 950; }
.billing-options { display: grid; gap: 7px; margin: -4px 0 20px; }
.billing-option { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; background: #f3f7f3; color: #43515a; font-size: .8rem; }
.billing-option strong { color: var(--ink); }
.plan-card .button { width: 100%; }

.hosting-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 30px 0 35px; }
.hosting-nav a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; text-decoration: none; font-weight: 800; font-size: .9rem; }
.hosting-nav a:hover { border-color: var(--lime); background: #eaf2ff; }
.plan-group { padding-top: 105px; margin-top: -75px; }
.plan-group + .plan-group { margin-top: 30px; }
.group-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.group-heading h2 { margin-bottom: 8px; }
.group-heading p { margin: 0; color: var(--muted); }

.domain-box { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px; background: white; border-radius: 15px; box-shadow: var(--shadow); max-width: 740px; }
.domain-box input { min-width: 0; padding: 12px 14px; border: 0; outline: none; color: var(--ink); font-size: 1rem; }
.tld-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 30px; }
.tld { padding: 24px; border-radius: 16px; color: white; background: linear-gradient(145deg, #123d80, #0e70be); border: 1px solid rgba(255,255,255,.16); }
.tld strong { display: block; color: var(--lime); font-size: 1.6rem; }
.tld span { color: #aebcc4; font-size: .9rem; }

.page-hero { padding: 72px 0 58px; color: var(--ink); background: linear-gradient(135deg, #ffffff, #e8f2ff); border-bottom: 1px solid var(--line); }
.page-hero .breadcrumbs { color: #91a3ad; font-size: .85rem; margin-bottom: 22px; }
.page-hero .breadcrumbs a { color: var(--lime); text-decoration: none; }
.page-hero p { color: #5d6f88; max-width: 700px; font-size: 1.05rem; }
.legal-wrap { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 52px; align-items: start; }
.legal-nav { position: sticky; top: 104px; padding: 20px; border-radius: 16px; background: white; border: 1px solid var(--line); }
.legal-nav strong { display: block; margin-bottom: 10px; }
.legal-nav a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; font-size: .9rem; }
.legal-nav a:hover { color: #1d4ed8; }
.legal-content { padding: 34px; background: white; border: 1px solid var(--line); border-radius: 20px; }
.legal-content h2 { margin-top: 34px; margin-bottom: 10px; font-size: 1.42rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #46565f; }
.legal-content a { color: #1d4ed8; font-weight: 750; }
.notice { margin: 22px 0; padding: 16px 18px; border-left: 4px solid var(--lime); background: #edf4ff; color: #183a73; border-radius: 0 12px 12px 0; }

.cta { border-radius: 28px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: linear-gradient(125deg, #123d80, #1688d4); box-shadow: 0 25px 60px rgba(37,99,235,.2); }
.cta h2 { margin-bottom: 9px; font-size: clamp(1.8rem, 4vw, 3rem); }
.cta p { margin: 0; color: #b8c7ce; }
.site-footer { padding: 60px 0 26px; background: #07162f; color: #cfdae0; }
.site-footer .brand { color: white; }
.site-footer .footer-brand { padding: 5px 9px; border-radius: 12px; background: white; }
.site-footer .brand-logo-frame { width: 228px; height: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 38px; }
.footer-grid h3 { color: white; font-size: .96rem; margin-bottom: 14px; letter-spacing: 0; }
.footer-grid p { max-width: 360px; color: #8597a2; }
.footer-grid a { display: block; padding: 4px 0; color: #9fb0ba; text-decoration: none; font-size: .91rem; }
.footer-grid a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #748691; font-size: .82rem; }

@media (max-width: 980px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  .nav-wrap.open { flex-wrap: wrap; padding-bottom: 18px; }
  .nav-wrap.open .nav-links { display: flex; order: 3; width: 100%; flex-direction: column; align-items: flex-start; gap: 7px; }
  .nav-wrap.open .nav-links a { width: 100%; padding: 9px 0; }
  .nav-wrap.open .nav-actions { display: flex; order: 4; width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .server-card { max-width: 620px; }
  .pricing-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid, .support-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1160px); }
  .brand-logo-frame { width: 176px; height: 42px; flex-basis: 176px; }
  .brand-logo { width: 205px !important; height: 68px !important; left: -14px; top: -13px; }
  .hero { padding: 62px 0 54px; }
  .hero-grid { gap: 38px; }
  .section { padding: 64px 0; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pricing-grid, .category-grid, .benefit-grid, .support-grid, .tld-grid { grid-template-columns: 1fr; }
  .domain-box { grid-template-columns: 1fr; }
  .domain-box .button { width: 100%; }
  .group-heading { display: block; }
  .cta { padding: 30px 23px; display: block; }
  .cta .button { margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .legal-content { padding: 24px 19px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* v5: database-aligned INR + USD pricing and stronger mobile layout */
html, body { max-width: 100%; overflow-x: hidden; }
.plan-card { min-width: 0; }
.dual-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dual-price > div { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.usd-price { display: inline-flex; align-items: center; min-height: 31px; padding: 6px 9px; border-radius: 999px; background: #eef5ff; border: 1px solid #d3e3ff; color: #1d4ed8 !important; font-size: .78rem !important; font-weight: 900; white-space: nowrap; }
.currency-note { margin: -10px 0 17px; color: #728198; font-size: .75rem; font-weight: 700; }
.billing-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.billing-price small { margin-top: 2px; color: #6d7f99; font-size: .72rem; font-weight: 750; }
.setup-fee { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -7px 0 18px; padding: 10px 11px; border: 1px dashed #bfd2f5; border-radius: 10px; color: #52667f; font-size: .79rem; }
.setup-fee strong { color: var(--ink); text-align: right; }
.setup-fee small { color: #6d7f99; font-weight: 750; }
.service-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.service-switch .button { min-width: 160px; }
.website-intro { max-width: 780px; }

@media (max-width: 980px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .nav-wrap { min-height: 66px; gap: 12px; }
  .brand-logo-frame { width: 154px; height: 39px; flex-basis: 154px; }
  .brand-logo { width: 184px !important; height: 62px !important; left: -14px; top: -12px; }
  .mobile-toggle { width: 42px; height: 42px; flex: 0 0 42px; }
  .nav-wrap.open .nav-actions { flex-direction: column; }
  .nav-wrap.open .nav-actions .button { width: 100%; min-height: 45px; }
  .hero { padding: 50px 0 46px; }
  h1 { font-size: clamp(2.2rem, 13vw, 3.35rem); }
  .hero-actions .button { width: 100%; }
  .server-card { padding: 20px; border-radius: 22px; }
  .server-line { gap: 10px; }
  .server-value { white-space: nowrap; font-size: .9rem; }
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 28px; }
  .page-hero { padding: 54px 0 44px; }
  .metrics { margin-top: -22px; }
  .metric { padding: 19px 16px; }
  .metric strong { font-size: 1.4rem; }
  .category-grid, .pricing-grid, .benefit-grid, .support-grid, .tld-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 20px; border-radius: 18px; }
  .plan-copy { min-height: 0; }
  .price { margin-bottom: 17px; }
  .price strong { font-size: 2rem; }
  .dual-price { align-items: flex-start; flex-direction: column; gap: 9px; }
  .currency-note { margin-top: -7px; }
  .billing-option { align-items: center; padding: 10px; }
  .plan-card .button { min-height: 49px; }
  .hosting-nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding: 0 12px 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hosting-nav::-webkit-scrollbar { display: none; }
  .hosting-nav a { flex: 0 0 auto; scroll-snap-align: start; }
  .group-heading .text-link { display: inline-block; margin-top: 10px; }
  .service-switch { flex-direction: column; }
  .service-switch .button { width: 100%; }
  .cta .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom span { display: block; margin-top: 6px; }
}

@media (max-width: 390px) {
  .container { width: min(100% - 20px, 1160px); }
  .brand-logo-frame { width: 142px; flex-basis: 142px; }
  .brand-logo { width: 170px !important; }
  .metric { padding-inline: 12px; }
  .metric span { font-size: .8rem; }
  .billing-option { gap: 8px; }
  .billing-option > span:first-child { font-size: .76rem; }
}

/* HostM wordmark */
.brand-logo { width: 228px !important; height: 50px !important; left: 0; top: 0; object-fit: contain; }
@media (max-width: 700px) { .brand-logo { width: 100% !important; height: 100% !important; } }
