.page-home {
  --home-hero-gap: 0px;
  --home-card-radius: 12px;
  --home-transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --home-glow: 0 0 24px var(--glow-red);
  display: block;
  width: 100%;
  min-height: 100vh;
  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ===== HERO ===== */
.home-hero {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  background: var(--dark-bg);
}
@media (min-width: 900px) {
  .home-hero {
    flex-direction: row;
    min-height: 92vh;
  }
}
.hero-brand {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) {
  .hero-brand {
    padding: 4rem 3rem 4rem 4rem;
  }
}
.hero-brand .section-number {
  font-size: 4rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--primary-red);
  line-height: 1;
  opacity: 0.6;
  margin-bottom: 0.25rem;
}
@media (min-width: 900px) {
  .hero-brand .section-number {
    font-size: 5.5rem;
  }
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.75rem;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--primary-red) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (min-width: 600px) {
  .hero-title {
    font-size: 3.8rem;
  }
}
@media (min-width: 900px) {
  .hero-title {
    font-size: 5rem;
  }
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 28em;
  margin-bottom: 2rem;
  font-weight: 400;
}
@media (min-width: 900px) {
  .hero-sub {
    font-size: 1.2rem;
  }
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
  color: var(--text-primary);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--home-transition), box-shadow var(--home-transition);
  width: fit-content;
}
.hero-cta:hover {
  transform: scale(1.04);
  box-shadow: var(--home-glow);
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-red);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  flex: 1 1 55%;
  position: relative;
  min-height: 50vh;
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero-visual {
    min-height: auto;
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.5) saturate(1.2) contrast(1.1);
}
.hero-overlay-data {
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  left: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  z-index: 3;
}
@media (min-width: 600px) {
  .hero-overlay-data {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    bottom: 3rem;
    right: 3rem;
    left: auto;
    max-width: 640px;
  }
}
.data-card {
  background: rgba(11, 12, 16, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: default;
  transition: background var(--home-transition), border-color var(--home-transition);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.data-card:hover {
  background: rgba(230, 57, 70, 0.2);
  border-color: var(--primary-red);
}
.data-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 500;
}
.data-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}
.data-team {
  font-size: 0.75rem;
  color: var(--metallic-silver);
}
.hero-speed-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(230, 57, 70, 0.03) 8px,
    rgba(230, 57, 70, 0.06) 10px
  );
  animation: speedDrift 8s linear infinite;
}
@keyframes speedDrift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* ===== FEATURES ===== */
.home-features {
  padding: 4rem 1.5rem;
  background: var(--dark-bg);
  position: relative;
}
@media (min-width: 900px) {
  .home-features {
    padding: 6rem 4rem;
  }
}
.features-header {
  margin-bottom: 3rem;
}
.features-header .section-number {
  font-size: 3.5rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary-red);
  opacity: 0.5;
  display: block;
  line-height: 1;
}
.features-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  font-style: italic;
  margin: 0.25rem 0 0.5rem;
}
@media (min-width: 600px) {
  .features-heading {
    font-size: 2.8rem;
  }
}
.features-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 32em;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .features-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--home-card-radius);
  overflow: hidden;
  transition: transform var(--home-transition), border-color var(--home-transition), box-shadow var(--home-transition);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-red);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.15);
}
.feature-card-accel {
  margin-top: 0;
}
@media (min-width: 1100px) {
  .feature-card-accel {
    margin-top: 2rem;
  }
}
.card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--metallic-silver);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--home-transition);
}
.feature-card:hover .card-img-wrap img {
  transform: scale(1.05);
}
.card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.card-number {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-red);
  opacity: 0.6;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}
.card-toggle {
  align-self: flex-start;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  background: transparent;
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--home-transition), color var(--home-transition);
  font-family: var(--font-body);
  font-weight: 500;
}
.card-toggle:hover {
  background: var(--primary-red);
  color: var(--text-primary);
}
.card-detail {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--home-transition), padding var(--home-transition);
  padding: 0 0.25rem;
}
.card-detail p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.feature-card[data-open] .card-detail {
  max-height: 200px;
  padding: 0.75rem 0.25rem 0.25rem;
}

/* ===== LIVE DATA ===== */
.home-live {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, var(--dark-bg) 0%, #0f111a 100%);
  position: relative;
}
@media (min-width: 900px) {
  .home-live {
    padding: 6rem 4rem;
  }
}
.live-header {
  margin-bottom: 2.5rem;
}
.live-header .section-number {
  font-size: 3.5rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary-red);
  opacity: 0.5;
  display: block;
  line-height: 1;
}
.live-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  font-style: italic;
  margin: 0.25rem 0 0.5rem;
}
@media (min-width: 600px) {
  .live-heading {
    font-size: 2.8rem;
  }
}
.live-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}
.live-visual {
  position: relative;
  border-radius: var(--home-card-radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  min-height: 400px;
}
.live-bg {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) saturate(1.1) contrast(1.05);
  display: block;
}
.live-data-panel {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(11, 12, 16, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 520px;
}
@media (min-width: 600px) {
  .live-data-panel {
    left: 2.5rem;
    bottom: 2.5rem;
    right: auto;
    width: 420px;
  }
}
.live-data-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.15rem 0;
  cursor: default;
  transition: background var(--home-transition);
  border-radius: 4px;
  padding: 0.4rem 0.5rem;
  margin: 0 -0.5rem;
}
.live-data-row:hover {
  background: rgba(230, 57, 70, 0.12);
}
.live-metric {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  width: 5em;
  flex-shrink: 0;
  font-weight: 500;
}
.live-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  min-width: 60px;
}
.live-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-red), var(--secondary-blue));
  border-radius: 3px;
  transition: width 0.6s ease;
}
.live-numbers {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-primary);
  width: 6em;
  text-align: right;
  flex-shrink: 0;
  font-weight: 500;
}
.live-sep {
  color: var(--metallic-silver);
  margin: 0 0.15rem;
}
.live-row-glow {
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.25rem;
  padding-top: 0.6rem;
}
.live-event {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--accent-orange);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ===== EXPLORE ===== */
.home-explore {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.explore-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.explore-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,12,16,0.85) 30%, rgba(230,57,70,0.3) 100%);
  z-index: 1;
}
.explore-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.6) saturate(1.1);
}
.explore-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 640px;
}
.explore-content .section-number {
  font-size: 3.5rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary-red);
  opacity: 0.6;
  display: block;
  line-height: 1;
}
.explore-heading {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  font-style: italic;
  margin: 0.5rem 0 0.75rem;
}
@media (min-width: 600px) {
  .explore-heading {
    font-size: 3.2rem;
  }
}
.explore-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.explore-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 50px;
  text-decoration: none;
  transition: transform var(--home-transition), box-shadow var(--home-transition), background var(--home-transition);
  cursor: pointer;
}
.explore-btn:not(.outline) {
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
  color: var(--text-primary);
  border: none;
}
.explore-btn:not(.outline):hover {
  transform: scale(1.04);
  box-shadow: var(--home-glow);
}
.explore-btn.outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(4px);
}
.explore-btn.outline:hover {
  border-color: var(--primary-red);
  background: rgba(230, 57, 70, 0.15);
  transform: scale(1.03);
}

/* ===== RESPONSIVE FINE-TUNE ===== */
@media (max-width: 599px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    gap: 1.2rem;
  }
  .stat-value {
    font-size: 1.4rem;
  }
  .features-grid {
    gap: 1rem;
  }
  .live-data-panel {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1rem;
  }
  .live-metric {
    width: 4em;
    font-size: 0.7rem;
  }
  .live-numbers {
    width: 4.5em;
    font-size: 0.75rem;
  }
  .explore-heading {
    font-size: 1.8rem;
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-visual {
    min-height: 60vh;
  }
}
@media (min-width: 900px) {
  .hero-overlay-data {
    max-width: 560px;
  }
  .data-card {
    padding: 1rem 1.25rem;
  }
  .data-value {
    font-size: 1.6rem;
  }
}
</main>
