/* Ақсайым · лендинг в стиле «Витрины» приложения (07.10.2026).
   Цвета и шрифт взяты из aqsaiym_rn/src/shared/theme/tokens.vitrina.ts. */

@font-face { font-family: "Geologica"; src: url("assets/fonts/Geologica-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("assets/fonts/Geologica-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("assets/fonts/Geologica-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("assets/fonts/Geologica-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --accent: #0B57D0;
  --accent-dark: #0A3D91;
  --accent-bg: #EAF2FF;
  --green: #12803E;
  --red: #D93025;
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --sunk: #EEF2F8;
  --line: #E3E8F0;
  --text: #0B1A33;
  --muted: #3E4C63;
  --subtle: #5B6980;
  --night: #0A1020;
  --night-2: #131B2E;
  --night-line: #22304B;
  --night-text: #F2F5FA;
  --night-muted: #A9B4C7;
  --r-card: 22px;
  --r-pill: 999px;
  --pad: clamp(16px, 3.2vw, 56px);
  --sec: clamp(56px, 6vw, 104px);
  --max: 1720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.ph-fill, .ph { line-height: 1; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  height: 52px; padding: 0 24px; border-radius: 16px;
  font: 600 16px/1 "Geologica", sans-serif; white-space: nowrap;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn i { font-size: 20px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--sunk); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-soft { background: var(--accent-bg); color: var(--accent); }
.btn-soft:hover { background: #dce9ff; }
.btn:active { transform: scale(.98); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #2F8BFF; outline-offset: 3px; }

/* ---------- шапка ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .2s, box-shadow .2s;
}
.top.is-solid { background: rgba(245,247,251,.86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: #fff; }
.top.is-solid .brand { color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 10px 14px; border-radius: 12px; font-weight: 500; font-size: 15px; color: rgba(255,255,255,.86); }
.nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
.top.is-solid .nav a { color: var(--muted); }
.top.is-solid .nav a:hover { background: var(--sunk); color: var(--text); }
.top-cta { margin-left: auto; display: flex; gap: 10px; }
.top-cta .btn { height: 44px; padding: 0 18px; border-radius: 13px; font-size: 15px; }
.top:not(.is-solid) .top-web { background: rgba(255,255,255,.14); color: #fff; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.16); color: #fff; font-size: 24px; cursor: pointer; }
.top.is-solid .menu-btn { background: var(--sunk); color: var(--text); }
.mnav { display: none; }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: 100svh; color: #fff; display: flex; align-items: center; overflow: hidden; background: #0A1020; }
.hero video, .hero .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,30,.92) 0%, rgba(8,14,30,.74) 46%, rgba(8,14,30,.34) 100%), linear-gradient(0deg, rgba(8,14,30,.7) 0%, rgba(8,14,30,0) 40%); }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 80px); align-items: center; padding-top: 112px; padding-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font-size: 14px; font-weight: 500; }
.eyebrow b { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.22); }
.hero h1 { margin-top: 22px; font-size: clamp(44px, 6.4vw, 108px); line-height: .98; font-weight: 700; letter-spacing: -.035em; }
.hero h1 span { color: #7FB4FF; }
.hero-sub { margin-top: 24px; max-width: 640px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: rgba(242,245,250,.86); }
.hero-sub b { color: #fff; font-weight: 600; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.facts { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.2); }
.facts div { padding: 18px 16px 0 0; }
.facts b { display: block; font-size: clamp(28px, 2.6vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.facts span { display: block; margin-top: 6px; font-size: 14px; color: rgba(242,245,250,.72); line-height: 1.35; }

.duo { position: relative; height: clamp(520px, 52vw, 820px); }
.phone {
  position: relative; aspect-ratio: 1179 / 2556; border-radius: 13% / 6%;
  background: #0B0F19; padding: 2.4%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -20px rgba(0,0,0,.55), 0 18px 36px -18px rgba(0,0,0,.4);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 11% / 5.1%; }
.duo .phone { position: absolute; width: 50%; }
.duo .p1 { left: 4%; top: 0; z-index: 2; }
.duo .p2 { right: 2%; top: 13%; }

/* ---------- общие секции ---------- */
.sec { padding: var(--sec) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 3vw, 48px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.kicker i { font-size: 18px; }
.h2 { font-size: clamp(34px, 4vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; }
.lead { font-size: clamp(17px, 1.25vw, 20px); color: var(--muted); line-height: 1.55; max-width: 720px; }

/* ---------- Айлана ---------- */
.ailana { background: var(--night); color: var(--night-text); }
.ailana .kicker { color: #7FB4FF; }
.ailana .lead { color: var(--night-muted); }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.asks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ask { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); font-size: 16px; font-weight: 500; }
.ask i { color: #7FB4FF; font-size: 20px; }
.skills { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.skill { padding: 20px; border-radius: var(--r-card); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.skill i { font-size: 26px; color: #7FB4FF; }
.skill h3 { margin-top: 14px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.skill p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--night-muted); }
.ai-note { margin-top: 18px; font-size: 14px; color: #7C89A1; }
.ai-phones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.ai-phones figure { margin: 0; }
.ai-phones figure:nth-child(2) { margin-top: 12%; }
.ai-phones figcaption, .shots figcaption { margin-top: 14px; font-size: 14px; color: var(--night-muted); text-align: center; }

/* ---------- разделы ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 1px 2px rgba(11,26,51,.04); }
.tile .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-bg); color: var(--accent); font-size: 24px; }
.tile h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.tile p { margin-top: 4px; font-size: 15px; color: var(--subtle); line-height: 1.45; }
.tile.sos { background: var(--red); color: #fff; }
.tile.sos .ic { background: rgba(255,255,255,.18); color: #fff; }
.tile.sos p { color: rgba(255,255,255,.88); }

/* ---------- экраны ---------- */
.shots-sec { background: var(--surface); }
.shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 24px); }
.shots figure { margin: 0; }
.shots .phone { box-shadow: 0 0 0 1px rgba(11,26,51,.08), 0 24px 48px -24px rgba(11,26,51,.35); }
.shots figcaption { color: var(--subtle); }
.shots figcaption b { display: block; color: var(--text); font-size: 16px; font-weight: 600; margin-bottom: 2px; }

/* ---------- отключения ---------- */
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step { padding: 24px; border-radius: var(--r-card); background: var(--surface); }
.step .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; }
.step h3 { margin-top: 16px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.step p { margin-top: 6px; color: var(--subtle); font-size: 16px; }

/* ---------- акимату ---------- */
.gov { background: var(--surface); }
.gov-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.gov-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gov-item { padding: 22px; border-radius: var(--r-card); background: var(--bg); }
.gov-item i { font-size: 26px; color: var(--accent); }
.gov-item h3 { margin-top: 12px; font-size: 18px; font-weight: 600; }
.gov-item p { margin-top: 6px; font-size: 15px; color: var(--subtle); }
.gov-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.soon { margin-top: 28px; padding: 22px; border-radius: var(--r-card); background: var(--accent-bg); }
.soon h3 { font-size: 16px; font-weight: 600; color: var(--accent); }
.soon ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.soon li { display: flex; gap: 10px; font-size: 16px; color: var(--muted); }
.soon li i { color: var(--accent); font-size: 18px; margin-top: 3px; }

/* ---------- скачать ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dl { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-card); background: var(--surface); }
.dl .os { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.dl .os i { font-size: 30px; color: var(--accent); }
.dl .meta { margin-top: 4px; font-size: 14px; color: var(--subtle); }
.dl ol { margin: 18px 0 24px; padding-left: 20px; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.dl .btn { margin-top: auto; align-self: flex-start; }
.dl-note { margin-top: 16px; font-size: 14px; color: var(--subtle); max-width: 900px; }

/* ---------- вопросы ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq details { border-radius: var(--r-card); background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--accent); font-size: 20px; transition: transform .2s; flex: none; margin-top: 3px; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* ---------- подвал ---------- */
.foot { background: var(--night); color: var(--night-muted); padding: 56px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand { color: #fff; }
.foot p { margin-top: 14px; max-width: 420px; }
.foot h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #fff; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #7C89A1; }

/* ---------- адаптив ---------- */
@media (max-width: 1360px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .nav, .top-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .mnav.is-open { display: grid; gap: 4px; padding: 8px var(--pad) 20px; background: rgba(245,247,251,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
  .mnav a { padding: 14px 4px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .mnav .btn { margin-top: 12px; border-bottom: 0; }
  .hero-in { grid-template-columns: 1fr; }
  .duo { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; }
  .duo .phone { position: relative; width: auto; left: auto; right: auto; top: auto; }
  .duo .p2 { margin-top: 14%; }
  .ai-grid, .gov-grid { grid-template-columns: 1fr; }
  .ai-phones { max-width: 640px; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-grid, .dl-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { padding-bottom: 6px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tiles { grid-template-columns: 1fr; }
  .skills, .gov-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .skill, .gov-item { padding: 16px; }
  .skill h3, .gov-item h3 { font-size: 16px; margin-top: 10px; }
  .skill p, .gov-item p { font-size: 14px; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 8px; }
  .shots figure { flex: 0 0 62%; scroll-snap-align: start; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* переключатель языка */
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.12); margin-left: auto; }
.langs a { padding: 7px 10px; border-radius: 9px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); letter-spacing: .02em; }
.langs a:hover { color: #fff; }
.langs a.is-cur { background: #fff; color: var(--text); }
.top.is-solid .langs { background: var(--sunk); }
.top.is-solid .langs a { color: var(--muted); }
.top.is-solid .langs a.is-cur { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(11,26,51,.08); }
.langs + .top-cta { margin-left: 0; }
@media (max-width: 1100px) { .langs + .top-cta + .menu-btn, .langs ~ .menu-btn { margin-left: 8px; } }
