:root {
  --bg-light: #f4f7ff;
  --bg-mid: #e8ecff;
  --bg-dark: #0c1633;
  --text-dark: #132042;
  --text-light: #f5f8ff;
  --accent: #5a7bff;
  --accent-2: #19d0ff;
  --accent-3: #7b5cff;
  --success: #1ecf96;
  --warning: #ffd36e;
  --btn-height: 52px;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(15, 28, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, #f8faff 0%, #edf2ff 100%);
}

p, li, label, .faq-answer, .modal-body, footer {
  font-size: 18px;
  line-height: 1.68;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(90, 123, 255, 0.2);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #172c74;
  letter-spacing: 0.2px;
}

.main-nav {
  display: flex;
  gap: 24px;
  white-space: nowrap;
}

.main-nav a {
  font-weight: 600;
  color: #27407e;
}

.main-nav a:hover {
  color: #0f2d8f;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-btn, .lang-current {
  height: var(--btn-height);
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(90, 123, 255, 0.35);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-btn {
  color: white;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px rgba(37, 88, 255, 0.35);
}

.lang-switch {
  position: relative;
}

.lang-current {
  background: white;
  color: #193275;
  min-width: 124px;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  border-radius: 14px;
  padding: 8px;
  background: white;
  border: 1px solid rgba(90, 123, 255, 0.25);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.24s ease;
}

.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
}

.lang-menu a:hover {
  background: rgba(90, 123, 255, 0.1);
}

.menu-toggle {
  border: 1px solid rgba(90, 123, 255, 0.35);
  background: white;
  color: #1f3573;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: none;
}

.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 380px);
  background: white;
  z-index: 1200;
  transform: translateX(101%);
  transition: transform 0.28s ease;
  box-shadow: -20px 0 30px rgba(11, 23, 57, 0.2);
  padding: 18px;
  overflow: scroll;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 28, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1100;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-close {
  margin-left: auto;
  display: block;
  border: none;
  font-size: 26px;
  background: transparent;
}

.drawer-nav {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.drawer-nav a {
  padding: 10px 8px;
  border-radius: 8px;
  font-weight: 600;
}

.drawer-nav a:hover {
  background: rgba(90, 123, 255, 0.08);
}

body.lock-scroll {
  overflow: hidden;
}

.section {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.section h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  margin: 0 0 12px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.layout-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.layout-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.layout-centered {
  text-align: center;
}

.hero {
  background: radial-gradient(circle at 80% 10%, rgba(25, 208, 255, 0.25), transparent 46%),
  radial-gradient(circle at 20% 40%, rgba(123, 92, 255, 0.23), transparent 40%),
  linear-gradient(165deg, #f7f9ff 0%, #edf2ff 100%);
}

.hero h1 {
  font-size: clamp(2rem, 4.3vw, 3.8rem);
  line-height: 1.15;
  margin-top: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.chip {
  border: 1px solid rgba(90, 123, 255, 0.35);
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.lead-form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(90, 123, 255, 0.28);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.lead-form .fields {
  display: grid;
  gap: 10px;
}

.lead-form input {
  width: 100%;
  height: 50px;
  border-radius: 11px;
  border: 1px solid rgba(90, 123, 255, 0.35);
  padding: 0 13px;
  font-size: 17px;
}

.lead-form button {
  width: 100%;
  margin-top: 8px;
}

.kpi-strip {
  background: linear-gradient(135deg, #10214b, #243d82);
  color: white;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kpi-card {
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.kpi-value {
  font-size: 2rem;
  font-weight: 800;
}

.light {
  background: var(--bg-light);
}

.dark {
  background: linear-gradient(170deg, #0a1430 0%, #17295f 100%);
  color: var(--text-light);
}

.gradient {
  background: linear-gradient(140deg, #f5f8ff 0%, #e7eeff 50%, #eef8ff 100%);
}

.pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(90, 123, 255, 0.14) 1px, transparent 0);
  background-size: 18px 18px;
  pointer-events: none;
}

.panel {
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(90, 123, 255, 0.28);
  box-shadow: var(--shadow);
}

.dark .panel {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f7fbff;
  @media (max-width: 767px) {
    overflow: scroll;

  }
}

.bars {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  gap: 6px;
}

.bar-track {
  height: 12px;
  border-radius: 99px;
  background: rgba(90, 123, 255, 0.17);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px rgba(25, 208, 255, 0.6);
  transition: width 1.2s ease;
}

.dark .bar-track {
  background: rgba(255, 255, 255, 0.16);
}

.timeline {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 42px;
  width: 3px;
  height: calc(100% - 14px);
  background: linear-gradient(var(--accent), transparent);
}

.step-bullet {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 700;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(130deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 18px rgba(90, 123, 255, 0.6);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(90, 123, 255, 0.3);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(235, 243, 255, 0.95));
}

.metric .num {
  font-size: 2rem;
  font-weight: 800;
  color: #1a3176;
}

.risk-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}

.risk-table th, .risk-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(90, 123, 255, 0.22);
  text-align: left;
}

.risk-table th {
  background: rgba(90, 123, 255, 0.12);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  border-radius: 16px;
  padding: 18px;
  background: white;
  border: 1px solid rgba(90, 123, 255, 0.23);
  box-shadow: var(--shadow);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--accent), var(--accent-3));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.verified {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f7f58;
  letter-spacing: 0.4px;
}

.review-meta {
  margin: 6px 0 10px;
  font-weight: 600;
  color: #3c4f7f;
}

.faq-item {
  border-bottom: 1px solid rgba(90, 123, 255, 0.22);
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}

.faq-btn:focus-visible {
  outline: 2px solid rgba(90, 123, 255, 0.38);
  outline-offset: 4px;
}

.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer-wrap {
  max-height: 260px;
}

.faq-answer {
  padding-bottom: 16px;
}

.final-cta {
  background: linear-gradient(130deg, #0f1d45, #253f81);
  color: white;
}

.site-footer {
  padding: 28px 0 46px;
  background: #0d1736;
  color: #d9e5ff;
}

.site-footer a {
  text-decoration: underline;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.modal-content {
  position: relative;
  width: min(860px, 92vw);
  max-height: 86vh;
  overflow: auto;
  background: white;
  color: #172a66;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.modal-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(90, 123, 255, 0.36);
  background: white;
  font-size: 24px;
}

.modal-footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

.modal-close {
  border: 1px solid rgba(90, 123, 255, 0.38);
  background: white;
  color: #1b3477;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 16px;
  }

  .layout-split, .layout-reverse {
    grid-template-columns: 1fr;
  }

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

  .metrics-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }
  .header-actions .lang-switch {
    display: none;
  }
  .header-actions .cta-btn {
    display: none;
  }
}

@media (max-width: 900px) {

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

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

/* Fix lead-form colors inside dark sections (final-cta) */
.final-cta .lead-form,
.dark .lead-form {
  color: var(--text-dark);
}

.final-cta .lead-form h2,
.final-cta .lead-form label,
.dark .lead-form h2,
.dark .lead-form label {
  color: var(--text-dark);
}


.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-menu .flag {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
}

.lang-menu .flag svg {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(15, 28, 68, 0.12);
}

.lang-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 120px;
  border-radius: 14px;
  padding: 8px;
  background: white;
  border: 1px solid rgba(90, 123, 255, 0.25);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.24s ease;
  display: none;
}

.lang-switch.active .lang-menu {
  display: block;
}

.cta-btn {
  white-space: nowrap;
}

a {
  cursor: pointer;
}
