.page-home {
  --hero-glow: rgba(0, 163, 255, 0.25);
  --speedline-color: rgba(212, 255, 63, 0.08);
  --orange-glow: rgba(255, 90, 31, 0.4);
}

.page-home .home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--bg-base) 0%, var(--bg-elevated) 100%);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-home .home-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 30% 60%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 30% 60%, black 0%, transparent 80%);
}

.page-home .home-hero__speedlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: repeating-linear-gradient(
    115deg,
    var(--speedline-color) 0px,
    var(--speedline-color) 2px,
    transparent 2px,
    transparent 24px
  );
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 35% 100%);
}

.page-home .home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

.page-home .home-hero .breadcrumbs {
  margin-bottom: 1.5rem;
}

.page-home .home-hero h1 {
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 12ch;
  margin-bottom: 1rem;
  color: var(--text-white);
  text-shadow: 0 0 40px var(--hero-glow);
}

.page-home .home-hero .lead {
  max-width: 48ch;
  font-size: 1.125rem;
  color: var(--text-silver);
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent-lime);
  padding-left: 1rem;
}

.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.page-home .home-hero__actions .btn {
  animation: page-home-pulse 2.5s ease-in-out infinite;
}

@keyframes page-home-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 255, 63, 0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(212, 255, 63, 0.15); }
}

.page-home .home-features {
  padding: 4rem 0;
  background: var(--bg-base);
}

.page-home .section-heading {
  margin-bottom: 2.5rem;
}

.page-home .home-features .grid--cols-3 {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-home .home-feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .home-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-lime);
  box-shadow: 0 12px 30px var(--shadow-deep);
}

.page-home .home-feature-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.page-home .home-feature-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.page-home .home-feature-card .card__link {
  margin-top: auto;
  color: var(--accent-lime);
  font-weight: 600;
  text-decoration: none;
}

.page-home .home-feature-card .card__link:hover {
  color: var(--text-white);
}

.page-home .home-preview {
  padding: 4rem 0;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.page-home .home-preview::after {
  content: "";
  position: absolute;
  right: -10rem;
  top: -10rem;
  width: 30rem;
  height: 30rem;
  background: var(--orange-glow);
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
}

.page-home .home-preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.page-home .home-preview__feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-home .home-preview__item {
  background: var(--bg-base);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border-left: 4px solid var(--accent-lime);
  transition: background 0.2s ease;
}

.page-home .home-preview__item:hover {
  background: rgba(11, 16, 38, 0.8);
}

.page-home .home-preview__note {
  background: linear-gradient(135deg, rgba(212, 255, 63, 0.05), rgba(0, 163, 255, 0.05));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  align-self: start;
}

.page-home .home-download {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0, 163, 255, 0.15), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 90, 31, 0.15), transparent 50%),
    var(--bg-base);
}

.page-home .home-download__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.page-home .home-download__content .lead {
  color: var(--text-silver);
  margin-bottom: 1.5rem;
}

.page-home .home-download__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px var(--shadow-deep);
}

@media (min-width: 768px) {
  .page-home .home-hero__content {
    padding: 3rem 2rem;
  }

  .page-home .home-preview__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

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

  .page-home .home-features .grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__actions .btn {
    animation: none;
  }
  .page-home .home-feature-card {
    transition: none;
  }
}
