/* ── Base ── */
body {
  font-family: "Outfit", sans-serif;
  scroll-behavior: smooth;
}

/* ── Header ── */
.site-header {
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(4, 18, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-img {
  height: 2.25rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-link {
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

/* ── Hero ── */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 197, 94, 0.12) 0%, transparent 60%),
    linear-gradient(rgba(4, 18, 8, 0.55), rgba(4, 18, 8, 0.75)),
    url('https://images.unsplash.com/photo-1574629810360-7efbbe195018') center/cover no-repeat;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #86efac 50%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.3);
  animation: bounce 2s ease-in-out infinite;
  transition: color 0.2s;
}

.scroll-hint:hover {
  color: rgba(255, 255, 255, 0.6);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #041208;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #4ade80;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ── Stats pills ── */
.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #4ade80;
}

.stat-label {
  font-size: 0.7rem;
  color: #71717a;
  margin-top: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Sections ── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #22c55e;
  margin-bottom: 1rem;
}

.section-dark {
  background: #0a1f0f;
}

.section-problem {
  background:
    linear-gradient(rgba(4, 18, 8, 0.88), rgba(4, 18, 8, 0.92)),
    url(jason-charters-IorqsMssQH0-unsplash.jpg) center/cover no-repeat;
}

.section-solution {
  background:
    linear-gradient(rgba(4, 18, 8, 0.88), rgba(4, 18, 8, 0.92)),
    url(chaos-soccer-gear-Cjfl8r_eYxY-unsplash.jpg) center/cover no-repeat;
}

.section-prototype {
  background: #041208;
}

.section-vision {
  background:
    linear-gradient(rgba(4, 18, 8, 0.85), rgba(4, 18, 8, 0.9)),
    url(daniel-norin-lBhhnhndpE0-unsplash.jpg) center/cover no-repeat;
}

/* ── Cards ── */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(12px);
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.25rem;
}

.mini-card-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

/* ── Prototype demos ── */
.demo-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  padding: 2rem;
}

.demo-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.media-frame {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 0.5rem;
  overflow: hidden;
}

.demo-caption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #71717a;
  text-align: center;
  line-height: 1.5;
}

/* ── Footer ── */
.footer-link {
  color: #71717a;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #fff;
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    padding: 100px 20px 80px;
    background-position: 60% center;
  }

  .hero h1 {
    font-size: 2.75rem;
    line-height: 1.1;
  }

  .glass-card {
    padding: 2rem 1.25rem;
  }

  .demo-block {
    padding: 1.25rem;
  }

  .section-dark,
  .section-solution,
  .section-prototype,
  .section-vision {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .prototype video,
  .media-frame video {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .stat-pill {
    padding: 0.5rem;
  }

  .stat-value {
    font-size: 0.95rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }
}
