:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #172133;
  --muted: #52607a;
  --primary: #0055a4;
  --primary-dark: #003f7a;
  --border: #d9e2ef;
  --shadow: 0 10px 30px rgba(18, 38, 63, 0.08);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, #0c3260 0%, #0055a4 45%, #2d8cff 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 45%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.12), transparent 48%);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 48px 0;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-subtitle {
  max-width: 860px;
  margin: 0 auto 28px;
  font-size: clamp(1rem, 2vw, 1.16rem);
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.section {
  padding: 78px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 840px;
  margin: 0 auto 34px;
}

.services-grid,
.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.service-card h3,
.feature h3 {
  margin-bottom: 8px;
}

.service-card p,
.feature p {
  color: var(--muted);
}

.cta {
  background: linear-gradient(130deg, #0c3260 0%, #0055a4 100%);
  color: #ffffff;
}

.cta-content {
  text-align: center;
}

.cta h2 {
  margin-bottom: 10px;
}

.cta p {
  max-width: 840px;
  margin: 0 auto 24px;
  opacity: 0.95;
}

.content-page {
  padding: 72px 0;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.content-card h1 {
  margin-bottom: 14px;
}

.content-card h2 {
  margin: 24px 0 8px;
  font-size: 1.22rem;
}

.content-card p,
.content-card li {
  color: var(--muted);
}

.content-card ul {
  margin: 10px 0 0 22px;
}

.footer {
  background: #0f1929;
  color: #b9c5d8;
  padding: 34px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  color: #ffffff;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  gap: 16px;
}

.footer-nav a {
  color: #dbe4f2;
}

.footer-copy {
  font-size: 0.95rem;
}

@media (max-width: 920px) {
  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .header-content {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
  }

  .section,
  .content-page {
    padding: 56px 0;
  }
}
