.page-home {
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
}

@keyframes ph-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.82); }
}

.page-home .section-label {
  display: inline-block;
  margin-bottom: 10px;
}

.page-home .section-title {
  margin: 0 0 12px;
}

.page-home .section-subtitle {
  margin: 0 0 34px;
  max-width: 58ch;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Hero ===== */
.page-home .ph-hero {
  position: relative;
  padding: 28px 0 48px;
  overflow: hidden;
}

.page-home .ph-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.18), transparent 70%);
  pointer-events: none;
}

.page-home .ph-hero__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.page-home .ph-hero__crumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.page-home .ph-hero__crumb a:hover {
  color: var(--accent-green);
}

.page-home .ph-hero__crumb-sep {
  color: var(--text-muted);
}

.page-home .ph-hero__layout {
  display: grid;
  gap: 36px;
}

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

.page-home .ph-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent-green-soft);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--accent-green);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.page-home .ph-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.14);
  animation: ph-pulse 2s ease-in-out infinite;
}

.page-home .ph-hero__title {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.page-home .ph-hero__title-accent {
  color: var(--accent-green);
  display: inline-block;
  padding-bottom: 6px;
  background: linear-gradient(90deg, var(--accent-green), rgba(0, 230, 118, 0.08));
  background-size: 100% 5px;
  background-position: bottom;
  background-repeat: no-repeat;
}

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

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

.page-home .ph-hero__actions .btn {
  padding: 12px 26px;
  font-weight: 600;
}

.page-home .ph-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px 24px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--border-color);
}

.page-home .ph-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-home .ph-hero__stat dt {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.page-home .ph-hero__stat dd {
  margin: 0;
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.page-home .ph-hero__media {
  margin: 0;
  position: relative;
  align-self: start;
}

.page-home .ph-hero__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transform: rotate(-1.2deg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}

.page-home .ph-hero__media figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-home .ph-hero__media-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-light), transparent);
}

.page-home .ph-hero__previews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 48px;
}

.page-home .ph-hero__preview {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title arrow"
    "num desc arrow";
  gap: 2px 16px;
  align-items: center;
  padding: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.page-home .ph-hero__preview:hover {
  border-color: rgba(0, 230, 118, 0.5);
  background: var(--bg-raised);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.page-home .ph-hero__preview-num {
  grid-area: num;
  font-size: 0.82rem;
  color: var(--accent-green);
}

.page-home .ph-hero__preview-title {
  grid-area: title;
  font-weight: 700;
  font-size: 1.08rem;
}

.page-home .ph-hero__preview-desc {
  grid-area: desc;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.page-home .ph-hero__preview-arrow {
  grid-area: arrow;
  align-self: center;
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: transform var(--transition), color var(--transition);
}

.page-home .ph-hero__preview:hover .ph-hero__preview-arrow {
  color: var(--accent-green);
  transform: translate(3px, -3px);
}

/* ===== Quick Nav ===== */
.page-home .ph-quick {
  padding: 56px 0;
  position: relative;
}

.page-home .ph-quick::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.page-home .ph-quick__head {
  margin-bottom: 34px;
}

.page-home .ph-quick__head .section-subtitle {
  margin-bottom: 0;
}

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

.page-home .ph-quick__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.page-home .ph-quick__pill:hover {
  border-color: rgba(0, 230, 118, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 230, 118, 0.1);
}

.page-home .ph-quick__pill--hot {
  background: var(--accent-orange-soft);
  border-color: rgba(255, 109, 0, 0.38);
}

.page-home .ph-quick__pill--hot:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 8px 22px rgba(255, 109, 0, 0.14);
}

.page-home .ph-quick__pill-tag {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-orange);
  color: var(--bg-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.page-home .ph-quick__pill-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.page-home .ph-quick__pill-meta {
  font-size: 0.66rem;
  color: var(--text-muted);
  padding-left: 8px;
  border-left: 1px solid var(--border-color);
  letter-spacing: 0.06em;
}

/* ===== Leagues ===== */
.page-home .ph-leagues {
  padding: 56px 0;
  position: relative;
}

.page-home .ph-leagues::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.05), transparent 70%);
  pointer-events: none;
}

.page-home .ph-leagues__layout {
  display: grid;
  gap: 40px;
}

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

.page-home .ph-leagues__lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 54ch;
  margin: 0 0 24px;
}

.page-home .ph-leagues__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 28px;
}

.page-home .ph-leagues__item {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition);
}

.page-home .ph-leagues__item:first-child {
  color: var(--accent-green);
  border-color: rgba(0, 230, 118, 0.38);
}

.page-home .ph-leagues__metric {
  margin-bottom: 28px;
  padding: 18px 20px;
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-orange);
}

.page-home .ph-leagues__metric-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.page-home .ph-leagues__metric-num {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-home .ph-leagues .metric-bar {
  height: 8px;
  background: var(--bg-raised);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.page-home .ph-leagues__metric-fill {
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
}

.page-home .ph-leagues__media {
  margin: 0;
  position: relative;
}

.page-home .ph-leagues__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.page-home .ph-leagues__media figcaption {
  margin-top: 10px;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Data Panel ===== */
.page-home .ph-panel {
  padding: 56px 0;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(156, 39, 176, 0.07), transparent);
}

.page-home .ph-panel__layout {
  display: grid;
  gap: 44px;
}

.page-home .ph-panel__media {
  margin: 0;
  position: relative;
  max-width: 360px;
  width: 100%;
}

.page-home .ph-panel__screen-frame {
  border-radius: 28px;
  border: 2px solid var(--border-light);
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.42);
}

.page-home .ph-panel__screen-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .ph-panel__media figcaption {
  text-align: center;
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-home .ph-panel__lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 54ch;
  margin-bottom: 28px;
}

.page-home .ph-panel__features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 12px;
}

.page-home .ph-panel__feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-green);
}

.page-home .ph-panel__feature:nth-child(2) {
  border-left-color: var(--accent-orange);
}

.page-home .ph-panel__feature:nth-child(3) {
  border-left-color: var(--accent-purple);
}

.page-home .ph-panel__feature-num {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-green);
  min-width: 64px;
  line-height: 1;
}

.page-home .ph-panel__feature:nth-child(2) .ph-panel__feature-num {
  color: var(--accent-orange);
}

.page-home .ph-panel__feature:nth-child(3) .ph-panel__feature-num {
  color: var(--accent-purple);
}

.page-home .ph-panel__feature-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-home .ph-panel__feature-text strong {
  font-size: 1rem;
  color: var(--text-primary);
}

.page-home .ph-panel__feature-text small {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ===== Cases ===== */
.page-home .ph-cases {
  padding: 56px 0;
}

.page-home .ph-cases__head {
  margin-bottom: 34px;
}

.page-home .ph-cases__head .section-subtitle {
  margin-bottom: 0;
}

.page-home .ph-cases__layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .ph-cases__media {
  margin: 0;
}

.page-home .ph-cases__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.page-home .ph-cases__trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-home .ph-cases__trust-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: border-color var(--transition), transform var(--transition);
}

.page-home .ph-cases__trust-item:hover {
  border-color: rgba(0, 230, 118, 0.35);
  transform: translateY(-2px);
}

.page-home .ph-cases__trust-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1;
}

.page-home .ph-cases__trust-item:nth-child(2) .ph-cases__trust-num {
  color: var(--accent-orange);
}

.page-home .ph-cases__trust-item:nth-child(3) .ph-cases__trust-num {
  color: var(--accent-purple);
}

.page-home .ph-cases__trust-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.page-home .ph-cases__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ===== Feedback ===== */
.page-home .ph-feedback {
  padding: 56px 0 80px;
}

.page-home .ph-feedback__inner {
  position: relative;
  overflow: hidden;
  padding: 44px 22px;
  background: linear-gradient(135deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.page-home .ph-feedback__glow {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.14), transparent 70%);
  pointer-events: none;
}

.page-home .ph-feedback__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.page-home .ph-feedback__content .section-label {
  margin-bottom: 10px;
}

.page-home .ph-feedback__title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 14px;
}

.page-home .ph-feedback__desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.page-home .ph-feedback__trust {
  margin: 0 0 26px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent-green);
  background: var(--bg-deep);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .ph-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.page-home .ph-feedback__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-deep);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
  flex-wrap: wrap;
}

.page-home .ph-feedback__contact-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-home .ph-feedback__email {
  font-size: 0.94rem;
  color: var(--accent-green);
  word-break: break-all;
}

.page-home .ph-feedback__note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .page-home .ph-hero__previews {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .page-home .ph-hero__layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: start;
  }

  .page-home .ph-hero__media {
    margin-top: 20px;
  }

  .page-home .ph-hero__previews {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .ph-leagues__layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 44px;
    align-items: center;
  }

  .page-home .ph-leagues__media {
    transform: translateY(14px);
  }

  .page-home .ph-panel__layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
    align-items: center;
  }

  .page-home .ph-cases__layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 36px;
  }
}

@media (min-width: 1024px) {
  .page-home .ph-hero {
    padding: 40px 0 64px;
  }

  .page-home .ph-hero__layout {
    gap: 60px;
  }

  .page-home .ph-hero__previews {
    gap: 16px;
    margin-top: 60px;
  }

  .page-home .ph-quick {
    padding: 72px 0;
  }

  .page-home .ph-quick__cloud {
    gap: 16px;
  }

  .page-home .ph-leagues,
  .page-home .ph-panel,
  .page-home .ph-cases {
    padding: 72px 0;
  }

  .page-home .ph-panel__layout {
    gap: 72px;
  }

  .page-home .ph-feedback {
    padding: 72px 0 96px;
  }

  .page-home .ph-feedback__inner {
    padding: 56px 44px;
  }
}
