.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  overflow: hidden;
  background: url("/assets/img/earth.webp") no-repeat center 70%;
  color: white;
  border-radius: 0;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* display: none; */
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 40px;
}

.hero h2 {
  width: fit-content;
  line-height: 1.6;
  /* background: rgba(0, 0, 0, 0.2); */
}

.hero h4 {
  width: fit-content;
  line-height: 1.6;
}

.cta {
  margin-top: 50px;
}

.cta button {
  padding: 12px;
  width: 150px;
  margin: 0 8px;
  border-radius: 8px;
  border: none;
  background: #4f46e5;
  color: white;
  font-weight: bold;
}

.cta .ghost {
  background: transparent;
  border: 1px solid #4f46e5;
}

@media (min-width: 1024px) {
  .hero {
    border-radius: 12px;
    height: 60vh;
  }

  canvas {
    display: block;
  }

  .hero h2 {
    font-size: 3rem;
  }

  .hero h4 {
    font-size: 1.5rem;
  }
}

.home-section {
  padding: 72px 20px;
}

.section-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-kicker {
  color: var(--c-primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  color: var(--c-text);
  max-width: 360px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.info-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
}

.info-card h4 {
  margin-bottom: 12px;
}

.info-card p {
  color: var(--c-text);
}

@media (min-width: 1024px) {
  .home-section {
    padding: 100px 0;
  }

  .section-desc {
    color: var(--c-text);
    max-width: none;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.benchmark-cards {
  padding: 72px 20px;
}

.benchmark-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.bench-head {
  margin-bottom: 36px;
}

.bench-head p:last-child {
  margin-top: 12px;
  color: var(--c-text-sub);
}

.bench-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.bench-card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 12%,
      rgba(31, 128, 255, 0.22),
      transparent 32%
    ),
    rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.integrity-card {
  background:
    radial-gradient(circle at 80% 12%, rgba(34, 197, 94, 0.2), transparent 32%),
    rgba(15, 23, 42, 0.82);
}

.bench-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-weak);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.bench-card h3 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.performance-card h3 {
  color: #93c5fd;
}

.integrity-card h3 {
  color: #22c55e;
}

.bench-card > p {
  color: var(--c-text-sub);
  margin-bottom: 28px;
}

.bench-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.bench-metrics div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bench-metrics span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 6px;
}

.bench-metrics strong {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #fff;
  word-break: keep-all;
}

.raw-log {
  margin-top: 20px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.raw-log summary {
  cursor: pointer;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.raw-log pre {
  margin: 0;
  padding: 0 16px 16px;
  overflow-x: auto;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

@media (min-width: 1024px) {
  .benchmark-cards {
    padding: 96px 0;
  }

  .bench-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .bench-card {
    padding: 34px;
  }
}
