:root {
  --primary: #1e3a8a;
  --primary-soft: #e9efff;
  --accent: #f59e0b;
  --text: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

/* ===== HEADER & NAVIGATION ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
  position: relative;
}

.logo {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e3a8a, #1f4ab3);
  color: #fff;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(30, 58, 138, 0.28);
}

.tagline {
  font-size: 0.74rem;
  color: var(--muted);
  display: block;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}

.nav-link {
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(30, 58, 138, 0.08);
}

.nav-link.nav-cta {
  color: #ffffff;
  background: linear-gradient(135deg, #1e3a8a, #1f4ab3);
  border: 1px solid rgba(30, 58, 138, 0.2);
  box-shadow: 0 8px 18px rgba(30, 58, 138, 0.3);
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 0.87rem;
  margin-left: 10px;
}

.nav-link.nav-cta:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1f4ab3, #1e3a8a);
}

/* Mobile Toggle Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 50px;
  height: 50px;
  padding: 8px;
  background: linear-gradient(135deg, #1e3a8a, #1f4ab3);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  z-index: 10001;
  position: relative;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.nav-toggle:hover,
.nav-toggle:active {
  background: linear-gradient(135deg, #1f4ab3, #1e3a8a);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
  transform: translateY(-2px);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s ease;
}

.nav-backdrop.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  z-index: 999;
}

/* Mobile Menu */
.nav-drawer-header {
  display: none !important;
}

.nav-drawer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.nav-drawer-close {
  display: none !important;
}

body.nav-open {
  overflow: hidden;
}

/* ===== CONTENT SECTIONS ===== */
.hero {
  position: relative;
  padding-top: 88px;
  padding-bottom: 92px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(248, 251, 255, 0.9)),
    url("https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=1800&q=80"),
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.16), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(30, 58, 138, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  background-size: cover, auto, auto, auto, auto;
  background-position: center, center, center, center, center;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
  border: 1px solid rgba(30, 58, 138, 0.14);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 16px;
  color: #0b1d4a;
}

.hero p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 680px;
  margin-bottom: 30px;
}

.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a8a, #1f4ab3);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #1f2937;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border-color: rgba(30, 58, 138, 0.25);
}

.section-muted {
  background: linear-gradient(180deg, #f8fbff, #f5f8ff);
}

.section-title {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  margin-bottom: 12px;
  color: #10224f;
}

.section-subtitle {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 58, 138, 0.2);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.list li {
  padding-left: 22px;
  position: relative;
  color: var(--text);
  font-weight: 500;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
  padding: 20px;
  min-height: 140px;
  transition: all 0.22s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.step::before {
  counter-increment: step;
  content: "Step " counter(step);
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.cta {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(15, 47, 127, 0.96), rgba(30, 58, 138, 0.96)),
    url("https://images.unsplash.com/photo-1498079022511-d15614cb1c02?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
  border-radius: 22px;
  padding: 58px 24px;
  box-shadow: 0 16px 40px rgba(30, 58, 138, 0.28);
}

.trust-strip {
  margin-top: -42px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.09);
  padding: 16px;
}

.trust-item {
  text-align: center;
  padding: 8px 10px;
}

.trust-item strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.1;
  margin-bottom: 4px;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  font-size: 1.02rem;
}

footer {
  margin-top: 72px;
  background: #0f1d45;
  color: #dbeafe;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-brand {
  font-weight: 700;
  color: var(--white);
}

.footer-meta {
  color: #c7d2fe;
  font-size: 0.92rem;
}

.footer-meta a {
  color: #dbeafe;
  text-decoration: none;
  border-bottom: 1px dashed rgba(219, 234, 254, 0.55);
}

.footer-meta a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.9);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.js-animate .fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-section {
  position: relative;
  overflow: hidden;
}

.photo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
}

.photo-about::before {
  background-image: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1800&q=80");
}

.photo-benefits::before {
  background-image: url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1800&q=80");
}

/* ===== MEDIA QUERIES - MOBILE ===== */
@media (max-width: 900px) {
  section {
    padding: 68px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 100vh;
    width: 0;
    max-width: 280px;
    margin: 0;
    padding: 80px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: #ffffff;
    border-radius: 0;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.is-open {
    width: min(280px, 75vw);
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-drawer-header {
    display: flex;
  }

  .nav-drawer-close {
    display: inline-flex;
  }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    margin: 0;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
  }

  .nav-link.nav-cta {
    margin-left: 12px;
    margin-right: 12px;
    margin-top: 20px;
    margin-bottom: 16px;
    padding: 12px 14px;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    height: auto;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e3a8a, #1f4ab3);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
  }

  .two-col,
  .steps {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background-position: center top, center, center, center, center;
  }

  .trust-strip {
    margin-top: -28px;
  }

  .nav-row {
    min-height: 70px;
    padding: 0 12px;
    gap: 8px;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .tagline {
    font-size: 0.68rem;
  }
}

