.page-home{
  --home-ease: var(--ease-out);
  overflow-x: clip;
  color: var(--color-text);
  font-family: var(--font-body);
  background: var(--color-bg);
}
.page-home section[id]{
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.page-home .home-hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 44px) 0 72px;
  background: var(--color-bg);
}
.page-home .home-hero__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-home .home-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,14,39,.93) 0%, rgba(13,13,26,.78) 46%, rgba(19,26,63,.52) 100%);
  z-index: 1;
  pointer-events: none;
}
.page-home .home-hero::after{
  content: "";
  position: absolute;
  inset: -12% -18%;
  background:
    repeating-linear-gradient(115deg, rgba(255,215,0,.12) 0 2px, transparent 2px 28px),
    radial-gradient(circle at 22% 38%, rgba(0,229,255,.18), transparent 36%),
    radial-gradient(circle at 82% 64%, rgba(255,215,0,.14), transparent 30%);
  animation: home-flow-sheen 22s linear infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes home-flow-sheen{
  0%{ transform: translate3d(-4%, 0, 0); }
  50%{ transform: translate3d(4%, 2%, 0); }
  100%{ transform: translate3d(-4%, 0, 0); }
}
.page-home .home-hero__inner{
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-home .breadcrumbs{
  margin-bottom: 28px;
}
.page-home .breadcrumbs__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.page-home .breadcrumbs__item{
  position: relative;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.page-home .breadcrumbs__item + .breadcrumbs__item::before{
  content: "/";
  margin-right: 14px;
  color: var(--color-text-muted);
}
.page-home .home-hero__grid{
  display: grid;
  gap: 48px;
}
.page-home .home-hero__content{
  max-width: 860px;
}
.page-home .home-hero h1{
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 12px 0 24px;
  color: var(--color-white);
}
.page-home .home-hero__h1-sub{
  display: block;
  color: var(--color-gold);
  font-size: clamp(1.6rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  margin-top: 14px;
}
.page-home .home-hero__lead{
  max-width: 680px;
  color: var(--color-text);
  font-size: 1.04rem;
  line-height: 1.85;
}
.page-home .home-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.page-home .home-hero__side{
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.page-home .version-card{
  align-self: flex-start;
  background: linear-gradient(145deg, var(--color-primary-light), var(--color-purple-accent));
  border: 1px solid rgba(255,215,0,.4);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  transform: rotate(1.6deg);
  box-shadow: 0 28px 64px rgba(0,0,0,.45), 0 0 42px rgba(255,215,0,.06);
  transition: transform .45s var(--home-ease), box-shadow .45s var(--home-ease);
}
.page-home .version-card:hover{
  transform: rotate(0.8deg) translateY(-4px);
  box-shadow: 0 32px 72px rgba(0,0,0,.5), 0 0 50px rgba(255,215,0,.13);
}
.page-home .version-card__label{
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.page-home .version-card__num{
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  line-height: .95;
  font-weight: 700;
  color: var(--color-white);
  margin: 10px 0 8px;
}
.page-home .version-card__meta{
  color: var(--color-gold);
  font-size: .9rem;
}
.page-home .hero-mini-index{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.page-home .hero-mini-index__item{
  border-left: 2px solid rgba(0,229,255,.4);
  padding-left: 14px;
  transition: border-color .3s;
}
.page-home .hero-mini-index__item:hover{
  border-color: var(--color-gold);
}
.page-home .hero-mini-index__item a{
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: .92rem;
  transition: color .3s;
}
.page-home .hero-mini-index__item a:hover{
  color: var(--color-gold);
}
.page-home .home-recovery{
  padding: 72px 0;
  background: radial-gradient(circle at 88% 10%, rgba(74,63,138,.5), transparent 46%), var(--color-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.page-home .home-recovery__grid{
  display: grid;
  gap: 40px;
  align-items: center;
}
.page-home .home-recovery__content h2,
.page-home .home-service__head h2,
.page-home .home-cycle__content h2,
.page-home .home-hot__tight h2,
.page-home .home-insights__head h2{
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: var(--color-white);
  margin: 12px 0 18px;
}
.page-home .home-recovery__steps{
  list-style: none;
  counter-reset: recovery;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-home .home-recovery__steps li{
  counter-increment: recovery;
  position: relative;
  padding: 16px 18px 16px 56px;
  background: rgba(255,255,255,.045);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-gold);
  color: var(--color-text);
}
.page-home .home-recovery__steps li::before{
  content: counter(recovery, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 18px;
  font-family: var(--font-mono);
  color: var(--color-gold);
  font-weight: 700;
}
.page-home .home-recovery__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.page-home .home-recovery__media{
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,215,0,.22);
  background: var(--color-surface);
  padding: 10px;
  box-shadow: 0 20px 48px rgba(0,0,0,.35);
}
.page-home .home-recovery__media img{
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  object-fit: cover;
}
.page-home .home-recovery__media figcaption,
.page-home .home-service__media figcaption,
.page-home .home-cycle__media figcaption{
  padding: 12px 6px 4px;
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .08em;
}
.page-home .home-service{
  padding: 72px 0;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-bg) 60%);
}
.page-home .home-service__head{
  max-width: 780px;
}
.page-home .home-service__cards{
  display: grid;
  gap: 28px;
  margin: 44px 0 36px;
}
.page-home .service-card{
  position: relative;
  background: linear-gradient(150deg, var(--color-primary-light), var(--color-purple-accent) 90%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform .45s var(--home-ease), box-shadow .45s var(--home-ease), border-color .45s var(--home-ease);
}
.page-home .service-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,215,0,.55);
  box-shadow: 0 18px 48px rgba(0,0,0,.4), 0 0 30px rgba(255,215,0,.1);
}
.page-home .service-card::before{
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0,229,255,.14), transparent 72%);
  pointer-events: none;
}
.page-home .service-card__num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,215,0,.12);
  border: 1px solid rgba(255,215,0,.28);
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .9rem;
}
.page-home .service-card h3{
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--color-white);
  margin: 18px 0 8px;
}
.page-home .service-card p{
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}
.page-home .home-service__stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 0 0 28px;
}
.page-home .home-service__stat{
  min-width: 0;
  background: rgba(0,229,255,.06);
  border: 1px solid rgba(0,229,255,.28);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
}
.page-home .home-service__stat strong{
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-cyan);
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 1.1;
}
.page-home .home-service__stat span{
  color: var(--color-text-muted);
  font-size: .88rem;
}
.page-home .home-service__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.page-home .service-tag{
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(0,229,255,.22);
  color: var(--color-text);
  font-size: .82rem;
  transition: border-color .3s, color .3s;
}
.page-home .service-tag:hover{
  border-color: rgba(255,215,0,.45);
  color: var(--color-gold);
}
.page-home .service-tag:last-child{
  background: rgba(255,215,0,.1);
  border-color: rgba(255,215,0,.38);
  color: var(--color-gold);
}
.page-home .home-service__bottom{
  display: grid;
  gap: 28px;
  align-items: center;
}
.page-home .home-service__media{
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,215,0,.2);
  background: var(--color-surface);
}
.page-home .home-service__media img{
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-home .home-service__media figcaption{
  padding: 14px 18px;
}
.page-home .home-service__tech{
  background: linear-gradient(145deg, rgba(19,26,63,.9), rgba(74,63,138,.4));
  border-radius: var(--radius-lg);
  padding: 30px;
  border-left: 4px solid var(--color-gold);
}
.page-home .home-service__tech h4{
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 0 12px;
}
.page-home .home-service__tech p{
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 20px;
}
.page-home .home-service__tech .btn{
  margin: 6px 10px 0 0;
}
.page-home .home-cycle{
  padding: 72px 0;
  background: linear-gradient(0deg, var(--color-primary), var(--color-bg));
}
.page-home .home-cycle__grid{
  display: grid;
  gap: 40px;
  align-items: center;
}
.page-home .home-cycle__table-wrap{
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
}
.page-home .home-cycle__table{
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: .95rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.page-home .home-cycle__table th{
  text-align: left;
  padding: 14px 16px;
  background: rgba(255,215,0,.08);
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-weight: 700;
  white-space: nowrap;
}
.page-home .home-cycle__table td{
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--color-text);
}
.page-home .home-cycle__table tbody tr{
  transition: background .25s;
}
.page-home .home-cycle__table tbody tr:hover{
  background: rgba(255,215,0,.05);
}
.page-home .home-cycle__table td:first-child{
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  white-space: nowrap;
}
.page-home .home-cycle__media{
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,215,0,.22);
  background: var(--color-surface);
  box-shadow: 0 22px 52px rgba(0,0,0,.32);
}
.page-home .home-cycle__media img{
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-home .home-cycle__media figcaption{
  padding: 14px 18px;
}
.page-home .home-hot{
  padding: 72px 0;
  background: radial-gradient(circle at 10% 30%, rgba(74,63,138,.45), transparent 44%), var(--color-primary);
}
.page-home .home-hot__tight{
  max-width: 880px;
}
.page-home .home-hot__list{
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.page-home .home-hot__item{
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(19,26,63,.92), rgba(74,63,138,.4));
  border-radius: var(--radius-md);
  padding: 20px 22px;
  border-left: 4px solid var(--color-gold);
  max-width: 100%;
  transition: transform .4s var(--home-ease), box-shadow .4s var(--home-ease);
}
.page-home .home-hot__item:hover{
  transform: translateX(8px);
  box-shadow: 0 14px 32px rgba(0,0,0,.3);
}
.page-home .home-hot__rank{
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-gold);
  min-width: 64px;
  line-height: 1;
}
.page-home .home-hot__item h3{
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 0 0 4px;
}
.page-home .home-hot__item p{
  margin: 0;
  color: var(--color-text-muted);
  font-size: .92rem;
}
.page-home .home-insights{
  padding: 72px 0 96px;
  background: var(--color-bg);
  border-top: 1px solid rgba(255,255,255,.06);
}
.page-home .home-insights__head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.page-home .home-insights__list{
  display: grid;
  gap: 20px;
  margin-top: 36px;
}
.page-home .insight-card{
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow: hidden;
  transition: transform .4s var(--home-ease), border-color .4s var(--home-ease);
}
.page-home .insight-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,215,0,.5);
}
.page-home .insight-card::after{
  content: "";
  position: absolute;
  top: -56px;
  right: -56px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255,215,0,.12), transparent 70%);
  pointer-events: none;
}
.page-home .insight-card h3{
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 12px 0 8px;
}
.page-home .insight-card p{
  color: var(--color-text);
  line-height: 1.65;
  margin: 0;
}
.page-home .assistant-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.page-home .assistant-float__toggle{
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-body);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 32px rgba(0,0,0,.35), 0 0 24px rgba(255,215,0,.22);
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.page-home .assistant-float__toggle:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255,215,0,.28);
}
.page-home .assistant-float__panel{
  max-width: 300px;
  max-height: 0;
  padding: 0 18px;
  background: linear-gradient(165deg, var(--color-primary-light), var(--color-purple-accent));
  border: 1px solid rgba(255,215,0,.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: max-height .45s var(--home-ease), opacity .35s var(--home-ease), padding .45s var(--home-ease), transform .45s var(--home-ease), visibility 0s linear .45s;
}
.page-home .assistant-float:focus-within .assistant-float__panel,
.page-home .assistant-float:hover .assistant-float__panel,
.page-home .assistant-float__panel:target{
  max-height: 560px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  padding: 20px;
  transition: max-height .5s var(--home-ease), opacity .4s var(--home-ease), padding .5s var(--home-ease), transform .5s var(--home-ease), visibility 0s linear 0s;
}
.page-home .assistant-float__note{
  color: var(--color-text);
  margin: 0 0 12px;
  font-size: .92rem;
}
.page-home .assistant-float__links{
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.page-home .assistant-float__links a{
  color: var(--color-gold);
  text-decoration: none;
  font-size: .92rem;
  border-bottom: 1px dashed rgba(255,215,0,.3);
  padding-bottom: 2px;
}
.page-home .assistant-float__meta{
  color: var(--color-text-muted);
  font-size: .82rem;
  margin: 0;
}
.page-home [data-reveal]{
  transition: opacity .75s var(--home-ease), transform .75s var(--home-ease);
  will-change: opacity, transform;
}
.page-home [data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 720px){
  .page-home .home-hero__side{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .page-home .version-card{
    transform: rotate(2.4deg);
  }
  .page-home .home-recovery,
  .page-home .home-service,
  .page-home .home-cycle,
  .page-home .home-hot{
    padding: 96px 0;
  }
  .page-home .home-recovery__media{
    transform: rotate(1.3deg);
  }
  .page-home .home-cycle__media{
    transform: rotate(-1.3deg);
  }
  .page-home .home-service__cards{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .page-home .home-insights__list{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (min-width: 1024px){
  .page-home .home-hero__grid{
    grid-template-columns: minmax(0,1fr) 400px;
    align-items: center;
  }
  .page-home .home-hero__side{
    flex-direction: column;
    align-items: flex-end;
  }
  .page-home .home-hero__side .hero-mini-index{
    align-self: flex-end;
    text-align: right;
  }
  .page-home .home-hero__side .hero-mini-index__item{
    border-left: 0;
    border-right: 2px solid rgba(0,229,255,.4);
    padding-left: 0;
    padding-right: 14px;
  }
  .page-home .home-hero__side .hero-mini-index__item:hover{
    border-color: var(--color-gold);
  }
  .page-home .home-recovery__grid{
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
  }
  .page-home .home-cycle__grid{
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
  }
  .page-home .home-service__cards{
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 32px;
  }
  .page-home .service-card:nth-child(2){
    transform: translateY(14px) rotate(1deg);
  }
  .page-home .service-card:nth-child(3){
    transform: translateY(28px) rotate(-1.5deg);
  }
  .page-home .service-card:nth-child(2):hover,
  .page-home .service-card:nth-child(3):hover{
    transform: translateY(-4px) rotate(0deg);
  }
  .page-home .home-service__bottom{
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
  }
  .page-home .home-service__stats{
    margin-bottom: 40px;
  }
  .page-home .home-hot__list{
    gap: 18px;
  }
  .page-home .home-hot__item{
    max-width: 76%;
  }
  .page-home .home-hot__item:nth-child(even){
    margin-left: 24%;
  }
  .page-home .home-insights{
    padding-bottom: 120px;
  }
  .page-home .home-insights__list{
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 28px;
  }
}
@media (prefers-reduced-motion: reduce){
  .page-home *,
  .page-home *::before,
  .page-home *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
