:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-alt: #eef2f7;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --border: #e2e8f0;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --pastel-blue: #e8f3ff;
  --pastel-mint: #e7f7f2;
  --pastel-lavender: #f1edff;
  --pastel-peach: #fff1e6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: linear-gradient(160deg, #f9fbff 0%, var(--bg) 40%, #fdf7ff 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  width: 100%;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 165, 233, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.nav .lang-switch + .nav-toggle {
  margin-left: 0.4rem;
}

.logo {
  font-family: "Space Grotesk", "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.logo-ai {
  color: #0284c7;
}

.logo-text {
  color: #0f172a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  padding: 0.25rem 0.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.2);
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mobile-menu {
  display: none;
  background: rgba(14, 165, 233, 0.18);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-nav {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 1rem 0 1.5rem;
  display: grid;
  gap: 1rem;
  color: var(--text);
  font-weight: 600;
}

.mobile-nav a {
  padding: 0.5rem 0.25rem;
}


.lang-switch {
  display: flex;
  gap: 0.25rem;
}

.lang-switch .btn {
  font-size: 1.2rem;
  padding: 0.55rem 0.9rem;
  border-color: transparent;
  border-width: 0;
  box-shadow: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

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

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero .btn.ghost {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  color: #0f172a;
}

.hero .btn.ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--primary-dark);
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-full {
  position: relative;
  overflow: hidden;
}

.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("img/world-map.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}

.hero-corner {
  width: min(38vw, 360px);
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: none;
  justify-self: end;
}

.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero-full .hero-grid {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 3rem;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.eyebrow {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
}

.lead {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.45);
  padding: 0.75rem 1rem;
  border-radius: 14px;
  display: inline-block;
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--pastel-peach);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.image-card {
  background: var(--surface);
  padding: 1rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.image-card.small {
  width: 70%;
  margin-left: auto;
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: linear-gradient(120deg, var(--pastel-blue), var(--pastel-mint));
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted);
  max-width: 680px;
}

.feature-grid,
.benefit-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-grid .card {
  background: var(--surface);
}

.feature-grid .card:nth-child(1) {
  background: var(--pastel-blue);
}

.feature-grid .card:nth-child(2) {
  background: var(--pastel-mint);
}

.feature-grid .card:nth-child(3) {
  background: var(--pastel-lavender);
}

.feature-grid .card:nth-child(4) {
  background: var(--pastel-peach);
}

.feature-grid .card:nth-child(5) {
  background: linear-gradient(135deg, var(--pastel-lavender), var(--pastel-blue));
}

.card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.15);
}

.card h3 {
  margin-bottom: 0.5rem;
}

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

.card.accent {
  border: 1px solid rgba(129, 140, 248, 0.35);
  background: var(--pastel-lavender);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 18px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: start;
}

.split > div:first-child {
  max-width: 560px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.gallery img {
  border-radius: 16px;
  box-shadow: none;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--bg);
}

.gallery img:nth-child(2) {
  margin-top: 0;
}

.benefit-gallery {
  margin-top: 2rem;
}

.free-note {
  margin-top: 2rem;
  background: linear-gradient(120deg, var(--pastel-lavender), var(--pastel-peach));
  padding: 1.5rem;
  border-radius: 18px;
}

.steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  counter-reset: step;
}

.steps li {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

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

.faq-grid details {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.faq-grid summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-grid p {
  color: var(--muted);
  margin-top: 0.75rem;
}

.cta {
  padding: 4rem 0;
  background: linear-gradient(120deg, var(--pastel-blue), var(--pastel-lavender));
  color: #0f172a;
}

.cta-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.cta-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid a {
  color: #e2e8f0;
}

[data-lang] {
  display: none;
}

[data-lang].is-active {
  display: block;
}

.btn.is-active {
  display: inline-flex;
}

.nav-links a.is-active {
  display: inline-block;
}

.pill.is-active {
  display: inline-flex;
}

summary [data-lang].is-active,
strong.is-active {
  display: inline;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0.6rem 0;
  }

  .nav {
    padding: 2rem 0;
    gap: 0.35rem;
  }

  .nav-links {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }


  .nav-toggle {
    display: inline-flex;
  }

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

  .hero-media {
    margin-top: 1.5rem;
  }

  .hero-corner {
    width: min(80vw, 420px);
    justify-self: center;
  }

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

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

  .gallery img:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }
  .section {
    padding: 5rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .feature-grid,
  .benefit-grid,
  .stats-grid,
  .faq-grid,
  .gallery {
    gap: 1.75rem;
  }

  .split {
    gap: 2.5rem;
  }

  .cta-grid {
    gap: 2.5rem;
  }

  .eyebrow {
    font-size: 0.95rem;
  }

  .lead {
    font-size: 1rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
  }

  .pill {
    font-size: 0.8rem;
  }

  .hero-corner {
    width: 100%;
  }

  .image-card.small {
    width: 100%;
  }
}
