/* Putivnyk Landing — putivnyk.app */

:root {
  --blue: #0057B7;
  --blue-dark: #004494;
  --blue-light: #3B7DD8;
  --yellow: #FFD700;
  --yellow-dark: #D4AF00;
  --navy: #001A33;
  --white: #FFFFFF;
  --gray-50: #F4F7FB;
  --gray-100: #E6EEF8;
  --gray-200: #D0D8E4;
  --gray-400: #7A8494;
  --gray-500: #4A5568;
  --gray-600: #001A33;
  --green: #76C781;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 4px 24px rgba(0, 21, 41, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 21, 41, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 72px;
  --flag-bar-h: 6px;
  --safe-top: env(safe-area-inset-top, 0px);
}

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

img {
  max-width: 100%;
  height: auto;
}

img.phone-3d__screenshot {
  max-width: none;
  width: 100%;
  height: 100%;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.loader-active {
  overflow: hidden;
}

/* Page loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader.is-exiting {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.loader__bg-blue {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 87, 183, 0.09) 0%, rgba(0, 87, 183, 0.02) 50%, transparent 72%);
}

.loader__bg-yellow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(255, 215, 0, 0.14) 0%, rgba(255, 215, 0, 0.04) 55%, transparent 100%);
}

.loader__logo {
  position: relative;
  z-index: 1;
  width: 88px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 87, 183, 0.12));
}

img {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ukraine flag bar */
.flag-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  height: var(--flag-bar-h);
  padding-top: env(safe-area-inset-top);
}

.flag-bar__blue {
  flex: 1;
  background: var(--blue);
}

.flag-bar__yellow {
  flex: 1;
  background: var(--yellow);
}

/* Header */
.header {
  position: fixed;
  top: calc(var(--flag-bar-h) + var(--safe-top));
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--yellow);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blue);
  flex-shrink: 0;
}

.logo__mark {
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s;
}

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

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

.lang-switch {
  display: flex;
  background: var(--gray-50);
  border-radius: 8px;
  padding: 3px;
}

.lang-switch__btn {
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--gray-400);
  transition: all 0.2s;
}

.lang-switch__btn.is-active {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 4px rgba(0, 87, 183, 0.25);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px -10px -10px 0;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

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

.btn--sm {
  font-size: 0.85rem;
  padding: 10px 20px;
}

.btn--lg {
  font-size: 1.05rem;
  padding: 16px 32px;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 87, 183, 0.3);
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--secondary:hover {
  background: rgba(0, 91, 187, 0.06);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--flag-bar-h) + var(--header-h) + var(--safe-top) + 64px) 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__flag-blue {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 87, 183, 0.1) 0%, rgba(0, 87, 183, 0.03) 45%, transparent 70%);
}

.hero__flag-yellow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(255, 215, 0, 0.18) 0%, rgba(255, 215, 0, 0.05) 60%, transparent 100%);
}

.hero__flag-blue::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 91, 187, 0.08) 0%, transparent 65%);
  border-radius: 50%;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 87, 183, 0.1);
  color: var(--blue);
  border: 1px solid rgba(0, 87, 183, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 16px;
}

.hero__title-accent {
  display: block;
  color: var(--blue);
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 440px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.hero__motto {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 32px;
  padding: 8px 14px;
  background: rgba(255, 215, 0, 0.22);
  border-left: 3px solid var(--yellow);
  display: inline-block;
  border-radius: 0 6px 6px 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 3D phone mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-3d-scene {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 20px 0 36px;
}

.phone-3d__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 32% 38%, rgba(0, 87, 183, 0.32) 0%, transparent 54%),
    radial-gradient(circle at 70% 64%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: glowDrift 4s ease-in-out infinite;
  -webkit-animation: glowDrift 4s ease-in-out infinite;
}

@keyframes glowDrift {
  0%, 100% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translate(-49%, -53%) scale(1.05);
  }
}

@-webkit-keyframes glowDrift {
  0%, 100% {
    opacity: 0.88;
    -webkit-transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 1;
    -webkit-transform: translate(-49%, -53%) scale(1.05);
  }
}

.phone-3d {
  position: relative;
  z-index: 1;
}

.phone-3d__float {
  animation: phoneDrift 3.5s ease-in-out infinite;
  -webkit-animation: phoneDrift 3.5s ease-in-out infinite;
  will-change: transform;
}

.phone-3d__tilt {
  transform-style: preserve-3d;
}

@keyframes phoneDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@-webkit-keyframes phoneDrift {
  0%, 100% {
    -webkit-transform: translate3d(0, 0, 0);
  }
  50% {
    -webkit-transform: translate3d(0, -10px, 0);
  }
}

@media (min-width: 961px) {
  .phone-3d-scene {
    perspective: 1600px;
  }

  .phone-3d__tilt {
    transform: rotateY(-18deg) rotateX(7deg);
  }
}

.phone-3d__frame {
  position: relative;
  width: 276px;
  margin: 0 auto;
  padding: 10px;
  background:
    linear-gradient(168deg, #6e6e74 0%, #424248 12%, #222226 38%, #101012 68%, #060608 100%);
  border-radius: 52px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -2px 0 rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    -16px 24px 48px -10px rgba(0, 87, 183, 0.32),
    0 40px 80px -16px rgba(0, 0, 0, 0.55);
  transform-style: flat;
}

.phone-3d__frame::before {
  content: '';
  position: absolute;
  top: 13%;
  right: -4px;
  width: 4px;
  height: 74%;
  background: linear-gradient(180deg, #626268 0%, #343438 45%, #18181a 100%);
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.phone-3d__frame::after {
  display: none;
}

.phone-3d__btn {
  position: absolute;
  background: linear-gradient(180deg, #56565c 0%, #3a3a40 50%, #28282c 100%);
  border-radius: 2px;
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 0.5px rgba(0, 0, 0, 0.4);
}

.phone-3d__btn--silent {
  left: -3px;
  top: 108px;
  width: 3px;
  height: 28px;
}

.phone-3d__btn--vol-up {
  left: -3px;
  top: 152px;
  width: 3px;
  height: 44px;
}

.phone-3d__btn--vol-down {
  left: -3px;
  top: 206px;
  width: 3px;
  height: 44px;
}

.phone-3d__btn--power {
  right: -3px;
  top: 168px;
  width: 3px;
  height: 64px;
}

.phone-3d__screen {
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  background: #000;
  box-shadow:
    inset 0 0 0 2px #111,
    inset 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.phone-3d__screen-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 193.572%;
}

.phone-3d__carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.phone-3d__screenshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  transition:
    opacity 0.38s ease,
    visibility 0.38s ease,
    transform 0.38s cubic-bezier(0.34, 1.1, 0.64, 1);
  -webkit-transition:
    opacity 0.38s ease,
    visibility 0.38s ease,
    -webkit-transform 0.38s cubic-bezier(0.34, 1.1, 0.64, 1);
}

.phone-3d__screenshot.is-leaving {
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

/* Visible before JS boots (Safari mobile) */
.phone-3d__screenshot.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.phone-3d__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.phone-3d__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 87, 183, 0.18);
  transition:
    width 0.28s cubic-bezier(0.34, 1.1, 0.64, 1),
    background 0.28s ease,
    opacity 0.28s ease;
  -webkit-transition:
    width 0.28s cubic-bezier(0.34, 1.1, 0.64, 1),
    background 0.28s ease,
    opacity 0.28s ease;
}

.phone-3d__dot.is-active {
  width: 24px;
  background: linear-gradient(90deg, var(--blue) 55%, var(--yellow) 55%);
  opacity: 1;
}

.phone-3d__island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 94px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 15px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.35);
}

.phone-3d__island-cam {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #243656 0%, #0a1020 55%, #030308 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.5);
}

.phone-3d__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.03) 30%,
    transparent 52%
  );
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.phone-3d__shine::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -60%;
  width: 45%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 35%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.03) 65%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: screenGlint 3s ease-in-out infinite;
  -webkit-animation: screenGlint 3s ease-in-out infinite;
}

@keyframes screenGlint {
  0%, 58%, 100% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  68% {
    opacity: 1;
  }
  88% {
    transform: translateX(340%) skewX(-18deg);
    opacity: 0;
  }
}

@-webkit-keyframes screenGlint {
  0%, 58%, 100% {
    -webkit-transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  68% {
    opacity: 1;
  }
  88% {
    -webkit-transform: translateX(340%) skewX(-18deg);
    opacity: 0;
  }
}

.phone-3d__shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  width: 210px;
  height: 30px;
  transform: translateX(-50%) rotateX(82deg);
  background: radial-gradient(ellipse, rgba(0, 30, 80, 0.42) 0%, transparent 72%);
  filter: blur(12px);
  z-index: 0;
  animation: phoneShadow 3.5s ease-in-out infinite;
  -webkit-animation: phoneShadow 3.5s ease-in-out infinite;
}

@keyframes phoneShadow {
  0%, 100% {
    opacity: 0.9;
    transform: translateX(-50%) rotateX(82deg) scale(1);
  }
  50% {
    opacity: 0.55;
    transform: translateX(-49%) rotateX(82deg) scale(0.8);
  }
}

@-webkit-keyframes phoneShadow {
  0%, 100% {
    opacity: 0.9;
    -webkit-transform: translateX(-50%) rotateX(82deg) scale(1);
  }
  50% {
    opacity: 0.55;
    -webkit-transform: translateX(-49%) rotateX(82deg) scale(0.8);
  }
}

/* Sections */
.section {
  padding: 96px 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, var(--gray-50) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section__header .section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 50%, var(--yellow) 50%);
  border-radius: 2px;
  margin: 12px auto 0;
}

.rules-block .section__title::after {
  margin-left: 0;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(0, 21, 41, 0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}

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

.feature-card--highlight {
  border-color: var(--yellow);
  border-width: 2px;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, var(--white) 100%);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__icon--blue {
  background: rgba(0, 87, 183, 0.1);
  color: var(--blue);
}

.feature-card__icon--yellow {
  background: rgba(255, 215, 0, 0.22);
  color: #9A7B00;
}

.feature-card__icon--green {
  background: rgba(118, 199, 129, 0.15);
  color: #3d9a4a;
}

.feature-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.feature-card__list li {
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-50);
}

.feature-card__list li:last-child {
  border-bottom: none;
}

.feature-card__list--check li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  margin-right: 8px;
}

.safety-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 215, 0, 0.18);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #6B5600;
}

.safety-banner svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Cities */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.city-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(0, 21, 41, 0.06);
  transition: transform 0.2s;
}

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

.city-card--live {
  border-color: var(--blue);
  border-width: 2px;
  background: linear-gradient(180deg, rgba(0, 87, 183, 0.06) 0%, var(--white) 100%);
  box-shadow: 0 4px 20px rgba(0, 87, 183, 0.12);
}

.city-card--live .city-card__status {
  background: var(--blue);
  color: var(--white);
}

.city-card__status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.city-card--soon .city-card__status {
  background: var(--gray-50);
  color: var(--gray-400);
}

.city-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

/* Rules */
.rules-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

.rules-list li {
  font-size: 1rem;
  color: var(--gray-500);
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid var(--gray-50);
}

.rules-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.rules-block__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
  max-width: 320px;
}

.rules-block__disclaimer svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.rules-block__disclaimer p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
}

/* About */
.about__text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about__text p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about__note {
  font-size: 0.95rem !important;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 21, 41, 0.06);
}

/* Download */
.download {
  padding-bottom: 80px;
}

.download__card {
  text-align: center;
  background: var(--blue);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 6px solid var(--yellow);
}

.download__card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 65%);
  border-radius: 50%;
}

.download__card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.download__logo {
  margin: 0 auto 20px;
  position: relative;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
  width: 80px;
  height: auto;
}

.download__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
}

.download__subtitle {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 32px;
  position: relative;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 12px;
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}

.store-btn:not(.store-btn--disabled):hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--yellow);
}

.store-btn--disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.store-btn small {
  font-size: 0.65rem;
  opacity: 0.8;
}

.store-btn strong {
  font-size: 1rem;
  font-weight: 700;
}

.download__notify {
  margin-top: 24px;
  font-size: 0.85rem;
  opacity: 0.7;
  position: relative;
}

/* Kyiv full-width banner */
.city-banner {
  position: relative;
  width: 100%;
  min-height: clamp(260px, 42vw, 380px);
  overflow: hidden;
  background: var(--navy);
}

.city-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  z-index: 0;
}

/* Ukraine flag color overlay */
.city-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(0, 87, 183, 0.72) 0%,
    rgba(0, 87, 183, 0.58) 42%,
    rgba(255, 215, 0, 0.52) 58%,
    rgba(255, 215, 0, 0.68) 100%
  );
}

.city-banner__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 26, 51, 0.12) 0%,
    transparent 40%,
    transparent 60%,
    rgba(0, 26, 51, 0.1) 100%
  );
}

.city-banner__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.city-banner__pillars {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 56px);
  margin-bottom: 20px;
}

.city-banner__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.city-banner__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(0, 26, 51, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 26, 51, 0.2);
}

.city-banner__icon svg {
  width: 22px;
  height: 22px;
}

.city-banner__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 26, 51, 0.5);
}

.city-banner__tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 26, 51, 0.45);
  margin-top: 8px;
  padding-top: 16px;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0;
  position: relative;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.footer__disclaimer {
  font-size: 0.85rem;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__links a {
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer__brand img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  width: 36px;
  height: auto;
}

.footer__links a:hover {
  color: var(--yellow);
}

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* Mobile nav */
.header.is-open .nav {
  display: flex;
}

.header.is-open .header__actions {
  display: flex;
}

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

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

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

/* ——— Responsive ——— */

/* Tablet */
@media (max-width: 960px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: calc(var(--flag-bar-h) + var(--header-h) + var(--safe-top) + 40px) 0 56px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__tagline,
  .hero__motto {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__tagline {
    max-width: 100%;
  }

  .hero__motto {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-align: center;
    max-width: 100%;
  }

  .hero__cta {
    justify-content: center;
    width: 100%;
    max-width: 400px;
  }

  .hero__visual {
    order: -1;
    width: 100%;
    overflow: visible;
  }

  .phone-3d-scene {
    max-width: 280px;
    padding: 8px 0 28px;
  }

  .phone-3d__float {
    animation: phoneDrift 3.5s ease-in-out infinite;
    -webkit-animation: phoneDrift 3.5s ease-in-out infinite;
    will-change: auto;
  }

  .phone-3d__tilt {
    transform: none;
    transform-style: flat;
  }

  .phone-3d__frame {
    width: 232px;
    padding: 9px;
    border-radius: 46px;
    transform-style: flat;
  }

  .phone-3d__frame::before {
    display: none;
  }

  .phone-3d__screen {
    border-radius: 36px;
  }

  .phone-3d__screenshot {
    transform: none !important;
    -webkit-transform: none !important;
    transition: opacity 0.32s ease, visibility 0.32s ease;
    -webkit-transition: opacity 0.32s ease, visibility 0.32s ease;
  }

  .phone-3d__screenshot.is-active {
    opacity: 1;
    visibility: visible;
  }

  .phone-3d__shine::after {
    animation: none;
    -webkit-animation: none;
    display: none;
  }

  .phone-3d__island {
    width: 78px;
    height: 22px;
    top: 10px;
    padding-right: 12px;
  }

  .phone-3d__island-cam {
    width: 9px;
    height: 9px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .rules-block {
    grid-template-columns: 1fr;
  }

  .rules-block__disclaimer {
    max-width: none;
  }

  .download__card {
    padding: 48px 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .container {
    padding: 0 16px;
  }

  .header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .header__inner {
    gap: 12px;
  }

  .logo {
    font-size: 1.1rem;
    gap: 8px;
  }

  .logo__mark {
    width: 32px !important;
    height: auto;
  }

  .nav,
  .header__actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header.is-open {
    height: auto;
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }

  .header.is-open .header__inner {
    flex-wrap: wrap;
    padding: 12px 0 16px;
    height: auto;
  }

  .header.is-open .nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    padding: 8px 0 4px;
    gap: 4px;
  }

  .header.is-open .nav a {
    display: block;
    padding: 14px 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
  }

  .header.is-open .nav a:active {
    background: var(--gray-50);
  }

  .header.is-open .header__actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 4;
    gap: 12px;
    padding-top: 8px;
  }

  .header.is-open .header__actions .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 1rem;
  }

  .header.is-open .lang-switch {
    align-self: center;
  }

  .lang-switch__btn {
    min-width: 44px;
    min-height: 36px;
  }

  .section {
    padding: 56px 0;
  }

  .section__header {
    margin-bottom: 36px;
  }

  .section__subtitle {
    font-size: 0.95rem;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-card:hover {
    transform: none;
  }

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

  .city-card {
    padding: 18px 14px;
  }

  .city-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }

  .hero {
    padding-top: calc(var(--flag-bar-h) + var(--header-h) + var(--safe-top) + 24px);
    padding-bottom: 48px;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero__badge {
    font-size: 0.78rem;
    padding: 6px 12px;
    text-align: center;
  }

  .btn--lg {
    font-size: 1rem;
    padding: 14px 24px;
    min-height: 48px;
    width: 100%;
  }

  .download {
    padding-bottom: 56px;
  }

  .download__card {
    padding: 40px 20px;
    border-radius: var(--radius-lg);
  }

  .footer {
    padding: 40px 16px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }

  .footer__links {
    flex-direction: column;
    gap: 12px;
  }

  .footer__links a {
    padding: 8px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .city-banner {
    min-height: 300px;
  }

  .city-banner__pillars {
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
    margin-bottom: 16px;
  }

  .city-banner__pillar {
    flex: 0 1 auto;
    min-width: 72px;
  }

  .city-banner__inner {
    padding: 16px;
  }

  .city-banner__tagline {
    font-size: 0.82rem;
    padding-top: 12px;
    margin-top: 4px;
    max-width: 280px;
    line-height: 1.4;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
    max-width: none;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .phone-3d-scene {
    max-width: 240px;
    transform: scale(0.92);
    transform-origin: center top;
  }

  .phone-3d__float {
    animation: none;
    -webkit-animation: none;
  }

  .cities-grid {
    grid-template-columns: 1fr;
  }

  .city-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .store-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .store-btn {
    width: 100%;
    max-width: none;
    justify-content: center;
    min-height: 52px;
  }

  .city-banner__pillars {
    gap: 10px 16px;
  }

  .city-banner__icon {
    width: 40px;
    height: 40px;
  }

  .city-banner__icon svg {
    width: 18px;
    height: 18px;
  }

  .city-banner__label {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .city-banner {
    min-height: 280px;
  }

  .rules-list li {
    font-size: 0.92rem;
    padding-left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-3d__float,
  .phone-3d__glow,
  .phone-3d__shadow,
  .phone-3d__shine::after {
    animation: none;
    -webkit-animation: none;
  }

  .phone-3d__screenshot {
    transition: none;
    -webkit-transition: none;
    transform: none;
    -webkit-transform: none;
  }

  .phone-3d__screenshot.is-active {
    opacity: 1;
  }

  .phone-3d__screenshot:not(.is-active) {
    opacity: 0;
  }

  .phone-3d__dot {
    transition: none;
    -webkit-transition: none;
  }

  .feature-card:hover {
    transform: none;
  }
}
