@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --bg: #f4f8ff;
  --surface: rgba(255,255,255,0.92);
  --surface-strong: #ffffff;
  --text: #102243;
  --muted: #56627b;
  --accent: #4b8eff;
  --accent-soft: #d7e6ff;
  --border: rgba(75, 142, 255, 0.18);
  --shadow: 0 34px 80px rgba(72, 118, 197, 0.12);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(75, 142, 255, 0.18), transparent 24%),
              radial-gradient(circle at bottom right, rgba(164, 217, 255, 0.16), transparent 20%),
              var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(24, 67, 122, 0.06);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
}

.brand span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: all 0.24s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  background: rgba(75, 142, 255, 0.14);
}

.site-nav a.active {
  box-shadow: inset 0 0 0 1px rgba(75, 142, 255, 0.24);
}

.btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.section,
.card,
.page-note {
  animation: fadeInUp 0.9s ease both;
}

.hero {
  animation-delay: 0.1s;
}

.card {
  animation-delay: 0.15s;
}

.section {
  animation-delay: 0.12s;
}

.page-note {
  animation-delay: 0.18s;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.button {
  color: #ffffff;
  background: linear-gradient(135deg, #4b8eff 0%, #8cc3ff 100%);
  box-shadow: 0 18px 40px rgba(75, 142, 255, 0.22);
}

.button-secondary {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(75, 142, 255, 0.18);
  box-shadow: 0 14px 30px rgba(85, 110, 171, 0.08);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: 84vh;
  display: grid;
  place-items: center;
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1,
.section h2,
.page-note h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(3rem, 4.5vw, 4.25rem);
  margin: 0;
  line-height: 0.98;
  color: #08173d;
}

.hero p,
.section p,
.feature p,
.stat p,
.trust-card p,
.footer p,
.footer a {
  color: var(--muted);
}

.hero p {
  max-width: 700px;
  font-size: 1.02rem;
  margin-top: 1.5rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2rem;
}

.card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: 28px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  box-shadow: 0 16px 40px rgba(85, 123, 188, 0.08);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(79, 124, 196, 0.14);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #12254a;
}

.card p {
  margin: 0 0 1.25rem;
  color: #5d6f8d;
}

.card a {
  color: var(--accent);
  font-weight: 700;
}

.section {
  padding: 5rem 0;
}

.section:nth-of-type(even) {
  background: rgba(221, 236, 255, 0.72);
}

.section h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 1rem;
  color: #0f1d3a;
}

.section p {
  max-width: 720px;
  margin-bottom: 2rem;
}

.feature-grid,
.stats-grid,
.trust-grid,
.detail-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature,
.stat,
.trust-card,
.detail-card {
  padding: 1.75rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(79, 124, 196, 0.08);
}

.feature h3,
.stat h3,
.trust-card h3,
.detail-card h3 {
  margin: 0 0 0.85rem;
  color: #12254a;
}

.feature p,
.stat p,
.trust-card p,
.detail-card p {
  color: #5d6f8d;
}

.stat {
  background: linear-gradient(135deg, rgba(236, 244, 255, 0.96), rgba(229, 240, 255, 0.98));
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.hero-visual,
.page-visual {
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
  aspect-ratio: 5 / 4;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(222, 236, 255, 0.9));
  border: 1px solid rgba(75, 142, 255, 0.18);
  box-shadow: 0 30px 70px rgba(77, 119, 204, 0.12);
}

.hero-visual img,
.page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.hero-visual:hover img,
.page-visual:hover img {
  transform: scale(1.03);
}

.page-note {
  background: rgba(255, 255, 255, 0.96);
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(75, 142, 255, 0.16);
  box-shadow: 0 18px 40px rgba(79, 124, 196, 0.08);
  margin-top: 2rem;
}

.page-note p {
  color: var(--muted);
}

.footer {
  padding: 3rem 0 2rem;
  color: #5d6f8d;
  border-top: 1px solid rgba(75, 142, 255, 0.16);
  background: rgba(255,255,255,0.86);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer .logo {
  font-weight: 700;
  color: #0f1d3a;
}

.footer a {
  color: var(--accent);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header nav,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: center;
  }

  .btn-group {
    width: 100%;
    justify-content: center;
  }

  .button,
  .button-secondary {
    width: 100%;
  }
}
