/* HostSoch — homepage styles
   Palette taken from the existing hostsoch.in stylesheet:
   teal #50c6db → #12e6ca gradient, navy #213e6e, amber #ffb501, Nunito. */

:root {
  --teal: #50c6db;
  --teal-2: #12e6ca;
  --teal-ink: #1f8fa3;      /* teal dark enough for text/links on white */
  --teal-soft: #e8f8fb;
  --navy: #213e6e;
  --navy-ink: #132a4f;
  --amber: #ffb501;
  --text: #213e6e;
  --muted: #5b6e8c;
  --line: #e2e8f0;
  --tint: #f5f7fb;
  --white: #fff;
  --footer: #1f2126;
  --footer-2: #17181c;
  --grad: linear-gradient(45deg, var(--teal) 0%, var(--teal-2) 100%);
  --radius: 12px;
  --shadow: 0 2px 6px rgba(33, 62, 110, .06), 0 10px 30px rgba(33, 62, 110, .07);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 50px; border: 2px solid transparent;
  font-family: inherit; font-size: 16px; font-weight: 800; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-position .3s, box-shadow .2s, transform .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--grad); background-size: 200% auto; color: var(--navy-ink); box-shadow: 0 3px 8px rgba(80, 198, 219, .35); }
.btn--primary:hover { background-position: right center; color: var(--navy-ink); box-shadow: 0 6px 16px rgba(80, 198, 219, .45); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal-soft); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--navy); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.btn--line { background: transparent; color: var(--navy-ink); border-color: var(--navy-ink); }
.btn--line:hover { background: var(--navy-ink); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* Top bar */
.topbar { background: var(--navy); color: #dfe8f5; font-size: 14px; font-weight: 600; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__links { display: flex; gap: 20px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--teal-2); }
@media (max-width: 640px) { .topbar__in > span { display: none; } .topbar__in { justify-content: center; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a { color: var(--navy); font-weight: 700; padding: 8px 0; position: relative; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .2s; }
.site-nav ul a:hover { text-decoration: none; }
.site-nav ul a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--amber); cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-ink); border-radius: 2px; content: ""; transition: transform .2s, top .2s; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; right: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(33, 62, 110, .1); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(18, 230, 202, .16), transparent 60%), var(--tint); padding: 72px 0 80px; }
.hero__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-ink); background: #fff; border: 1px solid #cdeff5; border-radius: 50px; padding: 6px 14px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 900; letter-spacing: -.01em; }
.hero__lead { font-size: 18px; font-weight: 600; color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__cards { display: grid; gap: 14px; }
.hero__cards a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--navy); transition: transform .2s, border-color .2s; }
.hero__cards a:hover { text-decoration: none; transform: translateX(4px); border-color: var(--teal); }
.hero__card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; }
.hero__card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--navy-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__card-icon circle { fill: var(--navy-ink); stroke: none; }
.hero__card-name { font-size: 18px; font-weight: 800; }
.hero__card-from { font-size: 14px; font-weight: 700; color: var(--muted); text-align: right; }
.hero__card-from .price { display: block; font-size: 22px; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero__in { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 420px) {
  .hero__cards a { grid-template-columns: 44px 1fr; }
  .hero__card-icon { width: 44px; height: 44px; }
  .hero__card-from { grid-column: 2; text-align: left; margin-top: -8px; }
  .hero__card-from .price { display: inline; }
}

/* Price */
.price { font-weight: 900; color: var(--navy); white-space: nowrap; }
.price__cur { font-size: .7em; vertical-align: .35em; margin-right: 1px; }
.price__per { font-size: .55em; font-weight: 700; color: var(--muted); margin-left: 2px; }
.price--quote { font-weight: 800; font-size: 15px; color: var(--muted); }

/* Sections */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section__head h2::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--grad); margin: 14px auto 0; }
.section__head p { color: var(--muted); font-weight: 600; margin: 12px 0 0; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; }
.section__head--row h2::after { margin-left: 0; }
.link-arrow { font-weight: 800; }
.link-arrow::after { content: " →"; }
@media (max-width: 640px) { .section { padding: 56px 0; } }

/* Tabs */
.anchor { position: relative; top: -110px; display: block; height: 0; }
.tabs__list { display: flex; justify-content: center; margin: 0 auto 28px; padding: 6px; max-width: 640px; background: #fff; border: 1px solid var(--teal); border-radius: 50px; }
.tabs__tab { flex: 1; padding: 13px 16px; border: 0; border-radius: 50px; background: transparent; font-family: inherit; font-size: 17px; font-weight: 800; color: var(--navy); cursor: pointer; transition: background .2s, color .2s; }
.tabs__tab:hover { background: var(--teal-soft); }
.tabs__tab.is-active { background: var(--grad); color: var(--navy-ink); box-shadow: 0 3px 8px rgba(80, 198, 219, .35); }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-entering { animation: hs-in .3s ease-out; }
@keyframes hs-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 18px; }
.pills__pill { padding: 9px 18px; border: 1px solid var(--line); border-radius: 50px; background: #fff; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--navy); cursor: pointer; }
.pills__pill:hover { border-color: var(--teal); }
.pills__pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

@media (max-width: 560px) {
  .tabs__list { border-radius: 16px; flex-direction: column; }
  .tabs__tab { border-radius: 12px; }
}

.plans__note { text-align: center; color: var(--muted); font-weight: 600; font-size: 15px; margin-bottom: 26px; }
.plans__note strong { color: var(--navy); }
.plans__foot { text-align: center; font-weight: 600; color: var(--muted); margin: 24px 0 0; }

/* Plan cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(33, 62, 110, .08), 0 16px 40px rgba(33, 62, 110, .1); }
.card--featured { border: 2px solid var(--teal); }
.card__tag { position: absolute; top: -12px; left: 22px; background: var(--amber); color: var(--navy-ink); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; padding: 4px 12px; border-radius: 50px; }
.card__name { font-size: 20px; margin: 0 0 6px; }
.card__price { font-size: 34px; padding-bottom: 16px; border-bottom: 1px dashed #d2d9e4; margin-bottom: 16px; }
.card__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; text-align: center; }
.card__specs div { background: var(--tint); border-radius: 8px; padding: 8px 4px; }
.card__specs dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card__specs dd { margin: 2px 0 0; font-weight: 800; font-size: 14px; color: var(--navy); }
.card__list { margin-bottom: 20px; flex: 1; }
.card__list li { position: relative; padding-left: 24px; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.card__list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--teal-ink); border-bottom: 2.5px solid var(--teal-ink); transform: rotate(-45deg); }

/* Price tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.ptable, .ctable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td, .ctable th, .ctable td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable thead th, .ctable thead th { background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ptable tbody tr:last-child > *, .ctable tbody tr:last-child > * { border-bottom: 0; }
.ptable tbody tr:hover { background: var(--teal-soft); }
.ptable tbody th { font-weight: 800; color: var(--navy); }
.ptable td { font-weight: 600; }
.ptable .price { font-size: 20px; }
.ptable__cta { text-align: right; }
.ptable tr.is-featured { background: #f2fcfd; }
.badge { display: inline-block; margin-left: 6px; background: var(--amber); color: var(--navy-ink); font-size: 11px; font-weight: 900; text-transform: uppercase; padding: 2px 8px; border-radius: 50px; vertical-align: middle; }

.ctable thead th:first-child { background: var(--navy-ink); }
.ctable tbody th { width: 18%; font-weight: 800; color: var(--navy); background: var(--tint); }
.ctable td { font-weight: 600; }
.ctable .price { font-size: 20px; }

@media (max-width: 760px) {
  .table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .ptable thead, .ctable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td,
  .ctable, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; width: 100%; }
  .ptable tr, .ctable tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
  .ptable tbody th, .ctable tbody th { background: var(--navy); color: #fff; padding: 12px 16px; width: 100%; }
  .ptable td, .ctable td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: right; }
  .ptable td::before, .ctable td::before { content: attr(data-label); font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; text-align: left; }
  .ptable td.ptable__cta { display: block; border-bottom: 0; padding: 14px 16px; }
  .ptable td.ptable__cta::before { display: none; }
  .ptable__cta .btn { width: 100%; }
  .ptable tbody tr:last-child > *, .ctable tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .ptable tbody tr > :last-child, .ctable tbody tr > :last-child { border-bottom: 0; }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features li { background: #fff; border-radius: var(--radius); padding: 26px 24px; border-left: 4px solid var(--teal); box-shadow: var(--shadow); }
.features h3 { font-size: 18px; margin-bottom: 6px; }
.features p { margin: 0; color: var(--muted); font-weight: 600; font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.post:hover { transform: translateY(-3px); }
.post__img { display: block; aspect-ratio: 16 / 9; background: var(--grad); }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 20px 22px 24px; }
.post__date { display: block; font-size: 13px; font-weight: 800; color: var(--teal-ink); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.post__title { font-size: 19px; line-height: 1.35; margin-bottom: 8px; }
.post__title a { color: var(--navy); }
.post__title a:hover { color: var(--teal-ink); }
.post__body p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.posts__empty { text-align: center; font-weight: 600; color: var(--muted); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } .section__head--row { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* CTA */
.cta { background: var(--grad); padding: 56px 0; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { color: var(--navy-ink); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 4px; }
.cta p { margin: 0; color: var(--navy-ink); font-weight: 700; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta__in { flex-direction: column; align-items: flex-start; } }

/* Footer */
.site-footer { background: var(--footer); color: #b1b1b1; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.site-footer__brand img { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { font-weight: 600; }
.site-footer__phone { font-size: 22px; font-weight: 900; color: #fff; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #c9cbd0; font-weight: 700; }
.site-footer a:hover { color: var(--teal-2); text-decoration: none; }
.site-footer__base { background: var(--footer-2); border-top: 1px solid #2c2f36; }
.site-footer__base-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; }
.site-footer__base p { margin: 0; }
.site-footer__base ul { display: flex; gap: 20px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } .site-footer__base-in { flex-direction: column; align-items: flex-start; } }
