/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Deutli: steel blue accent, Anthrazit from the app icon */
  --accent: #4682B4;
  --accent-dark: #205E8E;
  --accent-light: #E8F0F7;
  --accent-mid: #6CA8DD;
  --anthracite: #37474F;
  --text: #1a1a1a;
  --text-2: #555;
  --text-3: #888;
  --bg: #fff;
  --bg-2: #f5f7fa;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-phone: 0 24px 64px rgba(0,0,0,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
.accent { color: var(--accent); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  text-align: center;
  margin-bottom: 56px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.btn--store {
  background: var(--text);
  color: #fff;
  padding: 14px 24px;
}

.btn--store:hover {
  background: #333;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.btn--large {
  font-size: 1.1rem;
  padding: 16px 32px;
}

/* Not a link yet: the app is not in the App Store. */
.btn--soon,
.btn--soon:hover {
  cursor: default;
  transform: none;
  box-shadow: none;
}

.btn--soon:hover { background: var(--text); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
}

.nav__logo-text { letter-spacing: -0.01em; }

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
}

.nav__links a { color: var(--text-2); }
.nav__links a:hover { color: var(--accent); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ── Language ── */
.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--bg-2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-switch a {
  color: var(--text-2);
  padding: 5px 10px;
  border-radius: 100px;
}

.lang-switch a:hover { color: var(--accent); }

.lang-switch a[aria-current="page"] {
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* Offered on the English pages to a browser set to Ukrainian or Russian. */
.lang-hint {
  background: var(--anthracite);
  color: #fff;
  font-size: 0.9rem;
}

.lang-hint__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  flex-wrap: wrap;
  min-height: 44px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.lang-hint a { color: #fff; font-weight: 600; }
.lang-hint a:hover { color: var(--accent-mid); }

.lang-hint__close {
  background: none;
  border: 0;
  color: rgba(255,255,255,.7);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.lang-hint__close:hover { color: #fff; }

/* ── Hero ── */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(160deg, var(--bg) 55%, var(--accent-light) 100%);
  overflow: hidden;
}

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

.hero__badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero__cta { margin-bottom: 16px; }

.hero__note {
  font-size: 0.85rem;
  color: var(--text-3);
}

.hero__phone {
  display: flex;
  justify-content: center;
}

/* The app icon in the hero; the screenshots have their own section. */
.hero__icon {
  width: 240px;
  height: 240px;
  border-radius: 54px;
  box-shadow: var(--shadow-phone);
  display: block;
}

/* ── Features ── */
.features {
  padding: 100px 0;
  background: var(--bg-2);
}

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

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Privacy note ── */
.privacy-note {
  padding: 56px 0;
}

.privacy-note__inner {
  max-width: 760px;
  margin: 0 auto;
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.privacy-note__icon { font-size: 1.75rem; line-height: 1; }

.privacy-note p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
}

.privacy-note a { font-weight: 600; white-space: nowrap; }

/* ── Screenshots ── */
.screenshots {
  padding: 100px 0;
  overflow: hidden;
}

.screenshots__scroll {
  overflow-x: auto;
  padding: 16px 40px 32px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screenshots__scroll::-webkit-scrollbar { display: none; }

.screenshots__track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.shot {
  display: block;
  width: 240px;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

/* ── How it works ── */
.how {
  padding: 100px 0;
  background: var(--bg-2);
}

.how__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 16px;
}

.how__step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 0 20px;
}

.how__step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.how__step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.how__step p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

.how__step-arrow {
  font-size: 1.5rem;
  color: var(--accent-mid);
  margin-top: 14px;
  flex-shrink: 0;
}

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 100px 0;
  text-align: center;
  color: #fff;
}

.cta-section__flag {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: 0.15em;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 36px;
}

.cta-section .btn--store {
  background: #fff;
  color: var(--text);
}

.cta-section .btn--store:hover {
  background: #f0f0f0;
  color: var(--text);
}

.cta-section .btn--soon:hover { background: #fff; }

/* ── Footer ── */
.footer {
  background: var(--anthracite);
  color: rgba(255,255,255,.65);
  padding: 48px 0;
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer__links {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
}

.footer__links a {
  color: rgba(255,255,255,.65);
}

.footer__links a:hover { color: #fff; }

.footer__copy { font-size: 0.8rem; }

/* ── Inner pages ── */
.page-header {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-2);
  font-size: 1rem;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text);
}

.page-content h2:first-child { margin-top: 0; }

.page-content p, .page-content li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-2);
}

.page-content p + p { margin-top: 12px; }

.page-content ul {
  padding-left: 20px;
  margin-top: 8px;
}

.page-content li { margin-bottom: 6px; }

.page-content a { color: var(--accent); }

.page-content .page-note {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 40px;
  font-size: 0.875rem;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.support-card {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid #eee;
}

.support-card__icon { font-size: 1.75rem; margin-bottom: 12px; }
.support-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.support-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.support-card a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 0.9rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }

  .hero__phone { order: -1; }

  .shot { width: 200px; border-radius: 24px; }

  .hero__icon { width: 160px; height: 160px; border-radius: 36px; }

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

  .privacy-note__inner { padding: 24px 20px; }

  .how__steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .how__step-arrow {
    transform: rotate(90deg);
    margin: 0;
  }

  .nav__links { display: none; }

  .lang-hint__close { padding: 4px; }

  .footer__links { flex-wrap: wrap; justify-content: center; gap: 16px 28px; }

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