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

:root {
  --purple: #5a2599;
  --purple-deep: #6f2dbd;
  --purple-card: #6127a5;
  --purple-num: #ddc0ff;
  --purple-title: #552390;
  --purple-arrow: #5d269f;
  --black: #000000;
  --text: #1e1e1e;
  --text-light: #444444;
  --gray: #616161;
  --card-bg: #f5f5f5;
  --divider: #d6d6d6;
  --white: #ffffff;
  --font: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.section-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ========== ANIMATIONS ========== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 85px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 54px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 62px;
}

.nav-links a {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple);
}

.nav-container .lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-left: 16px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.btn-login {
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  transition: color var(--transition);
}

.btn-login:hover {
  color: var(--purple);
}

.btn-signin {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  background: var(--purple);
  padding: 9px 27px;
  border-radius: 11px;
  transition: background var(--transition), transform var(--transition);
}

.btn-signin:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 160px 120px 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-gradient.png') no-repeat center center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 1080px;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 24px;
}

.hero-content .highlight {
  color: var(--purple);
}

.about-text .highlight {
  color: var(--purple);
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  max-width: 860px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--purple-deep);
  background-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 100%);
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
  padding: 18px 36px;
  border-radius: 11px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(111, 45, 189, 0.35);
}

.btn-cta svg {
  transition: transform var(--transition);
}

.btn-cta:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--purple);
  border: 2px solid var(--purple);
  padding: 16px 32px;
  border-radius: 11px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-secondary:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-notice {
  background: rgba(90, 37, 153, 0.08);
  border: 1px solid rgba(90, 37, 153, 0.2);
  border-radius: 12px;
  padding: 16px 32px;
  margin-bottom: 32px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero-notice p {
  font-size: 16px;
  font-weight: 500;
  color: var(--purple-title);
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-hero {
  -webkit-tap-highlight-color: transparent;
  background-color: var(--purple);
  color: var(--white);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  border: 2px solid var(--purple);
  border-radius: 12px;
  overflow: hidden;
  padding: 0.8rem 3rem;
  position: relative;
  cursor: pointer;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
}

.btn-hero span {
  position: relative;
  z-index: 1;
  transition: color 0.7s ease;
}

.btn-hero:hover span {
  color: var(--purple);
}

.btn-hero::before {
  background: var(--white);
  content: "";
  display: block;
  height: 100%;
  left: -100%;
  position: absolute;
  top: 0;
  transform: skew(0deg) translateX(-20%);
  transition: transform 0.6s ease;
  width: 120%;
}

.btn-hero:hover::before {
  transform: skew(45deg) translateX(75%);
}

/* Trust Bar (Frame 44) */
.trust-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 120px;
  padding: 20px 0;
  margin-top: 24px;
}

.trust-logo.ministry-logo {
  height: 55px;
}

.trust-logo.worldbank-logo {
  height: 40px;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  padding: 80px 120px;
  background: linear-gradient(180deg, #6f2dbd 0%, #5a1fa0 100%);
}

.how-it-works .section-container {
  max-width: 1580px;
  padding: 0;
}

.how-it-works .section-title {
  font-size: 64px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #fde9ff;
  padding: 0;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--black);
}

.steps-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
}

.step-card {
  padding: 50px 30px;
  background: var(--purple-card);
  border: 1px solid #fff6ff;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 52px;
  box-shadow:
    0 9px 16.6px rgba(0,0,0,0.1),
    0 35px 30.6px rgba(0,0,0,0.09),
    0 78px 41.1px rgba(0,0,0,0.05),
    0 139px 49px rgba(0,0,0,0.01);
  transition: transform var(--transition);
  cursor: default;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--purple-num);
  text-align: center;
  width: 100%;
}

.step-text {
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

.step-divider {
  display: flex;
  align-items: center;
}

/* ========== ABOUT THE INITIATIVE ========== */
.about {
  padding: 80px 120px;
  background-color: #faf8f5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='600' viewBox='0 0 1440 600' fill='none'%3E%3Cpath d='M-50 50C150 50 200 150 400 180S650 100 850 130S1100 250 1300 200S1500 100 1550 80' stroke='%235a259920' stroke-width='1.5' fill='none'/%3E%3Cpath d='M-50 120C180 100 250 220 450 250S700 170 900 200S1150 320 1350 270S1500 170 1550 150' stroke='%235a259918' stroke-width='1.5' fill='none'/%3E%3Cpath d='M-50 190C200 170 280 290 480 310S750 230 950 260S1200 380 1400 330S1500 230 1550 210' stroke='%235a259915' stroke-width='1.5' fill='none'/%3E%3Cpath d='M-50 260C220 240 310 360 510 380S800 300 1000 330S1250 450 1450 400S1500 300 1550 280' stroke='%235a259912' stroke-width='1.5' fill='none'/%3E%3Cpath d='M-50 330C250 310 340 430 540 450S850 370 1050 400S1300 520 1500 470S1550 370 1600 350' stroke='%235a259910' stroke-width='1.5' fill='none'/%3E%3Cpath d='M-50 400C270 380 370 500 570 520S900 440 1100 470S1350 590 1550 540' stroke='%235a25990d' stroke-width='1.5' fill='none'/%3E%3Cpath d='M-50 470C300 450 400 570 600 590S950 510 1150 540S1400 650 1600 610' stroke='%235a25990a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about .section-title {
  color: var(--black);
}

.about-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  text-align: center;
  max-width: 960px;
  margin: 0 auto 48px;
}

.partners-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 18px;
  font-weight: 600;
  color: var(--purple-title);
}

.partner-sep {
  color: var(--divider);
}

/* ========== FEATURES ========== */
.features {
  padding: 80px 100px;
  background: var(--white);
}

.features .section-container {
  max-width: 1580px;
  padding: 0;
}

.features .section-title {
  color: var(--black);
}

.features-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
}

.feature-card {
  background: var(--card-bg);
  padding: 34px 21px;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(90, 37, 153, 0.12);
}

.feature-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--purple-title);
  text-align: center;
  line-height: 1.3;
}

.feature-card p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  text-align: center;
}

.features-microcopy {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray);
  margin-top: 32px;
}

/* ========== MODULES ========== */
.modules {
  padding: 80px 120px;
  background: var(--card-bg);
}

.modules .section-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--black);
}

.modules .section-container {
  max-width: 1580px;
  padding: 0;
}

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

.module-card {
  background: var(--white);
  border: 1px solid #e0d0f0;
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
  box-shadow: 0 2px 12px rgba(90, 37, 153, 0.06);
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(90, 37, 153, 0.12);
}

.module-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--purple);
}

.module-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.module-card p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
}

/* ========== FAQ ========== */
.faq {
  padding: 80px 200px;
  background: var(--card-bg);
}

.faq .section-title {
  color: var(--black);
}

.faq-list {
  max-width: 1128px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--divider);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--purple);
}

.faq-arrow {
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 0 20px;
  font-size: 18px;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--white);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 112px;
  padding: 60px 120px;
}

.footer-cta {
  flex-shrink: 0;
  max-width: 361px;
}

.footer-cta h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--black);
}

.footer-cta .highlight {
  color: var(--purple);
}

.footer-cta p {
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 43px;
  line-height: 1.5;
}

.footer-links {
  flex: 1;
}

.footer-columns {
  display: flex;
  gap: 32px;
}

.footer-divider {
  width: 1px;
  height: 100px;
  
  background: var(--divider);
  align-self: center;
}

.footer-col h4 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 43px;
  color: var(--black);
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--purple);
}

.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 129px;
  padding: 20px 10px;
  background: var(--card-bg);
  border-top: 1px solid var(--divider);
}

.footer-bottom p {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}

.footer-statement {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 32px;
}

.footer-bottom .lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}

.lang-btn:hover {
  color: var(--purple);
}

.lang-btn.active {
  background: var(--purple);
  color: var(--white);
  font-weight: 600;
}

/* ========== RTL SUPPORT ========== */
html[dir="rtl"] {
  font-family: 'Inter', sans-serif;
}

html[dir="rtl"] .faq-question {
  text-align: right;
}

html[dir="rtl"] .faq-arrow {
  margin-left: 0;
  margin-right: 16px;
}

html[dir="rtl"] .footer-columns {
  direction: rtl;
}

html[dir="rtl"] .btn-cta svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .btn-cta:hover svg {
  transform: scaleX(-1) translateX(4px);
}

.footer-bottom .social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom .social-icons a {
  color: var(--text);
  font-size: 16px;
  transition: color var(--transition);
}

.footer-bottom .social-icons a:hover {
  color: var(--purple);
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding: 120px 120px 80px;
  background: var(--white);
}

.legal-page .section-container {
  max-width: 860px;
}

.legal-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  text-align: center;
  margin-bottom: 56px;
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--divider);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--purple-title);
  margin-bottom: 14px;
}

.legal-section p {
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.8;
}

.legal-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-top: 12px;
}

.legal-section ul li {
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 4px;
}

/* --- RTL --- */
html[dir="rtl"] .legal-title,
html[dir="rtl"] .legal-updated {
  text-align: center;
}

html[dir="rtl"] .legal-section h2,
html[dir="rtl"] .legal-section p {
  text-align: right;
}

html[dir="rtl"] .legal-section ul {
  padding-left: 0;
  padding-right: 24px;
}

/* ========== SLIDER (base — hidden on desktop) ========== */
.slider-wrapper {
  position: relative;
}

.slider-dots {
  display: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .hero {
    padding: 140px 40px 0;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .how-it-works,
  .features,
  .about,
  .modules,
  .footer-top {
    padding-left: 40px;
    padding-right: 40px;
  }

  .faq {
    padding: 80px 40px;
  }

  .features-grid {
    flex-wrap: wrap;
  }

  .feature-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
  }

  .nav-links {
    gap: 32px;
  }

  .nav-links a,
  .btn-login,
  .btn-signin {
    font-size: 16px;
  }

  .footer-top {
    gap: 60px;
  }

  .legal-page {
    padding: 100px 40px 60px;
  }
}

@media (max-width: 960px) {
  .steps-grid {
    flex-direction: column;
  }

  .step-divider {
    transform: rotate(90deg);
  }

  .step-card {
    width: 100%;
    max-width: 360px;
    height: auto;
  }

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

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
  }

  .footer-cta {
    max-width: 100%;
  }

  .footer-columns {
    justify-content: center;
  }
}

@media (max-width: 768px) {

  /* --- Navbar --- */
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-container .lang-switch {
    margin-left: auto;
    margin-right: 12px;
  }

  .hamburger {
    display: flex;
  }

  .nav-container {
    padding: 0 20px;
    height: 64px;
  }

  .nav-logo img {
    height: 42px;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
    z-index: 999;
  }

  .nav-links.mobile-open a {
    font-size: 16px;
    color: var(--black);
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* --- Hero --- */
  .hero {
    padding: 80px 20px 48px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .hero-notice {
    padding: 12px 16px;
    margin-bottom: 24px;
  }

  .hero-notice p {
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn-hero {
    font-size: 16px;
    padding: 0.7rem 2rem;
    width: 100%;
    text-align: center;
  }

  .btn-cta {
    font-size: 16px;
    padding: 14px 24px;
    gap: 12px;
  }

  .btn-secondary {
    font-size: 15px;
    padding: 12px 24px;
  }

  /* --- Trust bar --- */
  .trust-bar {
    gap: 32px;
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .trust-logo.ministry-logo { height: 36px; }
  .trust-logo.worldbank-logo { height: 24px; }

  /* --- Section defaults --- */
  .section-title {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .section-container {
    padding: 0 20px;
  }

  /* --- About --- */
  .about {
    padding: 48px 20px;
  }

  .about-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
  }

  .partners-bar {
    font-size: 13px;
    gap: 10px;
  }

  /* --- Slider: Features --- */
  .features {
    padding: 48px 0;
  }

  .features .section-container {
    padding: 0;
  }

  .features .section-title {
    padding: 0 20px;
  }

  .features-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .features-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 82%;
    min-width: 82%;
    max-width: 82%;
    scroll-snap-align: center;
    padding: 24px 16px;
    gap: 16px;
    border-radius: 12px;
  }

  .feature-icon {
    width: 72px;
    height: 72px;
  }

  .feature-card h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .feature-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .features-microcopy {
    font-size: 13px;
    margin-top: 20px;
    padding: 0 20px;
  }

  /* --- Slider: Modules --- */
  .modules {
    padding: 48px 0;
  }

  .modules .section-container {
    padding: 0;
  }

  .modules .section-title {
    font-size: 24px;
    padding: 0 20px;
  }

  .how-it-works .section-title {
    font-size: 24px;
  }

  .modules-grid {
    display: flex !important;
    grid-template-columns: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 20px;
    max-width: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .modules-grid::-webkit-scrollbar {
    display: none;
  }

  .module-card {
    flex: 0 0 75%;
    max-width: 75%;
    scroll-snap-align: center;
    padding: 24px 20px;
  }

  .module-number {
    font-size: 28px;
  }

  .module-card h3 {
    font-size: 18px;
  }

  .module-card p {
    font-size: 14px;
  }

  /* --- Steps --- */
  .how-it-works {
    padding: 48px 20px;
  }

  .steps-grid {
    align-items: center;
  }

  .step-card {
    padding: 28px 20px;
    gap: 20px;
    max-width: 100%;
    width: 100%;
  }

  .step-number {
    font-size: 36px;
  }

  .step-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .step-divider {
    display: none;
  }

  /* --- FAQ --- */
  .faq {
    padding: 48px 20px;
  }

  .faq-list {
    max-width: 100%;
  }

  .faq-question {
    font-size: 15px;
    padding: 16px 0;
    gap: 12px;
  }

  .faq-question span {
    flex: 1;
    min-width: 0;
  }

  .faq-arrow {
    width: 12px;
    height: 7px;
    flex-shrink: 0;
  }

  .faq-answer p {
    font-size: 14px;
    line-height: 1.6;
    padding-bottom: 16px;
  }

  .faq-item.active .faq-answer {
    max-height: 400px;
  }

  /* --- Footer --- */
  .footer-top {
    padding: 40px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .footer-cta {
    max-width: 100%;
  }

  .footer-statement {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .footer-cta h2 {
    font-size: 24px;
  }

  .footer-cta p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-divider {
    width: 60px;
    height: 1px;
    align-self: center;
  }

  .footer-col h4 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-col a {
    font-size: 15px;
  }

  .footer-bottom {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 20px;
  }

  .footer-bottom p {
    font-size: 12px;
    width: 100%;
    text-align: center;
  }

  .footer-bottom .lang-switch {
    font-size: 13px;
  }

  /* --- Legal pages --- */
  .legal-page {
    padding: 80px 20px 48px;
  }

  .legal-title {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .legal-updated {
    font-size: 13px;
    margin-bottom: 36px;
  }

  .legal-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
  }

  .legal-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 15px;
    line-height: 1.7;
  }

  /* --- Slider dot indicators --- */
  .slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 0 0;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--divider);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
  }

  .slider-dot.active {
    background: var(--purple);
    transform: scale(1.3);
  }
}

/* ========== SMALL PHONES ========== */
@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 22px;
  }

  .feature-card {
    flex-basis: 88%;
    min-width: 88%;
    max-width: 88%;
  }

  .module-card {
    flex: 0 0 85%;
    max-width: 85%;
  }

  .faq-question {
    font-size: 14px;
  }

  .btn-hero {
    font-size: 14px;
    padding: 0.6rem 1.5rem;
  }

  .footer-cta h2 {
    font-size: 22px;
  }

  .step-number {
    font-size: 32px;
  }

  .step-text {
    font-size: 14px;
  }

  .legal-title {
    font-size: 24px;
  }

  .legal-section h2 {
    font-size: 16px;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 14px;
  }
}
