/* GAMICANI landing — solid premium UI (cream / navy) */

:root {
  --w: 1504px;
  --bg: #f7f5ef;
  --surface: #fffdf9;
  --text: #1c1a15;
  --muted: #5f5b52;
  --dim: #8a8578;
  --brand: #1d3461;
  --brand-mid: #2a4a7a;
  --brand-deep: #152a4d;
  --brand-pressed: #142747;
  --brand-soft: rgba(29, 52, 97, 0.09);
  --border: #e4dfd3;
  --border-strong: #d4cdc0;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.12);
  --shadow-brand: 0 6px 16px rgba(29, 52, 97, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.22s;
  --dur-med: 0.55s;
  --dur-slow: 0.85s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans Georgian', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.shell {
  width: var(--w);
  max-width: calc(100% - 32px);
  margin-inline: auto;
}

.block {
  padding: 80px 0;
}

.ico {
  width: 24px;
  height: 24px;
  color: var(--brand);
  flex-shrink: 0;
}

.btn-ico {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* ——— Header ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition:
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
}

.header-scrolled {
  background: var(--surface);
  border-bottom-color: var(--border-strong);
  box-shadow: 0 4px 20px rgba(29, 52, 97, 0.08);
}

.header-scrolled .header-inner {
  padding: 12px 0;
}

.header-scrolled .brand-logo {
  transform: scale(0.94);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

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

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}

.brand-logo-sm {
  height: 34px;
}

.brand:hover .brand-logo {
  transform: scale(1.02);
}

.brand-name {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.header-scrolled .brand-name {
  font-size: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition:
    color var(--dur-fast) ease,
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out);
}

.nav-ico {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

.nav-link:hover,
.nav-link.nav-active {
  color: var(--brand);
  background: var(--surface);
  border-color: var(--border);
}

.nav-link.nav-active {
  background: var(--brand-soft);
  border-color: rgba(29, 52, 97, 0.14);
  box-shadow: var(--shadow-card);
}

.nav-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--dur-fast) ease, opacity var(--dur-fast) ease;
}

.header.open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.header.open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 15px;
}

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

.btn-primary:hover {
  background: var(--brand-pressed);
}

.btn-primary .ico {
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--bg);
}

/* ——— Section headers ——— */
.sec-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(29, 52, 97, 0.12);
}

.sec-kicker-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.sec-head h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.sec-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.sec-head-invert .sec-kicker {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.sec-head-invert h2 {
  color: #fff;
}

.sec-head-invert .sec-desc {
  color: rgba(255, 255, 255, 0.78);
}

/* ——— Cards ——— */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ——— Hero ——— */
.hero {
  padding-top: 56px;
  padding-bottom: 0;
  background: var(--bg);
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

.hero-copy {
  padding: 56px 52px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(29, 52, 97, 0.12);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
}

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

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
}

.hero-highlights .ico {
  width: 18px;
  height: 18px;
}

.hero-device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  background: var(--brand);
  padding: 48px 40px;
}

.hero-device::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 28px,
      rgba(255, 255, 255, 0.04) 28px,
      rgba(255, 255, 255, 0.04) 29px
    );
  pointer-events: none;
}

.hero-device::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: -40px;
  right: -40px;
  border-radius: 50%;
  background: #da291c;
  opacity: 0.18;
  pointer-events: none;
}

/* Phone mockup */
.phone {
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease-out);
  animation: phoneFloat 5s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 800px;
}

@keyframes phoneFloat {
  0%, 100% { translate: 0 calc(var(--scroll-y, 0) * 1px + 0px); }
  50% { translate: 0 calc(var(--scroll-y, 0) * 1px + -10px); }
}

.phone-bezel {
  width: 280px;
  padding: 10px;
  border-radius: 36px;
  background: #0e0e10;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.phone-ui {
  border-radius: 28px;
  overflow: hidden;
  background: #0e0e10;
  color: #f6f5f2;
  padding-bottom: 12px;
}

.ui-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 16px 12px;
}

.ui-logo-img {
  display: block;
  width: 72px;
  height: auto;
  flex-shrink: 0;
  filter: brightness(1.15);
}

.ui-top small {
  display: block;
  font-size: 11px;
  opacity: 0.6;
}

.ui-card {
  margin: 6px 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: #18181b;
  border: 1px solid #2a2a2e;
  transition: opacity var(--dur-med) ease, transform var(--dur-med) var(--ease-out);
}

.ui-card p {
  margin: 0;
  font-size: 12px;
}

.ui-card small {
  font-size: 10px;
  opacity: 0.55;
}

.ui-card-accent {
  background: var(--brand-mid);
  border-color: var(--brand-mid);
}

.ui-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.ui-chips {
  display: flex;
  gap: 6px;
  padding: 8px 12px 0;
}

.ui-chips span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  padding: 8px 4px;
  border-radius: 12px;
  background: #18181b;
  border: 1px solid #2a2a2e;
  opacity: 0.75;
}

.ui-chips span.on {
  background: var(--brand-mid);
  border-color: var(--brand-mid);
  opacity: 1;
  font-weight: 600;
}

.ui-card-live {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ——— About ——— */
.block-about {
  background: var(--bg);
}

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

.pillar {
  position: relative;
  padding: 28px 24px 26px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.pillar-num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--dim);
  opacity: 0.6;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.pillar-icon .ico {
  width: 22px;
  height: 22px;
}

.pillar-icon-brand {
  background: var(--brand);
  border-color: var(--brand);
}

.pillar-icon-brand .ico {
  color: #fff;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.pillar p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.trust-chip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
}

.trust-chip .ico {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.trust-chip b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.trust-chip p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.mission-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 44px;
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.mission-band h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.25;
}

.mission-band p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.mission-flag {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}

.flag-icon-xl {
  width: 48px;
  height: 36px;
  line-height: 36px;
  border-radius: 6px;
}

/* ——— Stats ——— */
.block-stats {
  padding: 80px 0;
  background: var(--bg);
}

.stats-panel {
  padding: 52px 48px 44px;
  background: var(--brand-deep);
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
}

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

.stat-card {
  padding: 22px 20px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, background 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
}

.stat-card-hero {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 26px;
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.stat-card-hero:hover {
  background: var(--surface);
}

.stat-card-hero .stat-label {
  color: var(--brand);
}

.stat-card-hero .stat-value {
  color: var(--brand);
  font-size: clamp(44px, 4.5vw, 64px);
}

.stat-card-hero .stat-hint {
  color: var(--muted);
}

.stat-card-wide {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.stat-card-wide .stat-icon {
  margin-bottom: 0;
}

.stat-card-wide .stat-hint {
  flex: 1 1 100%;
  margin-top: 0;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.stat-icon .ico {
  width: 20px;
  height: 20px;
  color: #fff;
}

.stat-icon-light {
  background: var(--brand-soft);
  border-color: rgba(29, 52, 97, 0.14);
  flex-shrink: 0;
  margin-bottom: 0;
}

.stat-icon-light .ico {
  color: var(--brand);
}

.stat-body {
  min-width: 0;
}

.stat-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.stat-value {
  margin: 0;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.stat-value-sm {
  font-size: clamp(26px, 2.4vw, 34px);
}

.stat-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

.stat-inline {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  min-width: min(100%, 280px);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

.stats-panel.stats-live .stat-card {
  animation: statIn 0.7s ease both;
}

.stats-panel.stats-live .stat-card:nth-child(1) { animation-delay: 0.05s; }
.stats-panel.stats-live .stat-card:nth-child(2) { animation-delay: 0.1s; }
.stats-panel.stats-live .stat-card:nth-child(3) { animation-delay: 0.15s; }
.stats-panel.stats-live .stat-card:nth-child(4) { animation-delay: 0.2s; }
.stats-panel.stats-live .stat-card:nth-child(5) { animation-delay: 0.25s; }
.stats-panel.stats-live .stat-card:nth-child(6) { animation-delay: 0.3s; }
.stats-panel.stats-live .stat-card:nth-child(7) { animation-delay: 0.35s; }

@keyframes statIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ——— Features ——— */
.block-features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feat-groups {
  display: grid;
  gap: 40px;
}

.feat-group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.feat-group-label .ico {
  width: 20px;
  height: 20px;
}

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

.feat-card {
  padding: 26px 24px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease;
}

.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.feat-card-wide {
  grid-column: span 2;
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.feat-icon .ico {
  width: 22px;
  height: 22px;
}

.feat-icon-brand {
  background: var(--brand);
  border-color: var(--brand);
}

.feat-icon-brand .ico {
  color: #fff;
}

.feat-icon-flag {
  padding: 0;
  overflow: hidden;
}

.feat-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.feat-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ——— World map (preserved) ——— */
.block-map {
  padding-top: 80px;
  background: var(--bg);
}

.map-stage {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  align-items: stretch;
}

.map-sidebar {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.map-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.map-stat {
  padding: 18px 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: center;
}

.map-stat-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid rgba(29, 52, 97, 0.1);
  display: grid;
  place-items: center;
}

.map-stat-icon .ico {
  width: 18px;
  height: 18px;
}

.map-stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 4px;
}

.map-stat span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.map-list-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.map-country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  flex: 1;
}

.map-country-item {
  display: grid;
  grid-template-columns: 22px 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.map-country-item:hover,
.map-country-item.active {
  background: var(--brand-soft);
  border-color: rgba(29, 52, 97, 0.14);
  transform: translateX(3px);
}

.map-rank {
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  text-align: center;
}

.flag-icon {
  display: inline-block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  vertical-align: middle;
  flex-shrink: 0;
}

.fi.flag-icon.flag-icon-sm { width: 22px; height: 16px; line-height: 16px; }
.fi.flag-icon.flag-icon-md { width: 28px; height: 21px; line-height: 21px; }
.fi.flag-icon.flag-icon-lg { width: 32px; height: 24px; line-height: 24px; }
.fi.flag-icon.flag-icon-inline { width: 20px; height: 15px; line-height: 15px; margin-right: 8px; }

.map-flag {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flag-chip {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(29, 52, 97, 0.08);
  overflow: hidden;
}

.flag-chip .fi {
  border-radius: 3px;
  box-shadow: none;
}

.map-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  min-width: 28px;
  text-align: right;
}

.map-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--dim);
  line-height: 1.5;
}

.map-canvas {
  padding: 20px;
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

.map-canvas-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}

#worldMapSvg {
  display: block;
  width: 100%;
  height: auto;
}

.map-pin {
  cursor: pointer;
  outline: none;
}

.map-pin-pulse {
  animation: pinPulse 2.4s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

.map-pin:nth-child(2n) .map-pin-pulse { animation-delay: 0.6s; }
.map-pin:nth-child(3n) .map-pin-pulse { animation-delay: 1.2s; }

@keyframes pinPulse {
  0% { transform: scale(0.65); opacity: 0.35; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.map-tooltip:not([hidden]) {
  animation: tipPop 0.28s var(--ease-spring) both;
}

@keyframes tipPop {
  from { opacity: 0; transform: translate(-50%, calc(-100% - 6px)) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, calc(-100% - 14px)) scale(1); }
}

.map-tooltip {
  position: absolute;
  transform: translate(-50%, calc(-100% - 14px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
}

.map-tooltip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--surface);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.map-tip-flag {
  display: flex;
  align-items: center;
  line-height: 1;
}

.map-tip-flag .flag-chip {
  width: 30px;
  height: 30px;
}

.map-tip-body b {
  display: block;
  font-size: 14px;
}

.map-tip-body small {
  font-size: 12px;
  color: var(--muted);
}

.map-empty {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* ——— Community ——— */
.block-community {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

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

.life-card {
  padding: 26px 24px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease;
}

.life-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.life-card-accent {
  background: var(--brand-soft);
  border-color: rgba(29, 52, 97, 0.18);
}

.life-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.life-icon .ico {
  width: 20px;
  height: 20px;
}

.life-icon-flag {
  padding: 0;
  overflow: hidden;
}

.life-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.life-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ——— Quote ——— */
.quote-band {
  padding: 64px 0;
  background: var(--brand);
}

.quote-block {
  margin: 0;
  padding: 44px 52px;
  border-radius: var(--radius-xl);
  background: var(--brand-deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.quote-ico {
  width: 32px;
  height: 32px;
  color: #fff;
  opacity: 0.5;
  margin: 0 auto 20px;
  display: block;
}

.quote-block p {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
}

/* ——— Steps ——— */
.block-start {
  background: var(--bg);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-strong);
  z-index: 0;
}

.tl-step {
  position: relative;
  z-index: 1;
  padding: 28px 22px 24px;
  text-align: center;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease;
}

.tl-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.tl-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-brand);
  display: grid;
  place-items: center;
}

.tl-icon .ico {
  width: 22px;
  height: 22px;
  color: #fff;
}

.tl-num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
}

.tl-step h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.tl-step p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ——— Download ——— */
.block-download {
  padding-bottom: 0;
  background: var(--bg);
}

.download-shell {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: center;
  padding: 44px 48px;
  border-top: 4px solid var(--brand);
  box-shadow: var(--shadow-soft);
}

.download-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
}

.download-copy > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
  line-height: 1.7;
}

.download-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.download-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.download-perks .ico {
  width: 18px;
  height: 18px;
}

.stores {
  display: grid;
  gap: 12px;
}

.store {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--brand);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  cursor: default;
}

.store:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-card);
}

.store small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.store b {
  font-size: 16px;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 0;
  background: var(--brand);
  color: #ffffff;
}

.footer-stripe {
  height: 5px;
  background: #ffffff;
  background-image: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 38%,
    #da291c 38%,
    #da291c 62%,
    #ffffff 62%,
    #ffffff 100%
  );
}

.footer-shell {
  padding: 52px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
}

.footer-brand .brand-footer {
  margin-bottom: 14px;
}

.site-footer .brand-logo {
  filter: none;
}

.footer-brand .brand-name {
  color: #ffffff;
  font-size: 22px;
}

.footer-tagline {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.footer-desc {
  margin: 0;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.65;
  color: #c8d4e8;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa3c4;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-col a {
  font-size: 14px;
  font-weight: 500;
  color: #e8edf5;
  transition: color var(--dur-fast);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-contact a {
  word-break: break-word;
}

.footer-bar {
  background: var(--brand-pressed);
  border-top: 1px solid #2a4a7a;
}

.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  font-size: 13px;
  color: #8fa3c4;
}

.footer-bar-inner p {
  margin: 0;
}

.footer-made {
  font-style: italic;
  color: #7a92b8;
}

/* ——— Reveal ——— */
html:not(.js) .reveal,
html:not(.js) .reveal-stagger > * {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal-scale {
  transform: scale(0.96);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* ——— Responsive ——— */
@media (max-width: 1540px) {
  .shell {
    width: 100%;
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header.open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 20px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(29, 52, 97, 0.1);
  }

  .header.open .nav-link {
    justify-content: flex-start;
    padding: 12px 14px;
  }

  .header.open .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero-shell,
  .map-stage,
  .download-shell {
    grid-template-columns: 1fr;
  }

  .hero-device {
    min-height: 420px;
    padding: 40px 24px;
  }

  .hero-copy {
    padding: 40px 32px 36px;
  }

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

  .trust-row {
    grid-template-columns: 1fr;
  }

  .mission-band {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 28px;
  }

  .mission-flag {
    margin: 0 auto;
  }

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

  .stat-card-hero,
  .stat-card-wide {
    grid-column: 1 / -1;
  }

  .stats-panel {
    padding: 36px 28px 32px;
  }

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

  .feat-card-wide {
    grid-column: span 2;
  }

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

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

  .timeline::before {
    display: none;
  }

  .map-canvas {
    min-height: 420px;
  }

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

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

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

@media (max-width: 720px) {
  .block {
    padding: 64px 0;
  }

  .hero-copy {
    padding: 32px 24px 28px;
  }

  .pillar-grid,
  .feat-grid,
  .life-grid,
  .timeline,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .feat-card-wide {
    grid-column: span 1;
  }

  .stat-card-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-card-wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .stats-panel {
    padding: 28px 20px 24px;
  }

  .download-shell {
    padding: 28px 24px;
    gap: 28px;
  }

  .quote-block {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
