:root {
  --primary: #0a66c2;
  --primary-dark: #084d93;
  --secondary: #eef6ff;
  --accent: #ff8a00;
  --text: #10243e;
  --muted: #4e6077;
  --white: #ffffff;
  --border: #dce8f6;
  --success: #0f9d58;
  --shadow: 0 10px 30px rgba(16, 36, 62, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #f8fbff;
  line-height: 1.6;
}

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

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

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

.topbar {
  background: var(--primary);
  color: #dcedff;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.45rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 251, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand img {
  width: auto;
  height: 56px;
  max-width: 180px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.brand strong {
  font-size: 1rem;
}

.nav-drawer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.nav-main {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-main a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.nav-main a:hover {
  color: var(--primary);
  background: rgba(10, 102, 194, 0.08);
}

.nav-main a.nav-cta {
  margin-left: 0.25rem;
  padding: 0.5rem 1.1rem;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(16, 36, 62, 0.04);
}

.nav-main a.nav-cta:hover {
  background: var(--secondary);
  border-color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

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

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

.btn-light {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
}

section {
  padding: 4rem 0;
}

main section[id] {
  scroll-margin-top: 5.5rem;
}

.hero {
  background: linear-gradient(160deg, #f1f8ff 10%, #ffffff 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 0.6rem;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

.hero p {
  color: var(--muted);
  margin-top: 0;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.2rem 0;
}

.trust-line {
  color: var(--success);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.hero-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.65rem;
  row-gap: 0.5rem;
  margin-top: 0.65rem;
}

.hero-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.hero-jump a:hover {
  background: var(--secondary);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.dashboard-mockup {
  background: #0f1f36;
  color: #d8ebff;
  border-radius: 14px;
  padding: 1rem;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.tile {
  background: #122b4c;
  border-radius: 12px;
  padding: 0.8rem;
  font-size: 0.9rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.8rem;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 1.6rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.learn-link {
  font-weight: 700;
  color: var(--primary);
}

.blue-section {
  background: #0d58a6;
  color: #ecf5ff;
}

.blue-section .section-lead {
  color: #d8ebff;
}

.blue-section .card {
  color: var(--text);
}

.blue-section .card h3 {
  color: var(--text);
}

.blue-section .card p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem;
  color: var(--text);
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat {
  text-align: center;
  background: var(--white);
  color: var(--text);
  border-radius: 14px;
  padding: 1rem;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 2.2rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.cta-banner {
  border-radius: 18px;
  background: linear-gradient(120deg, #083f77, #0a66c2);
  color: #fff;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 1rem;
}

.chip-list {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: #fff;
  font-weight: 700;
  color: var(--primary);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 0.75rem;
}

.faq-q {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 0.95rem 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq-a {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.faq-item.active .faq-a {
  display: block;
}

footer {
  background: #091b30;
  color: #c8d8eb;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.footer-links a {
  display: block;
  margin-bottom: 0.45rem;
  color: #c8d8eb;
}

.footer-bottom {
  border-top: 1px solid #1a314e;
  margin-top: 1.4rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.sticky-cta {
  position: fixed;
  right: 14px;
  bottom: 84px;
  z-index: 99;
  box-shadow: var(--shadow);
}

.whatsapp-float {
  position: fixed;
  right: 14px;
  bottom: 18px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font-weight: 700;
  z-index: 99;
}

.exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.exit-popup.show {
  display: flex;
}

.popup-card {
  width: min(460px, 92%);
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.legal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.micro-trust {
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 220;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.9rem;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.cookie-prefs {
  display: none;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.cookie-prefs.open {
  display: block;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--text);
  margin: 0.35rem 0;
}

.scroll-top {
  position: fixed;
  left: 14px;
  bottom: 130px;
  z-index: 99;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.scroll-top:hover {
  transform: translateY(-1px);
}

.mobile-legal {
  display: none;
}

.cert-strip {
  margin-top: 1rem;
}

.cert-strip p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-weight: 700;
}

.cert-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}

.cert-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.cert-item img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.cert-note {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}

footer .cert-strip p,
footer .cert-note {
  color: #c8d8eb;
}

footer .cert-item {
  background: #102844;
  border-color: #1a3a5f;
}

@media (min-width: 1200px) {
  .nav-main {
    flex-wrap: nowrap;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .nav-main {
    column-gap: 0.4rem;
  }

  .nav-main a {
    font-size: 0.82rem;
    padding: 0.45rem 0.7rem;
  }

  .brand img {
    height: 48px;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .footer-grid,
  .cta-banner,
  .feature-list,
  .stats {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .mobile-legal {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 180;
    background: #ffffff;
    border-top: 1px solid var(--border);
    justify-content: center;
    gap: 1rem;
    padding: 0.55rem 0.8rem;
    font-weight: 700;
  }

  .sticky-cta,
  .whatsapp-float {
    bottom: 54px;
  }

  .scroll-top {
    bottom: 200px;
  }

  .cookie-banner.show.prefs-open {
    bottom: 14px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-drawer {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 68px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 12px;
    z-index: 120;
    gap: 0.75rem;
  }

  .nav-drawer.open {
    display: flex;
  }

  .nav-main {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    column-gap: 0;
    row-gap: 0.35rem;
  }

  .nav-main a {
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    justify-content: flex-start;
    white-space: normal;
  }

  .nav-main a.nav-cta {
    margin-left: 0;
    margin-top: 0.25rem;
    text-align: center;
    justify-content: center;
  }
}

@media print {
  .topbar,
  header,
  footer,
  .sticky-cta,
  .whatsapp-float,
  .scroll-top,
  .exit-popup,
  .cookie-banner,
  .mobile-legal,
  .print-hide {
    display: none !important;
  }

  body {
    background: #fff;
  }

  section {
    padding: 1rem 0;
  }
}
