:root {
  --bg: #0f1c2e;
  --bg-2: #0b1630;
  --brand: #173a78;
  --brand-2: #2a63c1;
  --brand-3: #e6efff;
  --text: #0e1b2a;
  --muted: #5b6b84;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius: 18px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #f7f9fe;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.nav__link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-2);
  transition: var(--transition);
}
.nav__link:hover {
  color: var(--brand-2);
}
.nav__link:hover::after {
  width: 100%;
}

/* Utilities */
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}
.section {
  padding: 72px 0;
}
.section--alt {
  background: var(--brand-3);
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.section__subtitle {
  max-width: 720px;
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}
.badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--brand-2), #6fa3ff);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: var(--shadow);
  margin-bottom: 8px;
  transition: var(--transition);
}
.badge:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.btn span {
  font-size: 1.1em;
}
.btn--primary {
  background: var(--brand-2);
  color: var(--white);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #1e5bb8;
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--ghost {
  background: transparent;
  border-color: var(--brand-2);
  color: var(--brand-2);
}
.btn--ghost:hover {
  background: var(--brand-3);
  transform: translateY(-2px);
}
.btn--light {
  background: var(--white);
  color: var(--brand-2);
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--lg {
  padding: 16px 22px;
  font-size: 1.05rem;
}
.btn--sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  background: radial-gradient(1200px 400px at 20% -10%, #dfe9ff, transparent),
    linear-gradient(180deg, #ffffff, #eef4ff);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42, 99, 193, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__text h1 {
  font-size: clamp(1.9rem, 3vw + 1rem, 3rem);
  line-height: 1.15;
  margin: 16px 0 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__text .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.7;
  margin-bottom: 8px;
}
.cta-group {
  display: flex;
  gap: 12px;
  margin: 18px 0 8px;
  flex-wrap: wrap;
}
.trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.trust li:hover {
  color: var(--brand-2);
  transform: translateX(4px);
}
.hero__media {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
.blob {
  position: absolute;
  filter: blur(10px);
  opacity: 0.9;
  border-radius: 50%;
}
.blob--a {
  width: 240px;
  height: 240px;
  background: #cfe0ff;
  top: 10%;
  right: 20%;
}
.blob--b {
  width: 180px;
  height: 180px;
  background: #a6c2ff;
  bottom: 8%;
  right: 5%;
}
.hero__card {
  position: absolute;
  right: 12%;
  top: 22%;
  width: 220px;
  padding: 18px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero__text .hero__logo {
  object-fit: contain;
  display: block;
  margin-bottom: 30px;
  width: 100px;
  height: 100px;
}

.card__title {
  font-size: 0.9rem;
  color: var(--muted);
}
.card__value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-2);
  line-height: 1;
  margin: 4px 0;
}
.card__meta {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Features */
.features {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}
.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-3);
}
.feature__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  transition: var(--transition);
}
.feature:hover .feature__icon {
  transform: scale(1.1);
}
.feature h3 {
  margin: 0.4rem 0 8px;
  font-size: 1.1rem;
  color: var(--text);
}
.feature p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Services */
.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-3);
}
.card--service {
  position: relative;
  overflow: hidden;
}
.card--service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-2), #6fa3ff);
  transform: scaleY(0);
  transition: var(--transition);
}
.card--service:hover::before {
  transform: scaleY(1);
}
.card--service h3 {
  margin-top: 0;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
}
.card--service p {
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 8px;
}
.card--service .btn {
  margin-top: auto;
  align-self: flex-start;
}
.checklist {
  margin: 16px 0 24px;
  padding-left: 0;
  list-style: none;
}
.checklist li {
  margin: 10px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-2);
  font-weight: bold;
  font-size: 1.1em;
}

/* CTA band */
.cta {
  background: linear-gradient(135deg, var(--brand-2), #6fa3ff);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}
.cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.cta__text h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.cta__text p {
  opacity: 0.95;
  font-size: 1.05rem;
}
.cta .btn--light {
  border: 0;
  white-space: nowrap;
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
}
.testimonial {
  background: var(--white);
  border-left: 4px solid var(--brand-2);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 4rem;
  color: var(--brand-3);
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.5;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial blockquote {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text);
}
.testimonial figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* Final CTA */
.final-cta {
  position: relative;
}
.final-cta__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.final-cta h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 8px;
}
.final-cta p {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

/* Footer */
.footer {
  background: #0f1a2d;
  color: #c7d4f8;
  margin-top: 20px;
}
.footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}
.footer__logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
.footer__logo:hover {
  opacity: 0.9;
  transform: scale(1.05);
}
.brand {
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  margin-top: 8px;
}
.footer__links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.footer__links li {
  margin: 0;
}
.footer__links a {
  color: #c7d4f8;
  text-decoration: none;
  transition: var(--transition);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.footer__links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.footer__icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: var(--transition);
}
.footer__links a:hover .footer__icon {
  transform: scale(1.1);
}
.footer__links a span {
  font-size: 0.95rem;
}
.footer__legal {
  text-align: center;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #9bb1e1;
}

/* Responsive */
@media (max-width: 980px) {
  .nav__links {
    gap: 16px;
  }
  .nav__link {
    font-size: 0.9rem;
  }
  .hero {
    padding: 48px 0 32px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__media {
    min-height: 300px;
    order: -1;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .testimonials {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .section {
    padding: 56px 0;
  }
}
@media (max-width: 640px) {
  .nav {
    padding: 12px 0;
  }
  .nav__container {
    flex-direction: column;
    gap: 16px;
  }
  .nav__links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .nav__link {
    font-size: 0.85rem;
  }
  .hero {
    padding: 32px 0 24px;
  }
  .hero__text h1 {
    font-size: 1.9rem;
  }
  .cta-group {
    flex-direction: column;
    width: 100%;
  }
  .cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .cta__box {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cta__box .btn {
    width: 100%;
    justify-content: center;
  }
  .cards,
  .features,
  .testimonials {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .final-cta__grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .final-cta__grid .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__media {
    min-height: 250px;
  }
  .section {
    padding: 48px 0;
  }
  .card--service {
    padding: 24px;
  }
  .feature {
    padding: 20px;
  }
  .footer__grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer__links {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer__links a span {
    font-size: 0.85rem;
  }
}
