/* inner product pages on the home-v2 system; loads after home-v2.css */

.iv-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 110px); }
.iv-hero .hv-orb { background: radial-gradient(820px 460px at 20% 90%, rgba(159, 227, 58, .2), transparent 65%), radial-gradient(600px 360px at 85% 10%, rgba(159, 227, 58, .08), transparent 70%); }
.iv-hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.iv-hero-copy { display: grid; gap: 22px; justify-items: start; }
.iv-crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.iv-crumbs a:hover { color: var(--lime); }
.iv-crumbs [aria-current] { color: var(--text); }
.iv-crumbs span[aria-hidden] { opacity: .4; }
.iv-title { font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.iv-title em { display: inline-block; }
.iv-hero .hv-lead { max-width: 54ch; }

/* hero visual: the site, already running */
.iv-stage { position: relative; padding: 18px 0 30px; }
.iv-site {
  position: relative; border-radius: 24px; overflow: hidden; background: #111118; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 100px -50px rgba(193, 246, 58, .45), 0 30px 70px -40px rgba(0, 0, 0, .9);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease);
}
.iv-stage:hover .iv-site { transform: none; }
.iv-site-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.iv-site-url {
  flex: 1; display: flex; align-items: center; gap: 8px; direction: ltr; justify-content: flex-start;
  padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: #dcdce2; font-size: 13.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.iv-lock { width: 10px; height: 12px; border-radius: 2px; background: var(--lime); position: relative; margin-top: 3px; }
.iv-lock::before { content: ''; position: absolute; inset: -6px 2px auto; height: 7px; border: 2px solid var(--lime); border-bottom: 0; border-radius: 6px 6px 0 0; }
.iv-site-body { display: grid; gap: 20px; padding: 26px; }
.iv-site-code { display: flex; align-items: end; gap: 12px; color: var(--lime); }
.iv-site-code .hv-barcode { width: 62%; height: 22px; }
.iv-site-code small { font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--lime); display: inline-flex; align-items: center; gap: 6px; }
.iv-site-code small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(193, 246, 58, .15); }
.iv-site-rows { display: grid; gap: 8px; }
.iv-site-rows li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 16px; border-radius: 14px;
  background: #1b1b24; border: 1px solid rgba(255, 255, 255, .07); font-size: 15px;
  animation: hv-rise .7s var(--ease) both; animation-delay: calc(.45s + var(--i) * 110ms);
}
.iv-site-rows span { color: var(--muted); }
.iv-site-rows b { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.iv-site-rows b::after {
  content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23121a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.iv-site-foot { color: var(--muted); font-size: 13px; letter-spacing: .04em; direction: ltr; text-align: end; }
.iv-chip {
  position: absolute; inset-block-end: 6px; inset-inline-end: -14px; padding: 12px 18px; border-radius: 14px;
  background: #c6ec5c; color: #121a00; font-weight: 800; font-size: 15px; box-shadow: 0 20px 40px -18px rgba(193, 246, 58, .7);
  animation: hv-rise .8s var(--ease) both 1.2s;
}

/* intro: numbered list + aside card */
.iv-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.iv-split .hv-head { margin-bottom: 36px; }
.iv-ticks { display: grid; }
.iv-ticks li { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; }
.iv-ticks li:last-child { border-bottom: 1px solid var(--line); }
.iv-num { flex: none; color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.iv-card { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.iv-card h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.iv-card .hv-checks { margin: 8px 0 0; }
.iv-split .iv-card { position: sticky; top: 110px; }
.iv-checks-1 { grid-template-columns: 1fr !important; }

/* plans: four across */
.iv-plans { grid-template-columns: repeat(4, 1fr); }
.iv-plans .hv-plan h3 { font-size: 19px; line-height: 1.25; padding-inline-end: 64px; }
.iv-plans .hv-plan:not(.is-featured) h3 { padding-inline-end: 0; }
.iv-plans .hv-plan.is-soon h3 { padding-inline-end: 64px; }
.hv-plan-badge.is-soon { background: #efeff3; color: #55555f; }
.iv-plans .hv-plan-price.is-label { font-size: 34px; line-height: 1.35; }
.iv-plans .hv-plan { display: flex; flex-direction: column; }
.iv-plans .hv-plan-specs { min-height: 3em; }
.iv-plans .hv-plan-price { font-size: 46px; }
.iv-plans .hv-plan-price small { font-size: 15px; font-weight: 500; color: var(--muted); }

/* speed bento */
.iv-bento { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.iv-card-main h2 { margin-bottom: 8px !important; }
.iv-card-lime { background: linear-gradient(180deg, rgba(193, 246, 58, .12), rgba(193, 246, 58, .02) 70%), var(--surface); border-color: rgba(193, 246, 58, .4); }

/* migration steps */
.iv-move { background: #0b0b10; border-block: 1px solid var(--line); }
.iv-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.iv-steps::before { content: ''; position: absolute; inset-block-start: 26px; inset-inline: 12.5%; height: 2px; background: linear-gradient(90deg, rgba(193, 246, 58, .1), rgba(193, 246, 58, .6), rgba(193, 246, 58, .1)); }
.iv-steps li { position: relative; display: grid; gap: 18px; justify-items: center; text-align: center; padding: 0 8px; }
.iv-step-num {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; font-weight: 800; color: #121a00; background: var(--lime); box-shadow: 0 0 0 8px #0b0b10, 0 0 30px rgba(193, 246, 58, .35);
}
.iv-steps p { font-size: 17px; color: #dcdce2; max-width: 26ch; }
.iv-center { display: flex; justify-content: center; margin-top: 56px; }

/* shared vs vps */
.iv-compare { display: grid; max-width: 980px; margin-inline: auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.iv-compare-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: center; padding: 22px 28px; border-top: 1px solid var(--line); background: var(--surface); transition: background-color .25s; }
.iv-compare-head { border-top: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; padding-block: 16px; }
a.iv-compare-row:hover { background: #1b1b24; }
.iv-compare-row > span { font-size: 18px; font-weight: 600; }
.iv-compare-head > span { font-size: 14px; }
.iv-compare-row b { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #daff7c; font-weight: 700; }
.iv-compare-row b span { transition: transform .35s var(--ease); }
a.iv-compare-row:hover b span { transform: translateX(-5px); }

/* more links */
.iv-more { padding-top: 0; }
.iv-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.iv-link { display: grid; gap: 8px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .45s var(--ease); }
.iv-link:hover { border-color: rgba(218, 255, 124, .5); transform: translateY(-4px); }
.iv-link p { color: var(--muted); }
.iv-link .hv-sol-cta { margin-top: 10px; }
.iv-link:hover .hv-sol-cta span { transform: translateX(-5px); }

html[dir="ltr"] .iv-site { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
html[dir="ltr"] .iv-compare-row b span, html[dir="ltr"] .iv-link .hv-sol-cta span { transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
  .iv-site { transform: none; }
}
@media (max-width: 1080px) {
  .iv-hero-in, .iv-split, .iv-bento { grid-template-columns: 1fr; }
  .iv-split .iv-card { position: static; }
  .iv-stage { max-width: 560px; }
  .iv-plans { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
@media (max-width: 760px) {
  .iv-plans, .iv-links { grid-template-columns: 1fr; }
  .iv-steps { grid-template-columns: 1fr; gap: 0; }
  .iv-steps::before { inset-block: 26px; inset-inline: 25px auto; width: 2px; height: auto; background: linear-gradient(rgba(193, 246, 58, .6), rgba(193, 246, 58, .1)); }
  .iv-steps li { grid-template-columns: 52px 1fr; justify-items: start; text-align: start; align-items: center; gap: 16px; padding: 10px 0; }
  .iv-chip { inset-inline-end: 8px; }
  .iv-site { transform: none; }
  .iv-compare-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .iv-compare-head { display: none; }
  .iv-actions .hv-btn, .iv-hero .hv-actions .hv-btn { flex: 1 1 auto; }
}
.iv-compare-row b.is-plain { color: var(--text); font-weight: 600; }
