.home-hero {
  min-height: calc(100svh - var(--header-height));
  padding-top: 36px;
}

.home-hero h1 {
  max-width: 880px;
  background: linear-gradient(92deg, var(--color-text) 18%, var(--color-accent) 58%, var(--color-violet) 88%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-platform-row {
  margin-top: 18px;
}

.hero-flags {
  margin-top: 6px;
}

.flag-white {
  fill: var(--color-white);
}

.flag-red {
  fill: var(--color-flag-red);
}

.flag-blue {
  fill: var(--color-flag-blue);
}

.flag-black {
  fill: var(--color-flag-black);
}

.flag-gold {
  fill: var(--color-flag-gold);
}

.orbit-stage {
  position: relative;
  width: min(900px, 100%);
  height: 360px;
  margin: 20px auto 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-border) 76%, transparent);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--color-violet) 15%, transparent), transparent 28%),
    repeating-linear-gradient(0deg, var(--color-grid) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, var(--color-grid) 0 1px, transparent 1px 30px),
    var(--color-panel);
  box-shadow: 0 2px 6px var(--shadow-window-a), 0 30px 60px -28px var(--shadow-window-b);
}

.orbit-stage::before {
  position: absolute;
  inset: 14% 21%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 11%, transparent);
  filter: blur(36px);
  content: "";
}

.orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--color-accent);
}

.orbit-lines ellipse,
.orbit-lines path,
.orbit-lines circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-dasharray: 6 8;
  opacity: 0.42;
  vector-effect: non-scaling-stroke;
}

.orbit-lines circle {
  stroke-width: 2;
  stroke-dasharray: none;
  opacity: 0.62;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 138px;
  height: 138px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--color-accent) 38%, var(--color-border));
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-panel), var(--color-panel-raised));
  box-shadow: 0 24px 48px -28px var(--shadow-card);
  transform: translate(-50%, -50%);
}

.orbit-core::before {
  position: absolute;
  inset: 10px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  content: "";
}

.orbit-core img {
  position: relative;
  width: 62px;
  height: 62px;
}

.orbit-core span {
  position: absolute;
  bottom: 14px;
  color: var(--color-accent-dark);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.orbit-node {
  position: absolute;
  display: inline-flex;
  min-width: 66px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  box-shadow: 0 10px 25px -18px var(--shadow-card);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 750;
}

.orbit-node::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  content: "";
}

.orbit-node-us {
  top: 68px;
  left: 13%;
}

.orbit-node-jp {
  top: 50px;
  right: 16%;
}

.orbit-node-hk {
  top: 163px;
  right: 9%;
}

.orbit-node-sg {
  right: 24%;
  bottom: 42px;
}

.orbit-node-de {
  bottom: 52px;
  left: 19%;
}

.orbit-node-fr {
  top: 158px;
  left: 8%;
}

.fact-band {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-panel-raised);
}

.fact-band-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 82px;
  align-items: center;
}

.fact-band-inner span {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}

.fact-band-inner span + span {
  border-left: 1px solid var(--color-border);
}

.fact-band-inner strong {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 18px;
}

.feature-browser {
  max-width: 1080px;
  margin-inline: auto;
}

.feature-panel {
  display: grid;
  min-height: 350px;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: clamp(30px, 7vw, 86px);
}

.feature-panel[hidden] {
  display: none;
}

.feature-copy h3 {
  font-size: clamp(25px, 3vw, 34px);
}

.feature-copy p:last-child {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.feature-visual {
  position: relative;
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(0deg, var(--color-grid) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, var(--color-grid) 0 1px, transparent 1px 24px),
    var(--color-panel-raised);
}

.visual-routing {
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
  padding: 34px;
}

.mini-route {
  position: relative;
  display: flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-panel);
  padding-inline: 16px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.mini-route::after {
  width: 48px;
  height: 5px;
  margin-left: auto;
  border-radius: var(--radius-pill);
  background: var(--color-border);
  content: "";
}

.mini-route.is-active {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.mini-route.is-active::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--color-success);
  content: "";
}

.mini-route.is-active::after {
  background: var(--color-accent);
}

.visual-routing i {
  position: absolute;
  top: 48px;
  bottom: 48px;
  left: 22px;
  width: 2px;
  background: var(--color-accent);
}

.visual-shield svg {
  width: 132px;
  height: 132px;
  color: var(--color-accent);
}

.visual-shield path {
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-devices {
  align-items: flex-end;
  gap: 12px;
}

.device-screen {
  position: relative;
  display: block;
  border: 3px solid var(--color-accent-dark);
  border-radius: var(--radius-sm);
  background: var(--color-panel);
  box-shadow: 0 12px 24px -18px var(--shadow-card);
}

.device-screen::before {
  position: absolute;
  inset: 13%;
  border-radius: var(--radius-xs);
  background: linear-gradient(145deg, var(--color-accent-soft), var(--color-panel-raised));
  content: "";
}

.device-screen::after {
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  content: "";
  transform: translateX(-50%);
}

.device-desktop {
  width: 130px;
  height: 90px;
  margin-bottom: 26px;
}

.device-desktop::after {
  bottom: -20px;
  width: 54px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-dark);
}

.device-tablet {
  width: 70px;
  height: 96px;
}

.device-tablet::after,
.device-mobile::after {
  bottom: 5px;
}

.device-mobile {
  width: 46px;
  height: 78px;
}

.visual-ai {
  gap: 12px;
}

.visual-ai span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-panel);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 12px 26px -20px var(--shadow-card);
}

.visual-ai span:nth-child(2) {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
}

.visual-ai i {
  position: absolute;
  width: 190px;
  height: 1px;
  background: var(--color-accent);
}

.visual-media {
  gap: 18px;
}

.media-frame {
  position: relative;
  display: grid;
  width: 150px;
  height: 98px;
  place-items: center;
  border: 3px solid var(--color-accent-dark);
  border-radius: var(--radius-sm);
  background: var(--color-panel);
}

.media-frame i {
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--color-accent);
}

.media-check {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-success);
  color: var(--color-white);
  font-size: 22px;
  font-weight: 900;
}

.visual-refund {
  gap: 10px;
  color: var(--color-text-muted);
  font-weight: 750;
}

.refund-ring {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 8px solid var(--color-accent);
  border-radius: 50%;
  background: var(--color-panel);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
}

.visual-refund i {
  position: absolute;
  right: 48px;
  bottom: 42px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-success);
  color: var(--color-white);
  font-style: normal;
  font-weight: 900;
}

.network-preview,
.blog-preview {
  border-top: 1px solid color-mix(in srgb, var(--color-border) 65%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 65%, transparent);
  background: color-mix(in srgb, var(--color-panel) 46%, var(--color-bg));
}

.network-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.network-notes > div,
.pricing-explanation {
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-panel);
  padding: 22px;
}

.network-notes h3,
.pricing-explanation h3 {
  font-size: 20px;
}

.network-notes p,
.pricing-explanation p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.section-link {
  margin: 28px 0 0;
  text-align: center;
}

.section-link a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 750;
  text-decoration: none;
}

.server-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.srv-row {
  display: grid;
  min-width: 0;
  min-height: 54px;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-panel);
  padding: 9px 12px;
}

.srv-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: server-breathe 2.4s ease-in-out infinite;
}

.srv-flag {
  display: inline-flex;
  width: 24px;
  height: 17px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: var(--color-panel-raised);
}

.srv-flag img,
.srv-flag svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.srv-name {
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-type {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel-raised);
  padding: 2px 7px;
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-ms,
.srv-bw {
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

@keyframes server-breathe {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.plan-summary {
  color: var(--color-text-muted);
  font-size: 14px;
}

.traffic-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-panel), var(--color-panel-raised));
  padding: clamp(24px, 4vw, 38px);
}

.traffic-panel h3 {
  font-size: 24px;
}

.traffic-panel p:last-child {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.pricing-explanation {
  margin-top: 18px;
}

.operating-section {
  background:
    repeating-linear-gradient(0deg, var(--color-grid) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, var(--color-grid) 0 1px, transparent 1px 32px),
    var(--color-panel-raised);
}

.principle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.principle-main,
.principle-side article {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
}

.principle-main {
  padding: clamp(26px, 5vw, 50px);
}

.principle-main h3 {
  font-size: clamp(27px, 3vw, 38px);
}

.principle-main p {
  color: var(--color-text-muted);
}

.principle-main p:last-child {
  margin-bottom: 0;
}

.principle-side {
  display: grid;
  gap: 12px;
}

.principle-side article {
  padding: 22px;
}

.principle-side article:nth-child(2) {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.principle-side h3 {
  font-size: 19px;
}

.principle-side p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.blog-preview .article-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blog-preview .article-card h3 {
  font-size: 19px;
}

@media (max-width: 1080px) {
  .blog-preview .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-hero {
    min-height: auto;
  }

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

  .fact-band-inner span {
    min-height: 62px;
  }

  .fact-band-inner span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--color-border);
  }

  .fact-band-inner span:nth-child(4) {
    border-top: 1px solid var(--color-border);
  }

  .feature-panel,
  .principle-layout {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    min-height: auto;
  }

  .feature-visual {
    min-height: 200px;
  }

  .server-status {
    grid-template-columns: 1fr;
  }

  .traffic-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding-top: 24px;
  }

  .home-hero h1 {
    margin-top: 14px;
  }

  .orbit-stage {
    height: 280px;
    margin-top: 18px;
  }

  .orbit-lines {
    transform: scale(1.2);
  }

  .orbit-core {
    width: 112px;
    height: 112px;
  }

  .orbit-core img {
    width: 52px;
    height: 52px;
  }

  .orbit-core span {
    bottom: 10px;
    font-size: 10px;
  }

  .orbit-node {
    min-width: 58px;
    min-height: 30px;
    font-size: 11px;
  }

  .orbit-node-us {
    top: 38px;
    left: 7%;
  }

  .orbit-node-jp {
    top: 34px;
    right: 8%;
  }

  .orbit-node-hk {
    top: 126px;
    right: 3%;
  }

  .orbit-node-sg {
    right: 8%;
    bottom: 28px;
  }

  .orbit-node-de {
    bottom: 30px;
    left: 8%;
  }

  .orbit-node-fr {
    top: 128px;
    left: 3%;
  }

  .network-notes {
    grid-template-columns: 1fr;
  }

  .srv-row {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .srv-ms,
  .srv-bw {
    grid-row: 2;
  }

  .srv-ms {
    grid-column: 3;
  }

  .srv-bw {
    grid-column: 4;
  }

  .blog-preview .article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-trust {
    align-items: center;
    flex-direction: column;
  }

  .hero-trust span + span::before {
    display: none;
  }

  .hero-platform-row,
  .hero-flags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
  }

  .hero-platform,
  .hero-flag {
    justify-content: flex-start;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-panel);
    padding: 7px 9px;
  }

  .hero-platform:last-child,
  .hero-flag:last-child {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .orbit-stage {
    height: 250px;
  }

  .orbit-lines {
    transform: scale(1.45);
  }

  .orbit-node {
    min-width: 52px;
    padding-inline: 7px;
  }

  .orbit-node::before {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
    margin-right: 5px;
  }

  .orbit-node-us,
  .orbit-node-fr {
    left: 2%;
  }

  .orbit-node-jp,
  .orbit-node-hk {
    right: 2%;
  }

  .orbit-node-de {
    left: 5%;
  }

  .orbit-node-sg {
    right: 5%;
  }

  .fact-band-inner {
    grid-template-columns: 1fr;
  }

  .fact-band-inner span + span,
  .fact-band-inner span:nth-child(3) {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .feature-panel {
    padding: 20px;
  }

  .visual-routing {
    padding: 28px 18px 28px 30px;
  }

  .visual-devices {
    gap: 7px;
  }

  .device-desktop {
    width: 104px;
    height: 74px;
  }

  .device-tablet {
    width: 58px;
    height: 84px;
  }

  .device-mobile {
    width: 39px;
    height: 68px;
  }

  .visual-ai span {
    width: 54px;
    height: 54px;
  }

  .media-frame {
    width: 124px;
    height: 82px;
  }

  .srv-row {
    gap: 7px;
    padding-inline: 9px;
  }

  .srv-type {
    display: none;
  }

  .traffic-panel {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .srv-dot {
    animation: none;
    opacity: 1;
    transform: none;
  }
}