/* =========================================================
   InstanHosting — sections.css
   Services, pricing, advantages, infrastructure, panel,
   testimonials, FAQ, CTA, footer, responsive
   ========================================================= */

/* ---------- 1. Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(42, 91, 255, 0.26);
  box-shadow: var(--sh-md);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid rgba(42, 91, 255, 0.16);
  border-radius: 13px;
  background: var(--grad-brand-soft);
  color: var(--brand-700);
  font-size: 1.3rem;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease;
}
.service-card:hover .service-icon {
  transform: translateY(-2px) rotate(-4deg);
  background: var(--grad-brand);
  color: #fff;
}
.service-card h3 { margin-bottom: 7px; }
.service-card p {
  font-size: 0.885rem;
  line-height: 1.68;
  color: var(--body);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-700);
}
.service-link i { transition: transform 0.25s var(--ease); }
.service-link:hover { color: var(--brand); }
.service-link:hover i { transform: translateX(4px); }

/* ---------- 2. Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--sh-xs);
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--body);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.billing-toggle button.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px -12px rgba(10, 27, 51, 0.8);
}
.billing-toggle button .save {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(18, 194, 233, 0.18);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0b7f97;
}
.billing-toggle button.is-active .save { background: rgba(255, 255, 255, 0.18); color: #cfeeff; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 91, 255, 0.28);
  box-shadow: var(--sh-md);
}
.price-card.is-popular {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, rgba(42, 91, 255, 0.85), rgba(18, 194, 233, 0.85)) border-box;
  box-shadow: 0 34px 60px -40px rgba(28, 70, 224, 0.55);
}
.price-card.is-popular::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px 180px at 88% 0%, rgba(42, 91, 255, 0.08), transparent 68%);
  pointer-events: none;
}
.price-card > * { position: relative; z-index: 1; }

.price-tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--grad-brand);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.price-name { font-size: 1.18rem; margin-bottom: 4px; }
.price-desc {
  min-height: 42px;
  font-size: 0.855rem;
  line-height: 1.6;
  color: var(--muted);
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 20px 0 2px;
}
.price-value {
  font-size: clamp(1.9rem, 2.7vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1;
}
.price-period { font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.price-equiv {
  min-height: 20px;
  margin-bottom: 18px;
  font-size: 0.74rem;
  color: var(--muted);
}
.price-equiv strong { color: var(--brand-700); font-weight: 700; }

.price-specs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price-specs li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 0.835rem;
  color: var(--body);
}
.price-specs i {
  width: 18px;
  flex: none;
  text-align: center;
  font-size: 0.88rem;
  color: var(--brand-700);
}
.price-specs span { flex: 1; }
.price-specs b {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.price-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 760px;
  margin: 26px auto 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: left;
}
.price-note i { color: var(--brand); margin-top: 2px; }

.pricing-loading {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.skeleton {
  height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(100deg, #f4f7fc 30%, #eaf0fa 50%, #f4f7fc 70%);
  background-size: 220% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -120% 0; } }

.pricing-error {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: var(--r-lg);
  background: #fff6f6;
  font-size: 0.9rem;
  color: #8a2b2b;
}
.pricing-error i { font-size: 1.3rem; color: #dc2626; }
.pricing-error button {
  margin-left: auto;
  padding: 9px 16px;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 9px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  color: #a72d2d;
}
.pricing-error button:hover { background: #fff0f0; }

/* ---------- 3. Why choose ---------- */
.why-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.why-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.why-aside .lede { margin-top: 16px; }
.why-aside .btn-ih { margin-top: 26px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.why-item {
  display: flex;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.why-item:hover {
  transform: translateY(-3px);
  border-color: rgba(42, 91, 255, 0.26);
  box-shadow: var(--sh-sm);
}
.why-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--grad-brand-soft);
  color: var(--brand-700);
  font-size: 1rem;
}
.why-item b {
  display: block;
  margin-bottom: 3px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.why-item p { font-size: 0.82rem; line-height: 1.62; color: var(--muted); }

/* ---------- 4. Infrastructure ---------- */
.infra {
  position: relative;
  padding-block: clamp(66px, 7.5vw, 110px);
}
.infra::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(80% 70% at 60% 20%, #000, transparent 82%);
  pointer-events: none;
}
.infra > .shell { position: relative; z-index: 1; }

.infra-top {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 60px);
}
.infra-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.infra-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--on-dark);
}
.infra-points i {
  margin-top: 2px;
  font-size: 0.98rem;
  color: #6ee7d0;
}
.infra-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Topology visual */
.topo {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(140, 175, 255, 0.18);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(14, 30, 52, 0.9), rgba(6, 15, 27, 0.92));
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.topo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 0 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
  color: #93aac6;
}
.topo-head strong { color: #dce9ff; font-size: 0.72rem; font-weight: 600; }
.topo svg { width: 100%; height: auto; }
.topo-link {
  stroke: rgba(96, 165, 250, 0.5);
  stroke-width: 1.4;
  stroke-dasharray: 5 5;
  animation: dash 12s linear infinite;
}
.topo-link--fast { stroke: rgba(45, 212, 191, 0.65); animation-duration: 7s; }
@keyframes dash { to { stroke-dashoffset: -200; } }
.topo-node-box { fill: rgba(18, 38, 64, 0.9); stroke: rgba(140, 175, 255, 0.28); }
.topo-node--core .topo-node-box { fill: rgba(30, 58, 122, 0.85); stroke: rgba(96, 165, 250, 0.65); }
.topo-label { fill: #dbe9ff; font-size: 8px; font-weight: 600; font-family: var(--font); }
.topo-sub { fill: #8ea6c4; font-size: 6.4px; font-family: var(--font); }
.topo-pulse {
  fill: #67e8f9;
  filter: drop-shadow(0 0 6px rgba(103, 232, 249, 0.9));
  animation: blink 2.2s ease-in-out infinite;
}
.topo-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.topo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.64rem;
  color: #b9cbe4;
}
.topo-chip i { color: #6ee7d0; font-size: 0.7rem; }

.infra-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(34px, 4vw, 54px);
}
.infra-card {
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
}
.infra-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(255, 255, 255, 0.075);
}
.infra-card i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
  font-size: 0.98rem;
}
.infra-card b {
  display: block;
  margin-bottom: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}
.infra-card p { font-size: 0.74rem; line-height: 1.55; color: var(--on-dark-dim); }

/* ---------- 5. Control panel ---------- */
.panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(34px, 5vw, 66px);
}
.panel-copy .lede { margin-top: 14px; }
.panel-list { display: grid; gap: 14px; margin-top: 26px; }
.panel-list li { display: flex; gap: 11px; }
.panel-list i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  margin-top: 1px;
  border-radius: 8px;
  background: rgba(14, 159, 110, 0.12);
  color: #0e9f6e;
  font-size: 0.85rem;
}
.panel-list b { display: block; font-size: 0.9rem; color: var(--ink); }
.panel-list span { display: block; font-size: 0.82rem; line-height: 1.6; color: var(--muted); }
.panel-copy .btn-ih { margin-top: 28px; }

/* Dashboard mockup */
.dash {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-lg), 0 0 0 8px rgba(255, 255, 255, 0.6);
}
.dash-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: #f7faff;
}
.dash-url {
  flex: 1;
  max-width: 320px;
  margin-inline: auto;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.66rem;
  color: var(--muted);
  text-align: center;
}
.dash-lock { color: #0e9f6e; font-size: 0.68rem; }

.dash-body { display: grid; grid-template-columns: 168px 1fr; min-height: 380px; }
.dash-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px 10px;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
}
.dash-brand { padding: 2px 6px 8px; }
.dash-brand img.brand-mark,
.dash-brand svg.brand-mark { display: block; width: auto; height: 22px; max-width: 132px; }
.dash-label {
  margin: 8px 0 2px;
  padding-left: 8px;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-menu { display: grid; gap: 2px; }
.dash-menu span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
}
.dash-menu i { width: 14px; flex: none; font-size: 0.72rem; color: var(--muted); text-align: center; }
.dash-menu span.on {
  background: var(--grad-brand-soft);
  color: var(--brand-700);
  font-weight: 700;
}
.dash-menu span.on i { color: var(--brand); }
.dash-menu span.on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 12px;
  border-radius: 0 2px 2px 0;
  background: var(--brand);
  transform: translateY(-50%);
}
.dash-user {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 7px 8px;
  border-radius: 8px;
  background: #f4f7fb;
  font-size: 0.58rem;
  color: var(--ink-2);
}
.dash-user b { display: block; font-size: 0.62rem; line-height: 1.2; }
.dash-user small { display: block; color: var(--muted); font-size: 0.5rem; }
.dash-avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: #eef2f7;
  font-size: 0.7rem;
  color: var(--muted);
}

.dash-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: linear-gradient(180deg, #fbfdff, #fff);
}
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dash-head strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.dash-head span { display: block; font-size: 0.58rem; color: var(--muted); }
.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(14, 159, 110, 0.12);
  font-size: 0.55rem;
  font-weight: 700;
  color: #0b7a55;
  white-space: nowrap;
}

.dash-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dash-tile {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--sh-xs);
}
.dash-tile span { display: block; font-size: 0.54rem; color: var(--muted); }
.dash-tile b {
  display: block;
  margin-top: 1px;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.dash-tile em {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-style: normal;
  font-size: 0.52rem;
  font-weight: 600;
  color: #0e9f6e;
}

.dash-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 8px; }
.dash-panel {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}
.dash-panel-head strong { font-size: 0.6rem; font-weight: 700; color: var(--ink-2); }
.dash-panel-head span { font-size: 0.5rem; color: var(--muted); }
.usage-row { display: grid; gap: 7px; }
.usage-item span {
  display: flex;
  justify-content: space-between;
  font-size: 0.52rem;
  color: var(--muted);
  margin-bottom: 3px;
}
.usage-item span b { color: var(--ink); font-weight: 700; }
.usage-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(10, 27, 51, 0.07);
  overflow: hidden;
}
.usage-track i {
  display: block;
  height: 100%;
  width: var(--w, 40%);
  border-radius: 4px;
  background: var(--grad-brand);
}
.status-list { display: grid; gap: 6px; }
.status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.54rem;
  color: var(--body);
}
.status-row i.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0e9f6e;
  box-shadow: 0 0 0 2px rgba(14, 159, 110, 0.14);
}
.status-row em { margin-left: auto; font-style: normal; font-size: 0.5rem; font-weight: 700; color: #0b7a55; }
.billing-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px dashed var(--line-2);
  border-radius: 9px;
  background: #f9fbff;
  font-size: 0.55rem;
  color: var(--muted);
}
.billing-box strong { display: block; font-size: 0.58rem; color: var(--ink); }
.billing-box .amount {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--brand-700);
}
.billing-box i { font-size: 0.8rem; color: var(--brand); }

/* ---------- 6. Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.testi-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; color: #f59e0b; font-size: 0.84rem; }
.testi-quote {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.testi-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testi-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-brand-soft);
  color: var(--brand-700);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.testi-meta b { display: block; font-size: 0.86rem; color: var(--ink); }
.testi-meta small { display: block; font-size: 0.76rem; color: var(--muted); }

/* ---------- 7. FAQ ---------- */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.faq-help {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(42, 91, 255, 0.2);
  border-radius: var(--r-lg);
  background:
    radial-gradient(320px 160px at 90% 0%, rgba(18, 194, 233, 0.12), transparent 70%),
    linear-gradient(140deg, #f5f8ff, #eef7ff);
}
.faq-help b { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--ink); }
.faq-help b i { color: var(--brand); }
.faq-help p { margin-top: 6px; font-size: 0.82rem; line-height: 1.6; color: var(--muted); }
.faq-help a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-700);
}
.faq-help a:hover i { transform: translateX(3px); }
.faq-help a i { transition: transform 0.25s var(--ease); }

.faq .accordion { display: grid; gap: 10px; }
.faq .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(42, 91, 255, 0.32);
  box-shadow: var(--sh-sm);
}
.faq .accordion-button {
  padding: 17px 20px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { color: var(--brand-700); background: #fff; }
.faq .accordion-button::after {
  width: 14px;
  height: 14px;
  background-size: 14px;
  opacity: 0.55;
}
.faq .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq .accordion-body {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--body);
}

/* ---------- 8. Final CTA ---------- */
.cta-section { padding-block: clamp(56px, 6vw, 88px); background: #fff; }
.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 62px) clamp(24px, 5vw, 66px);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(620px 320px at 85% 0%, rgba(18, 194, 233, 0.34), transparent 65%),
    radial-gradient(520px 320px at 6% 100%, rgba(42, 91, 255, 0.4), transparent 66%),
    linear-gradient(150deg, #0d1e3a 0%, #071120 60%, #040c18 100%);
  box-shadow: 0 50px 90px -55px rgba(7, 17, 32, 0.9);
  text-align: center;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; max-width: 20ch; margin-inline: auto; text-wrap: balance; }
.cta-card p {
  margin: 16px auto 0;
  max-width: 55ch;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: #b9cbe4;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d7e4f6;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.contact-item i { color: #7dd3fc; font-size: 0.92rem; }
.contact-item:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(125, 211, 252, 0.5); color: #fff; }

/* ---------- 9. Footer ---------- */
.site-footer {
  padding-top: clamp(48px, 5vw, 68px);
  background: linear-gradient(180deg, #071120 0%, #050d18 100%);
  color: var(--on-dark-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 44px;
}
.foot-brand .brand-text { color: #fff; }
.foot-brand .brand-text span { color: #7dd3fc; }
.foot-brand p {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 0.855rem;
  line-height: 1.72;
  color: var(--on-dark-dim);
}
.foot-social { display: flex; gap: 8px; margin-top: 20px; }
.foot-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  font-size: 0.9rem;
  color: #b9cbe4;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}
.foot-social a:hover {
  transform: translateY(-2px);
  background: rgba(42, 91, 255, 0.22);
  border-color: rgba(125, 211, 252, 0.5);
  color: #fff;
}
.foot-title {
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.foot-links { display: grid; gap: 9px; }
.foot-links a {
  font-size: 0.855rem;
  color: var(--on-dark-dim);
  transition: color 0.2s ease, padding-left 0.25s var(--ease);
}
.foot-links a:hover { color: #fff; padding-left: 4px; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #7d94b2;
}
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-bottom a:hover { color: #fff; }

/* ---------- 10. Responsive ---------- */
@media (max-width: 1099px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-height: calc(100dvh - 68px);
    padding: 14px clamp(20px, 4vw, 32px) 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 30px 50px -30px rgba(10, 27, 51, 0.45);
    overflow-y: auto;
  }
  .nav-menu.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; margin-right: 0; }
  .nav-link { padding: 12px 12px; font-size: 0.94rem; }
  .nav-cta {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .nav-cta .btn-ih { width: 100%; }
  .nav-login { justify-content: center; }

  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .infra-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .infra-card:last-child { grid-column: span 1; }
}

@media (max-width: 991px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-title { max-width: 20ch; }
  .hero-stage { max-width: 560px; margin-inline: auto; width: 100%; }
  .float--uptime { left: 0; }
  .float--secure { right: 0; }

  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .pricing-loading { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .skeleton { height: 420px; }
  .price-card.is-popular { order: -1; }

  .why-inner { grid-template-columns: minmax(0, 1fr); }
  .why-aside { position: static; }

  .infra-top { grid-template-columns: minmax(0, 1fr); }
  .topo { max-width: 620px; margin-inline: auto; width: 100%; }

  .panel-inner { grid-template-columns: minmax(0, 1fr); }
  .dash { order: -1; max-width: 600px; }

  .testi-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }

  .faq-inner { grid-template-columns: minmax(0, 1fr); }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --nav-h: 70px; }
  .hero { padding-top: calc(var(--nav-h) + 30px); }
  .hero-highlights { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-actions .btn-ih { flex: 1 1 auto; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .infra-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-body { grid-template-columns: 132px 1fr; min-height: 340px; }
  .dash-row { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { gap: 28px; }
  .cta-actions .btn-ih { width: 100%; }
  .price-card { padding: 26px 22px; }
}

@media (max-width: 559px) {
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .infra-cards { grid-template-columns: minmax(0, 1fr); }
  .float--latency { display: none; }
  .float--secure { top: 40%; right: -6px; padding: 7px 10px; }
  .float--uptime { top: 0; left: -6px; padding: 7px 10px; }
  .hero-stage { padding-bottom: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .dash-tiles { grid-template-columns: 1fr 1fr; }
  .dash-tile:last-child { display: none; }
  .billing-toggle { width: 100%; justify-content: center; }
  .billing-toggle button { flex: 1 1 auto; justify-content: center; padding: 9px 10px; font-size: 0.78rem; }
  .price-card a.is-disabled { pointer-events: none; opacity: 0.45; }
  .billing-toggle button .save { display: none; }
  .price-note { margin-top: 20px; }
  .pricing-error { flex-wrap: wrap; }
  .pricing-error button { margin-left: 0; width: 100%; }
}

.proof {
  position: fixed;
  z-index: 40;
  left: 22px;
  bottom: 22px;
  width: min(320px, calc(100vw - 28px));
}
.proof-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 8px;
  align-items: center;
  padding: 12px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
}
.proof-card.is-in { animation: proofIn 0.45s cubic-bezier(.22, .8, .28, 1) forwards; }
.proof-card.is-out { animation: proofOut 0.34s ease forwards; }
.proof-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-brand-soft);
  color: var(--brand);
  font-size: 1.05rem;
}
.proof-copy { min-width: 0; }
.proof-kicker {
  display: block;
  margin-bottom: 2px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.proof-copy b {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.proof-copy small {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
}
.proof-meter {
  grid-column: 1 / -1;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(42, 91, 255, 0.12);
}
.proof-meter i {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #2a5bff, #12c2e9);
  animation: proofMeter 4.2s linear forwards;
}
@keyframes proofIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes proofOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(8px); }
}
@keyframes proofMeter {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .proof-card.is-in,
  .proof-card.is-out,
  .proof-meter i { animation: none; }
  .proof-card.is-in { opacity: 1; transform: none; }
}
@media (max-width: 767px) {
  .proof { left: 14px; right: 14px; bottom: 14px; width: auto; }
}
