:root {
  --background: #0A0E1A;
  --surface: #121829;
  --blue: #2A52BE;
  --bright: #4A78FF;
  --silver: #E2E8F0;
  --muted: #9AA9C5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: var(--background);
  color: var(--silver);
  line-height: 1.7;
}

/* NAVIGATION */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,14,26,0.95);
  backdrop-filter: blur(15px);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 8%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
}

.logo span {
  color: var(--bright);
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.nav-link:hover {
  color: white;
}

/* HERO */

.hero {
  min-height: 620px;
  padding: 130px 8%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      ellipse at 50% 20%,
      rgba(42,82,190,0.28),
      transparent 60%
    ),
    var(--background);
}

.eyebrow {
  color: var(--bright);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.hero .eyebrow,
.hero h1,
.hero .description,
.hero .actions,
.hero .status {
  animation: fadeUp 0.9s ease both;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 82px);
  line-height: 1.1;
  letter-spacing: -3px;
  animation-delay: 0.15s;
}

.hero h1 span {
  color: var(--bright);
  animation: sapphireGlow 3s ease-in-out infinite alternate;
}

.description {
  max-width: 520px;
  color: var(--muted);
  margin: 25px 0 32px;
  animation-delay: 0.3s !important;
}

/* BUTTONS */

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation-delay: 0.45s !important;
}

.button {
  padding: 13px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
}

.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 0 25px rgba(42,82,190,0.3);
}

.primary:hover {
  background: var(--bright);
  transform: translateY(-3px);
}

.secondary {
  color: var(--silver);
  border: 1px solid rgba(255,255,255,0.2);
}

.secondary:hover {
  border-color: var(--bright);
  color: var(--bright);
}

/* STATUS */

.status {
  margin-top: 65px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  animation-delay: 0.6s !important;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #48D597;
  border-radius: 50%;
  margin-right: 8px;
}

/* FEATURES */

.features,
.about {
  padding: 100px 8%;
  text-align: center;
}

.features h2,
.about h2 {
  font-size: 36px;
  margin-bottom: 45px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 35px 25px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--bright);
  box-shadow: 0 10px 35px rgba(42,82,190,0.16);
}

.feature-icon {
  font-size: 34px;
  color: var(--bright);
  margin-bottom: 18px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p,
.about > p:last-child {
  color: var(--muted);
}

/* ABOUT */

.about {
  background: var(--surface);
}

.about > p:last-child {
  max-width: 650px;
  margin: auto;
}

/* FOOTER */

footer {
  padding: 35px 8%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

footer p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}

/* ANIMATIONS */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sapphireGlow {
  from {
    text-shadow: 0 0 12px rgba(74,120,255,0.25);
  }
  to {
    text-shadow: 0 0 35px rgba(74,120,255,0.75);
  }
}

/* MOBILE */

@media (max-width: 650px) {
  .navbar {
    gap: 15px;
    flex-wrap: wrap;
  }

  .logo {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    flex: 1;
    text-align: center;
  }

  .hero {
    min-height: 550px;
    padding: 90px 6%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .features,
  .about {
    padding: 75px 6%;
  }

  .features h2,
  .about h2 {
    font-size: 29px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .feature-card {
    opacity: 1;
    transform: none;
  }
}
