:root {
  --bg: #050505;
  --surface: rgba(0, 0, 0, 0.85);
  --surface-scrolled: rgba(2, 131, 143, 0.95);
  --text: #f7f7f7;
  --accent: #38d9ff;
  --accent-soft: rgba(56, 217, 255, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 200vh;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #0b0b0b 0%, #11181f 100%);
  color: var(--text);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--surface);
}

.site-header.scrolled {
  background-color: var(--surface-scrolled);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background-color 0.25s ease, transform 0.25s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.menu a:hover,
.menu a:focus {
  color: var(--accent);
}

.menu a:hover::after,
.menu a:focus::after {
  background-color: var(--accent);
  transform: scaleX(1);
}

.page-content {
  padding-top: 100px;
  max-width: 980px;
  margin: 0 auto;
}

section {
  padding: 5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

section h1,
section h2 {
  margin-bottom: 1rem;
  color: #e5f7ff;
}

section p {
  line-height: 1.85;
  color: rgba(247, 247, 247, 0.82);
  max-width: 40rem;
}

@media (max-width: 680px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    gap: 1rem;
  }
}
