@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #020815;
  --bg2: #07172c;
  --surface: rgba(8, 23, 45, .74);
  --surface2: rgba(9, 28, 54, .58);
  --card: rgba(10, 30, 58, .73);
  --line: rgba(42, 255, 232, .18);
  --line2: rgba(42, 255, 232, .46);
  --text: #f5fbff;
  --muted: #a8b8cf;
  --soft: #73849f;
  --accent: #48CFAD;
  --accent2: #37BC9B;
  --accent3: #48CFAD;
  --accentRgb: 72, 207, 173;
  --shadow: 0 34px 110px rgba(0,0,0,.42);
  --radius: 30px;
  --headerH: 72px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f8fcff;
  --bg2: #edf7ff;
  --surface: rgba(255,255,255,.8);
  --surface2: rgba(255,255,255,.62);
  --card: rgba(255,255,255,.78);
  --line: rgba(0, 93, 113, .12);
  --line2: rgba(0, 205, 185, .38);
  --text: #07142a;
  --muted: #54637a;
  --soft: #748295;
  --accent: #48CFAD;
  --accent2: #37BC9B;
  --accent3: #48CFAD;
  --accentRgb: 72, 207, 173;
  --shadow: 0 28px 90px rgba(18, 48, 86, .14);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--headerH) + 20px);
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 6%, rgba(var(--accentRgb), .18), transparent 31rem),
    radial-gradient(circle at 8% 2%, rgba(14, 188, 255, .14), transparent 28rem),
    linear-gradient(180deg, var(--bg), var(--bg2) 43%, var(--bg));
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(#000, transparent 75%);
}

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

#ambientCanvas {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.aurora span {
  position: absolute;
  width: 35rem;
  height: 35rem;
  border-radius: 50%;
  filter: blur(82px);
  opacity: .24;
  animation: drift 17s ease-in-out infinite;
}

.aurora span:nth-child(1) { left: -10rem; top: 4rem; background: var(--accent2); }
.aurora span:nth-child(2) { right: -12rem; top: 0; background: var(--accent); animation-delay: -5s; }
.aurora span:nth-child(3) { left: 34%; bottom: -20rem; background: var(--accent3); animation-delay: -9s; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--headerH);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(24px) saturate(145%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 11px;
  transform: rotate(45deg);
  box-shadow: 0 0 28px rgba(var(--accentRgb), .42), inset 0 0 18px rgba(var(--accentRgb), .12);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accentRgb), .9);
}

.brand-mark::before { width: 12px; height: 2px; left: -8px; }
.brand-mark::after { height: 12px; width: 2px; top: -8px; }

.brand-mark i {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(var(--accentRgb), 1);
}

.brand-name {
  font-size: clamp(15px, 1.5vw, 19px);
  display: flex;
  gap: 3px;
}

.brand-name em { font-style: normal; color: var(--accent); }

/* Full logo lockup (icon + wordmark). Swaps to match the theme background:
   dark theme → white "Route" logo; light theme → dark "Route" logo. */
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  content: url("/assets/img/ballroute-logo-darkbg.png");
}
html[data-theme="light"] .brand-logo {
  content: url("/assets/img/ballroute-logo-lightbg.png");
}
.site-footer .brand-logo { height: 28px; }

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lang-box,
.mode-button {
  height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 16px 42px rgba(0,0,0,.15);
}

.lang-box { padding: 0 14px; }

.lang-box svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  opacity: .78;
}

.lang-box select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.lang-box option { color: #07142a; }

.mode-button {
  cursor: pointer;
  padding: 0 10px;
}

.mode-button span {
  color: var(--muted);
  font-weight: 800;
}

.mode-button i {
  width: 48px;
  height: 24px;
  border-radius: 999px;
  padding: 3px;
  display: block;
  background: rgba(var(--accentRgb), .15);
  border: 1px solid rgba(var(--accentRgb), .42);
}

.mode-button b {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(22px);
  box-shadow: 0 0 18px rgba(var(--accentRgb), .72);
  transition: transform .24s ease, background .24s ease;
}

html[data-theme="light"] .mode-button b {
  transform: translateX(0);
  background: #fff;
}

.ultra-shell {
  width: min(1210px, calc(100% - 42px));
  margin-inline: auto;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  align-items: center;
  gap: clamp(30px, 4.2vw, 64px);
  padding: 34px 0 38px;
}

.pill,
.section-title span,
.section-kicker,
.mini-label {
  display: inline-flex;
  width: fit-content;
  gap: 9px;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 16px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: rgba(var(--accentRgb), .085);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}

.pill span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accentRgb), .85);
  animation: pulse 1.8s infinite;
}

.hero h1 {
  margin: 17px 0 0;
  font-size: clamp(58px, 8.5vw, 104px);
  line-height: .88;
  letter-spacing: -.075em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 28px rgba(var(--accentRgb), .34);
}

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(22px, 2.35vw, 30px);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.sublead {
  max-width: 610px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 17px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.store {
  min-width: 196px;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 17px;
  border-radius: 17px;
  background: #050814;
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 48px rgba(0,0,0,.27);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.store:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accentRgb), .5);
  box-shadow: 0 24px 64px rgba(var(--accentRgb), .13);
}

.store small,
.store strong {
  display: block;
}

.store small {
  font-size: 10px;
  line-height: 1;
  opacity: .85;
}

.store strong {
  font-size: 21px;
  line-height: 1.05;
}

.apple {
  width: 30px;
  height: 36px;
  background: #fff;
  clip-path: path("M22.9 18.1c0-4.2 3.4-6.3 3.5-6.4-2-2.9-5-3.3-6.1-3.4-2.6-.3-5.1 1.5-6.4 1.5-1.4 0-3.4-1.5-5.6-1.4-2.9 0-5.6 1.7-7.1 4.3-3 5.2-.8 12.8 2.1 17 1.4 2.1 3.2 4.4 5.4 4.3 2.2-.1 3-1.4 5.6-1.4 2.6 0 3.4 1.4 5.7 1.4 2.4 0 3.9-2.1 5.3-4.2 1.7-2.4 2.3-4.8 2.4-4.9-.1-.1-4.8-1.9-4.8-6.8z M18.6 5.6c1.2-1.4 2-3.4 1.8-5.3-1.8.1-3.9 1.2-5.1 2.6-1.1 1.3-2.1 3.3-1.8 5.2 1.9.2 3.9-1 5.1-2.5z");
}

.google-play {
  width: 36px;
  height: 36px;
  background: conic-gradient(from 145deg, #28e86f, #24a5ff, #ffd34a, #ff5757, #28e86f);
  clip-path: polygon(11% 4%, 92% 50%, 11% 96%);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 23px;
}

.hero-badges span {
  min-width: 104px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.hero-badges b {
  display: block;
  color: var(--accent);
  font-size: 23px;
  line-height: 1;
}

.hero-badges small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 5px;
}

.hero-board-wrap {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  perspective: 1300px;
}

.board-device {
  position: relative;
  z-index: 5;
  width: min(590px, 96%);
  aspect-ratio: 1.34;
  border-radius: 34px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.025)),
    linear-gradient(145deg, #183250, #061120);
  box-shadow:
    0 34px 90px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.08),
    0 0 74px rgba(var(--accentRgb), .22);
  transform: rotateX(9deg) rotateY(-15deg) rotateZ(1deg);
  transform-style: preserve-3d;
}

.board-device::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(var(--accentRgb), .55), transparent);
  filter: blur(2px);
  opacity: .35;
}

.device-topline {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 82px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: rgba(255,255,255,.12);
}

.board-layer {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 14%, rgba(var(--accentRgb), .2), transparent 22%),
    linear-gradient(145deg, #102140, #050c18);
  border: 1px solid rgba(255,255,255,.1);
}

.board-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 9px;
}

.tile {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(34, 53, 87, .95), rgba(9, 20, 39, .98));
  color: rgba(227, 241, 255, .78);
  border: 1px solid rgba(255,255,255,.07);
  font-size: 27px;
  font-weight: 950;
  box-shadow: inset 0 1px 14px rgba(255,255,255,.045), 0 10px 22px rgba(0,0,0,.25);
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease;
}

.tile.route-tile {
  color: var(--accent);
  background: linear-gradient(145deg, rgba(var(--accentRgb), .32), rgba(11, 43, 65, .98));
  box-shadow: 0 0 26px rgba(var(--accentRgb), .17), inset 0 0 20px rgba(var(--accentRgb), .08);
}

.tile.passed {
  transform: translateY(-2px) scale(1.02);
  color: #fff;
  box-shadow: 0 0 32px rgba(var(--accentRgb), .4), inset 0 0 26px rgba(var(--accentRgb), .14);
}

.tile.exit {
  color: #fff;
  background: linear-gradient(145deg, rgba(var(--accentRgb), .65), rgba(3, 119, 97, .96));
  border-color: rgba(var(--accentRgb), .75);
  box-shadow: 0 0 36px rgba(var(--accentRgb), .5), inset 0 0 25px rgba(255,255,255,.13);
}

.route-svg {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.route-line,
.route-glow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-glow {
  stroke: rgba(var(--accentRgb), .25);
  stroke-width: 28;
  filter: blur(12px);
}

.route-line {
  stroke: var(--accent);
  stroke-width: 8;
  filter: drop-shadow(0 0 8px rgba(var(--accentRgb), .95)) drop-shadow(0 0 22px rgba(var(--accentRgb), .75));
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
}

.route-ball,
.route-pulse {
  position: absolute;
  z-index: 6;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.route-ball {
  background: #efffff;
  box-shadow: 0 0 18px #fff, 0 0 42px rgba(var(--accentRgb), .95), 0 0 82px rgba(var(--accentRgb), .48);
}

.route-pulse {
  border: 2px solid rgba(var(--accentRgb), .64);
  box-shadow: 0 0 28px rgba(var(--accentRgb), .45);
  animation: ringPulse 1.4s infinite;
}

.hero-base {
  position: absolute;
  z-index: 1;
  bottom: 26px;
  width: 72%;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(var(--accentRgb), .28), rgba(0,0,0,.21) 60%, transparent 74%);
  filter: blur(2px);
}

.floating-mini {
  position: absolute;
  z-index: 9;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  animation: floaty 4.4s ease-in-out infinite;
}

.floating-mini b {
  display: block;
  color: var(--accent);
  font-size: 21px;
  line-height: 1;
}

.floating-mini small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.reward-mini { top: 54px; right: 3%; }
.finish-mini { left: 2%; bottom: 78px; animation-delay: -1.2s; }

.steps,
.features,
.trust-section,
.cta {
  padding: clamp(60px, 8vw, 92px) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title span { margin-inline: auto; margin-bottom: 0; }

.section-title h2 {
  margin: 18px auto 0;
  max-width: 750px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

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

.step-card,
.feature-card,
.trust-card,
.cta {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, var(--card), rgba(255,255,255,.018)),
    radial-gradient(circle at 14% 0%, rgba(var(--accentRgb), .09), transparent 42%);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.step-card::after,
.feature-card::after,
.trust-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.13), transparent 32%, rgba(var(--accentRgb), .12));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.tilt {
  transform-style: preserve-3d;
  transition: transform .18s ease, border-color .18s ease;
}

.tilt:hover {
  border-color: var(--line2);
}

.step-card {
  min-height: 278px;
  padding: 26px;
}

.number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid var(--line2);
  border-radius: 18px;
  background: rgba(var(--accentRgb), .08);
  font-weight: 950;
}

.icon {
  width: 126px;
  height: 106px;
  display: grid;
  place-items: center;
  margin: 22px 0 16px;
  color: var(--accent);
  font-size: 48px;
  font-weight: 950;
  border-radius: 26px;
  background: radial-gradient(circle, rgba(var(--accentRgb), .25), transparent 64%);
  text-shadow: 0 0 26px rgba(var(--accentRgb), .85);
}

.path-icon::before {
  content: "";
  width: 92px;
  height: 48px;
  border-bottom: 7px solid var(--accent);
  border-right: 7px solid var(--accent);
  border-radius: 0 0 24px 0;
  filter: drop-shadow(0 0 18px rgba(var(--accentRgb), .85));
}

.finish-icon {
  border: 1px solid rgba(var(--accentRgb), .38);
  box-shadow: inset 0 0 26px rgba(var(--accentRgb), .08);
}

.step-card h3,
.feature-card h3,
.trust-card h2,
.cta h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -.03em;
}

.step-card p,
.feature-card p,
.trust-card p,
.cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.64;
}

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

.feature-card {
  min-height: 302px;
  padding: 26px;
}

.main-feature > div:last-child { display: flex; flex-direction: column; }

.wide-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  min-height: auto;
  padding: 30px 34px;
}
.wide-feature .feature-art { min-height: 148px; }

.feature-art {
  position: relative;
  min-height: 190px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 46%, rgba(var(--accentRgb), .24), transparent 52%);
  overflow: hidden;
}

.trophy-art { min-height: 358px; }

.trophy-art::before {
  content: "";
  position: absolute;
  width: 152px;
  height: 160px;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,.5), transparent 13%),
    linear-gradient(145deg, var(--accent), #0a5680);
  clip-path: polygon(18% 8%, 82% 8%, 72% 62%, 56% 62%, 56% 78%, 72% 78%, 72% 91%, 28% 91%, 28% 78%, 44% 78%, 44% 62%, 28% 62%);
  filter: drop-shadow(0 0 38px rgba(var(--accentRgb), .58));
}

.trophy-art::after {
  content: "★";
  position: absolute;
  left: 50%;
  top: 37%;
  transform: translate(-50%, -50%);
  color: #eaffff;
  font-size: 38px;
  text-shadow: 0 0 22px rgba(255,255,255,.85);
}

.mind-art::before {
  content: "";
  position: absolute;
  inset: 36px 50px;
  border: 6px solid var(--accent);
  border-radius: 50% 45% 51% 45%;
  box-shadow: inset 0 0 32px rgba(var(--accentRgb), .16), 0 0 38px rgba(var(--accentRgb), .44);
}

.mind-art::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 116px;
  left: 50%;
  top: 31px;
  border-radius: 999px;
  background: rgba(var(--accentRgb), .68);
  box-shadow: 0 0 18px rgba(var(--accentRgb), .8);
}

.quick-art::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 124px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  clip-path: polygon(62% 0, 11% 58%, 46% 55%, 26% 100%, 92% 36%, 55% 38%);
  filter: drop-shadow(0 0 30px rgba(var(--accentRgb), .9));
}

.world-art { min-height: 210px; }

.world-art::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 170px;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background:
    linear-gradient(135deg, rgba(255,255,255,.52), transparent 18%),
    linear-gradient(145deg, rgba(14,188,255,.82), rgba(33,255,226,.2));
  clip-path: polygon(0 100%, 18% 58%, 32% 72%, 50% 25%, 66% 74%, 78% 51%, 100% 100%);
  filter: drop-shadow(0 0 26px rgba(var(--accentRgb), .32));
}

.world-art::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 5px;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(var(--accentRgb), .75);
}

.trust-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.trust-card {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 34px;
  align-items: center;
  padding: 34px;
}
.trust-card > div:first-child { display: flex; flex-direction: column; }
.trust-card .panel-image-art { position: sticky; top: 90px; }

.primary-link {
  display: inline-flex;
  margin-top: 24px;
  padding: 14px 18px;
  color: #001c19;
  background: var(--accent);
  border-radius: 14px;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(var(--accentRgb), .36);
}

.privacy-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
}

.privacy-list span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.support-art,
.shield-art {
  min-height: 200px;
  position: relative;
}

.support-art::before {
  content: "";
  position: absolute;
  width: 126px;
  height: 90px;
  top: 40px;
  left: 28px;
  border: 12px solid var(--accent2);
  border-bottom: 0;
  border-radius: 100px 100px 0 0;
  box-shadow: 0 0 36px rgba(var(--accentRgb), .34);
}

.support-art::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 66px;
  top: 112px;
  left: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--accent), #075f80);
  box-shadow: 115px 0 0 #075f80, 0 0 28px rgba(var(--accentRgb), .3), 115px 0 28px rgba(var(--accentRgb), .3);
}

.shield-art::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 178px;
  left: 28px;
  top: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.34), transparent 26%),
    linear-gradient(145deg, var(--accent2), #09365c);
  clip-path: polygon(50% 0, 92% 18%, 82% 72%, 50% 100%, 18% 72%, 8% 18%);
  box-shadow: 0 0 42px rgba(var(--accentRgb), .38);
}

.shield-art::after {
  content: "✓";
  position: absolute;
  left: 79px;
  top: 62px;
  color: #eaffff;
  font-size: 62px;
  font-weight: 950;
  text-shadow: 0 0 24px rgba(255,255,255,.8);
}

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 54px;
  padding: 36px;
  overflow: hidden;
}

.cta h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}

.cta .store-row {
  flex-shrink: 0;
  margin-top: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 36px clamp(18px, 5vw, 78px);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.footer-brand p,
.footer-social p {
  margin: 13px 0 0;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 62px);
  color: var(--muted);
  font-weight: 650;
}

.footer-nav a:hover { color: var(--accent); }

.footer-social {
  justify-self: end;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  transition: color .2s, border-color .2s, transform .15s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }

.footer-social p {
  flex-basis: 100%;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s ease, transform .72s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(30px,-24px,0) scale(1.08); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accentRgb), .82); }
  70% { box-shadow: 0 0 0 10px rgba(var(--accentRgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accentRgb), 0); }
}

@keyframes ringPulse {
  0% { transform: translate(-50%, -50%) scale(.72); opacity: .85; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 1080px) {
  .hero,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
    min-height: auto;
  }

  .pill,
  .store-row,
  .hero-badges {
    justify-content: center;
  }

  .pill {
    margin-inline: auto;
  }

  .hero-board-wrap {
    min-height: 460px;
  }

  .feature-layout {
    grid-template-columns: 1fr 1fr;
  }

  .main-feature,
  .wide-feature {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .wide-feature {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-self: start;
    justify-content: flex-start;
  }

  .footer-social p { text-align: left; }
}

@media (max-width: 730px) {
  :root { --headerH: auto; }

  .site-header {
    position: relative;
    padding: 16px 18px;
  }

  .brand-name { letter-spacing: .15em; }
  .lang-box { display: none; }

  .ultra-shell {
    width: min(100% - 28px, 1210px);
  }

  .hero {
    padding: 30px 0 28px;
  }

  .hero h1 { font-size: 58px; }
  .lead { font-size: 23px; }

  .store {
    width: 100%;
    justify-content: center;
  }

  .hero-badges span { flex: 1; }

  .hero-board-wrap { min-height: 355px; }
  .board-device {
    width: 99%;
    padding: 11px;
    border-radius: 25px;
    transform: rotateX(8deg) rotateY(-7deg);
  }

  .board-layer {
    padding: 11px;
    border-radius: 18px;
  }

  .board-grid { gap: 5px; }
  .tile {
    border-radius: 8px;
    font-size: 18px;
  }

  .floating-mini { display: none; }

  .steps-grid,
  .feature-layout,
  .trust-section {
    grid-template-columns: 1fr;
  }

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

  .cta {
    display: block;
    padding: 28px;
  }

  .cta .store-row {
    margin-top: 24px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* Premium Montserrat + unified hero arrows */
.tile {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.tile.route-tile,
.tile.exit {
  color: var(--accent);
}

.tile.exit {
  color: #ffffff;
}

.board-grid .tile {
  text-shadow: 0 0 16px rgba(var(--accentRgb), .28);
}

.board-grid .tile.route-tile {
  text-shadow: 0 0 20px rgba(var(--accentRgb), .7);
}


/* Final requested changes: Material Symbols icons + cleaner hero badges */
.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: auto;
  padding: 12px 15px;
}

.hero-badges i.material-symbols-rounded {
  color: var(--accent);
  font-size: 24px;
  text-shadow: 0 0 18px rgba(var(--accentRgb), .55);
}

.hero-badges small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
  white-space: nowrap;
}

.material-icon-box {
  display: grid;
  place-items: center;
}

.material-icon-box::before,
.material-icon-box::after,
.path-icon::before,
.finish-icon::before,
.finish-icon::after {
  content: none !important;
}

.material-icon-box .material-symbols-rounded {
  color: var(--accent);
  font-size: 58px;
  text-shadow: 0 0 24px rgba(var(--accentRgb), .86);
}

.icon-art {
  display: grid;
  place-items: center;
}

.icon-art::before,
.icon-art::after {
  content: none !important;
}

.icon-art .material-symbols-rounded {
  color: var(--accent);
  font-size: 86px;
  text-shadow:
    0 0 20px rgba(var(--accentRgb), .55),
    0 0 46px rgba(var(--accentRgb), .28);
}

.main-feature .icon-art .material-symbols-rounded {
  font-size: 128px;
}

.wide-feature .icon-art .material-symbols-rounded {
  font-size: 104px;
}

.big-material-art {
  position: relative;
  min-height: 200px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--accentRgb), .25), transparent 56%),
    linear-gradient(145deg, rgba(255,255,255,.055), transparent);
  overflow: hidden;
}

.big-material-art::before {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accentRgb), .28);
  box-shadow: 0 0 36px rgba(var(--accentRgb), .18), inset 0 0 28px rgba(var(--accentRgb), .08);
}

.big-material-art::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accentRgb), .13);
  transform: rotate(-18deg);
}

.big-material-art .material-symbols-rounded {
  position: relative;
  z-index: 2;
  color: var(--accent);
  font-size: 96px;
  text-shadow:
    0 0 18px rgba(var(--accentRgb), .76),
    0 0 44px rgba(var(--accentRgb), .34);
}

.route-ball {
  transition: none;
  will-change: left, top;
}

.route-line,
.route-glow {
  vector-effect: non-scaling-stroke;
}

@media (max-width: 730px) {
  .hero-badges {
    justify-content: center;
  }

  .hero-badges span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .icon-art .material-symbols-rounded,
  .main-feature .icon-art .material-symbols-rounded,
  .wide-feature .icon-art .material-symbols-rounded {
    font-size: 82px;
  }
}


/* Final clean update: logo image, replaceable image assets, softer number/section typography */
.brand-mark,
.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  display: none !important;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-name {
  letter-spacing: .18em;
}

.section-title span,
.pill,
.section-kicker,
.mini-label {
  font-weight: 600 !important;
  letter-spacing: .11em;
}

.number {
  font-weight: 500 !important;
  font-size: 16px;
  letter-spacing: .12em;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: auto;
  padding: 12px 15px;
}

.hero-badges img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(var(--accentRgb), .42));
}

.hero-badges small {
  margin: 0;
  font-size: 13px;
  white-space: nowrap;
}

.image-icon-box {
  width: 100%;
  height: 148px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--accentRgb), .22), transparent 56%),
    linear-gradient(145deg, rgba(255,255,255,.045), transparent);
  overflow: hidden;
}

.image-icon-box::before,
.image-icon-box::after {
  content: none !important;
}

.image-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(var(--accentRgb), .20);
}

.image-art {
  display: grid;
  place-items: center;
  padding: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--accentRgb), .22), transparent 56%),
    linear-gradient(145deg, rgba(255,255,255,.045), transparent);
}

.image-art::before,
.image-art::after,
.icon-art::before,
.icon-art::after,
.big-material-art::before,
.big-material-art::after {
  content: none !important;
}

.image-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(var(--accentRgb), .20);
}

.panel-image-art {
  min-height: 200px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--accentRgb), .22), transparent 56%),
    linear-gradient(145deg, rgba(255,255,255,.045), transparent);
  overflow: hidden;
}

.panel-image-art img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(var(--accentRgb), .20);
}

.material-symbols-rounded,
.material-icon-box,
.icon-art,
.big-material-art {
  display: none !important;
}

/* Stronger route/ball sync visibility */
.route-line {
  stroke: #48CFAD !important;
}

.route-glow {
  stroke: rgba(72, 207, 173, .28) !important;
}

.tile.route-tile,
.tile.exit {
  color: #48CFAD;
}

.tile.exit,
.tile.passed.exit {
  color: #ffffff;
  background: linear-gradient(145deg, rgba(72, 207, 173, .68), rgba(55, 188, 155, .96));
}

.route-ball {
  background: #ffffff;
  box-shadow: 0 0 18px #fff, 0 0 42px rgba(72, 207, 173, .95), 0 0 82px rgba(72, 207, 173, .48);
}

@media (max-width: 730px) {
  .hero-badges span {
    flex: 1 1 100%;
    justify-content: center;
  }

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


/* Fix: keep only the three hero info items as real icons */
.hero-badges .material-symbols-rounded {
  font-family: "Material Symbols Rounded" !important;
  display: inline-block !important;
  visibility: visible !important;
  color: #48CFAD;
  font-size: 24px;
  line-height: 1;
  font-weight: normal !important;
  font-style: normal;
  text-shadow: 0 0 16px rgba(72, 207, 173, .50);
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.hero-badges img {
  display: none !important;
}

/* Fix: ball is now inside the same SVG as the route path, so its center is on the line */
.route-ball,
.route-pulse {
  display: none !important;
}

.route-ball-svg {
  fill: #ffffff;
  filter:
    drop-shadow(0 0 8px rgba(255,255,255,.95))
    drop-shadow(0 0 22px rgba(72,207,173,.95))
    drop-shadow(0 0 46px rgba(72,207,173,.46));
}

.route-pulse-svg {
  fill: rgba(72,207,173,.12);
  stroke: rgba(72,207,173,.68);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: svgPulse 1.35s infinite;
}

@keyframes svgPulse {
  0% { opacity: .95; transform: scale(.75); }
  100% { opacity: 0; transform: scale(2.15); }
}


/* Uniform arrow styling in hero board */
.board-grid .tile {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 800 !important;
  font-size: 27px !important;
  line-height: 1 !important;
  text-align: center;
  display: grid;
  place-items: center;
}

@media (max-width: 730px) {
  .board-grid .tile {
    font-size: 18px !important;
  }
}
