/* =========================================================
   Corefinity — Theme 2 "Clean Light Enterprise"
   Vanilla CSS. Mobile-first. Apple-easing transitions.
   ========================================================= */

:root {
  /* palette */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f6f9ff;
  --bg-sky-1: #eef4ff;
  --primary: #2563eb;
  --primary-700: #1d4ed8;
  --sky: #38bdf8;
  --ink: #0f172a;
  --slate: #475569;
  --slate-light: #64748b;
  --hairline: #e2e8f0;
  --star: #f59e0b;

  /* effects */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, .07), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 18px 48px rgba(37, 99, 235, .12), 0 6px 18px rgba(15, 23, 42, .06);
  --shadow-primary: 0 10px 24px rgba(37, 99, 235, .28);

  --radius: 14px;
  --radius-2xl: 22px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22, 1, .36, 1); /* Apple-ish ease-out */

  --maxw: 1180px;
  --pad-y: clamp(64px, 9vw, 120px);

  --font-head: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1100;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 3px solid rgba(37, 99, 235, .55); outline-offset: 2px; border-radius: 6px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.container--narrow { max-width: 820px; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.section-sub { margin-top: 14px; font-size: 1.05rem; color: var(--slate); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 11px 20px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.full { width: 100%; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-700); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 99, 235, .34); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--hairline); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #c7d6f5; color: var(--primary-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); border-color: var(--hairline); background: rgba(255, 255, 255, .92); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--slate);
  padding: 8px 12px; border-radius: 10px; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--bg-sky-1); }
.nav-cta { margin-left: 8px; color: #fff !important; }
.nav-cta:hover { color: #fff !important; background: var(--primary-700) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; border-radius: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 78% 8%, rgba(56, 189, 248, .14), transparent 60%),
    linear-gradient(180deg, var(--bg-sky-1) 0%, #ffffff 62%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 56px); align-items: center; }

.hero-copy h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); font-weight: 800; }
.hero-copy .lead { margin-top: 20px; font-size: clamp(1.02rem, 1.8vw, 1.18rem); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px;
  margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--hairline); max-width: 560px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); font-weight: 800; }
.hero-stats span { font-size: .9rem; color: var(--slate-light); }

.cloud-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.cloud-partners__label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-light); }
.partner {
  font-family: var(--font-head); font-weight: 700; color: var(--slate); font-size: .98rem;
  padding: 6px 14px; border: 1px solid var(--hairline); border-radius: var(--radius-pill); background: #fff;
  box-shadow: var(--shadow-sm);
}

.hero-art { display: flex; justify-content: center; align-items: center; }
.iso-svg { width: 100%; max-width: 520px; height: auto; will-change: transform; }

/* =========================================================
   PLATFORMS STRIP
   ========================================================= */
.platforms { padding: clamp(44px, 6vw, 72px) 0; background: var(--bg-soft); border-block: 1px solid var(--hairline); }
.platforms-h { text-align: center; font-size: clamp(1.2rem, 2.4vw, 1.55rem); color: var(--slate); font-weight: 700; }
.platform-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 30px; }
.platform-chips li {
  font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1rem;
  padding: 10px 20px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), color .2s;
}
.platform-chips li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--primary-700); }

/* =========================================================
   DOMAIN SEARCH
   ========================================================= */
.domain { padding: var(--pad-y) 0; }
.domain-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 48px); max-width: 860px; margin-inline: auto; text-align: center;
}
.domain-card h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.domain-form { display: flex; gap: 10px; margin: 26px 0 22px; flex-wrap: wrap; }
.domain-form input {
  flex: 1 1 240px; min-width: 0; padding: 15px 18px; font-size: 1rem; font-family: var(--font-body);
  color: var(--ink); background: var(--bg-soft); border: 1.5px solid var(--hairline); border-radius: var(--radius-pill);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.domain-form input::placeholder { color: var(--slate-light); }
.domain-form input:focus { outline: none; background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.domain-form .btn { flex: 0 0 auto; padding-inline: 26px; }

.tld-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.tld-chips li {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 16px;
  background: var(--bg-sky-1); border: 1px solid #dbe6ff; border-radius: var(--radius-pill); font-size: .92rem;
}
.tld-chips .tld { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.tld-chips .tld-price { font-weight: 700; color: var(--primary-700); }

.domain-promo {
  background: linear-gradient(120deg, var(--bg-sky-1), #ffffff);
  border: 1px solid #dbe6ff; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px;
}
.domain-promo__main { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.domain-promo__main strong { color: var(--primary-700); }
.domain-promo__sub { font-size: .88rem; color: var(--slate-light); margin-top: 6px; }

.domain-trust { font-size: .95rem; color: var(--slate); }
.domain-trust strong { color: var(--ink); }
.stars { color: var(--star); letter-spacing: 1px; }

/* =========================================================
   FEATURES
   ========================================================= */
.features { padding: var(--pad-y) 0; background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card { padding: 30px; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #dbe6ff; }
.feature-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-sky-1), #fff); border: 1px solid #dbe6ff; color: var(--primary); margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature-card p { font-size: .98rem; }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { padding: var(--pad-y) 0; }
.billing-toggle {
  display: inline-flex; gap: 4px; margin-top: 22px; padding: 5px;
  background: var(--bg-soft); border: 1px solid var(--hairline); border-radius: var(--radius-pill);
}
.billing-opt {
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--slate);
  padding: 9px 20px; border: 0; background: transparent; border-radius: var(--radius-pill);
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.billing-opt.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.save-badge { font-size: .72rem; color: var(--primary-700); margin-left: 4px; }

.price-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.price-card { padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--popular {
  border: 2px solid var(--primary); box-shadow: var(--shadow-lg);
}
.popular-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-primary);
}
.plan-name { font-size: 1.25rem; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin: 12px 0 20px; }
.plan-price .cur { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); align-self: flex-start; margin-top: 6px; }
.plan-price .amt { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--ink); transition: opacity .2s var(--ease); }
.plan-price .amt--custom { font-size: 1.9rem; }
.plan-price .per { font-size: .95rem; color: var(--slate-light); }
.plan-feats { margin-top: 22px; display: grid; gap: 12px; }
.plan-feats li { position: relative; padding-left: 28px; font-size: .96rem; color: var(--slate); }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-sky-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* =========================================================
   GLOBAL INFRASTRUCTURE
   ========================================================= */
.infra { padding: var(--pad-y) 0; background: var(--bg-soft); }
.infra-map {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md); padding: clamp(16px, 3vw, 32px); max-width: 980px; margin: 0 auto;
}
.map-svg { width: 100%; height: auto; }
.map-pins circle { fill: var(--primary); }
.map-pins circle { animation: pin-pulse 3.4s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
.map-pins circle:nth-child(2n) { animation-delay: .6s; }
.map-pins circle:nth-child(3n) { animation-delay: 1.2s; }
@keyframes pin-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.infra-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 40px auto 0; max-width: 760px;
}
.infra-stats li {
  text-align: center; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 20px 14px; box-shadow: var(--shadow-sm);
}
.infra-stats strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--primary-700); }
.infra-stats span { font-size: .88rem; color: var(--slate-light); }

.region-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.region-list li {
  font-size: .9rem; color: var(--slate); padding: 7px 15px; background: #fff;
  border: 1px solid var(--hairline); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}

/* =========================================================
   SECURITY
   ========================================================= */
.security { padding: var(--pad-y) 0; }
.security-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.sec-item {
  padding: 22px 24px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.02rem;
  display: flex; align-items: center; gap: 14px;
}
.sec-item::before {
  content: ""; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--bg-sky-1), #fff); border: 1px solid #dbe6ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 8.5 8 11 4.6-2.5 8-6 8-11V5l-8-3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.sec-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { padding: var(--pad-y) 0; background: var(--bg-soft); }
.tst-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.tst-card { padding: 30px; margin: 0; }
.tst-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tst-card .stars { font-size: 1rem; margin-bottom: 14px; }
.tst-card blockquote { margin: 0; font-size: 1.06rem; color: var(--ink); line-height: 1.55; font-family: var(--font-head); font-weight: 500; }
.tst-card figcaption { margin-top: 20px; display: flex; flex-direction: column; }
.tst-card figcaption strong { color: var(--ink); font-family: var(--font-head); }
.tst-card figcaption span { font-size: .88rem; color: var(--slate-light); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: var(--pad-y) 0; }
.accordion { display: grid; gap: 12px; }
.acc-item { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.acc-item:has(.acc-trigger[aria-expanded="true"]) { border-color: #dbe6ff; box-shadow: var(--shadow-md); }
.acc-trigger {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: none; border: 0; font-family: var(--font-head); font-weight: 700;
  font-size: 1.05rem; color: var(--ink);
}
.acc-icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.acc-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); opacity: 0; }
.acc-panel {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease);
}
.acc-panel.open { grid-template-rows: 1fr; }
.acc-panel > p { overflow: hidden; padding: 0 22px; color: var(--slate); transition: padding .35s var(--ease); }
.acc-panel.open > p { padding: 0 22px 22px; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { padding: var(--pad-y) 0; }
.cta-card {
  text-align: center; border-radius: var(--radius-2xl); padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(56, 189, 248, .18), transparent 60%),
    linear-gradient(180deg, var(--bg-sky-1), #ffffff);
  border: 1px solid #dbe6ff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-card h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.cta-card p { margin-top: 14px; font-size: 1.08rem; max-width: 540px; margin-inline: auto; }
.cta-buttons { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #fff; border-top: 1px solid var(--hairline); padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 38px; padding-bottom: 40px; }
.footer-brand p { margin-top: 14px; font-size: .95rem; max-width: 320px; }
.newsletter { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; max-width: 360px; }
.newsletter input {
  flex: 1 1 180px; min-width: 0; padding: 12px 16px; font-size: .95rem; font-family: var(--font-body); color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid var(--hairline); border-radius: var(--radius-pill);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.newsletter input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); background: #fff; }

.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-light); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .96rem; color: var(--slate); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--primary-700); }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 22px; border-top: 1px solid var(--hairline);
}
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-badges li {
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .04em; color: var(--slate);
  padding: 6px 13px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--bg-soft);
}
.copyright { font-size: .9rem; color: var(--slate-light); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .map-pins circle { animation: none !important; }
  .btn, .card, .platform-chips li, .price-card { transition: none !important; }
  .iso-svg { transform: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 640px) {
  .feature-grid, .security-grid, .tst-grid { grid-template-columns: repeat(2, 1fr); }
  .infra-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 30px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .tst-grid { grid-template-columns: repeat(3, 1fr); }
  .security-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(4, 1fr); }
  .price-card--popular { transform: scale(1.04); }
  .price-card--popular:hover { transform: scale(1.04) translateY(-4px); }
}

/* ---------- mobile nav ---------- */
@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(12px);
    padding: 18px 22px 26px; border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease); max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1.02rem; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}
