:root {
  --blue: #1687df;
  --blue-dark: #005db8;
  --navy: #0b1d3a;
  --text: #1e293b;
  --muted: #64748b;
  --soft: #eef7ff;
  --border: #dbe7f3;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 45, 90, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(219,231,243,.7); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 286px; max-width: 64vw; height: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; font-weight: 700; color: var(--navy); }
.main-nav a:hover, .login-link { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 30px; color: var(--blue); cursor: pointer; }

.hero { overflow: hidden; background: radial-gradient(circle at 80% 20%, #d8f0ff 0, transparent 34%), linear-gradient(135deg, #f2fbff 0%, #ffffff 70%); padding: 74px 0 84px; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; }
.eyebrow { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: .98; margin: 0 0 26px; color: var(--navy); letter-spacing: -0.05em; }
.lead { font-size: 21px; color: #23324c; max-width: 580px; margin: 0 0 30px; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.store-button { display: inline-flex; align-items: center; gap: 12px; background: #050505; color: #fff; padding: 11px 18px; border-radius: 12px; min-width: 192px; min-height: 64px; box-shadow: 0 10px 24px rgba(0,0,0,.17); transition: transform .2s ease, box-shadow .2s ease; }
.store-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.24); }
.store-button small { display: block; font-size: 12px; line-height: 1; opacity: .9; text-transform: uppercase; }
.store-button span:last-child { font-size: 23px; font-weight: 800; line-height: 1.05; }
.store-icon { font-size: 31px; color: #fff; }
.checks { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 28px 0 0; list-style: none; font-weight: 700; }
.checks li::before { content: '✓'; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; margin-right: 8px; font-size: 13px; }

.hero-phones { position: relative; min-height: 560px; }
.phone { position: absolute; width: min(34vw, 235px); border-radius: 22px; box-shadow: var(--shadow); background: #fff; }
.phone-main { width: min(38vw, 280px); left: 35%; top: 0; z-index: 3; }
.phone-left { left: 8%; top: 72px; z-index: 2; }
.phone-right { right: 0; top: 72px; z-index: 1; }

.section { padding: 78px 0; }
.section-soft { background: linear-gradient(180deg, #f7fbff 0%, #fff 100%); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; color: var(--navy); margin: 0 0 14px; letter-spacing: -0.03em; }
.section-intro, .center p { color: var(--muted); font-size: 18px; }
.feature-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card, .benefits-grid article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 28px rgba(15, 45, 90, .06); }
.feature-card span, .benefits-grid span { font-size: 38px; }
h3 { margin: 14px 0 8px; color: var(--navy); font-size: 21px; }
.feature-card p, .benefits-grid p { margin: 0; color: var(--muted); }

.carousel { position: relative; margin: 34px auto 0; max-width: 620px; padding: 0 56px; }
.carousel-window { overflow: hidden; border-radius: 28px; }
.carousel-track { display: flex; transition: transform .35s ease; will-change: transform; }
.carousel-track img { flex: 0 0 100%; width: 100%; max-height: 760px; object-fit: contain; border-radius: 20px; border: 1px solid var(--border); box-shadow: 0 14px 32px rgba(15,45,90,.10); background: #fff; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--navy); font-size: 34px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px rgba(15,45,90,.12); }
.carousel-btn:hover { color: var(--blue); }
.prev { left: 0; }
.next { right: 0; }
.carousel-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.carousel-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #d6dee8; cursor: pointer; }
.carousel-dots button.active { background: var(--blue); }

.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; margin-top: 36px; }
.benefits-grid span { color: var(--blue); }
.download-section { padding: 76px 0; background: linear-gradient(135deg, var(--blue-dark), #04a0ff); color: #fff; }
.download-section h2 { color: #fff; }
.download-section p { color: rgba(255,255,255,.9); font-size: 19px; margin-bottom: 28px; }
.center-buttons { justify-content: center; }
.site-footer { background: #071a2f; color: rgba(255,255,255,.82); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 28px; }
.footer-inner a:hover { color: #fff; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .store-buttons, .checks { justify-content: center; }
  .hero-phones { min-height: 510px; max-width: 650px; width: 100%; margin: 0 auto; }
  .feature-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 72px; }
  .logo img { width: 240px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 14px; right: 14px; top: 72px; display: none; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); gap: 14px; }
  .main-nav.is-open { display: flex; }
  .hero { padding: 48px 0 56px; }
  .lead { font-size: 18px; }
  .store-button { width: 100%; justify-content: center; }
  .checks { display: grid; gap: 10px; justify-content: start; text-align: left; }
  .hero-phones { min-height: 420px; }
  .phone { width: 44vw; }
  .phone-main { width: 52vw; left: 24%; }
  .phone-left { left: 0; top: 90px; }
  .phone-right { right: 0; top: 90px; }
  .section { padding: 56px 0; }
  .feature-grid, .benefits-grid { grid-template-columns: 1fr; }
  .carousel { max-width: 100%; padding: 0 42px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-inner nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 430px) {
  h1 { font-size: 42px; }
  .hero-phones { min-height: 355px; }
  .store-button span:last-child { font-size: 20px; }
  .logo img { width: 210px; }
  .carousel { padding: 0 34px; }
}
