﻿:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-container: #dbeafe;
  --on-container: #1e40af;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --outline: #cbd5e1;
  --border: #e2e8f0;
  --error: #dc2626;
  --radius: 20px;
  --radius-sm: 14px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: 720px;
  --space-section: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* â€”â€” Hero (logo + nav) â€”â€” */
.hero {
  background: var(--blue);
  color: #fff;
  padding-bottom: 0;
}

.hero-wave {
  line-height: 0;
  margin-top: 2.5rem;
  overflow: hidden;
}

.hero-wave-track {
  display: flex;
  width: 200%;
  will-change: transform;
}

.hero-wave-track svg {
  display: block;
  width: 50%;
  flex-shrink: 0;
  height: clamp(2rem, 5vw, 3.5rem);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 0 0;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.lang-switch button {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.lang-switch button:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lang-switch button.active {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}

.lang-select {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.4rem 1.85rem 0.4rem 0.75rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
}
.lang-select option { color: var(--text); background: #fff; }

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 0 0.5rem;
  gap: 0;
}

.hero-logo-wrap {
  margin: 0;
  line-height: 0;
}

.hero-logo {
  width: min(26rem, 92vw);
  height: auto;
  margin-bottom: 0.5rem;
}

.hero-slogan {
  margin: 0;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* â€”â€” Buttons â€”â€” */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary {
  background: var(--blue-container);
  border: 1px solid var(--outline);
  color: var(--on-container);
}
.btn-secondary:hover { background: #bfdbfe; }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--outline);
  color: var(--text);
}
.btn-white {
  background: #fff;
  color: var(--blue);
}
.btn-white:hover { background: #f1f5f9; }
.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* â€”â€” Sections â€”â€” */
.section {
  padding: var(--space-section) 0;
}

.section-head {
  text-align: center;
}

.section-head h2 {
  margin: 0 auto 2rem;
  max-width: 28rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--text);
}

.section-features {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.feature-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: 1fr min(220px, 38%);
  align-items: center;
  gap: 1.75rem;
}

.feature-card-copy {
  text-align: left;
}

.feature-card-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.125rem, 3vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.feature-card-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.feature-card-tagline {
  margin: 1.15rem 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--on-container);
  letter-spacing: -0.01em;
}

.drop-live-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.drop-live-stat {
  flex: 1 1 8.5rem;
  min-width: 0;
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--blue-container);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.drop-live-stat-value {
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--on-container);
  font-variant-numeric: tabular-nums;
}

.drop-live-stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.drop-live-stats.is-loading .drop-live-stat-value {
  opacity: 0.45;
}

.feature-card-visual {
  margin: 0;
  justify-self: center;
  display: grid;
  place-items: center;
}

.feature-card-icon {
  width: 5rem;
  height: 5rem;
}

.drop-map-mock {
  position: relative;
  width: min(220px, 100%);
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.drop-map-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
  background: #e2e8f0;
}

.drop-map-tiles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drop-map-overlays {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.drop-zone {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.63);
  background: rgba(37, 99, 235, 0.19);
  z-index: 1;
  transform-origin: center;
}

.drop-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 1px 3px rgba(15, 23, 42, 0.2));
  transform-origin: center;
}

.drop-map-user {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}

.drop-map-attrib {
  position: absolute;
  right: 0.25rem;
  bottom: 0.2rem;
  font-size: 0.45rem;
  line-height: 1.2;
  color: rgba(15, 23, 42, 0.55);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.1rem 0.25rem;
  border-radius: 0.2rem;
  pointer-events: none;
  z-index: 4;
}

/* â€”â€” Pro â€”â€” */
.section-pro {
  padding-top: 0;
  padding-bottom: var(--space-section);
}

.pro-card {
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.22);
}

.pro-card .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.pro-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.pro-lead {
  margin: 0 auto 1.5rem;
  max-width: 26rem;
  font-size: 0.9375rem;
  color: #dbeafe;
}

.pro-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 22rem;
  text-align: left;
  font-size: 0.9375rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pro-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding-left: 0;
  position: relative;
}

.pro-list li::before {
  content: "";
  position: static;
  flex-shrink: 0;
  margin-top: 0.35em;
  width: 0.55rem;
  height: 0.3rem;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

.pro-promo {
  margin: 1.75rem auto 0;
  max-width: 26rem;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  text-align: left;
}

.pro-promo.is-highlight {
  animation: proPromoPulse 1.2s ease;
}

@keyframes proPromoPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

.pro-promo.is-highlight .pro-promo-code-bar {
  animation: proPromoBarPulse 1.2s ease;
}

@keyframes proPromoBarPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12); }
  50% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45), 0 4px 16px rgba(15, 23, 42, 0.14); }
}

.pro-promo-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.pro-promo-body {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #dbeafe;
}

.pro-promo-code-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.pro-promo-code-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.pro-promo-code-bar {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
}

.pro-promo-code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue-dark);
  background: transparent;
  padding: 0.7rem 1rem;
  border-radius: 0;
}

.pro-promo-copy {
  flex-shrink: 0;
  margin: 0;
  border: none;
  border-left: 1px dashed rgba(37, 99, 235, 0.22);
  background: #f8fafc;
  color: var(--blue);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
}

.pro-promo-copy:hover {
  background: #eff6ff;
}

.pro-promo-copy:active {
  background: #dbeafe;
}

.pro-promo-steps-title {
  margin: 0 0 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}

.pro-promo-steps {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #dbeafe;
}

.pro-promo-steps li + li {
  margin-top: 0.35rem;
}

.pro-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.pro-promo-cta:active {
  filter: brightness(0.95);
}

.pro-promo-terms {
  margin: 0.75rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
}

/* â€”â€” Download â€”â€” */
.section-download {
  padding-top: 0;
  text-align: center;
}

.download-inner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.download-inner > p {
  margin: 0 auto 1.5rem;
  max-width: 24rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.fine {
  margin-top: 1rem !important;
  font-size: 0.8125rem !important;
  color: var(--muted) !important;
}

.download-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 0.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.store-badge:hover { transform: scale(1.03); text-decoration: none; }
.store-badge-play svg { width: 180px; height: 53px; display: block; }

.store-badge-web {
  box-sizing: border-box;
  width: 180px;
  height: 53px;
  margin: 0;
  padding: 0 1rem;
  border-radius: 8px;
  background: #2563eb;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
}
.store-badge-web:hover { background: #1d4ed8; transform: scale(1.03); }
.store-badge-web-lead { margin-top: 0.5rem !important; max-width: 28rem; margin-left: auto; margin-right: auto; }

.hidden { display: none !important; }

/* â€”â€” Footer â€”â€” */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-brand {
  font-weight: 800;
  color: var(--text);
}

.footer a { color: var(--muted); }

/* â€”â€” Hub / subpage header (shared) â€”â€” */
.header {
  background: var(--blue);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.75rem 0;
}

.header-nav-left,
.nav-back {
  grid-column: 1;
  justify-self: start;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-back:hover {
  color: #fff;
  text-decoration: none;
}

.header-inner .brand {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.header-inner .brand:hover { text-decoration: none; }

.brand-logo {
  width: min(9.5rem, 40vw);
  height: auto;
  display: block;
}

.header .brand-slogan {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.header-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-wave-track {
    animation: hero-wave-drift 14s linear infinite;
  }

  .drop-zone {
    animation: drop-zone-pulse 3.2s ease-in-out infinite;
  }

  .drop-marker {
    animation: drop-marker-pulse 2.8s ease-in-out infinite;
  }

  .drop-map-overlays .drop-zone:nth-child(1),
  .drop-map-overlays .drop-marker:nth-child(2) {
    animation-delay: 0s;
  }

  .drop-map-overlays .drop-zone:nth-child(3),
  .drop-map-overlays .drop-marker:nth-child(4) {
    animation-delay: 0.9s;
  }

  .drop-map-overlays .drop-zone:nth-child(5),
  .drop-map-overlays .drop-marker:nth-child(6) {
    animation-delay: 1.8s;
  }
}

@keyframes hero-wave-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes drop-zone-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.72;
  }
}

@keyframes drop-marker-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* â€”â€” Responsive â€”â€” */
@media (max-width: 640px) {
  :root { --space-section: 3.25rem; }

  .hero-brand { padding: 2.25rem 0 0.35rem; }
  .hero-logo {
    width: min(18rem, 86vw);
    margin-bottom: 0.4rem;
  }

  .feature-card {
    padding: 1.65rem 1.25rem;
  }

  .feature-card-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .feature-card-copy {
    text-align: center;
  }

  .feature-card-visual {
    order: -1;
    max-width: 200px;
    margin: 0 auto;
  }

  .pro-card {
    padding: 1.75rem 1.35rem;
  }

  .download-badges {
    flex-direction: column;
    gap: 0.65rem;
  }

  .store-badge-play,
  .store-badge-web {
    width: min(180px, 100%);
  }
}
