:root {
  --bg: #202834;
  --bg-deep: #171d26;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f8fb;
  --muted: #b9c2d1;
  --blue: #4872bc;
  --blue-bright: #5b8be0;
  --magenta: #a82c8c;
  --amber: #fcc551;
  --green: #45d483;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(72, 114, 188, 0.28), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(168, 44, 140, 0.2), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--amber);
  color: #171d26;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(24, 30, 40, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(24, 30, 40, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links > a:not(.btn) {
  position: relative;
  padding: 8px 0;
  transition: color 160ms ease;
}

.nav-links > a:not(.btn):hover {
  color: var(--text);
}

.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--magenta));
  transition: right 180ms ease;
}

.nav-links > a:not(.btn):hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.btn:focus-visible,
.store-badge:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(252, 197, 81, 0.8);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--magenta));
  color: #fff;
  box-shadow: 0 16px 36px rgba(72, 114, 188, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 20px 44px rgba(168, 44, 140, 0.3);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 11px;
  font-size: 0.86rem;
}

.hero {
  position: relative;
  padding: 84px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5.6vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(110deg, #7aa5f0 5%, #d65bc0 55%, #fcc551 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 52ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 24px;
}

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

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 174px;
  min-height: 58px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.store-badge strong {
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.trust-row b {
  margin-right: 5px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.8;
  pointer-events: none;
}

.glow-one {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(72, 114, 188, 0.55), transparent 68%);
  top: 10%;
  right: 2%;
}

.glow-two {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(168, 44, 140, 0.42), transparent 68%);
  bottom: 5%;
  left: 2%;
}

.phone {
  --phone-rotate: -3.5deg;
  position: relative;
  z-index: 2;
  width: min(300px, 74vw);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 46px;
  background: linear-gradient(160deg, #3b4657, #11161d 48%, #2a3341);
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.58), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  transform: rotate(var(--phone-rotate));
}

.phone-notch {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 22px;
  border-radius: 999px;
  background: #11161d;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  min-height: 570px;
  padding: 44px 18px 18px;
  overflow: hidden;
  border-radius: 36px;
  background: #f4f6fa;
  color: #1f2834;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-logo {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.app-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
}

.app-search {
  margin-bottom: 16px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #e7ebf3;
  color: #7b8799;
  font-size: 0.72rem;
  font-weight: 600;
}

.app-card {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(31, 40, 52, 0.1);
}

.app-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.app-card-body {
  display: grid;
  gap: 1px;
  padding: 12px 13px 13px;
}

.app-card-body strong {
  font-size: 0.84rem;
}

.app-card-body span {
  color: #7b8799;
  font-size: 0.66rem;
}

.app-card-body .rating {
  margin-top: 3px;
  color: #d99a1a;
  font-weight: 700;
}

.app-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(31, 40, 52, 0.08);
}

.app-slot div {
  display: grid;
  line-height: 1.1;
}

.app-slot small {
  color: #7b8799;
  font-size: 0.62rem;
}

.app-slot strong {
  font-size: 0.96rem;
}

.app-slot button {
  border: 0;
  border-radius: 9px;
  padding: 9px 13px;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.app-pill {
  position: absolute;
  right: 16px;
  bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(69, 212, 131, 0.16);
  color: #1e8f53;
  font-size: 0.62rem;
  font-weight: 700;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 16px;
  background: rgba(32, 40, 52, 0.78);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.floating-card strong,
.floating-card small {
  display: block;
  line-height: 1.25;
}

.floating-card strong {
  font-size: 0.76rem;
}

.floating-card small {
  color: var(--muted);
  font-size: 0.64rem;
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(252, 197, 81, 0.16);
  color: var(--amber);
  font-size: 1rem;
}

.floating-one {
  top: 18%;
  left: -2%;
}

.floating-two {
  right: -3%;
  bottom: 16%;
}

.floating-two .floating-icon {
  background: rgba(69, 212, 131, 0.16);
  color: var(--green);
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-head h2,
.business-copy h2,
.download-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.section-head p,
.business-copy > p,
.download-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

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

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

.step-card,
.feature-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.step-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
}

.step-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.step-card h3,
.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.step-card p,
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(72, 114, 188, 0.32), rgba(168, 44, 140, 0.3));
  color: #fff;
  font-size: 1.25rem;
}

.business-section {
  padding-top: 60px;
}

.business-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 44, 140, 0.22), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.business-copy .btn {
  margin-top: 26px;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.check-list li {
  display: flex;
  gap: 10px;
}

.check-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

.business-visual {
  display: grid;
  gap: 14px;
}

.business-stat {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.075);
}

.business-stat span,
.business-stat small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.business-stat strong {
  display: block;
  margin: 4px 0;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.business-stat small {
  color: var(--green);
  font-weight: 700;
}

.business-list {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(15, 20, 27, 0.28);
}

.business-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.business-list > div > div {
  flex: 1;
  min-width: 0;
}

.business-list strong,
.business-list small {
  display: block;
  overflow: hidden;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.business-list strong {
  font-size: 0.76rem;
}

.business-list small {
  color: var(--muted);
  font-size: 0.64rem;
}

.business-list b {
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.dot-amber {
  background: var(--amber);
}

.dot-blue {
  background: var(--blue-bright);
}

.download-section {
  padding-top: 40px;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 36px;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 20%, rgba(91, 139, 224, 0.5), transparent 38%),
    radial-gradient(circle at 90% 100%, rgba(168, 44, 140, 0.45), transparent 42%),
    linear-gradient(135deg, #273955, #462a4a 60%, #202834);
  box-shadow: var(--shadow);
}

.download-card .store-buttons {
  margin-top: 26px;
}

.download-card .store-badge {
  background: rgba(10, 15, 22, 0.36);
}

.web-link {
  margin-top: 18px !important;
  font-size: 0.82rem !important;
}

.web-link a {
  color: var(--amber);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-mark {
  display: grid;
  justify-items: center;
  gap: 12px;
  opacity: 0.95;
}

.download-mark img {
  width: 150px;
  height: 150px;
  border-radius: 34px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.download-mark span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  aspect-ratio: 4 / 3;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(12, 16, 22, 0.85) 100%);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.showcase-card:hover img {
  transform: scale(1.05);
}

.showcase-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
}

.showcase-card div span {
  display: block;
  margin-bottom: 2px;
  color: var(--amber);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card div strong {
  font-size: 1.06rem;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(16, 21, 28, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 30px;
}

.footer-grid img {
  width: 120px;
  margin-bottom: 14px;
}

.footer-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: #8792a4;
  font-size: 0.72rem;
}

.footer-bottom a:hover {
  color: var(--text);
}

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

  .hero {
    padding-top: 56px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    min-height: 620px;
  }

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

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

  .business-copy {
    max-width: 680px;
  }

  .business-visual {
    max-width: 520px;
  }

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

  .download-mark {
    justify-items: start;
  }

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

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

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(24, 30, 40, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: var(--surface);
  }

  .nav-links .btn {
    margin-top: 4px;
  }

  .lang-switch {
    align-self: flex-start;
    margin: 6px 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-actions .btn,
  .hero-actions .store-badge {
    width: 100%;
    min-width: 0;
  }

  .hero-actions .store-badge {
    flex-direction: row;
    gap: 6px;
    padding: 8px;
    min-height: 58px;
  }

  .hero-actions .store-badge svg {
    width: 20px;
    height: 20px;
  }

  .hero-actions .store-badge small {
    display: none;
  }

  .hero-actions .store-badge strong {
    font-size: 0.78rem;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone {
    --phone-rotate: -2deg;
  }

  .floating-one {
    left: 0;
    top: 10%;
  }

  .floating-two {
    right: 0;
    bottom: 10%;
  }

  .section {
    padding: 68px 0;
  }

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

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

  .business-grid,
  .download-card {
    padding: 26px;
    border-radius: 26px;
  }

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

  .showcase-card {
    aspect-ratio: 16 / 10;
  }

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

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

@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    min-height: 68px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

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

  .btn,
  .store-badge {
    width: 100%;
  }

  .hero-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-actions .btn,
  .hero-actions .store-badge {
    min-width: 0;
    min-height: 64px;
    padding: 8px 6px;
  }

  .hero-actions .btn {
    font-size: 0.78rem;
  }

  .hero-actions .store-badge {
    flex-direction: column;
    gap: 3px;
    text-align: center;
  }

  .hero-actions .store-badge svg {
    width: 18px;
    height: 18px;
  }

  .hero-actions .store-badge small {
    display: none;
  }

  .hero-actions .store-badge strong {
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .phone {
    width: min(270px, 82vw);
  }

  .phone-screen {
    min-height: 520px;
  }

  .floating-card {
    display: none;
  }

  .hero-visual {
    min-height: 500px;
  }

  .business-list > div {
    flex-wrap: wrap;
  }

  .business-list > div > b {
    margin-left: 18px;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.lang-switch button,
.lang-switch a,
.lang-switch .active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 7px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
}

.lang-switch button:hover,
.lang-switch a:hover {
  color: var(--text);
}

.lang-switch button[aria-pressed="true"],
.lang-switch .active {
  background: rgba(255, 255, 255, 0.13);
  color: var(--text);
}

/* Legal pages */
.legal-topbar {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(24, 30, 40, 0.82);
}

.legal-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-brand img {
  width: 118px;
  height: auto;
}

.legal-back {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.legal-back:hover {
  color: var(--text);
}

.legal-page {
  padding: 54px 0 84px;
}

.legal-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.legal-card h1 {
  max-width: none;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
}

.legal-meta {
  margin-bottom: 30px;
  color: #8792a4;
  font-size: 0.78rem;
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-card ul {
  margin: 8px 0 16px;
  padding-left: 22px;
}

.legal-card li {
  margin-bottom: 6px;
}

.legal-card a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card .legal-back {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-card .legal-back:hover {
  color: var(--text);
}

.legal-note {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
}

.legal-card .legal-note p {
  margin: 0;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneIn {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(calc(var(--phone-rotate) - 3deg)) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--phone-rotate)) scale(1);
  }
}

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

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: heroRise 720ms cubic-bezier(0.22, 0.8, 0.3, 1) both;
  }

  .hero-copy > *:nth-child(1) {
    animation-delay: 60ms;
  }

  .hero-copy > *:nth-child(2) {
    animation-delay: 130ms;
  }

  .hero-copy > *:nth-child(3) {
    animation-delay: 210ms;
  }

  .hero-copy > *:nth-child(4) {
    animation-delay: 290ms;
  }

  .hero-copy > *:nth-child(5) {
    animation-delay: 370ms;
  }

  .hero-copy > *:nth-child(6) {
    animation-delay: 450ms;
  }

  .phone {
    animation: phoneIn 900ms 180ms cubic-bezier(0.22, 0.8, 0.3, 1) both;
  }

  .floating-one {
    animation: floatY 6s ease-in-out infinite;
  }

  .floating-two {
    animation: floatY 7s 1.1s ease-in-out infinite;
  }

  .glow-one {
    animation: glowPulse 8s ease-in-out infinite;
  }

  .glow-two {
    animation: glowPulse 9s 1.4s ease-in-out infinite;
  }

  .gradient-text {
    background-size: 200% 200%;
    animation: gradientShift 8s ease-in-out infinite;
  }

  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 620ms cubic-bezier(0.22, 0.8, 0.3, 1),
      transform 620ms cubic-bezier(0.22, 0.8, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
