:root {
  --accent: #7c3aed;
  --accent-2: #a78bfa;
  --coral: #ff5d5d;
  --amber: #ffb020;
  --mint: #14b8a6;
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --card: #ffffff;
  --border: #e6e6ef;
  --text: #14141f;
  --text-muted: #5b5b6e;
  --shadow: 0 1px 2px rgba(20, 20, 31, 0.04), 0 8px 24px rgba(20, 20, 31, 0.06);
  --shadow-lg: 0 20px 60px rgba(124, 58, 237, 0.16);
  --radius: 14px;
  --hero-gradient: linear-gradient(120deg, #7c3aed 0%, #a855f7 35%, #ff5d5d 75%, #ffb020 100%);
}

[data-theme="dark"] {
  --bg: #0a0a0f;
  --bg-alt: #111118;
  --card: #15151d;
  --border: #24242f;
  --text: #f4f4f8;
  --text-muted: #9c9cae;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background 0.15s ease, color 0.15s ease;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 14px;
}

nav.links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}

nav.links a:hover { color: var(--text); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  font-size: 15px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: var(--hero-gradient);
  opacity: 0.16;
  filter: blur(60px);
  z-index: -1;
}

[data-theme="dark"] .hero::before { opacity: 0.28; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  font-weight: 800;
}

.gradient-text {
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 450;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary {
  background: var(--hero-gradient);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent) 55%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }

.btn-secondary {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

/* ---------- Grid / cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card .icon svg { width: 20px; height: 20px; }
.icon svg { width: 20px; height: 20px; display: block; }

.card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Product card (home page) ---------- */
.product-card {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

@media (max-width: 700px) {
  .product-card { flex-direction: column; align-items: flex-start; }
}

.product-card .glyph {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.product-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.pill {
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Mock UI (hero visual, no real screenshots) ---------- */
.mock-window {
  max-width: 760px;
  margin: 56px auto 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}

.mock-titlebar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.mock-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--border); }

.mock-body { display: flex; min-height: 260px; }

.mock-sidebar {
  width: 200px;
  border-right: 1px solid var(--border);
  padding: 14px;
  background: var(--bg-alt);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mock-row.active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-weight: 600;
}

.mock-avatar {
  width: 20px; height: 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
}

.mock-main { flex: 1; padding: 18px 20px; }

.mock-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.mock-bubble.me {
  margin-left: auto;
  background: var(--accent);
  color: white;
  border: none;
}

/* ---------- Split (problem/solution, two-col) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}
.split h3 {
  font-size: 20px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.split p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 12px;
}
.split ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
}
.split li { margin-bottom: 8px; }

.tag-problem, .tag-solution {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tag-problem { color: #b45309; background: color-mix(in srgb, #f59e0b 16%, transparent); }
.tag-solution { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* ---------- Numbered steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding-left: 4px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}
.step h4 { margin: 0 0 8px; font-size: 16px; }
.step p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ---------- Global reach strip ---------- */
.reach-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.reach-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-muted);
}
.reach-inner strong { color: var(--text); font-weight: 600; }
.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 13px;
  color: var(--text);
}

.visual-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.visual-card .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-card .icon svg { width: 22px; height: 22px; }
.visual-card .copy { font-size: 14.5px; color: var(--text-muted); }
.visual-card .copy strong { color: var(--text); display: block; margin-bottom: 2px; font-size: 15px; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-strip .stat { text-align: center; }
.stat .num { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.stat .label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Feature detail rows (alternating) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; } }
.feature-row.reverse .visual { order: 2; }
@media (max-width: 860px) { .feature-row.reverse .visual { order: 0; } }
.feature-row h3 { font-size: 22px; margin: 0 0 12px; letter-spacing: -0.01em; }
.feature-row p { color: var(--text-muted); font-size: 15.5px; margin: 0 0 16px; }
.feature-row ul { margin: 0; padding-left: 20px; color: var(--text-muted); font-size: 14.5px; }
.feature-row li { margin-bottom: 6px; }

.visual-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
  min-height: 180px;
}

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 400;
}
.faq details[open] summary::after { content: '−'; }
.faq p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 640px;
}

/* ---------- Values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Hero photo panel ---------- */
.hero-photo {
  margin-top: 48px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 16/8;
  object-fit: cover;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--bg) 70%, transparent) 100%);
}

/* ---------- Big stat callouts ---------- */
.big-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 860px) { .big-stats { grid-template-columns: repeat(2, 1fr); } }
.big-stat .figure {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.big-stat .caption { margin-top: 10px; font-size: 14px; color: var(--text-muted); }

/* ---------- Image-story (full-bleed alternating photo + bold text) ---------- */
.image-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 860px) { .image-story { grid-template-columns: 1fr; } }
.image-story.reverse { direction: rtl; }
.image-story.reverse > * { direction: ltr; }
.image-story .photo { min-height: 340px; }
.image-story .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-story .copy {
  background: var(--card);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.image-story .copy h3 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; margin: 0 0 16px; }
.image-story .copy p { font-size: 16px; color: var(--text-muted); margin: 0; }

/* ---------- Marquee (country/logo strip, animated) ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Reveal-on-scroll (GSAP hooks) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Pull quote ---------- */
.pull-quote {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote .accent-word {
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--bg-alt)), var(--bg-alt));
  border: 1px solid var(--border);
}
.cta-banner h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 28px); }
.cta-banner p { margin: 0 0 24px; color: var(--text-muted); font-size: 15.5px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text); }
