:root {
  --bg: #eef4ff;
  --surface: #ffffff;
  --primary: #123b90;
  --primary-strong: #0b2b6f;
  --accent: #5fd6ff;
  --text: #1a2340;
  --muted: #4f5f85;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  width: min(1000px, 92%);
  margin: 0 auto;
}

.site-header {
  background: radial-gradient(circle at 15% 20%, #2a56b8 0%, var(--primary) 55%, var(--primary-strong) 100%);
  color: #fff;
  padding: 2.6rem 0 2.2rem;
  border-bottom: 3px solid rgb(46 208 255 / 35%);
}

.header-content h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subtitle {
  margin-top: 0.5rem;
  opacity: 0.96;
  font-weight: 600;
  color: #d5e6ff;
}

.main-nav {
  background: var(--primary-strong);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.main-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--accent);
  color: #071b4a;
  transform: translateY(-1px);
}

.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  min-width: 200px;
  padding: 0.4rem;
  border-radius: 12px;
  background: var(--primary-strong);
  box-shadow: 0 12px 28px rgb(3 11 31 / 35%);
  border: 1px solid rgb(255 255 255 / 14%);
  z-index: 30;
}

.submenu li {
  width: 100%;
}

.submenu a {
  border-radius: 8px;
  font-size: 0.83rem;
  width: 100%;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  display: block;
}

main {
  padding: 1.6rem 0 2.4rem;
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0 1.2rem;
}

.hero-image {
  position: relative;
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
  background: linear-gradient(130deg, rgb(15 47 122 / 82%), rgb(11 36 95 / 90%));
  color: #e9f1ff;
  box-shadow: 0 20px 44px rgb(9 20 54 / 22%);
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgb(46 208 255 / 32%) 0%, transparent 45%),
    radial-gradient(circle at 25% 80%, rgb(255 255 255 / 12%) 0%, transparent 42%);
  pointer-events: none;
}

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

.hero h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: #ffffff;
  max-width: 14ch;
  line-height: 1.12;
}

.hero p {
  max-width: 690px;
  margin: 0;
  color: #d9e6ff;
  font-size: 1.05rem;
}

.hero-tag {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #a8d9ff;
  font-weight: 700;
}

.hero-button {
  display: inline-block;
  width: fit-content;
  margin-top: 0.75rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--primary), #1d54c8);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgb(15 47 122 / 25%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgb(15 47 122 / 32%);
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.35rem;
  margin: 1.1rem 0;
  box-shadow: 0 14px 34px rgb(9 20 54 / 10%);
  border: 1px solid #d7e4ff;
}

.card h2 {
  margin-top: 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card p,
.card li {
  color: #2e3d66;
}

.site-footer {
  text-align: center;
  background: var(--primary-strong);
  color: #fff;
  padding: 1.2rem 0;
  border-top: 3px solid rgb(46 208 255 / 30%);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.social-links a {
  color: #d9e6ff;
  text-decoration: none;
  border: 1px solid rgb(217 230 255 / 35%);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.88rem;
}

.social-links a:hover {
  background: rgb(46 208 255 / 18%);
}

@media (max-width: 700px) {
  .main-nav ul {
    gap: 0.35rem;
    padding: 0.45rem 0;
  }

  .main-nav a {
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-image {
    padding: 1.35rem;
  }

  .submenu {
    position: absolute;
    display: none;
    min-width: 180px;
    background: var(--primary-strong);
    border: 1px solid rgb(255 255 255 / 14%);
    box-shadow: 0 12px 28px rgb(3 11 31 / 35%);
    padding: 0.35rem;
  }

  .submenu a {
    color: #fff;
    text-transform: uppercase;
  }
}
