/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0a1628;
  --navy-light: #0d2040;
  --blue: #0050A0;
  --blue-dark: #003d7a;
  --green: #1EB400;
  --green-dark: #189600;
  --green-light: #24d100;
  --orange: #FFAA00;
  --slate: #556677;
  --slate-light: #94a3b8;
  --gray-50: #f7f8fb;
  --gray-100: #eaecf2;
  --gray-200: #e2e8f0;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-dark);
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p + p { margin-top: 1rem; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--navy {
  background: var(--navy);
  color: var(--gray-200);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo svg {
  width: 32px;
  height: 32px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: var(--gray-800);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--blue);
}

.nav__cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition);
}

.nav__cta:hover {
  background: var(--blue-dark);
  color: var(--white) !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .nav__links--open {
    display: flex;
  }
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #003366 0%, var(--blue) 50%, #0068cc 100%);
  color: var(--white);
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--slate-light);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero__badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--gray-200);
  font-weight: 500;
}

.badge svg {
  width: 16px;
  height: 16px;
  color: #7dd3fc;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
}

.btn--blue:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ===== GRID ===== */
.grid {
  display: grid;
  gap: 32px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
}

a.card {
  transition: box-shadow var(--transition), transform var(--transition);
}

a.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.card__icon--green { background: #e6f7e0; color: var(--green); }
.card__icon--blue { background: #e0ecf7; color: var(--blue); }
.card__icon--orange { background: #fff5db; color: var(--orange); }
.card__icon--navy { background: #e0e7f0; color: var(--navy); }

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* ===== SECTION HEADERS ===== */
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
}

.section__header p {
  color: var(--slate);
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ===== PLATFORM CARDS (homepage) ===== */
.platform-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  border-top: 3px solid var(--blue);
}

.platform-card__logo {
  height: 48px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.platform-card h3 {
  margin-bottom: 12px;
}

.platform-card p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.platform-card__link {
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.platform-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.platform-card__link:hover svg {
  transform: translateX(3px);
}

/* ===== STATS BAR ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--slate);
  margin-top: 8px;
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== CHECKLIST ===== */
.checklist {
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
}

.checklist li svg {
  width: 22px;
  height: 22px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== TWO-COL FEATURE ===== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature--reverse {
  direction: rtl;
}

.feature--reverse > * {
  direction: ltr;
}

.feature__content h2 {
  margin-bottom: 16px;
}

.feature__content p {
  color: var(--slate);
  margin-bottom: 16px;
}

.feature__image {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature--reverse {
    direction: ltr;
  }
}

/* ===== FAQ ===== */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--gray-200);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
  line-height: 1.4;
}

.faq__question:hover {
  color: var(--blue);
}

.faq__question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--slate);
}

.faq__item.open .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__item.open .faq__answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq__answer p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, #003366 0%, var(--blue) 50%, #0068cc 100%);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  font-size: 0.95rem;
}

.comparison-table thead {
  background: var(--blue);
  color: var(--white);
}

.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--gray-50);
}

.comparison-table .check {
  color: var(--green-light);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--slate-light);
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.85rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 100px 0 0;
  background: linear-gradient(135deg, #003366 0%, var(--blue) 50%, #0068cc 100%);
}

.breadcrumbs__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-light);
}

.breadcrumbs a {
  color: var(--slate-light);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs li:last-child {
  color: #7dd3fc;
}

.breadcrumbs .sep {
  color: var(--slate);
}

/* ===== INNER HERO (subpages) ===== */
.hero--inner {
  padding: 24px 0 64px;
  text-align: left;
}

.hero--inner h1 {
  max-width: 700px;
  margin: 0 0 16px;
}

.hero--inner .hero__sub {
  margin: 0 0 28px;
  text-align: left;
}

/* ===== FOOTER ===== */
.footer {
  background: #002244;
  color: var(--gray-200);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: var(--slate-light);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: var(--slate-light);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--slate);
}

.footer__bottom a {
  color: var(--slate);
}

.footer__bottom a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

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

/* ===== PROSE (long content) ===== */
.prose h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.prose h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.prose p {
  margin-bottom: 16px;
}

.prose ul, .prose ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
  color: var(--slate);
}

/* ===== TRUST LOGOS ===== */
.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 0;
  opacity: 0.6;
}

.trust span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate);
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-top: 16px; }
.mb-8 { margin-bottom: 32px; }

/* ===== INLINE SVG ICONS ===== */
.icon-check { color: var(--green); }
