/* ============================================================
   Aviator Kyrgyzstan — styles.css
   Светлый премиальный дизайн, акцент на конверсию.
   ============================================================ */

:root {
  --red: #e63946;
  --red-dark: #c1121f;
  --ink: #14141a;
  --ink-soft: #5a5a66;
  --line: #e8e8ef;
  --bg: #f7f7fb;
  --card: #ffffff;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(20, 20, 26, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* место под sticky-CTA */
}

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

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.brand-name span { color: var(--red); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav .nav-cta {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.3);
}
.nav .nav-cta:hover { filter: brightness(1.05); color: #fff; }

/* ---------- Main ---------- */
.main { max-width: 1080px; margin: 0 auto; padding: 32px 24px 40px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #fff5f6 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px 32px 44px;
  text-align: center;
  box-shadow: var(--shadow);
}
.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 320px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.18) 0%, rgba(230, 57, 70, 0) 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-dark);
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 12px 24px rgba(230, 57, 70, 0.25));
}
.hero h1 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-sub {
  margin: 0 0 28px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.hero-sub strong { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  min-height: 60px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  border: none;
  border-radius: 16px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(230, 57, 70, 0.38), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-red:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 34px rgba(230, 57, 70, 0.48), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-red:active { transform: translateY(0); filter: brightness(0.96); }

.install-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 12px auto 0;
  min-height: 48px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.install-btn:hover { border-color: rgba(230,57,70,.4); box-shadow: 0 6px 16px rgba(20,20,26,.06); }
.install-hint {
  margin: 12px auto 0;
  max-width: 420px;
  font-size: 13px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px 14px;
}
.hero-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero-points li {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- Trust ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 8px;
}
.trust-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trust-ico { font-size: 26px; display: block; margin-bottom: 8px; }
.trust-item b { display: block; font-size: 15px; margin-bottom: 4px; }
.trust-item p { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { margin: 44px 0; }
.section-title {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 26px;
  background: var(--red);
  border-radius: 3px;
}
.section-lead { margin: 0; font-size: 16px; color: var(--ink-soft); max-width: 760px; }
.section-lead strong { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(230,57,70,.3);
}
.step b { display: block; font-size: 16px; margin-bottom: 2px; }
.step p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- Features ---------- */
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.features li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px 16px 46px;
  font-size: 15px;
  color: var(--ink);
}
.features li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
}

/* ---------- Accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.acc-item.open { border-color: rgba(230,57,70,.5); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.acc-head:hover { background: var(--bg); }
.acc-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.acc-icon::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px,-1px);
  transition: transform .2s;
}
.acc-item.open .acc-icon { background: rgba(230,57,70,.1); color: var(--red); }
.acc-item.open .acc-icon::before { transform: rotate(-135deg) translate(-1px,-1px); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-body-inner { padding: 0 20px 20px; font-size: 15px; color: var(--ink-soft); line-height: 1.65; }
.acc-body-inner p { margin: 0; }
.acc-body-inner strong { color: var(--ink); }

/* ---------- CTA box ---------- */
.cta-box {
  margin: 48px 0 8px;
  padding: 40px 28px;
  background: linear-gradient(135deg, #fff 0%, #fff5f6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-box h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; }
.cta-box p { margin: 0 0 22px; font-size: 16px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #fff; margin-top: 40px; }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.footer-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
}
.footer-nav a:hover { background: var(--bg); color: var(--ink); }
.footer-copy { font-size: 13px; color: #9a9aa6; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(230,57,70,.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner { padding: 10px 16px; }
  .nav a { font-size: 13px; padding: 7px 10px; }
  .nav a:not(.nav-cta) { display: none; }
  .main { padding: 20px 16px 32px; }
  .hero { padding: 32px 18px 30px; border-radius: 22px; }
  .hero h1 { font-size: 27px; }
  .hero-sub { font-size: 15px; }
  .hero-logo { width: 96px; height: 96px; }
  .btn-red { font-size: 16px; min-height: 56px; }
  .section { margin: 32px 0; }
  .section-title { font-size: 21px; }
  .section-title::before { height: 21px; }
  .step { padding: 16px; }
  .acc-head { padding: 15px 16px; font-size: 15px; }
  .acc-body-inner { padding: 0 16px 18px; font-size: 14.5px; }
  .cta-box { padding: 30px 18px; }
  .cta-box h2 { font-size: 22px; }
  .sticky-cta { display: flex; }
}
