.page-home {
  --home-orb-blue: rgba(91, 141, 239, 0.18);
  --home-orb-purple: rgba(155, 109, 255, 0.16);
  background: var(--bg-deep);
  color: var(--text-light);
  overflow-x: clip;
}

.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.page-home .home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 16, 38, 0.82) 0%, rgba(11, 16, 38, 0.35) 48%, rgba(11, 16, 38, 0.92) 100%),
    radial-gradient(ellipse at 20% 90%, var(--home-orb-blue), transparent 56%),
    radial-gradient(ellipse at 82% 10%, var(--home-orb-purple), transparent 52%);
}

.page-home .home-hero__orbit {
  position: absolute;
  z-index: -1;
  top: 10%;
  right: -5%;
  width: min(460px, 46vw);
  height: auto;
  opacity: 0.75;
  pointer-events: none;
  transform-origin: center center;
  animation: home-orbit-drift 30s linear infinite;
}

@keyframes home-orbit-drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.page-home .home-hero__inner {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding: clamp(96px, 14vh, 140px) clamp(20px, 4vw, 48px) clamp(44px, 6vw, 64px);
  display: grid;
  gap: 36px;
}

.page-home .home-hero__kicker {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-silver);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .home-hero__kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-silver), transparent);
  flex: none;
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
  background: linear-gradient(118deg, #EEF2FF 0%, var(--text-light) 36%, var(--accent-silver) 78%, var(--accent-purple) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .home-hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 34em;
  margin: 0 0 28px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-home .home-hero__side {
  background: rgba(17, 32, 59, 0.72);
  border: 1px solid rgba(91, 141, 239, 0.24);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-header);
}

.page-home .home-hero__side-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-home .home-hero__stats {
  display: grid;
  gap: 14px;
  margin: 0;
}

.page-home .home-hero__stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.page-home .home-hero__stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .home-hero__stat dt {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.page-home .home-hero__stat dd {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
}

.page-home .home-hero__version {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 0.86rem;
  color: var(--accent-teal);
}

.page-home .home-adapt__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .home-adapt__media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line-glow);
  box-shadow: var(--shadow-card);
}

.page-home .home-adapt__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.page-home .home-adapt__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-light);
  background: rgba(11, 16, 38, 0.82);
  border: 1px solid rgba(91, 141, 239, 0.5);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  backdrop-filter: blur(8px);
}

.page-home .home-adapt__content {
  padding: clamp(8px, 2vw, 20px) 0;
}

.page-home .home-adapt__lead {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-light);
  margin: 8px 0 24px;
}

.page-home .home-adapt__points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .home-adapt__points li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  line-height: 1.7;
}

.page-home .home-adapt__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-silver), var(--accent-purple));
  box-shadow: 0 0 12px var(--line-glow);
}

.page-home .home-troubleshoot {
  background:
    linear-gradient(180deg, rgba(17, 32, 59, 0.9) 0%, rgba(11, 16, 38, 0.4) 52%, rgba(17, 32, 59, 0.72) 100%),
    radial-gradient(ellipse at 78% 28%, var(--home-orb-purple), transparent 60%);
  border-top: 1px solid rgba(91, 141, 239, 0.14);
  border-bottom: 1px solid rgba(91, 141, 239, 0.14);
}

.page-home .section-head--split {
  display: grid;
  gap: 16px;
}

.page-home .home-troubleshoot__media {
  position: relative;
  margin-top: clamp(28px, 5vw, 48px);
}

.page-home .home-troubleshoot__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--line-purple);
  box-shadow: var(--shadow-card);
}

.page-home .home-troubleshoot__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--text-light);
  background: rgba(11, 16, 38, 0.82);
  border: 1px solid rgba(155, 109, 255, 0.45);
  border-radius: var(--radius-pill);
  padding: 7px 13px;
  backdrop-filter: blur(8px);
}

.page-home .home-troubleshoot__steps {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.page-home .home-step {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-card);
  padding: 28px 28px 30px;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.page-home .home-step:hover {
  transform: translateY(-4px);
  border-color: var(--line-glow);
  box-shadow: var(--shadow-card);
}

.page-home .home-step__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-purple);
  display: block;
  margin-bottom: 14px;
}

.page-home .home-step__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text-light);
}

.page-home .home-step__text {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

.page-home .home-troubleshoot__foot {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.page-home .home-news__panel {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.page-home .home-news__panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.14), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .home-news__icon {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 42px rgba(251, 191, 36, 0.18);
}

.page-home .home-news__content {
  position: relative;
  z-index: 1;
}

.page-home .home-news__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.page-home .home-news__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--text-light);
}

.page-home .home-news__text {
  color: var(--text-muted);
  line-height: 1.9;
  margin: 0 0 18px;
}

.page-home .home-news__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .home-navcards__grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.page-home .home-navcard {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  min-height: 190px;
  padding: 26px 28px;
  background: linear-gradient(150deg, rgba(23, 42, 77, 0.92) 0%, rgba(11, 16, 38, 0.92) 100%);
  border: 1px solid rgba(91, 141, 239, 0.18);
  border-radius: var(--radius-card);
  color: var(--text-light);
  text-decoration: none;
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
  overflow: hidden;
}

.page-home .home-navcard::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--home-orb-blue), transparent 70%);
  top: -60px;
  right: -60px;
  opacity: 0.8;
  transition: opacity 0.35s;
  pointer-events: none;
}

.page-home .home-navcard:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-card);
}

.page-home .home-navcard--large {
  min-height: 320px;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(155, 109, 255, 0.26), transparent 52%),
    linear-gradient(150deg, rgba(23, 42, 77, 0.96) 0%, rgba(11, 16, 38, 0.96) 100%);
}

.page-home .home-navcard__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  color: var(--accent-silver);
  margin-bottom: 16px;
}

.page-home .home-navcard__title {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-home .home-navcard--large .home-navcard__title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
}

.page-home .home-navcard__desc {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 46em;
}

.page-home .home-navcard__link {
  position: relative;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  color: var(--accent-purple);
}

@media (min-width: 760px) {
  .page-home .home-troubleshoot__steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-news__panel {
    grid-template-columns: auto 1fr;
  }

  .page-home .home-news__icon {
    width: 160px;
    height: 160px;
  }

  .page-home .home-navcards__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(190px, auto);
  }

  .page-home .home-navcard--large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .page-home .home-navcard--wide {
    grid-column: span 3;
  }
}

@media (min-width: 820px) {
  .page-home .section-head--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .page-home .section-head--split .section-lead {
    text-align: right;
    margin-bottom: 6px;
  }
}

@media (min-width: 860px) {
  .page-home .home-adapt__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
  }
}

@media (min-width: 920px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.55fr 1fr;
    align-items: end;
    gap: 56px;
  }
}

@media (max-width: 800px) {
  .page-home .home-hero__orbit {
    top: auto;
    bottom: 30%;
    right: -30%;
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__orbit {
    animation: none;
  }

  .page-home .home-step,
  .page-home .home-navcard {
    transition: none;
  }
}
