:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #5b6474;
  --accent: #0b84d9;
  --accent-strong: #0767aa;
  --border: #e3eaf2;
  --shadow: 0 18px 48px rgba(11, 132, 217, 0.07);
  --pill: rgba(11, 132, 217, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(11, 132, 217, 0.08), transparent 35%), radial-gradient(circle at 80% 0%, rgba(11, 132, 217, 0.05), transparent 30%), var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  padding: 18px 16px 48px;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topbar {
  max-width: 1100px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.brand-logo {
  height: 42px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--muted);
}

.brand-title {
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
}

.lang-switcher {
  display: flex;
  gap: 6px;
}

.lang-btn {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(11, 132, 217, 0.2);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 24px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 132, 217, 0.08), transparent 55%);
  pointer-events: none;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  margin: 12px 0 8px;
  font-size: 32px;
  line-height: 1.1;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-cta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.contact-inline {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.contact-inline a {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 600;
}

.hero-logos {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 0;
  opacity: 0.7;
}

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

.app-logo {
  width: 120px;
}

.pill {
  background: var(--pill);
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill.ghost {
  background: rgba(15, 23, 42, 0.06);
  color: var(--muted);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 14px 32px rgba(11, 132, 217, 0.3);
}

.btn.secondary {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid var(--accent);
}

.btn:active {
  transform: translateY(1px);
}

.grid.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.stat .label {
  margin: 0 0 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}

.stat .value {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
}

.stat .hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent-strong);
  font-weight: 800;
}

.chart-card h2,
.retention-card h2,
.capacity h2,
.global h2,
.cta h2 {
  margin: 4px 0;
  font-size: 24px;
}

.body {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.chart-wrap {
  background: linear-gradient(180deg, rgba(11, 132, 217, 0.05), rgba(11, 132, 217, 0.02));
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 12px;
}

.chart-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
}

.retention-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.retention-visual {
  display: flex;
  align-items: center;
  gap: 14px;
}

.retention-visual canvas {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.retention-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-row .label {
  margin: 0;
  font-weight: 700;
}

.legend-row .hint {
  margin: 2px 0 0;
  color: var(--muted);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.loyal {
  background: #0b84d9;
}

.dot.returning {
  background: #6c85a6;
}

.dot.oneoff {
  background: #d8dde6;
}

.retention-copy ul {
  padding-left: 18px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pill);
  color: var(--accent-strong);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.feature h3 {
  margin: 4px 0;
  font-size: 20px;
}

.capacity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.capacity-block {
  padding: 10px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: rgba(11, 132, 217, 0.03);
}

.capacity-block .label {
  margin: 0 0 4px;
  font-weight: 700;
}

.capacity-block .body {
  margin: 0;
}

.global {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: linear-gradient(125deg, rgba(11, 132, 217, 0.08), rgba(11, 132, 217, 0.02));
}

.map-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-dots {
  display: flex;
  gap: 6px;
  align-items: flex-end;
}

.map-dots .dot {
  background: var(--accent);
  opacity: 0.8;
}

.map-dots .dot.big {
  width: 16px;
  height: 16px;
}

.cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.store-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.store-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(11, 132, 217, 0.04);
  color: var(--text);
  font-weight: 700;
}

.store-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(11, 132, 217, 0.25);
}

.store-btn.secondary {
  background: var(--card);
}

.store-btn .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.25);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.store-btn.primary .icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.store-btn .label {
  margin: 0;
  font-weight: 800;
}

.store-btn .hint {
  margin: 2px 0 0;
  color: inherit;
  opacity: 0.85;
}

.footer {
  max-width: 1100px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}

@media (min-width: 720px) {
  body {
    padding: 26px 20px 60px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .section-head {
    margin-bottom: 14px;
  }

  .retention-card {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }

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

  .capacity-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .global {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

  .cta {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .cta-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .download {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

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