:root {
  --page-bg: #0F0B08;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 66, 0.04), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(75, 90, 106, 0.10), transparent 40%),
    linear-gradient(180deg, #0F0B08 0%, #1A130D 100%);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  padding: 0.75rem 1rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero-section {
  min-height: 100vh;
}

.hero-bg-photo {
  background-image:
    linear-gradient(90deg, rgba(15, 11, 8, 0.94) 0%, rgba(15, 11, 8, 0.86) 38%, rgba(15, 11, 8, 0.55) 62%, rgba(15, 11, 8, 0.82) 100%),
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) brightness(0.72);
}

.timeline-bg-gradient {
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 66, 0.04), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(75, 90, 106, 0.10), transparent 40%),
    linear-gradient(180deg, #0F0B08 0%, #1A130D 100%);
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(75, 90, 106, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 90, 106, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
}

.glass {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(26, 19, 13, 0.76), rgba(26, 19, 13, 0.52));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-line {
  background: linear-gradient(90deg, rgba(245, 158, 66, 0.45), rgba(75, 90, 106, 0.18), transparent);
  height: 1px;
}

.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, rgba(245, 158, 66, 0.16), rgba(75, 90, 106, 0.10));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.digital-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 158, 66, 0.85) 0%, rgba(75, 90, 106, 0.15) 60%, transparent 80%);
  box-shadow: 0 0 14px rgba(75, 90, 106, 0.18);
}

.glow-ring {
  position: absolute;
  border: 1px solid rgba(75, 90, 106, 0.18);
  border-radius: 999px;
  filter: blur(0.2px);
}

.timeline-card-stage {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(36, 29, 24, 0.90), rgba(24, 19, 15, 0.76)),
    radial-gradient(circle at top right, rgba(245, 158, 66, 0.12), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nav-link:hover {
  color: #ffffff;
}

.cta-primary:hover {
  transform: translateY(-1px);
}

canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta-primary:hover {
    transform: none;
  }
}
