.page-home {
  --home-accent-green: #39FF88;
  --home-accent-orange: #FF6B35;
  --home-accent-rose: #FF2D55;
  --home-accent-gold: #FFD700;
  --home-deep: #0A1128;
  --home-deep-2: #0B1D3A;
  --home-ink: #1A233A;
  --home-text: #C0C8D8;
  --home-white: #FFFFFF;
  --home-radius: 20px;
  position: relative;
  overflow-x: hidden;
  color: var(--home-text);
  font-family: var(--font-body);
  background: var(--home-deep);
}

.page-home .container {
  width: min(1280px, 92%);
  margin-inline: auto;
  max-width: 100%;
}

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

.page-home .section--alt {
  background: var(--home-deep-2);
}

.page-home .section__index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--home-accent-green);
  margin-bottom: 12px;
  font-weight: 600;
}

.page-home .section__index::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--home-accent-green);
  opacity: 0.5;
}

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

.page-home .section__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--home-white);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

.page-home .section__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--home-text);
  max-width: 640px;
  margin: 0;
}

.page-home .section__header {
  margin-bottom: 40px;
  position: relative;
}

.page-home .coord-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--home-accent-green);
  text-transform: uppercase;
  font-weight: 500;
}

.page-home .coord-label--light {
  color: var(--home-white);
  opacity: 0.8;
}

.page-home .coord-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.page-home .btn--primary {
  background: var(--home-accent-green);
  color: var(--home-deep);
}

.page-home .btn--primary:hover {
  background: transparent;
  color: var(--home-accent-green);
  border-color: var(--home-accent-green);
  box-shadow: 0 0 24px rgba(57, 255, 136, 0.35);
}

.page-home .btn--secondary {
  background: linear-gradient(135deg, #FF6B35, #FF2D55);
  color: #FFFFFF;
}

.page-home .btn--secondary:hover {
  background: linear-gradient(135deg, #FF2D55, #FF6B35);
  box-shadow: 0 0 24px rgba(255, 45, 85, 0.35);
  transform: translateY(-2px);
}

.page-home .btn--ghost {
  background: transparent;
  color: var(--home-accent-green);
  border-color: rgba(57, 255, 136, 0.5);
}

.page-home .btn--ghost:hover {
  background: rgba(57, 255, 136, 0.08);
  border-color: var(--home-accent-green);
  box-shadow: 0 0 20px rgba(57, 255, 136, 0.2);
}

.page-home .btn--lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.page-home .text-white { color: var(--home-white); }
.page-home .text-muted { color: var(--home-text); }

/* hero */
.page-home .hero-zone {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 64px;
  background:
    linear-gradient(145deg, rgba(10, 17, 40, 0.92) 0%, rgba(11, 29, 58, 0.85) 40%, rgba(10, 17, 40, 0.92) 100%),
    repeating-linear-gradient(90deg, rgba(57, 255, 136, 0.03) 0px, rgba(57, 255, 136, 0.03) 1px, transparent 1px, transparent 80px);
  border-bottom: 1px solid rgba(57, 255, 136, 0.15);
}

.page-home .hero-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(57, 255, 136, 0.02) 0px, transparent 1px, transparent 60px);
  pointer-events: none;
}

.page-home .hero-zone__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.page-home .hero-zone__content {
  max-width: 720px;
}

.page-home .hero-zone__title {
  margin: 16px 0 20px;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 900;
  color: var(--home-white);
  letter-spacing: 0.02em;
}

.page-home .hero-zone__title-main {
  display: block;
  text-shadow: 0 0 40px rgba(57, 255, 136, 0.3);
}

.page-home .hero-zone__title-sub {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  background: linear-gradient(90deg, #FFD700, #FF6B35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.page-home .hero-zone__desc {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--home-text);
}

.page-home .hero-zone__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.page-home .hero-zone__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .hero-zone__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--home-accent-green);
  letter-spacing: 0.02em;
}

.page-home .hero-zone__stat-label {
  font-size: 0.85rem;
  color: var(--home-text);
  letter-spacing: 0.05em;
}

.page-home .hero-zone__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

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

.page-home .hero-zone__scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--home-accent-green), transparent);
  opacity: 0.4;
  animation: home-scan-move 8s linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes home-scan-move {
  0% { transform: translateY(0); opacity: 0.2; }
  50% { transform: translateY(92vh); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 0.2; }
}

/* upgrade section */
.page-home .upgrade-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.page-home .upgrade-card {
  padding: 28px 24px 32px;
  background: var(--home-ink);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-home .upgrade-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 136, 0.35);
}

.page-home .upgrade-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--home-accent-green), transparent 70%);
}

.page-home .upgrade-card__num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--home-accent-green);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 12px;
}

.page-home .upgrade-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--home-white);
  margin-bottom: 10px;
}

.page-home .upgrade-card__text {
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
  color: var(--home-text);
}

/* sync */
.page-home .sync-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-home .sync-layout__visual {
  width: 100%;
  max-width: 700px;
  order: 1;
}

.page-home .sync-layout__img,
.page-home .fixtures-layout__img,
.page-home .spirit-img {
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  object-fit: cover;
  border: 1px solid rgba(57, 255, 136, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.page-home .sync-layout__content {
  max-width: 640px;
  order: 2;
}

.page-home .sync-layout__text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.page-home .sync-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .sync-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: var(--home-text);
}

.page-home .sync-list__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(57, 255, 136, 0.12);
  color: var(--home-accent-green);
  font-size: 0.75rem;
}

/* fixtures */
.page-home .fixtures-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 32px;
}

.page-home .fixtures-layout__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .fixtures-feature {
  padding: 24px;
  background: transparent;
}

.page-home .fixtures-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(57, 255, 136, 0.12), rgba(255, 107, 53, 0.12));
  color: var(--home-accent-green);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.page-home .fixtures-feature__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--home-white);
  margin-bottom: 8px;
}

.page-home .fixtures-feature__text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: var(--home-text);
}

.page-home .fixtures-layout__visual {
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
}

/* contact */
.page-home .section--contact {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.1), transparent 50%),
    var(--home-deep);
}

.page-home .contact-banner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, rgba(57, 255, 136, 0.06), rgba(255, 107, 53, 0.06));
  border: 1px solid rgba(57, 255, 136, 0.15);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.page-home .contact-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, transparent 0px, transparent 12px, rgba(57, 255, 136, 0.02) 12px, rgba(57, 255, 136, 0.02) 13px);
  pointer-events: none;
}

.page-home .contact-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-home .contact-banner__text {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 28px;
}

.page-home .contact-banner__badge {
  display: none;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

.page-home .contact-badge {
  width: 100%;
  height: 100%;
}

.page-home .contact-banner__meta {
  display: flex;
  justify-content: center;
}

/* accordion */
.page-home .accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.page-home .accordion__item {
  background: var(--home-ink);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.page-home .accordion__item[open] {
  border-color: rgba(57, 255, 136, 0.3);
}

.page-home .accordion__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.page-home .accordion__summary::-webkit-details-marker {
  display: none;
}

.page-home .accordion__num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--home-accent-green);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.page-home .accordion__title {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--home-white);
  line-height: 1.4;
}

.page-home .accordion__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.page-home .accordion__icon::before,
.page-home .accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--home-accent-green);
  transform: translate(-50%, -50%);
}

.page-home .accordion__icon::before {
  width: 2px;
  height: 16px;
}

.page-home .accordion__icon::after {
  width: 16px;
  height: 2px;
}

.page-home .accordion__item[open] .accordion__icon {
  transform: rotate(45deg);
}

.page-home .accordion__content {
  padding: 0 20px 20px 56px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--home-text);
}

.page-home .qa-more {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 24px;
  background: rgba(57, 255, 136, 0.04);
  border-radius: 16px;
}

.page-home .qa-more p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* spirit */
.page-home .split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-home .split-grid__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-home .spirit-copy p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.page-home .spirit-copy p:last-child {
  margin-bottom: 0;
}

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

.page-home .tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 999px;
  background: rgba(57, 255, 136, 0.08);
  color: var(--home-accent-green);
  border: 1px solid rgba(57, 255, 136, 0.3);
}

.page-home .tag--gold {
  background: rgba(255, 215, 0, 0.08);
  color: var(--home-accent-gold);
  border-color: rgba(255, 215, 0, 0.3);
}

.page-home .tag--orange {
  background: rgba(255, 107, 53, 0.08);
  color: var(--home-accent-orange);
  border-color: rgba(255, 107, 53, 0.3);
}

.page-home .split-grid__visual {
  width: 100%;
  max-width: 600px;
}

/* cta */
.page-home .section--cta {
  background: var(--home-deep-2);
}

.page-home .cta-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 24px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 45, 85, 0.05));
  border: 1px solid rgba(255, 107, 53, 0.15);
  border-radius: 24px;
}

.page-home .cta-panel__content p {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px;
  font-family: var(--font-heading);
  line-height: 1.4;
}

.page-home .cta-panel__content .text-muted {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0;
}

.page-home .cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-home .home-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--home-accent-green);
  color: var(--home-deep);
  font-size: 1.4rem;
  border-radius: 50%;
  text-decoration: none;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 20px rgba(57, 255, 136, 0.4);
}

.page-home .home-back-to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
}

.page-home .home-back-to-top:hover {
  transform: translateY(-4px);
}

.page-home .mb-0 { margin-bottom: 0; }
.page-home .mt-1 { margin-top: 8px; }
.page-home .mb-1 { margin-bottom: 8px; }
.page-home .mt-2 { margin-top: 16px; }
.page-home .mb-2 { margin-bottom: 16px; }
.page-home .mt-3 { margin-top: 24px; }
.page-home .mb-3 { margin-bottom: 24px; }
.page-home .mt-4 { margin-top: 32px; }
.page-home .mb-4 { margin-bottom: 32px; }
.page-home .mt-5 { margin-top: 48px; }
.page-home .mb-5 { margin-bottom: 48px; }

/* ===== desktop ===== */
@media (min-width: 768px) {
  .page-home .upgrade-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .sync-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .hero-zone {
    padding-top: 96px;
  }

  .page-home .hero-zone__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
  }

  .page-home .hero-zone__content {
    flex: 1.1;
  }

  .page-home .hero-zone__visual {
    flex: 0.9;
  }

  .page-home .sync-layout {
    flex-direction: row;
    gap: 64px;
  }

  .page-home .sync-layout__visual {
    order: 2;
  }

  .page-home .sync-layout__content {
    order: 1;
  }

  .page-home .fixtures-layout {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .page-home .fixtures-layout__intro {
    flex: 1;
    order: 1;
  }

  .page-home .fixtures-layout__visual {
    flex: 1;
    order: 2;
  }

  .page-home .contact-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .page-home .contact-banner__content {
    text-align: left;
  }

  .page-home .contact-banner__badge {
    display: block;
  }

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

  .page-home .cta-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 48px 48px;
  }

  .page-home .cta-panel__actions {
    flex-shrink: 0;
  }

  .page-home .section {
    padding: 96px 0;
  }
}

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

  .page-home * {
    transition: none !important;
  }
}
