.page-home {
  --home-accent: #FF6B00;
  --home-accent-soft: #FF8C42;
  --home-dark: #0A1A3F;
  --home-dark-light: #1E3A6E;
  --home-bg: #F5F7FA;
  --home-white: #FFFFFF;
  --home-text: #2D3436;
  --home-text-soft: #95A5A6;
  --home-hero-gap: clamp(2rem, 6vw, 4.5rem);
  background: var(--home-bg);
  overflow-x: hidden;
}

.page-home .container--narrow {
  max-width: 920px;
}

/* ========== HERO ========== */
.page-home .home-hero {
  position: relative;
  background: var(--home-dark);
  padding: calc(var(--header-height) + clamp(2.5rem, 6vw, 5.5rem)) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  color: var(--home-white);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -12%;
  width: 52%;
  height: 138%;
  background: linear-gradient(145deg, rgba(255, 107, 0, 0.16), rgba(30, 58, 110, 0.1));
  clip-path: polygon(28% 0%, 100% 0%, 82% 100%, 0% 100%);
  transform: rotate(-6deg);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  bottom: -16%;
  left: -6%;
  width: 112%;
  height: 30%;
  background: var(--home-bg);
  clip-path: polygon(0% 36%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
  z-index: 1;
}

.page-home .home-hero__gridline {
  position: absolute;
  top: 2rem;
  right: 1rem;
  width: 200px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}

.page-home .home-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-hero-gap);
  align-items: center;
}

.page-home .home-hero__kicker {
  margin-bottom: 0.9rem;
}

.page-home .home-hero__title {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  max-width: 7ch;
}

.page-home .home-hero__lead {
  max-width: 34em;
  margin-bottom: 1.75rem;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.page-home .home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
}

.page-home .home-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.page-home .home-hero__stat-num {
  font-family: var(--font-num);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--home-accent);
}

.page-home .home-hero__stat-label {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--color-text-on-dark);
}

.page-home .home-hero__frame-wrap {
  position: relative;
}

.page-home .home-hero__frame {
  background: #0d1b3f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(-1deg);
}

.page-home .home-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .home-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.page-home .home-frame__dot--red {
  background: #FF5F57;
}

.page-home .home-frame__dot--yellow {
  background: #FEBC2E;
}

.page-home .home-frame__dot--green {
  background: #28C840;
}

.page-home .home-frame__bar-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-text-on-dark);
  white-space: nowrap;
}

.page-home .home-frame__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .home-frame__nav::-webkit-scrollbar {
  display: none;
}

.page-home .home-frame__logo {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--home-accent);
  white-space: nowrap;
}

.page-home .home-frame__nav-item {
  font-size: 0.73rem;
  color: var(--color-text-on-dark);
  white-space: nowrap;
}

.page-home .home-frame__nav-item.is-active {
  color: var(--home-white);
  font-weight: 700;
}

.page-home .home-frame__nav-cta {
  margin-left: auto;
  font-size: 0.68rem;
  background: var(--home-accent);
  color: var(--home-white);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-home .home-frame__hero {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.page-home .home-frame__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 63, 0.08) 20%, rgba(10, 26, 63, 0.58) 100%);
}

.page-home .home-frame__spot {
  position: absolute;
  padding: 6px 11px;
  background: rgba(10, 26, 63, 0.78);
  border: 1px solid rgba(255, 107, 0, 0.4);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.page-home .home-frame__spot--a {
  top: 18%;
  left: 10%;
}

.page-home .home-frame__spot--b {
  bottom: 16%;
  right: 8%;
}

.page-home .home-frame__spot-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--home-white);
  letter-spacing: 0.03em;
}

/* ========== V3.1 FEATURES ========== */
.page-home .home-features {
  background: var(--home-bg);
}

.page-home .home-features__header {
  max-width: 720px;
  margin-bottom: 2.25rem;
}

.page-home .home-features__lead {
  margin-top: 0.75rem;
}

.page-home .home-features__grid {
  align-items: stretch;
}

.page-home .home-features__card {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
}

.page-home .home-features__card .card__index {
  margin-bottom: 0.85rem;
}

.page-home .home-features__card .card__title {
  margin-bottom: 0.5rem;
}

.page-home .home-features__card .card__body {
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .home-features__link {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--home-accent);
  text-decoration: none;
}

.page-home .home-features__link::after {
  content: " →";
}

.page-home .home-features__timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(10, 26, 63, 0.1);
}

.page-home .home-features__timeline-item {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--home-white);
  color: var(--home-text-soft);
  border: 1px solid rgba(10, 26, 63, 0.12);
}

.page-home .home-features__timeline-item.is-current {
  background: var(--home-dark);
  color: var(--home-white);
  border-color: var(--home-dark);
}

.page-home .home-features__timeline-item.is-current::after {
  content: "  当前";
  font-size: 0.68rem;
  color: var(--home-accent);
}

/* ========== INJURY ========== */
.page-home .home-injury {
  background: var(--home-dark);
  padding: var(--section-space) 0;
  color: var(--home-white);
}

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

.page-home .home-injury__content {
  max-width: 600px;
}

.page-home .home-injury__lead {
  margin-top: 0.75rem;
}

.page-home .home-injury__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.page-home .home-injury__tag {
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.page-home .home-injury__tag:hover,
.page-home .home-injury__tag:focus-visible {
  background: var(--home-accent);
  color: var(--home-white);
  transform: translateY(-2px);
}

.page-home .home-injury__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-home .home-injury__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.page-home .home-injury__league {
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(30, 58, 110, 0.7);
  border-radius: var(--radius-pill);
  color: var(--home-white);
}

.page-home .home-injury__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-on-dark);
}

.page-home .home-injury__code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--home-accent);
}

.page-home .home-injury__content > .btn {
  margin-top: 1.5rem;
}

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

.page-home .home-injury__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38);
}

.page-home .home-injury__img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-injury__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 26, 63, 0.88);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 107, 0, 0.3);
  backdrop-filter: blur(4px);
}

.page-home .home-injury__badge-num {
  font-family: var(--font-num);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--home-accent);
}

.page-home .home-injury__badge-text {
  font-size: 0.75rem;
  color: var(--home-white);
}

/* ========== REPLAY & DATABASE ========== */
.page-home .home-tools {
  background: var(--home-white);
}

.page-home .home-tools__header {
  margin-bottom: 2.25rem;
}

.page-home .home-tools__lead {
  margin-top: 0.5rem;
}

.page-home .home-tools__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-home .home-tools__block {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.page-home .home-tools__index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--home-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.page-home .home-tools__index--light {
  color: var(--home-accent-soft);
}

.page-home .home-tools__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.25;
  margin-bottom: 0.6rem;
  color: var(--home-text);
}

.page-home .home-tools__title--light {
  color: var(--home-white);
}

.page-home .home-tools__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--home-text-soft);
  margin-bottom: 1.1rem;
}

.page-home .home-tools__text--light {
  color: var(--color-text-on-dark);
}

.page-home .home-tools__points {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.page-home .home-tools__points li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.82rem;
  color: var(--home-text);
}

.page-home .home-tools__points--light li {
  color: var(--color-text-on-dark);
}

.page-home .home-tools__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-accent);
}

.page-home .home-tools__visual {
  margin-top: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 800px;
}

.page-home .home-tools__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== DATA PANORAMA ========== */
.page-home .home-data {
  background: var(--home-dark);
  padding: var(--section-space) 0;
  color: var(--home-white);
}

.page-home .home-data__header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.page-home .home-data__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-home .home-data__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.page-home .home-data__stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  text-align: center;
}

.page-home .home-data__stat-num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-weight: 700;
  color: var(--home-accent);
}

.page-home .home-data__stat-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--color-text-on-dark);
  margin-top: 0.25rem;
}

.page-home .home-data__chart {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(4px, 1.2vw, 10px);
  height: clamp(180px, 34vw, 260px);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 14px 12px;
}

.page-home .home-data__chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.page-home .home-data__chart-value {
  font-family: var(--font-num);
  font-size: 0.68rem;
  line-height: 1;
  color: var(--home-accent-soft);
  margin-bottom: 5px;
  white-space: nowrap;
}

.page-home .home-data__chart-bar {
  display: block;
  width: 100%;
  max-width: 30px;
  background: linear-gradient(180deg, var(--home-accent), rgba(255, 107, 0, 0.45));
  border-radius: var(--radius-pill) var(--radius-pill) 2px 2px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.page-home .home-data__chart-bar:hover {
  transform: scale(1.04, 1.06);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

.page-home .home-data__chart-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--color-text-on-dark);
  margin-top: 8px;
  white-space: nowrap;
}

.page-home .home-data__chart-bar--1 {
  height: 33%;
}

.page-home .home-data__chart-bar--2 {
  height: 50%;
}

.page-home .home-data__chart-bar--3 {
  height: 67%;
}

.page-home .home-data__chart-bar--4 {
  height: 42%;
}

.page-home .home-data__chart-bar--5 {
  height: 75%;
}

.page-home .home-data__chart-bar--6 {
  height: 100%;
}

.page-home .home-data__chart-bar--7 {
  height: 50%;
}

.page-home .home-data__visual {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
  max-width: 800px;
}

.page-home .home-data__img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-data__note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-text-on-dark);
  text-align: center;
}

/* ========== TRUST ========== */
.page-home .home-trust {
  background: var(--home-bg);
}

.page-home .home-trust__header {
  margin-bottom: 2rem;
}

.page-home .home-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.page-home .home-trust__stat {
  text-align: center;
  padding: 1.25rem 0.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.page-home .home-trust__stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.page-home .home-trust__num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--home-dark);
  line-height: 1.1;
}

.page-home .home-trust__label {
  display: block;
  font-size: 0.76rem;
  color: var(--home-text-soft);
  margin-top: 0.3rem;
}

.page-home .home-trust__note {
  max-width: 640px;
  margin: 1.75rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--home-text-soft);
}

.page-home .home-trust__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ========== CTA ========== */
.page-home .home-cta {
  position: relative;
  overflow: hidden;
  background: var(--home-dark);
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.page-home .home-cta::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.16);
  filter: blur(48px);
  pointer-events: none;
}

.page-home .home-cta::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--home-accent), var(--home-accent-soft), transparent);
}

.page-home .home-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.page-home .home-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  line-height: 1.2;
  color: var(--home-white);
}

.page-home .home-cta__desc {
  color: var(--color-text-on-dark);
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

.page-home .home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ========== MEDIA QUERIES ========== */
@media (min-width: 600px) {
  .page-home .home-trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-injury__item {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
  }

  .page-home .home-injury__desc {
    flex: 1;
  }

  .page-home .home-injury__code {
    align-self: auto;
  }

  .page-home .home-data__stats {
    gap: 1rem;
  }

  .page-home .home-tools__block {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .page-home .home-features__card--wide {
    grid-column: span 7;
  }

  .page-home .home-features__card--tall {
    grid-column: span 5;
  }

  .page-home .home-features__card--standard {
    grid-column: span 6;
  }

  .page-home .home-tools__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .page-home .home-tools__visual {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .home-data__grid {
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }

  .page-home .home-data__stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .page-home .home-data__stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 1rem;
  }

  .page-home .home-cta__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__layout {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 3rem;
  }

  .page-home .home-hero__gridline {
    width: 360px;
    top: 3rem;
    right: 2rem;
  }

  .page-home .home-injury__layout {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .page-home .home-trust__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .page-home .home-data__grid {
    grid-template-columns: 300px 1fr;
    gap: 2rem;
  }

  .page-home .home-data__chart {
    height: clamp(220px, 30vw, 280px);
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__title {
    max-width: 8ch;
  }

  .page-home .home-frame__bar-title {
    font-size: 0.75rem;
  }

  .page-home .home-data__chart {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-features__card,
  .page-home .home-injury__img-wrap,
  .page-home .home-tools__block,
  .page-home .home-data__chart,
  .page-home .home-cta__inner {
    transition: none;
  }
}
