.page-home {
  --home-glow: rgba(0, 240, 255, 0.35);
  --home-pink-glow: rgba(255, 42, 109, 0.25);
  --home-grid-line: rgba(0, 240, 255, 0.08);
  --home-soft-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
}

.page-home .breadcrumb {
  position: relative;
  z-index: 2;
  margin-bottom: 2.5rem;
}

.page-home .crumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.page-home .crumb-item + .crumb-item::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--electric);
}

.page-home .crumb-item a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-home .crumb-item a:hover {
  color: var(--electric);
}

.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding-block: 4.5rem 2.5rem;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 82% 28%, rgba(0, 240, 255, 0.11), transparent 72%),
    linear-gradient(104deg, rgba(10, 14, 39, 0.94) 18%, rgba(10, 14, 39, 0.82) 46%, rgba(10, 14, 39, 0.4) 100%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    113deg,
    transparent 0,
    transparent 72px,
    var(--home-grid-line) 72px,
    var(--home-grid-line) 74px
  );
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-home .home-hero-main {
  display: grid;
  gap: 2rem;
}

.page-home .home-hero-copy {
  max-width: 780px;
}

.page-home .home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--electric);
}

.page-home .home-hero-kicker::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--electric);
  box-shadow: 0 0 8px var(--home-glow);
}

.page-home .home-hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

.page-home .home-hero-lead {
  margin: 0 0 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 56ch;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .home-hero-console {
  background: linear-gradient(150deg, rgba(26, 26, 46, 0.94), rgba(10, 14, 39, 0.88));
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--electric);
  box-shadow: var(--shadow-card), 0 0 30px var(--home-glow);
  padding: 1.25rem;
  max-width: 420px;
  width: 100%;
}

.page-home .home-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.page-home .home-console-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.page-home .home-console-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.page-home .home-console-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px dashed rgba(0, 240, 255, 0.12);
}

.page-home .home-console-row dt {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-dim);
}

.page-home .home-console-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--electric);
}

.page-home .home-console-foot {
  margin: 1rem 0 0;
  font-family: var(--font-body);
  font-size: 0.781rem;
  color: var(--text-dim);
  padding-left: 0.75rem;
  border-left: 2px solid var(--cyber);
}

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

.page-home .home-core-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.page-home .home-core-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 22px 22px 0;
  border-color: transparent rgba(0, 240, 255, 0.75) transparent transparent;
  transition: border-color 0.3s ease;
}

.page-home .home-core-card:hover {
  border-color: var(--border-strong);
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(10, 14, 39, 0.95));
  transform: translateY(-4px);
}

.page-home .home-core-card:hover::before {
  border-color: transparent var(--cyber) transparent transparent;
}

.page-home .home-core-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--electric);
  opacity: 0.55;
  -webkit-text-stroke: 1px var(--electric);
}

.page-home .home-core-body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
}

.page-home .home-core-body p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-home .home-core-card .btn-card {
  margin-top: auto;
}

.page-home .home-timeline-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.page-home .home-timeline-visual {
  position: relative;
}

.page-home .home-timeline-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}

.page-home .home-timeline-caption {
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-left: 2px solid var(--cyber);
  padding-left: 0.75rem;
}

.page-home .home-timeline-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.page-home .home-timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--electric), var(--cyber), transparent);
  opacity: 0.5;
}

.page-home .home-timeline-item {
  position: relative;
  padding-left: 2.25rem;
}

.page-home .home-timeline-dot {
  position: absolute;
  left: 0;
  top: 1.4rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--electric);
  box-shadow: 0 0 12px var(--home-glow);
}

.page-home .home-timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--electric);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.page-home .home-timeline-item:hover .home-timeline-card {
  border-left-color: var(--cyber);
  transform: translateX(4px);
}

.page-home .home-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.page-home .home-timeline-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(10, 14, 39, 0.85);
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
}

.page-home .home-timeline-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
}

.page-home .home-timeline-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-home .home-v3-frame {
  position: relative;
  display: grid;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85), rgba(10, 14, 39, 0.92));
  border: 1px solid var(--border-strong);
  box-shadow: var(--home-soft-shadow);
  padding: 1.5rem;
  overflow: hidden;
}

.page-home .home-v3-frame::after {
  content: "V3";
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(0, 240, 255, 0.08);
  pointer-events: none;
  line-height: 1;
}

.page-home .home-v3-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}

.page-home .home-v3-content .section-head {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.page-home .home-v3-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0 0 1.25rem;
}

.page-home .home-v3-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.page-home .home-v3-list li {
  position: relative;
  padding-left: 1.6rem;
  font-family: var(--font-body);
  font-size: 0.937rem;
  line-height: 1.55;
  color: var(--text);
}

.page-home .home-v3-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--electric);
  box-shadow: 0 0 8px var(--home-glow);
  transform: rotate(45deg);
}

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

.page-home .home-v3-batch {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  border: 1px dashed var(--border-strong);
}

.page-home .home-legacy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3a3a02, #1a1a02, var(--bg));
}

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

.page-home .home-legacy-inner {
  position: relative;
  z-index: 1;
}

.page-home .home-legacy-panel {
  max-width: 820px;
  background: rgba(10, 14, 39, 0.78);
  border: 1px solid rgba(252, 238, 10, 0.5);
  padding: 2rem 1.5rem;
  box-shadow: 0 0 38px rgba(252, 238, 10, 0.16);
  animation: home-legacy-pulse 3.2s ease-in-out infinite;
}

@keyframes home-legacy-pulse {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(252, 238, 10, 0.14);
  }
  50% {
    box-shadow: 0 0 48px rgba(252, 238, 10, 0.32);
  }
}

.page-home .home-legacy-panel h2 {
  margin: 0.6rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--text);
}

.page-home .home-legacy-panel p {
  margin: 0 0 1.5rem;
  font-family: var(--font-body);
  font-size: 0.937rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 60ch;
}

.page-home .home-legacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .home-help-grid {
  display: grid;
  gap: 1.1rem;
}

.page-home .home-help-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
  background: var(--bg-alt);
  border-left: 4px solid var(--electric);
  padding: 1.5rem;
  margin: 0;
}

.page-home .home-help-card .panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.page-home .home-help-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-home .home-help-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.page-home .home-help-points li {
  position: relative;
  padding-left: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
}

.page-home .home-help-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--cyber);
  transform: rotate(45deg);
}

.page-home .home-help-card .btn-card {
  margin-top: auto;
}

@media (min-width: 768px) {
  .page-home .home-core-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-home .home-help-card:last-child {
    grid-column: 1 / -1;
  }

  .page-home .home-hero-console {
    margin-left: auto;
  }

  .page-home .home-v3-frame {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 720px;
  }

  .page-home .home-hero-main {
    grid-template-columns: 1fr 380px;
    align-items: center;
    gap: 3.5rem;
  }

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

  .page-home .home-timeline-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .page-home .home-timeline-visual {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .page-home .home-v3-frame {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    padding: 2.5rem;
  }

  .page-home .home-v3-media {
    margin-right: 1rem;
  }

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

  .page-home .home-help-card:last-child {
    grid-column: auto;
  }

  .page-home .home-legacy-panel {
    padding: 3rem 2.5rem;
  }
}
