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

/* ---- PERFORMANCE ---- */
section:not(:first-of-type) { content-visibility: auto; contain-intrinsic-size: auto 600px; }
img { will-change: auto; }

:root {
  --navy:       #253D85;
  --navy-dark:  #1a2d63;
  --blue:       #3B5FDB;
  --blue-mid:   #4E74E8;
  --purple:     #253D85;
  --hero-bg:    #F0F4FF;
  --warm-bg:    #F7F8FC;
  --white:      #FFFFFF;
  --gray-50:    #F8F9FC;
  --gray-100:   #EEF1F8;
  --gray-200:   #DDE2F0;
  --gray-400:   #6B7593;
  --gray-600:   #5A6480;
  --gray-900:   #0D1B3E;
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow:     0 2px 16px rgba(27,52,115,0.06);
  --shadow-md:  0 6px 32px rgba(27,52,115,0.10);
  --shadow-lg:  0 16px 64px rgba(27,52,115,0.14);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > .footer { margin-top: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.gradient-text {
  color: #3B5FDB;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,210,240,0.35);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  flex: 1;
  flex-wrap: nowrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s;
}

.nav-links a:hover { color: var(--navy); }
.nav-arrow { font-size: 10px; opacity: .6; }

/* Nav dropdown */
.nav-dropdown-wrap { position: relative; list-style: none; }
.nav-dropdown-wrap > a { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-wrap .nav-dropdown-chevron { width: 10px; height: 10px; transition: transform .2s; }
.nav-dropdown-wrap:hover .nav-dropdown-chevron { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px;
  background: #fff; border: 1px solid var(--gray-100); border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1); padding: 8px 0; margin: 0;
  min-width: 340px; opacity: 0; visibility: hidden; display: block;
  transform: translateY(-4px); transition: all .2s; z-index: 100; list-style: none;
}
.nav-dropdown-wrap:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li a {
  display: flex; align-items: center; white-space: nowrap; padding: 10px 20px; font-size: 14px; font-weight: 500;
  color: var(--gray-600); text-decoration: none; transition: background .15s, color .15s;
}
.nav-dropdown li a:hover { background: var(--gray-50); color: var(--navy); }
.nav-dropdown a.translate-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.translate-nav small { white-space: normal; font-size: 11px; color: #77839d; font-weight: 400; }
.nav-dropdown-wrap:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown .nav-dd-badge { display: inline-block; flex-shrink: 0; background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #92400E; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; margin-left: 8px; text-transform: uppercase; letter-spacing: 0.03em; vertical-align: middle; white-space: nowrap; }
.nav-dropdown .nav-dd-divider { height: 1px; background: var(--gray-100); margin: 6px 0; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* =====================
   LANGUAGE SWITCHER
   ===================== */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-family: inherit;
  white-space: nowrap;
}

.lang-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.lang-flag { font-size: 15px; line-height: 1; }
.lang-code { font-size: 13px; font-weight: 700; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 6px;
  min-width: 110px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
  text-align: left;
}

.lang-option:hover { background: var(--gray-50); }
.lang-option.active {
  background: rgba(59,95,219,0.08);
  color: #3B5FDB;
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(27,52,115,0.28);
}
.btn-primary.btn-large { padding: 15px 30px; font-size: 16px; }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 11px 18px;
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 50px;
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--gray-100); color: var(--navy); }

/* Reduce nav primary CTA to outline style so hero + footer CTAs stand out */
.nav-actions .btn-primary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 9px 20px;
}
.nav-actions .btn-primary:hover {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
  transform: none;
}

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px;
  border: 2px solid var(--gray-200);
  color: var(--gray-900);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.btn-outline:hover {
  border-color: #3B5FDB;
  color: #3B5FDB;
  box-shadow: 0 4px 16px rgba(59,95,219,0.12);
}
.btn-outline.btn-large { padding: 15px 30px; font-size: 16px; }

.btn-white {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: box-shadow .2s, transform .15s;
}
.btn-white:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.15); transform: translateY(-2px); }

.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px;
  border: 2px solid rgba(255,255,255,0.45);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: border-color .2s, background .2s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.12); }

/* =====================
   HERO
   ===================== */
.hero {
  background: linear-gradient(150deg, #ECF0FF 0%, #F5F0FF 45%, #ffffff 100%);
  padding: 80px 0 20px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,92,252,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

.hero-content { padding-bottom: 80px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(59,95,219,0.08);
  border: 1px solid rgba(59,95,219,0.15);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #3B5FDB;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(26px, 5vw + 0.5rem, 46px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-subtitle strong { color: var(--gray-900); font-weight: 700; }

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-avatars {
  display: flex;
}

.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.avatar:first-child { margin-left: 0; }

.trust-text {
  font-size: 14px;
  color: var(--gray-600);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-phones {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.phone-img {
  object-fit: contain;
  position: relative;
}

.phone-left {
  width: 100%;
  max-width: 420px;
  z-index: 1;
}

/* Floating stat cards */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  border: 1px solid var(--gray-100);
  animation: float 4s ease-in-out infinite;
}

.float-card--left { left: 0; top: 30%; animation-delay: 0s; }
.float-card--right { right: 0; top: 55%; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon { font-size: 24px; }
.float-label { font-size: 11px; color: var(--gray-400); font-weight: 500; margin-bottom: 2px; }
.float-value { font-size: 15px; font-weight: 700; color: var(--gray-900); }

/* =====================
   PRESS
   ===================== */
.press {
  padding: 48px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}

.press-label {
  text-align: center;
  color: var(--gray-400);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.press-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.press-logo-link {
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity .2s;
  text-decoration: none;
}
.press-logo-link:hover { opacity: 0.85; }

.press-logo-img {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
}
.press-logo-img--cc { height: 22px; filter: grayscale(1); }
.press-logo-img--sj { height: 24px; }
.press-logo-img--pb { height: 32px; filter: grayscale(1); }

/* =====================
   BENEFITS STRIP
   ===================== */
.benefits-strip {
  padding: 56px 0;
  background: var(--warm-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  box-shadow: var(--shadow);
}

.benefit-icon { width: 44px; height: 44px; background: rgba(59,95,219,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-icon svg { width: 22px; height: 22px; }

/* =====================
   PLATFORM / BENTO
   ===================== */
.platform {
  padding: 100px 0;
  background: var(--white);
}

.section-label {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(59,95,219,0.07);
  color: #3B5FDB;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* Bento grid */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  background: var(--warm-bg);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Non-mockup, non-hero cards: don't stretch to fill row */
.bento-card:not(.bento-card--mockup):not(.bento-card--hero) {
  align-self: start;
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Hero bento card – spans full row */
.bento-card--hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  background: linear-gradient(135deg, #EEF2FF 0%, #F3EEFF 100%);
  border-color: transparent;
}

.bento-card--hero h3 { font-size: 26px; margin-bottom: 14px; }
.bento-card--hero p { font-size: 16px; }
.bento-card--hero { overflow: visible; }

.bento-content { z-index: 1; }

.bento-phones {
  position: relative;
  height: 430px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bento-phone {
  position: absolute;
  bottom: 0;
  object-fit: contain;
}

.bento-phone--1 {
  width: 288px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Blue accent card */
.bento-card--blue {
  background: linear-gradient(135deg, var(--navy) 0%, #3B5FDB 100%);
  border-color: transparent;
  color: #fff;
}

.bento-card--blue h3 { color: #fff; }
.bento-card--blue p { color: rgba(255,255,255,0.75); }

/* Light card */
.bento-card--light {
  background: #fff;
}

/* Dark card */
.bento-card--dark {
  background: var(--gray-900);
  border-color: transparent;
}

.bento-card--dark h3 { color: #fff; }
.bento-card--dark p { color: rgba(255,255,255,0.65); }
.bento-card--dark .bento-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.bento-card--dark .bento-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}
.bento-card--dark .bento-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: 700;
}

/* Light bento list (for regular bento cards) */
.bento-list--light {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.bento-list--light li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
}
.bento-list--light li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3B5FDB;
  font-weight: 700;
}

.bento-icon {
  width: 48px; height: 48px; background: rgba(59,95,219,0.08); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.bento-icon svg { width: 24px; height: 24px; }
.bento-card--dark .bento-icon { background: rgba(255,255,255,0.15); }

.flag-icon {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  padding: 5px 12px;
  background: rgba(59,95,219,0.08);
  color: #3B5FDB;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.bento-tag--green {
  background: rgba(16,185,129,0.08);
  color: #059669;
}

/* Pay badges */
.pay-badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}
.pay-badge-img {
  height: 28px;
  width: auto;
  padding: 6px 14px;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.pay-badge svg { flex-shrink: 0; }

/* Bento cards with phone mockups */
.bento-card--mockup {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 24px;
  overflow: hidden;
  min-height: 520px;
}

.bento-text {
  padding-bottom: 16px;
}

.bento-mockup-img {
  display: block;
  width: 200px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  flex-shrink: 0;
}


.bento-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.bento-stat {
  display: flex;
  flex-direction: column;
}

.stat-n {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-l {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials {
  padding: 100px 0;
  background: var(--warm-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4a9a 100%);
  border-color: transparent;
}

.testimonial-card--featured .testimonial-text { color: rgba(255,255,255,0.88); }
.testimonial-card--featured .author-name { color: #fff; }
.testimonial-card--featured .author-role { color: rgba(255,255,255,0.6); }
.testimonial-card--featured .stars { color: #FCD34D; }

.stars {
  color: #FCD34D;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.author-avatar--photo {
  width: 48px; height: 48px;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 12px rgba(37,61,133,0.15);
}

.testimonial-card--featured .author-avatar--photo {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.author-dot { opacity: 0.5; margin: 0 4px; }

/* =====================
   DONATION CALCULATOR
   ===================== */
.calc-box {
  background: #fff;
  border-radius: 16px;
  padding: clamp(20px, 4vw, 40px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-100);
}
.calc-sliders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.calc-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.calc-result-card {
  border-radius: 12px;
  padding: clamp(14px, 2.5vw, 20px);
  text-align: center;
  min-width: 0;
}
.calc-result-label {
  font-size: 13px;
  margin-bottom: 4px;
}
.calc-result-value {
  font-size: clamp(18px, 2.8vw, 24px);
  font-weight: 800;
  line-height: 1.15;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .calc-results { grid-template-columns: 1fr; }
  .calc-result-value { font-size: 22px; }
}

/* =====================
   LANG SKELETON (i18n switch)
   ===================== */
.lang-switching [data-i18n],
.lang-switching [data-src-en] {
  position: relative;
}
.lang-switching [data-i18n]:not(.lang-option):not(.gradient-text) {
  color: transparent !important;
  background: linear-gradient(90deg, rgba(37,61,133,0.06) 0%, rgba(37,61,133,0.14) 50%, rgba(37,61,133,0.06) 100%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: langShimmer 1s ease-in-out infinite;
}
.lang-switching [data-i18n] * { visibility: hidden; }
.lang-switching [data-src-en] {
  opacity: 0;
  transition: opacity 0.25s ease;
}
@keyframes langShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.author-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-900);
}

.author-role {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* =====================
   CTA SECTION
   ===================== */
.cta-section {
  padding: 80px 0;
  background: var(--white);
}

.cta-card {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, #3B5FDB 100%);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,92,252,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.cta-card h2 {
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.cta-card p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: #EEF2FA;
  padding: 72px 0 32px;
  border-top: 1px solid var(--gray-200);
}

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

.footer-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-tagline {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 260px;
  margin-top: 12px;
}

.footer-links h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 14px;
  transition: color .2s;
  font-weight: 500;
}

.footer-links a:hover { color: var(--navy); }

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-400);
}

.footer-lang-switcher .lang-dropdown {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(6px);
}
.footer-lang-switcher.open .lang-dropdown {
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .features-bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card--hero { grid-column: 1 / -1; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .float-card { transform: scale(0.85); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features-bento { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================
   HAMBURGER MENU
   ===================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  margin-left: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Prevent nav from wrapping at mid-desktop widths when A/B variant B is active */
@media (max-width: 1180px) and (min-width: 901px) {
  .nav-container { gap: 24px; padding: 0 24px; }
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 14px; }
  .nav-actions .btn-ghost { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-container { padding: 0 20px; }
  .hero-container { grid-template-columns: 1fr; gap: 0; min-height: auto; }
  .hero { padding: 50px 0 40px; }
  .hero-content { padding-bottom: 0; }
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }
  .hero-phones { max-width: 300px; margin: 0 auto; }
  .phone-left { max-width: 260px; }
  .float-card { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 8px 20px 20px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 1000;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: none; box-shadow: none; border-radius: 0;
    min-width: 0; padding: 0; margin: 0; display: block; }
  .nav-dropdown li a { padding: 10px 0 10px 16px !important; font-size: 14px !important; border-bottom: 1px solid #f0f0f0 !important; }
  .nav-hamburger { display: flex; }
  .btn-ghost { display: none; }
  .nav-actions .btn-primary { display: none; }
  .section-title { font-size: 32px; }
  .features-bento { grid-template-columns: 1fr; }
  .bento-card--hero { grid-template-columns: 1fr; overflow: hidden; padding: 28px 24px 0; }
  .bento-phones { height: auto; margin-top: 0; overflow: hidden; display: flex; justify-content: center; }
  .bento-phone--1 { width: 100%; max-width: 420px; position: relative; left: auto; transform: none; }
  .bento-card--mockup { min-height: auto; }
  .bento-mockup-img { width: 140px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 48px 28px; }
  .cta-card h2 { font-size: 32px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* =====================
   FOOTER MIDDLE — trust badges, social, newsletter
   ===================== */
.footer-middle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}

.footer-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-badge-footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.trust-badge-footer svg {
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  transition: all .2s;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-newsletter {
  grid-column: 1 / -1;
}

.footer-newsletter h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.newsletter-form {
  max-width: 520px;
}

.newsletter-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.newsletter-input-row input[type="email"] { min-width: 0; }

.newsletter-input-row input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}

.newsletter-input-row input[type="email"]:focus {
  border-color: #3B5FDB;
}

.newsletter-input-row button {
  padding: 10px 24px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}

.newsletter-input-row button:hover {
  background: var(--navy-dark);
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1.5;
}

.newsletter-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--navy);
}

.newsletter-consent a {
  color: #3B5FDB;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-middle { grid-template-columns: 1fr; }
  .footer-trust { flex-direction: column; align-items: flex-start; }
  .footer-social { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .trust-badge-footer { font-size: 12px; padding: 8px 14px; }
}
