* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  color: #ffffff;
}

body {
  position: relative;
  background: #000000;
}

#bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(1.15);
}

.overlay-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-height: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
  backdrop-filter: blur(6px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo span {
  color: #8ff0ff;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 42rem;
  gap: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin: 0;
}

.hero p {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  margin: 0;
  opacity: 0.9;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button.primary {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: #000000;
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.35);
}

.cta-button.primary:hover,
.cta-button.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 114, 255, 0.5);
}

.cta-button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.cta-button.ghost:hover,
.cta-button.ghost:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.feature-grid article {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.feature-grid h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.feature-grid p {
  margin: 0;
  line-height: 1.6;
  opacity: 0.85;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.75;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 720px) {
  .hero {
    align-items: center;
    text-align: center;
  }

  .hero p {
    max-width: 32rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }
}
