:root {
  --color-bg: #ffffff;
  --color-ink: #16162a;
  --color-accent: #efa00b;
  --color-green: #0e5c4a;
  --color-green-logo: #2ea94a;
  --color-card: #f2f3f5;
  --color-muted: #8a8f98;
  --color-chevron: #f4f6f7;
  --radius-card: 14px;
  --radius-phone: 34px;
  --shadow-sm: 0 8px 24px rgba(20, 20, 40, 0.08);
  --shadow-phone: 0 24px 60px rgba(20, 20, 40, 0.18);
  --font:
    "Poppins", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow: hidden;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--color-ink);
  background: var(--color-bg);
  position: relative;
  overflow-x: hidden;
  background-image: url("./images/desktop_bg.svg");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ---------- Header / language selector ---------- */
.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  padding: 28px 40px;
}

.lang-select {
  position: relative;
}

.lang-select__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-card);
  border: 1px solid #e3e5e9;
  color: var(--color-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.lang-select__btn:hover {
  background: #e9ebef;
}

.lang-select__caret {
  transition: transform 0.2s ease;
}

.lang-select__btn[aria-expanded="true"] .lang-select__caret {
  transform: rotate(180deg);
}

.lang-select__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 100%;
  list-style: none;
  background: #fff;
  border: 1px solid #e3e5e9;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  z-index: 5;
}

.lang-select__menu li {
  padding: 9px 16px;
  font-size: 14px;
  cursor: pointer;
}

.lang-select__menu li:hover,
.lang-select__menu li.is-selected {
  background: var(--color-card);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 40px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  min-height: calc(100vh - 75px);
}

.hero__content {
  flex: 0 1 520px;
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 34px;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--color-accent);
}

/* ---------- Download cards ---------- */
.download-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.dl-card {
  flex: 1 1 190px;
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dl-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.dl-card__qr {
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  line-height: 0;
}

.dl-card__qr img {
  width: 120px;
  height: 120px;
  display: block;
}

.dl-card__hint {
  font-size: 10px;
  color: var(--color-muted);
  margin: 12px 0 10px;
}

/* ---------- Store badges ---------- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  justify-content: center;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 9px;
  padding: 10px;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.store-badge__text small {
  font-size: 9px;
  font-weight: 400;
  opacity: 0.9;
}

.store-badge__text strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---------- Phone mockup ---------- */
.hero__phone {
  width: 258px;
  /* flex: 0 0 auto; */
}

.hero__phone img {
  width: 100%;
}

.phone {
  position: relative;
  width: 260px;
  height: 530px;
  background: #fff;
  border: 3px solid #14342b;
  border-radius: var(--radius-phone);
  box-shadow: var(--shadow-phone);
  padding: 14px;
  display: flex;
}

.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 6px;
  background: #d7dbe0;
  border-radius: 6px;
}

.phone__screen {
  flex: 1;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  padding: 26px 20px 22px;
}

.phone__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #14342b;
}

.phone__menu {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.phone__menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: #14342b;
  border-radius: 2px;
}

.phone__help {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-muted);
}

.phone__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.phone__logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.phone__logo span {
  color: var(--color-green-logo);
}

.phone__subtitle {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 8px;
}

.phone__welcome {
  font-size: 22px;
  font-weight: 700;
}

.phone__cta {
  border: none;
  background: var(--color-green);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

/* ---------- Responsive: tablet ---------- */
@media (min-width: 769px) {
  .mobile {
    display: none;
  }
}
/* ---------- Responsive: mobile ---------- */
@media (max-width: 768px) {
  body {
    background-image: url("./images/mobile_bg.svg");
    background-size: contain;
  }

  .site-header {
    padding: 18px 20px;
  }

  .web {
    display: none;
  }

  .hero {
    padding: 10px 20px 0;
    gap: 36px;
    flex-direction: column;
    text-align: center;
  }

  .hero__content {
    flex: 1 1 auto;
    order: 1;
    max-width: 460px;
  }

  .hero__phone {
    order: 2;
  }

  .hero__title {
    margin-bottom: 24px;
  }

  /* Mobile layout: stacked full-width store badges instead of QR cards */
  .download-cards {
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
    gap: 16px;
    justify-content: center;
  }

  .dl-card {
    flex: none;
    flex-direction: row;
    justify-content: center;
    padding: 0;
    background: transparent;
  }

  .dl-card__label,
  .dl-card__qr,
  .dl-card__hint {
    display: none;
  }

  .store-badge {
    padding: 11px 20px;
    width: 100%;
    justify-content: center;
  }

  .dl-card[hidden] {
    display: none;
  }

  .phone {
    width: 230px;
    height: 470px;
  }
}
