.page-home {
  --home-glow: rgba(255, 107, 0, 0.22);
  --home-line: rgba(255, 215, 0, 0.28);
  --home-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 76px) 0 clamp(44px, 7vw, 92px);
  background:
    radial-gradient(900px 420px at 78% -5%, rgba(255, 107, 0, 0.16), transparent 60%),
    radial-gradient(600px 300px at 12% 102%, rgba(255, 215, 0, 0.07), transparent 60%),
    linear-gradient(180deg, var(--color-bg-deep) 0%, var(--color-bg) 100%);
}

.page-home .hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.page-home .hero-particle {
  position: absolute;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  font-style: normal;
  background: var(--color-gold);
  box-shadow: 0 0 14px var(--home-line);
  opacity: 0;
  animation: home-drift 8s ease-in-out infinite alternate;
}

.page-home .hero-particle--1 {
  top: 15%;
  left: 6%;
  width: 6px;
  height: 6px;
  animation-duration: 7s;
}

.page-home .hero-particle--2 {
  top: 24%;
  right: 10%;
  width: 3px;
  height: 3px;
  animation-delay: 1.2s;
  animation-duration: 9s;
}

.page-home .hero-particle--3 {
  bottom: 16%;
  left: 24%;
  width: 5px;
  height: 5px;
  animation-delay: 2s;
  animation-duration: 6s;
}

.page-home .hero-particle--4 {
  top: 46%;
  right: 28%;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  animation-delay: 0.6s;
  animation-duration: 8s;
}

.page-home .hero-particle--5 {
  bottom: 28%;
  right: 7%;
  width: 3px;
  height: 3px;
  animation-delay: 3s;
  animation-duration: 10s;
}

.page-home .hero-particle--6 {
  top: 68%;
  left: 12%;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  animation-delay: 1.8s;
  animation-duration: 7.5s;
}

@keyframes home-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(0.8);
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    transform: translate3d(14px, -16px, 0) scale(1.1);
    opacity: 0.6;
  }
  100% {
    transform: translate3d(-6px, -30px, 0) scale(1);
    opacity: 0.2;
  }
}

.page-home .hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.page-home .gift-float {
  position: relative;
  padding: 20px;
  background: linear-gradient(160deg, rgba(255, 107, 0, 0.16), rgba(20, 42, 76, 0.5) 55%, rgba(255, 215, 0, 0.08));
  border: 1px solid rgba(255, 107, 0, 0.4);
  border-radius: var(--radius);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3), 0 0 34px var(--home-glow);
  transition: transform var(--ease), box-shadow var(--ease);
}

.page-home .gift-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.34), 0 0 44px var(--home-glow);
}

.page-home .gift-float::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-top: 3px solid var(--color-gold);
  border-right: 3px solid var(--color-gold);
  border-radius: 0 3px 0 0;
}

.page-home .gift-float__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 107, 0, 0.45);
  border-radius: 2px;
  background: rgba(255, 107, 0, 0.14);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-home .gift-float__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  animation: gift-pulse 2s infinite;
}

.page-home .gift-float__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 3px;
  margin: 14px 0;
}

.page-home .gift-float__note {
  margin: 0 0 14px;
  color: var(--color-text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

@keyframes gift-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8));
  }
}

.page-home .hero-core {
  padding: 20px 0;
}

.page-home .hero-core__eyebrow {
  margin: 0 0 12px;
  color: var(--color-link);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-home .hero-core__title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-shadow: 0 0 28px rgba(255, 107, 0, 0.18);
}

.page-home .hero-core__lead {
  max-width: 34em;
  margin: 0 0 26px;
  color: var(--color-text-dim);
  font-size: 1rem;
  line-height: 1.8;
}

.page-home .hero-core__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .download-float {
  position: relative;
  padding: 24px 22px 22px;
  background: linear-gradient(165deg, rgba(20, 42, 76, 0.95), rgba(10, 22, 40, 0.92));
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform var(--ease);
}

.page-home .download-float:hover {
  transform: translateY(-3px);
}

.page-home .download-float::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 3px;
  background: var(--color-accent);
}

.page-home .download-float__stat {
  margin: 18px 0 10px;
  color: var(--color-text-dim);
  font-size: 1rem;
  line-height: 1.4;
}

.page-home .download-float__stat strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--color-accent);
}

.page-home .download-float__desc {
  margin: 0 0 14px;
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

.page-home .download-float__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-link);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.page-home .download-float__link span {
  transition: transform var(--ease);
}

.page-home .download-float__link:hover span {
  transform: translateX(5px);
}

.page-home .config-ticket {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(13, 28, 51, 0.72);
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: var(--radius);
}

.page-home .config-ticket__icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-accent));
}

.page-home .config-ticket__icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--color-bg);
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.page-home .config-ticket__body {
  flex: 1 1 auto;
  min-width: 180px;
}

.page-home .config-ticket__text {
  margin: 6px 0 0;
  color: var(--color-text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

.page-home .config-ticket__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--color-gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.page-home .config-ticket__go span {
  transition: transform var(--ease);
}

.page-home .config-ticket__go:hover span {
  transform: translateX(4px);
}

.page-home .gift-panel__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .gift-panel__list,
.page-home .download-panel__list,
.page-home .config-panel__list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.page-home .gift-panel__list li,
.page-home .download-panel__list li,
.page-home .config-panel__list li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text-dim);
  line-height: 1.6;
}

.page-home .gift-panel__list li::before,
.page-home .download-panel__list li::before,
.page-home .config-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--color-accent);
  transform: rotate(45deg);
}

.page-home .gift-panel__steps {
  display: grid;
  gap: 16px;
}

.page-home .step-card {
  position: relative;
  padding: 22px 20px 20px 78px;
  background: linear-gradient(150deg, rgba(20, 42, 76, 0.92), rgba(10, 22, 40, 0.85));
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: transform var(--ease), background var(--ease);
}

.page-home .step-card:hover {
  transform: translateX(4px);
  background: linear-gradient(150deg, rgba(20, 42, 76, 1), rgba(13, 28, 51, 0.95));
}

.page-home .step-card:nth-child(2) {
  margin-left: 10px;
}

.page-home .step-card:nth-child(3) {
  margin-left: 20px;
}

.page-home .step-card__num {
  position: absolute;
  left: 20px;
  top: 18px;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.9;
}

.page-home .step-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--color-text);
}

.page-home .step-card p {
  margin: 0;
  color: var(--color-text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-home .download-panel__grid,
.page-home .config-panel__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .download-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-home .img-shell {
  position: relative;
  padding: 10px;
  background: var(--color-bg-panel);
  border: 1px solid rgba(255, 215, 0, 0.18);
  box-shadow: var(--home-shadow);
  transform: rotate(-0.5deg);
}

.page-home .img-shell::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 36px;
  height: 36px;
  border-right: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  opacity: 0.7;
}

.page-home .img-shell--wide {
  transform: rotate(0.4deg);
}

.page-home .img-shell__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

.page-home .insights-panel__head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.page-home .insights-panel__grid {
  display: grid;
  gap: 28px;
}

.page-home .insights-tags__title {
  margin: 0 0 16px;
  font-size: 1.25rem;
  color: var(--color-text);
}

.page-home .insights-tags__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .insights-tags__cloud .tag {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--color-link);
  background: rgba(61, 126, 255, 0.1);
  border: 1px solid rgba(61, 126, 255, 0.3);
  border-radius: 2px;
  text-decoration: none;
  transition: all var(--ease);
}

.page-home .insights-tags__cloud .tag:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.3);
}

.page-home .insights-tags__note {
  margin: 18px 0 22px;
  color: var(--color-text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-home .why-panel {
  background:
    radial-gradient(760px 320px at 15% 0%, rgba(255, 107, 0, 0.12), transparent 70%),
    radial-gradient(520px 280px at 85% 20%, rgba(255, 215, 0, 0.08), transparent 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.page-home .why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 40px 0;
}

.page-home .stat-card {
  position: relative;
  padding: 26px 12px;
  text-align: center;
  background: linear-gradient(150deg, rgba(20, 42, 76, 0.9), rgba(13, 28, 51, 0.5));
  clip-path: polygon(12% 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12%);
}

.page-home .stat-card::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-gold));
}

.page-home .stat-card__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
}

.page-home .stat-card__num em {
  margin-left: 2px;
  font-size: 0.65em;
  font-style: normal;
  color: var(--color-gold);
}

.page-home .stat-card__label {
  display: block;
  margin-top: 10px;
  color: var(--color-text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.page-home .why-feats {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.page-home .feat-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(20, 42, 76, 0.42);
  border-left: 3px solid rgba(255, 107, 0, 0.6);
  border-radius: 0 4px 4px 0;
}

.page-home .feat-row__mark {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 0.6em;
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  transform: rotate(45deg);
}

.page-home .feat-row p {
  margin: 0;
  color: var(--color-text-dim);
  line-height: 1.7;
}

.page-home .feat-row strong {
  color: var(--color-text);
}

.page-home .why-panel__more {
  margin-top: 38px;
  text-align: center;
}

.page-home .home-pledge {
  padding: 70px 0 80px;
}

.page-home .home-pledge__inner {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 32px 26px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(20, 42, 76, 0.7) 45%, rgba(255, 215, 0, 0.06));
  border: 1px solid rgba(255, 215, 0, 0.18);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .home-pledge__mark svg {
  display: block;
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 14px rgba(255, 215, 0, 0.35));
}

.page-home .home-pledge__title {
  margin: 0 0 8px;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--color-text);
}

.page-home .home-pledge__text {
  margin: 0;
  color: var(--color-text-dim);
  line-height: 1.75;
}

@media (min-width: 760px) {
  .page-home .why-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .page-home .why-feats {
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
  }

  .page-home .insights-panel__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 24px;
  }

  .page-home .insights-panel__head .section-subtitle {
    margin: 0;
    text-align: right;
  }
}

@media (min-width: 960px) {
  .page-home .hero-grid {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr) minmax(220px, 300px);
    grid-template-rows: auto auto;
    grid-template-areas:
      "gift hero download"
      "gift hero config";
    align-items: start;
    gap: 32px;
  }

  .page-home .gift-float {
    grid-area: gift;
    align-self: start;
  }

  .page-home .hero-core {
    grid-area: hero;
    align-self: center;
    padding: 36px 16px;
  }

  .page-home .download-float {
    grid-area: download;
  }

  .page-home .config-ticket {
    grid-area: config;
    align-self: end;
  }

  .page-home .gift-panel__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }

  .page-home .download-panel__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
  }

  .page-home .config-panel__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .page-home .insights-panel__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .home-pledge__inner {
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    padding: 38px 44px;
    text-align: left;
  }
}
