.page-home {
  --ph-hero-deep: #101c44;
  --ph-glow-green: rgba(57, 255, 20, 0.18);
  --ph-glow-purple: rgba(123, 47, 247, 0.28);
  --ph-card-bg: rgba(20, 30, 48, 0.88);
  --ph-card-border: rgba(255, 255, 255, 0.08);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

.page-home .container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home a {
  transition: color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--metal);
}

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

.page-home .breadcrumb a:hover {
  color: var(--accent-main);
}

.page-home .breadcrumb span {
  color: var(--text-main);
}

.page-home .section-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-alt);
}

.page-home__hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--ph-hero-deep) 45%, var(--bg-alt) 100%);
}

.page-home__hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, var(--accent-main), transparent);
  opacity: 0.7;
  animation: ph-hero-line 3.5s ease-in-out infinite;
}

.page-home__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home__hero-bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.page-home__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 17, 40, 0.94) 0%, rgba(10, 17, 40, 0.72) 48%, rgba(27, 16, 53, 0.42) 100%),
    linear-gradient(0deg, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0.1) 40%);
}

.page-home__hero-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
}

.page-home__hero-copy {
  min-width: 0;
}

.page-home__batch-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home__batch-panel {
  border-radius: var(--radius-md);
  background: rgba(20, 30, 48, 0.85);
  border: 1px solid rgba(57, 255, 20, 0.35);
  padding: 12px 16px;
  width: fit-content;
}

.page-home__batch-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-main);
}

.page-home__batch-trigger::-webkit-details-marker {
  display: none;
}

.page-home__batch-trigger .batch-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.page-home__batch-trigger .batch-code {
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--accent-main);
}

.page-home__batch-caret {
  color: var(--metal);
  font-size: 12px;
  transition: transform 0.3s ease;
}

.page-home__batch-panel[open] .page-home__batch-caret {
  transform: rotate(180deg);
}

.page-home__batch-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home__batch-option {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
}

.page-home__batch-option:hover {
  color: var(--accent-main);
}

.page-home__trust-chip {
  font-size: 12px;
  color: var(--metal);
  border: 1px solid rgba(142, 154, 165, 0.3);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}

.page-home__eyebrow {
  margin-top: 4px;
}

.page-home__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 6.4vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 14px 0 18px;
  max-width: 13em;
  text-wrap: balance;
}

.page-home__lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: 0 0 24px;
}

.page-home__hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.page-home__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px;
  background: rgba(20, 30, 48, 0.72);
  border-left: 3px solid var(--accent-main);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.page-home__stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-main);
}

.page-home__stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.page-home__preview-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home__preview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--ph-card-bg);
  border: 1px solid var(--ph-card-border);
  color: var(--text-main);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-home__preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 22px var(--ph-glow-green);
}

.page-home__preview-num {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  color: var(--metal);
  letter-spacing: 0.08em;
}

.page-home__preview-card--green .page-home__preview-num {
  color: var(--accent-main);
}

.page-home__preview-card--alt .page-home__preview-num {
  color: var(--accent-alt);
}

.page-home__preview-card--gold .page-home__preview-num {
  color: var(--data-highlight);
}

.page-home__preview-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.page-home__preview-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-home__section {
  position: relative;
  padding: 64px 0;
}

.page-home__section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.page-home__h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 4.2vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 12px 0 14px;
}

.page-home__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
  max-width: 58ch;
}

.page-home__desc--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-home__section-head .section-label {
  margin-bottom: 4px;
}

.page-home__section-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home__section-media,
.page-home__section-copy {
  min-width: 0;
}

.page-home__section-nav .page-home__section-media {
  transform: rotate(-1.2deg);
}

.page-home__section-score .page-home__section-media {
  transform: rotate(1.2deg);
}

.page-home__media-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

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

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

.page-home__feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-main), var(--accent-alt));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);
}

.page-home__section-v3 {
  background:
    radial-gradient(circle at 85% 20%, rgba(123, 47, 247, 0.12), transparent 46%),
    var(--bg-primary);
}

.page-home__section-head {
  text-align: left;
}

@media (min-width: 900px) {
  .page-home__section-head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

.page-home__v3-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 32px 0;
}

.page-home__v3-col {
  padding: 26px 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.page-home__v3-col--new {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.1), rgba(20, 30, 48, 0.92) 55%);
  border-color: rgba(57, 255, 20, 0.28);
}

.page-home__v3-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.page-home__v3-tag--old {
  background: rgba(142, 154, 165, 0.18);
  color: var(--metal);
}

.page-home__v3-tag--new {
  background: rgba(57, 255, 20, 0.15);
  color: var(--accent-main);
}

.page-home__v3-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 15px;
}

.page-home__v3-col--new .page-home__v3-list {
  color: var(--text-main);
}

.page-home__v3-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-main);
  transform: rotate(90deg);
  padding: 4px 0;
}

.page-home__v3-media {
  margin: 8px 0 0;
  max-width: 760px;
  margin-inline: auto;
  position: relative;
}

.page-home__v3-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.page-home__v3-media::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-alt), var(--accent-main), transparent);
  border-radius: 0 0 4px 4px;
}

.page-home__v3-cta {
  text-align: center;
  margin-top: 28px;
}

.page-home__section-score {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(20, 30, 48, 0.55) 40%, var(--bg-primary) 100%);
}

.page-home__score-grid {
  align-items: center;
}

.page-home__score-ticker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 22px 0 20px;
}

.page-home__score-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: ph-score-pulse 4.2s ease-in-out infinite;
}

.page-home__score-item:nth-child(2) {
  animation-delay: 1.1s;
}

.page-home__score-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.page-home__score-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home__score-phase {
  font-size: 12px;
  color: var(--metal);
  white-space: nowrap;
}

.page-home__score-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home__inline-link {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 196, 222, 0.3);
  padding-bottom: 2px;
}

.page-home__inline-link:hover {
  color: var(--accent-main);
  border-color: var(--accent-main);
}

.page-home__section-entry {
  background:
    radial-gradient(circle at 15% 80%, rgba(123, 47, 247, 0.22), transparent 44%),
    radial-gradient(circle at 85% 10%, rgba(57, 255, 20, 0.1), transparent 38%),
    linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-primary) 72%);
  overflow: hidden;
  text-align: center;
}

.page-home__section-entry::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 47, 247, 0.35), transparent 68%);
  pointer-events: none;
}

.page-home__section-entry::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.16), transparent 70%);
  pointer-events: none;
}

.page-home__entry-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.page-home__entry-batch {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 15px;
  font-weight: 700;
  color: #0A1128;
  background: linear-gradient(135deg, var(--accent-main), rgba(57, 255, 20, 0.75));
  border-radius: 999px;
  padding: 9px 22px;
  margin-bottom: 18px;
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.25);
}

.page-home__entry-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home__map-section {
  background: var(--bg-primary);
}

.page-home__map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 34px;
}

.page-home__map-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home__map-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-alt);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 18px var(--ph-glow-purple);
}

.page-home__map-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.page-home__map-card:hover .page-home__map-title {
  color: var(--accent-main);
}

.page-home__map-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-home__trust {
  padding: 0 0 48px;
}

.page-home__trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home__trust-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--metal);
  margin: 0;
  max-width: 56ch;
}

.page-home__trust-links {
  display: flex;
  gap: 16px;
}

.page-home__trust-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
}

.page-home__trust-link:hover {
  color: var(--accent-main);
}

@keyframes ph-hero-line {
  0%, 100% {
    opacity: 0.35;
    transform: scaleX(0.94);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes ph-score-pulse {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 rgba(57, 255, 20, 0);
  }
  50% {
    border-color: rgba(57, 255, 20, 0.28);
    box-shadow: 0 0 18px rgba(57, 255, 20, 0.16);
  }
}

@media (min-width: 480px) {
  .page-home__hero-stats {
    gap: 16px;
  }

  .page-home__stat {
    padding: 18px 20px;
  }

  .page-home__stat-num {
    font-size: 26px;
  }

  .page-home__preview-stack {
    grid-template-columns: 1fr 1fr;
  }

  .page-home__preview-card:nth-child(even) {
    margin-top: 16px;
  }

  .page-home__score-ticker {
    grid-template-columns: 1fr 1fr;
  }

  .page-home__v3-grid {
    gap: 16px;
  }
}

@media (min-width: 640px) {
  .page-home__batch-row {
    margin-bottom: 26px;
  }

  .page-home__v3-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }

  .page-home__v3-arrow {
    transform: none;
    font-size: 32px;
    padding: 0 6px;
  }
}

@media (min-width: 768px) {
  .page-home__hero {
    padding: 64px 0 72px;
  }

  .page-home__section {
    padding: 84px 0;
  }

  .page-home__section-grid--split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .page-home__preview-stack {
    gap: 16px;
  }

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

  .page-home__map-card:last-child {
    grid-column: span 2;
  }

  .page-home__hero-stats {
    max-width: 520px;
  }
}

@media (min-width: 1024px) {
  .page-home__hero {
    min-height: 100vh;
    padding: 88px 0;
    display: flex;
    align-items: center;
  }

  .page-home__hero-wrap {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 72px;
    align-items: center;
  }

  .page-home__title {
    font-size: clamp(38px, 4vw, 56px);
  }

  .page-home__lead {
    font-size: 17px;
  }

  .page-home__section-grid--split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
  }

  .page-home__section-score .page-home__section-grid--split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home__section-grid--split .page-home__section-copy {
    padding: 8px 0;
  }

  .page-home__section-score .page-home__section-grid--split .page-home__section-copy {
    order: 1;
  }

  .page-home__section-score .page-home__section-grid--split .page-home__section-media {
    order: 2;
  }

  .page-home__preview-card {
    padding: 24px;
  }

  .page-home__preview-name {
    font-size: 22px;
  }

  .page-home__map-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .page-home__map-card:last-child {
    grid-column: span 3;
  }

  .page-home__v3-grid {
    margin: 40px 0;
  }

  .page-home__v3-col {
    padding: 32px 32px 34px;
  }
}

@media (min-width: 1280px) {
  .page-home__hero-wrap {
    gap: 96px;
  }

  .page-home__section {
    padding: 108px 0;
  }

  .page-home__hero-stats {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }
}
