:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(102, 242, 213, 0.15), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(255, 123, 95, 0.15), transparent 40%),
    #0b0f14;
}

#noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #66f2d5, #ff7b5f);
  z-index: 60;
}

.section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 10%, rgba(102, 242, 213, 0.2), transparent 50%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(102, 242, 213, 0.35), transparent 70%);
  top: -120px;
  right: 10%;
  filter: blur(10px);
  animation: floatGlow 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatGlow {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(20px) translateX(-10px) scale(1.05);
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 2.5rem;
  background: linear-gradient(160deg, rgba(12, 30, 52, 0.8), rgba(11, 15, 20, 0.9));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(12, 16, 22, 0.65);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #66f2d5, #5ac9ff);
  color: #0b0f14;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(102, 242, 213, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px rgba(102, 242, 213, 0.35);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 500;
  transition: border 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cta-secondary:hover {
  border-color: #66f2d5;
  color: #66f2d5;
  transform: translateY(-2px);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #66f2d5;
  transition: width 0.2s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

.project-card {
  border-radius: 22px;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(27, 36, 48, 0.9), rgba(12, 16, 22, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(102, 242, 213, 0.4);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
}

.input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.85rem 1rem;
  color: #fff;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  border-color: rgba(102, 242, 213, 0.7);
  box-shadow: 0 0 0 3px rgba(102, 242, 213, 0.2);
}

.stat {
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .hero-card {
    padding: 2rem;
  }
}
