.page-home {
  --home-section-pad: 64px 0;
  --home-hero-pad: 56px 0 80px;
  background: var(--space-blue);
  color: var(--text-primary);
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  padding: var(--home-hero-pad);
  background:
    radial-gradient(ellipse at 78% 20%, rgba(255,107,43,0.22), transparent 44%),
    radial-gradient(ellipse at 12% 80%, rgba(0,225,139,0.12), transparent 46%),
    linear-gradient(160deg, var(--space-blue) 0%, var(--space-blue-light) 62%, #0E2A5E 100%);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46,58,92,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,58,92,0.35) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 24%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse at 72% 24%, #000 20%, transparent 78%);
  pointer-events: none;
}

.page-home .home-hero__grid {
  display: grid;
  gap: 64px;
  align-items: center;
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 20px 0 18px;
  max-width: 620px;
}

.page-home .home-hero__title-accent {
  color: var(--electric-orange);
  position: relative;
  white-space: nowrap;
}

.page-home .home-hero__title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 10px;
  background: linear-gradient(90deg, var(--electric-orange), transparent);
  opacity: 0.28;
}

.page-home .home-hero__lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 520px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.page-home .home-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-home .home-tabs__tab {
  border: 1px solid var(--divider-line);
  background: var(--glass-panel);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.page-home .home-tabs__tab[aria-selected="true"],
.page-home .home-tabs__tab.is-active {
  background: var(--electric-orange);
  border-color: var(--electric-orange);
  color: var(--space-blue);
}

.page-home .home-tabs__panel {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  border-left: 3px solid var(--electric-green);
  padding-left: 14px;
  min-height: 48px;
}

.page-home .home-hero__visual {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}

.page-home .home-hero__visual-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--divider-line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

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

.page-home .home-hero__data-panel {
  position: relative;
  width: calc(100% - 32px);
  margin: -132px auto 0;
  border: 1px solid rgba(0,225,139,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.page-home .home-hero__svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font-body);
}

.page-home .pulse-dot {
  animation: page-home-pulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes page-home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.page-home .home-tags {
  position: relative;
  padding: var(--home-section-pad);
  background: linear-gradient(160deg, #08132A 0%, var(--space-blue) 72%);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

.page-home .home-tags__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.page-home .home-tags .section-title {
  border-left: 4px solid var(--electric-orange);
  padding-left: 18px;
}

.page-home .home-tags__copy p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.page-home .home-tags__feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 12px;
}

.page-home .home-tags__feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.page-home .home-tags__feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--electric-orange);
  transform: rotate(45deg);
}

.page-home .home-tags__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-home .home-tags__link {
  color: var(--electric-orange-light);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,107,43,0.35);
}

.page-home .home-tags__link:hover {
  border-bottom-color: var(--electric-orange);
}

.page-home .home-tags__visual {
  position: relative;
}

.page-home .home-tags__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--divider-line);
}

.page-home .home-tags__stat {
  position: absolute;
  left: -10px;
  bottom: -18px;
  padding: 16px 22px;
  min-width: 170px;
}

.page-home .home-tags__stat-num {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--electric-green);
}

.page-home .home-tags__stat-label {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.page-home .home-performance {
  position: relative;
  padding: var(--home-section-pad);
  background: linear-gradient(135deg, #3B1F7A 0%, var(--indigo-purple) 75%);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
  overflow: hidden;
}

.page-home .home-performance__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.page-home .home-performance__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

.page-home .home-performance .section-title {
  border-left: 4px solid var(--gold-accent);
  padding-left: 18px;
}

.page-home .home-performance__copy p {
  color: rgba(245,247,250,0.82);
  line-height: 1.8;
}

.page-home .home-performance__metrics {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 10px;
}

.page-home .home-performance__metrics li {
  position: relative;
  padding-left: 22px;
  color: rgba(245,247,250,0.85);
  line-height: 1.65;
  font-size: 0.95rem;
}

.page-home .home-performance__metrics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-green);
  box-shadow: 0 0 12px rgba(0,225,139,0.7);
}

.page-home .home-performance__chart {
  background: rgba(11,27,58,0.6);
  border: 1px solid rgba(229,195,126,0.2);
  border-radius: 16px;
  padding: 24px 16px 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.page-home .home-perf-chart {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font-body);
}

.page-home .home-perf-chart .chart-title {
  font-family: var(--font-mono);
}

.page-home .home-perf-chart .bar--home {
  fill: var(--electric-orange);
}

.page-home .home-perf-chart .bar--away {
  fill: var(--electric-green);
}

.page-home .home-perf-chart .bar {
  transition: opacity var(--transition-fast);
}

.page-home .home-perf-chart .bar-group:hover .bar {
  opacity: 0.85;
}

.page-home .home-perf-chart .bar-value {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--text-primary);
}

.page-home .home-perf-chart .bar-label {
  font-size: 11px;
  fill: var(--text-secondary);
}

.page-home .home-performance__chart-note {
  margin: 10px 0 0;
  color: rgba(176,184,204,0.72);
  font-size: 0.78rem;
  text-align: center;
}

.page-home .home-performance .btn--ghost {
  border-color: rgba(245,247,250,0.4);
}

.page-home .home-screen {
  position: relative;
  padding: var(--home-section-pad);
  background: linear-gradient(180deg, var(--space-blue) 0%, #0E1B3A 100%);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.page-home .home-screen__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.page-home .home-screen .section-title {
  border-left: 4px solid var(--electric-green);
  padding-left: 18px;
}

.page-home .home-screen__copy p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.page-home .home-screen__points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.page-home .home-screen__points li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
}

.page-home .home-screen__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-green);
}

.page-home .home-screen__panel {
  padding: 26px;
  border: 1px solid rgba(0,225,139,0.32);
  box-shadow: 0 0 0 1px rgba(0,225,139,0.08), 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
}

.page-home .home-screen__panel::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, transparent 50%, rgba(0,225,139,0.24) 50%);
  border-top-right-radius: var(--radius);
  pointer-events: none;
}

.page-home .home-screen__tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--divider-line);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.page-home .home-screen__tab {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--divider-line);
  background: var(--glass-panel);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.page-home .home-screen__tab[aria-selected="true"] {
  background: var(--electric-orange);
  border-color: var(--electric-orange);
  color: var(--space-blue);
}

.page-home .home-screen__body {
  min-height: 120px;
}

.page-home .home-screen__content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.page-home .home-screen__content p {
  margin: 0;
}

.page-home .home-screen__link {
  width: 100%;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .home-feedback {
  position: relative;
  padding: var(--home-section-pad);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(229,195,126,0.16), transparent 50%),
    linear-gradient(140deg, var(--wine-red-dark) 0%, var(--wine-red) 75%);
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  overflow: hidden;
}

.page-home .home-feedback__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.page-home .home-feedback .section-title {
  border-left: 4px solid var(--gold-accent);
  padding-left: 18px;
}

.page-home .home-feedback__copy p {
  color: rgba(245,247,250,0.88);
  line-height: 1.8;
}

.page-home .home-feedback__contacts {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 10px;
}

.page-home .home-feedback__contacts li {
  display: flex;
  gap: 10px;
  color: rgba(245,247,250,0.9);
  line-height: 1.65;
  font-size: 0.95rem;
}

.page-home .home-feedback__contacts li::before {
  content: '→';
  color: var(--gold-accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-home .home-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-feedback .btn--ghost {
  border-color: rgba(245,247,250,0.45);
}

.page-home .home-feedback__visual {
  position: relative;
}

.page-home .home-feedback__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(229,195,126,0.28);
}

.page-home .home-feedback__badge {
  position: absolute;
  right: -6px;
  bottom: -14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--space-blue);
  border: 1px solid var(--gold-accent);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.page-home .home-feedback__badge-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-green);
  box-shadow: 0 0 10px var(--electric-green);
}

.page-home .home-news {
  padding: var(--home-section-pad);
  background: linear-gradient(180deg, var(--space-blue) 0%, #08132A 100%);
}

.page-home .home-news .section-title {
  border-left: 4px solid var(--electric-orange);
  padding-left: 18px;
}

.page-home .home-news__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.page-home .home-news__more {
  color: var(--electric-orange);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.page-home .home-news__more:hover {
  text-decoration: underline;
}

.page-home .home-news__list {
  display: grid;
  gap: 18px;
}

.page-home .home-news__card {
  background: var(--glass-panel);
  border: 1px solid var(--divider-line);
  border-radius: 12px;
  padding: 24px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.page-home .home-news__card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,225,139,0.5);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.page-home .home-news__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.page-home .home-news__tag {
  display: inline-block;
  background: rgba(255,107,43,0.14);
  color: var(--electric-orange-light);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
}

.page-home .home-news__card-title {
  font-size: 1.12rem;
  line-height: 1.45;
  margin: 0 0 10px;
}

.page-home .home-news__card-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.page-home .home-news__card-title a:hover {
  color: var(--electric-orange);
}

.page-home .home-news__summary {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .home-feedback-fab {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--wine-red);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(229,195,126,0.45);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.page-home .home-feedback-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.5);
}

.page-home .home-feedback-fab__icon {
  color: var(--electric-green);
  font-size: 1.1rem;
  line-height: 1;
}

@media (min-width: 1024px) {
  .page-home {
    --home-section-pad: 112px 0;
    --home-hero-pad: 72px 0 120px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 55%) minmax(0, 45%);
    gap: 40px;
  }

  .page-home .home-hero__title {
    font-size: 3.5rem;
  }

  .page-home .home-hero__visual-frame {
    transform: rotate(2deg);
    margin-top: 18px;
  }

  .page-home .home-hero__data-panel {
    position: absolute;
    width: 86%;
    left: -36px;
    bottom: -36px;
    margin: 0;
    transform: rotate(-2deg);
  }

  .page-home .home-tags__grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 80px;
  }

  .page-home .home-performance__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
  }

  .page-home .home-screen__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .page-home .home-feedback__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }

  .page-home .home-news__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

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