@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: #050816;
}

header {
  transition:
    background 300ms ease,
    backdrop-filter 300ms ease,
    border-color 300ms ease;
}

header.scrolled {
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-glow {
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(37, 99, 235, 0.35),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 60%,
      rgba(96, 165, 250, 0.12),
      transparent 35%
    ),
    radial-gradient(
      circle at 20% 70%,
      rgba(124, 58, 237, 0.14),
      transparent 35%
    );
}

.reveal {
  opacity: 0;
  transform: translateY(56px);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-frame {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 48px;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    #080d1c;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-light {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45), transparent 65%);
  filter: blur(20px);
}

.feature-panel {
  min-height: 240px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    background 250ms ease;
}

.feature-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(37, 99, 235, 0.12);
}

.feature-panel span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
  color: #60a5fa;
  font-weight: 700;
  border: 1px solid rgba(96, 165, 250, 0.22);
}

.feature-panel h3 {
  margin-top: 56px;
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-panel p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.6;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -53px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.16);
}

.timeline-item p {
  color: #60a5fa;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.timeline-item span {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.125rem;
  line-height: 1.7;
}

.counter {
  font-variant-numeric: tabular-nums;
}

section {
  position: relative;
}

section::after {
  content: "";
  position: absolute;
  inset: auto 10% 0 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  pointer-events: none;
}

section:last-of-type::after {
  display: none;
}

@media (max-width: 768px) {
  .product-frame {
    padding: 28px;
    border-radius: 28px;
    min-height: auto;
  }

  .feature-panel {
    min-height: auto;
  }

  .feature-panel h3 {
    margin-top: 36px;
  }

  .timeline-item::before {
    left: -39px;
  }
}
