:root {
  --bg: #f4f8fc;
  --bg-soft: #edf4fb;
  --white: #ffffff;
  --text: #102235;
  --muted: #5a6b7c;
  --line: rgba(16, 34, 53, 0.10);
  --brand: #5aa7d9;
  --brand-dark: #3c89bb;
  --brand-soft: #dceef9;
  --shadow: 0 18px 40px rgba(33, 73, 108, 0.10);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(90,167,217,.15), transparent 25%),
    linear-gradient(180deg, #f9fbfe 0%, #eef4fb 100%);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.84);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 16px;
  background: white;
  padding: 5px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.brand-text strong {
  display: block;
  font-size: 1rem;
}

.brand-text span {
  display: block;
  font-size: .86rem;
  color: var(--muted);
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.menu a {
  color: var(--muted);
  font-weight: 600;
  position: relative;
}

.menu a:hover,
.menu a.active {
  color: var(--text);
}

.menu a:hover::after,
.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.menu-highlight {
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white !important;
}

.menu-highlight::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 999px;
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

.hero {
  padding: 60px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.tag {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: .92rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.04em;
  margin: 18px 0 16px;
  max-width: 10ch;
}

.hero p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 700;
  transition: .25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: 0 12px 26px rgba(90,167,217,.28);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-card,
.card {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.hero-card-content {
  padding: 22px;
}

.hero-card-content h3 {
  margin: 0 0 8px;
}

.hero-card-content p {
  margin: 0 0 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  background: var(--bg-soft);
  border: 1px solid rgba(16,34,53,.06);
  border-radius: 18px;
  padding: 16px;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: .94rem;
}

.section {
  padding: 30px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.75;
}

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

.card {
  padding: 22px;
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(90,167,217,.16), rgba(90,167,217,.26));
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.link-arrow {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-dark);
  font-weight: 700;
}

.footer {
  padding: 34px 0 56px;
  color: var(--muted);
}

.footer-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .menu {
    display: none;
    position: absolute;
    top: 88px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .menu.show {
    display: flex;
  }

  .menu a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .menu a:hover::after,
  .menu a.active::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 42px;
  }
}