/* =========================================================
   InstanHosting — hosting.css
   Halaman Web Hosting
   ========================================================= */

/* ---------- Hero ---------- */
.host-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(28px, 4vw, 48px)) 0 clamp(38px, 5vw, 60px);
  background:
    radial-gradient(780px 480px at 90% -10%, rgba(42, 91, 255, 0.17), transparent 64%),
    radial-gradient(540px 400px at 0% 34%, rgba(18, 194, 233, 0.13), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 58%, #f2f7fe 100%);
  border-bottom: 1px solid var(--line);
}
.host-hero .hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(10, 27, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 27, 51, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 76% at 50% 14%, #000 0%, rgba(0, 0, 0, 0.4) 58%, transparent 84%);
}
.host-hero .orb--a {
  position: absolute;
  z-index: -1;
  top: 20px;
  right: -110px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(42, 91, 255, 0.16);
  filter: blur(70px);
}
.host-hero .orb--b {
  position: absolute;
  z-index: -1;
  bottom: -140px;
  left: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(18, 194, 233, 0.14);
  filter: blur(70px);
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  color: var(--muted);
}
.crumb a { font-weight: 600; color: var(--brand-700); }
.crumb a:hover { text-decoration: underline; }
.crumb i { font-size: 0.65rem; opacity: 0.6; }

.host-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 58px);
}
.host-copy h1 { max-width: 18ch; margin-top: 4px; font-size: clamp(2rem, 3.9vw, 3.1rem); }
.host-copy .lede { margin-top: 16px; max-width: 50ch; }
.host-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.host-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.host-chips .highlight-chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.79rem;
}
.host-chips .highlight-chip i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: transparent;
  color: var(--brand);
  font-size: 0.82rem;
}

/* Panel visual */
.host-visual { position: relative; padding: 8px 0; isolation: isolate; }
.host-glow {
  position: absolute;
  z-index: -1;
  inset: 0 -6%;
  background: radial-gradient(closest-side, rgba(42, 91, 255, 0.28), rgba(18, 194, 233, 0.1) 58%, transparent 76%);
  filter: blur(26px);
}
.host-panel {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(140, 175, 255, 0.2);
  border-radius: var(--r-xl);
  background:
    radial-gradient(420px 240px at 92% 0%, rgba(18, 194, 233, 0.22), transparent 66%),
    linear-gradient(160deg, #0e1e38 0%, #071120 62%, #050e1b 100%);
  box-shadow: 0 44px 80px -52px rgba(5, 14, 27, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.hp-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 4px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.67rem;
  color: #8ea6c4;
}
.hp-head strong { color: #dce9ff; font-weight: 600; }
.hp-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7ff0b4;
}

.hp-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
.hp-metric {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
}
.hp-metric span { display: block; font-size: 0.6rem; color: #93aac6; }
.hp-metric b {
  display: block;
  margin-top: 2px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.hp-metric em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  font-style: normal;
  font-size: 0.56rem;
  font-weight: 600;
  color: #6ee7d0;
}

.hp-chart {
  margin-top: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
}
.hp-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.58rem;
  color: #93aac6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hp-bars { display: flex; align-items: flex-end; gap: 4px; height: 62px; margin-top: 10px; }
.hp-bars i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.95), rgba(42, 91, 255, 0.35));
}
.hp-bars i:nth-child(10) { background: linear-gradient(180deg, #7dd3fc, #38bdf8); }

.hp-status { display: grid; gap: 6px; margin-top: 9px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 11px; background: rgba(255, 255, 255, 0.03); }
.hp-status-row { display: flex; align-items: center; gap: 7px; font-size: 0.65rem; color: #b9cbe4; }
.hp-status-row .dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14);
}
.hp-status-row em { margin-left: auto; font-style: normal; font-size: 0.6rem; font-weight: 700; color: #6ee7d0; }

.hp-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.6rem;
  color: #9cbbd8;
}
.hp-foot span {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Perf strip ---------- */
.perf-strip {
  padding-block: clamp(26px, 3.2vw, 40px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.perf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.perf-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #fff, #fbfdff);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.perf-card:hover {
  transform: translateY(-3px);
  border-color: rgba(42, 91, 255, 0.26);
  box-shadow: var(--sh-sm);
}
.perf-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;
}
.perf-card b { display: block; font-size: 0.85rem; color: var(--ink); line-height: 1.4; }
.perf-card p { margin-top: 2px; font-size: 0.76rem; line-height: 1.55; color: var(--muted); }

/* ---------- Pricing extras ---------- */
.price-includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
}
.price-includes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
}
.price-includes i { color: #0e9f6e; font-size: 0.85rem; }

/* ---------- Use cases ---------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.usecase-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.usecase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 91, 255, 0.26);
  box-shadow: var(--sh-md);
}
.usecase-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 1px solid rgba(42, 91, 255, 0.16);
  border-radius: 12px;
  background: var(--grad-brand-soft);
  color: var(--brand-700);
  font-size: 1.15rem;
}
.usecase-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.usecase-card p { font-size: 0.86rem; line-height: 1.68; color: var(--muted); }
.usecase-list { display: grid; gap: 6px; margin-top: 14px; }
.usecase-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--ink-2);
}
.usecase-list i { color: #0e9f6e; font-size: 0.85rem; }

/* ---------- Feature grid ---------- */
.host-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: hostFeature;
}
.host-feature-grid .feature {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  counter-increment: hostFeature;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.host-feature-grid .feature::before {
  content: "0" counter(hostFeature);
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(10, 27, 51, 0.18);
}
.host-feature-grid .feature::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.host-feature-grid .feature:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 91, 255, 0.26);
  box-shadow: var(--sh-md);
}
.host-feature-grid .feature:hover::after { transform: scaleX(1); }
.host-feature-grid .feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 1px solid rgba(42, 91, 255, 0.16);
  border-radius: 12px;
  background: var(--grad-brand-soft);
  color: var(--brand-700);
  font-size: 1.15rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}
.host-feature-grid .feature:hover .feature-icon {
  background: var(--grad-brand);
  color: #fff;
  transform: translateY(-2px) rotate(-4deg);
}
.host-feature-grid .feature h3 { margin-bottom: 6px; font-size: 1rem; }
.host-feature-grid .feature p { font-size: 0.86rem; line-height: 1.7; color: var(--muted); }

/* ---------- Migration ---------- */
.mig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mig-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 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 ease, border-color 0.3s ease;
}
.mig-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 91, 255, 0.26);
  box-shadow: var(--sh-md);
}
.mig-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.mig-card:hover::after { transform: scaleX(1); }
.mig-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 10px 20px -14px rgba(42, 91, 255, 0.8);
}
.mig-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.mig-card p { font-size: 0.86rem; line-height: 1.7; color: var(--muted); }

/* Banner migrasi gratis */
.solution-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 32px);
  padding: 22px 24px;
  border: 1px solid rgba(42, 91, 255, 0.22);
  border-radius: var(--r-lg);
  background:
    radial-gradient(420px 200px at 92% 0%, rgba(18, 194, 233, 0.14), transparent 68%),
    linear-gradient(120deg, rgba(42, 91, 255, 0.07), rgba(255, 255, 255, 0.6));
}
.solution-note .sico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 14px 26px -16px rgba(42, 91, 255, 0.8);
}
.solution-note h3 { font-size: 1.02rem; }
.solution-note p { margin-top: 3px; font-size: 0.85rem; line-height: 1.65; color: var(--muted); }
.solution-note .btn-ih { margin-left: auto; flex: none; }

/* ---------- Add-ons ---------- */
.addon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.addon-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.addon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 91, 255, 0.28);
  box-shadow: var(--sh-md);
  color: inherit;
}
.addon-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--grad-brand-soft);
  color: var(--brand-700);
  font-size: 1rem;
}
.addon-card b { font-size: 0.95rem; color: var(--ink); }
.addon-card p { margin-top: 4px; font-size: 0.82rem; line-height: 1.62; color: var(--muted); }
.addon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--brand-700);
}
.addon-link i { transition: transform 0.25s var(--ease); }
.addon-card:hover .addon-link i { transform: translateX(3px); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .host-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .host-visual { max-width: 560px; width: 100%; }
  .perf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .host-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mig-grid { grid-template-columns: minmax(0, 1fr); }
  .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .solution-note { flex-direction: column; align-items: flex-start; }
  .solution-note .btn-ih { width: 100%; }
  .host-actions .btn-ih { flex: 1 1 auto; }
  .host-panel { padding: 14px; }
  .hp-metrics { grid-template-columns: minmax(0, 1fr); }
  .usecase-grid { grid-template-columns: minmax(0, 1fr); }
  .host-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .perf-grid { grid-template-columns: minmax(0, 1fr); }
  .addon-grid { grid-template-columns: minmax(0, 1fr); }
  .price-includes { justify-content: flex-start; }
}

@media (max-width: 479px) {
  .hp-bars { height: 48px; }
  .host-chips .highlight-chip { font-size: 0.75rem; }
}
