* { box-sizing: border-box; }

:root {
  --navy: #002d6c;
  --navy-deep: #06142e;
  --navy-mid: #0e295a;
  --cyan: #01aab6;
  --cyan-soft: #65c6cc;
  --paper: #f6fbfd;
  --ink: #071b3d;
  --muted: #68809c;
  --white: #fff;
  --border: rgba(255,255,255,.17);
  --shadow: 0 35px 90px rgba(0, 21, 57, .34);
}

html { min-height: 100%; background: var(--navy-deep); }
body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 83% 8%, rgba(1,170,182,.28), transparent 25rem),
    radial-gradient(circle at 10% 92%, rgba(36,104,169,.42), transparent 32rem),
    linear-gradient(135deg, #06142e 0%, #082557 58%, #002d6c 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent 4%, #000 35%, #000 76%, transparent 100%);
}

a { color: inherit; }
button { font: inherit; }

.page {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

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

.logo-link {
  display: inline-flex;
  width: 164px;
  padding: 10px 16px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.logo-link img { width: 100%; height: auto; display: block; }

.language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.language span { width: 1px; height: 14px; background: rgba(255,255,255,.18); }
.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}
.lang-btn.active { color: var(--white); background: rgba(1,170,182,.26); }

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: 42px 0 52px;
}

.hero-copy { position: relative; z-index: 4; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #9cebf0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(1,170,182,.13);
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(42px, 6.3vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 750;
}
h1 span, h1 strong { display: block; }
h1 strong { color: #71d5db; font-weight: 800; }

.lead {
  max-width: 600px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(16px, 1.65vw, 19px);
  line-height: 1.7;
}

.device-hint {
  min-height: 20px;
  margin-top: 22px;
  color: #a8f2f5;
  font-size: 13px;
  font-weight: 650;
}

.store-grid {
  width: min(100%, 580px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 16px;
}

.store-card {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: 43px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 19px;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(0,13,40,.18);
  overflow: visible;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,13,40,.26);
}
.store-card:focus-visible { outline: 3px solid #66d8df; outline-offset: 3px; }

.store-logo {
  width: 43px; height: 43px;
  display: grid; place-items: center;
  background: #eef5f8;
  border-radius: 13px;
}
.store-logo svg { width: 24px; height: 24px; fill: currentColor; }
.store-logo.play { color: var(--cyan); }
.store-logo.apple { color: var(--navy); }

.store-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.store-text small { color: #71859a; font-size: 10px; font-weight: 650; }
.store-text strong { color: #061b3f; font-size: 16px; white-space: nowrap; }
.store-arrow { color: #8da0b0; font-size: 19px; }

.recommended-badge {
  display: none;
  position: absolute;
  top: -9px;
  right: 13px;
  padding: 5px 8px;
  border-radius: 99px;
  color: #fff;
  background: var(--cyan);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .03em;
  box-shadow: 0 5px 16px rgba(1,170,182,.34);
}
.store-card.recommended {
  border-color: #56d2d9;
  box-shadow: 0 17px 45px rgba(1,170,182,.20);
}
.store-card.recommended .recommended-badge { display: inline-flex; }

.small-note {
  margin: 17px 0 0;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  line-height: 1.5;
}

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

.orbit {
  position: absolute;
  border: 1px solid rgba(101,198,204,.22);
  border-radius: 50%;
}
.orbit-a { width: 480px; height: 480px; }
.orbit-b { width: 360px; height: 360px; border-style: dashed; animation: rotate 30s linear infinite; }

.phone-shadow {
  position: absolute;
  width: 300px;
  height: 70px;
  bottom: 15px;
  border-radius: 50%;
  background: rgba(0,0,0,.34);
  filter: blur(22px);
}

.phone {
  position: relative;
  z-index: 2;
  width: 286px;
  height: 566px;
  padding: 10px;
  border-radius: 45px;
  background: linear-gradient(145deg, #eef5f7, #8fa6b5 42%, #eaf1f4);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}
.phone::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 43px;
  border: 1px solid rgba(255,255,255,.56);
  pointer-events: none;
}
.phone-top {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 16px;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #041027;
}
.phone-top span {
  position: absolute;
  right: 15px;
  top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10244c;
}
.phone-screen {
  position: relative;
  height: 100%;
  padding: 54px 19px 20px;
  overflow: hidden;
  border-radius: 36px;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 8%, rgba(1,170,182,.22), transparent 170px),
    linear-gradient(180deg, #f7fcfd, #e9f6f8);
}
.phone-screen::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  right: -105px; bottom: -55px;
  border: 36px solid rgba(1,170,182,.07);
  border-radius: 50%;
}

.app-brand {
  display: flex;
  align-items: center;
  width: 128px;
  height: 42px;
  padding: 8px 10px;
  margin-bottom: 31px;
  border-radius: 10px;

}
.app-brand img { width: 100%; }

.welcome small {
  display: block;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}
.welcome strong {
  display: block;
  margin-top: 7px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.04em;
}
.welcome span {
  display: block;
  margin-top: 9px;
  color: #698299;
  font-size: 11px;
  line-height: 1.45;
}

.app-cards { display: grid; gap: 8px; margin-top: 24px; }
.app-card {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 11px;
  align-items: center;
  padding: 10px 11px;
  border-radius: 13px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(0,45,108,.06);
  box-shadow: 0 8px 20px rgba(0,45,108,.05);
}
.app-card.support { background: var(--navy); color: white; }
.app-icon {
  width: 35px; height: 35px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--cyan);
  font-weight: 900;
}
.support .app-icon { color: var(--navy); background: #82dce1; }
.app-card strong { display: block; color: var(--navy); font-size: 12px; }
.app-card small { display: block; margin-top: 2px; color: #8396a7; font-size: 9px; }
.app-card.support strong { color: white; }
.app-card.support small { color: rgba(255,255,255,.55); }

.floating-label {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(4,24,55,.70);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 32px rgba(0,0,0,.20);
  font-size: 11px;
}
.label-one { left: 8px; top: 125px; }
.label-two { right: -4px; bottom: 96px; color: #a8f2f5; }
.label-two span { color: rgba(255,255,255,.38); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #51d3a0; box-shadow: 0 0 0 5px rgba(81,211,160,.12); }

footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.42);
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  letter-spacing: .02em;
}
footer a { text-decoration: none; }
footer a:hover { color: #8fe1e6; }

@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .page { width: min(100% - 28px, 680px); }
  .topbar { min-height: 82px; }
  .logo-link { width: 145px; }
  .hero { grid-template-columns: 1fr; padding-top: 46px; }
  .hero-copy { text-align: center; }
  .kicker { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .device-hint { text-align: center; }
  .store-grid { margin-left: auto; margin-right: auto; }
  .visual { min-height: 530px; margin-top: 5px; }
  .phone { transform: rotate(2deg) scale(.92); }
  .orbit-a { width: 430px; height: 430px; }
  .orbit-b { width: 320px; height: 320px; }
  .label-one { left: 6%; }
  .label-two { right: 5%; }
}

@media (max-width: 560px) {
  body::before { background-size: 42px 42px; }
  .page { width: min(100% - 22px, 480px); }
  .topbar { min-height: 76px; }
  .logo-link { width: 132px; padding: 8px 13px; border-radius: 12px; }
  .language { padding: 4px; }
  .lang-btn { padding: 6px 8px; font-size: 10px; }
  .hero { padding: 34px 0 34px; gap: 10px; }
  h1 { font-size: clamp(39px, 13vw, 58px); }
  .lead { font-size: 15px; line-height: 1.65; }
  .store-grid { grid-template-columns: 1fr; gap: 11px; }
  .store-card { min-height: 74px; }
  .small-note { font-size: 11px; }
  .visual { min-height: 490px; margin-top: 24px; }
  .phone { transform: rotate(2deg) scale(.83); }
  .orbit-a { width: 360px; height: 360px; }
  .orbit-b { width: 270px; height: 270px; }
  .label-one { left: 0; top: 100px; }
  .label-two { right: 0; bottom: 65px; }
  footer { min-height: 72px; }
}

@media (max-width: 390px) {
  .visual { min-height: 455px; }
  .phone { transform: rotate(2deg) scale(.76); }
  .orbit-a { width: 320px; height: 320px; }
  .orbit-b { width: 240px; height: 240px; }
  .floating-label { font-size: 9px; padding: 9px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
