:root {
  color-scheme: dark;
  --bg: #03131b;
  --bg-deep: #020b11;
  --surface: rgba(7, 31, 43, .76);
  --surface-strong: #092532;
  --cyan: #27ddf7;
  --cyan-soft: #71e8f5;
  --gold: #ffd168;
  --text: #f4f7f9;
  --muted: #a9bec8;
  --border: rgba(40, 222, 247, .35);
  --shadow: 0 26px 70px rgba(0, 0, 0, .34);
  --container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 74% 9%, rgba(0, 140, 170, .14), transparent 26rem),
    linear-gradient(180deg, #020c12 0%, var(--bg) 46%, #020c12 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--cyan); color: #001118; border-radius: .6rem; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 6rem), var(--container)); margin-inline: auto; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 6rem), var(--container));
  height: 104px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .8rem; width: max-content; font-size: 2rem; font-weight: 750; letter-spacing: -.04em; }
.brand-mark { width: 42px; aspect-ratio: 1; border: 8px solid var(--cyan); border-right-color: var(--cyan-soft); border-bottom-color: transparent; border-radius: 50%; transform: rotate(-12deg); filter: drop-shadow(0 0 12px rgba(39, 221, 247, .42)); }
.main-nav { display: flex; align-items: center; gap: 3.5rem; font-weight: 600; }
.main-nav a { position: relative; padding: 2.4rem .2rem 1rem; color: rgba(255, 255, 255, .82); transition: color .25s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.active { color: var(--cyan); }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 1.4rem; }
.language-switcher { position: relative; }
.language { position: relative; display: grid; grid-template-columns:auto auto auto; align-items:center; gap:.55rem; min-width:118px; min-height:48px; padding:.42rem .7rem .42rem .48rem; overflow:hidden; border:1px solid rgba(54,222,246,.62); border-radius:999px; color:white; background:linear-gradient(135deg,rgba(7,42,55,.84),rgba(3,22,31,.7)); box-shadow:inset 0 1px rgba(255,255,255,.08),0 7px 24px rgba(0,0,0,.22),0 0 0 0 rgba(36,220,247,0); backdrop-filter:blur(14px); cursor:pointer; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease; }
.language::before { content:""; position:absolute; inset:-70% 45% -70% -20%; background:linear-gradient(90deg,transparent,rgba(91,235,255,.15),transparent); transform:rotate(20deg) translateX(-120%); transition:transform .55s ease; }
.language:hover,.language:focus-visible,.language[aria-expanded="true"] { transform:translateY(-2px); border-color:#64ecff; background:linear-gradient(135deg,rgba(10,61,76,.94),rgba(3,29,40,.88)); box-shadow:inset 0 1px rgba(255,255,255,.12),0 10px 30px rgba(0,0,0,.3),0 0 22px rgba(36,220,247,.2); outline:none; }
.language:hover::before,.language:focus-visible::before { transform:rotate(20deg) translateX(220%); }
.language-icon { position:relative; z-index:1; display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:#00141b; background:linear-gradient(145deg,#8af2fc,#28d7ef); box-shadow:0 0 18px rgba(47,221,245,.42); }
.language-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.language-copy { position:relative; z-index:1; display:grid; justify-items:start; line-height:1; }
.language-copy small { color:#85aeb9; font-size:.48rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.language-copy b { margin-top:.25rem; color:#f7fdff; font-size:.82rem; letter-spacing:.08em; }
.language-chevron { position:relative; z-index:1; color:#64e9fa; font-size:.85rem; transition:transform .2s ease; }
.language[aria-expanded="true"] .language-chevron { transform:rotate(180deg); }
.language-menu { position: absolute; z-index: 20; top: calc(100% + .55rem); right: 0; display: grid; min-width: 170px; padding: .45rem; border: 1px solid var(--border); border-radius: 14px; background: rgba(2, 17, 24, .98); box-shadow: 0 18px 50px rgba(0, 0, 0, .38); opacity: 0; transform: translateY(-7px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.language-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.language-menu button { display: flex; justify-content: space-between; gap: 1rem; width: 100%; padding: .7rem .75rem; border: 0; border-radius: 9px; color: #dcecf0; background: transparent; cursor: pointer; text-align: left; }
.language-menu button:hover, .language-menu button:focus-visible, .language-menu button.active { color: #001118; background: var(--cyan); outline: none; }
.language-menu b { font-size: .72rem; }
.mobile-languages { display: none; }
.menu-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 7px 0; background: white; transition: transform .25s ease; }

.button { min-height: 54px; padding: .9rem 1.8rem; border: 1px solid var(--cyan); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; font-weight: 700; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(39, 221, 247, .08), 0 12px 32px rgba(0, 199, 232, .2); }
.button-primary { color: #01161d; border-color: transparent; background: linear-gradient(100deg, #63e8f8, #15d5f2); box-shadow: 0 10px 32px rgba(26, 216, 244, .25); }
.button-outline { background: rgba(2, 19, 27, .32); }
.button-small { min-height: 46px; padding: .65rem 1.45rem; font-size: .92rem; }

.hero { position: relative; min-height: 830px; overflow: hidden; border-bottom: 1px solid rgba(37, 217, 244, .12); }
.hero-image { position: absolute; inset: 0; background: url("assets/astana-hero.webp") center/cover no-repeat; opacity: .9; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 10, 15, .98) 0%, rgba(1, 12, 17, .92) 25%, rgba(2, 15, 22, .42) 56%, rgba(2, 16, 23, .16) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 34%, rgba(0,0,0,.08)); }
.hero-content { position: relative; z-index: 2; padding-top: 176px; }
.eyebrow { margin: 0 0 1rem; color: #7da8b8; font-size: .86rem; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3.5rem, 5vw, 5.7rem); line-height: 1.04; letter-spacing: -.055em; }
.hero h1 span, .section-heading h2 span, .about-copy h2 span { color: var(--cyan); }
.hero-copy { max-width: 660px; margin: 2rem 0 2.2rem; color: #e0eaee; font-size: 1.15rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.stats { display: flex; gap: 4.5rem; margin-top: 5rem; }
.stat { display: flex; align-items: center; gap: .9rem; }
.stat-icon { font-size: 2.8rem; line-height: 1; color: #eaf8fb; }
.stat strong { display: block; color: var(--cyan); font-size: 1.12rem; }
.stat small { display: block; color: var(--muted); font-size: .78rem; }
.location-pill { position: absolute; z-index: 3; right: max(3rem, calc((100vw - var(--container))/2)); bottom: 88px; display: flex; align-items: flex-start; gap: .8rem; max-width: 220px; }
.location-pill > span { font-size: 2rem; }
.location-pill strong, .location-pill small { display: block; }
.location-pill small { color: var(--muted); }
.ornament { position: absolute; z-index: 1; right: 3%; top: 7%; font-size: 18rem; color: rgba(49, 216, 240, .055); transform: rotate(18deg); }

.light-ribbon { position: absolute; z-index: 1; inset-inline: 0; pointer-events: none; }
.light-ribbon svg { width: 100%; height: 100%; overflow: visible; }
.hero-ribbon { bottom: -2rem; height: 240px; }
.ribbon-core, .ribbon-blur { fill: none; stroke: url(#heroGradient); stroke-linecap: round; }
.ribbon-core { stroke-width: 3; filter: url(#heroGlow); stroke-dasharray: 240 45 80 36; animation: trail 13s linear infinite; }
.ribbon-blur { stroke-width: 24; opacity: .16; animation: glowPulse 6s ease-in-out infinite; }

.apps-section { position: relative; padding: 110px 0 80px; }
.section-heading { display: grid; grid-template-columns: 1.25fr .8fr auto; align-items: end; gap: 3.5rem; margin-bottom: 3rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.8rem, 4vw, 4.5rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 .3rem; color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.app-card { position: relative; min-height: 410px; padding: 2.2rem; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(145deg, rgba(8, 44, 59, .92), rgba(3, 22, 31, .94)); box-shadow: var(--shadow); isolation: isolate; cursor: pointer; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.app-card::before { content: ""; position: absolute; z-index: -1; width: 290px; height: 290px; right: -15%; bottom: -25%; background: radial-gradient(circle, rgba(30, 213, 242, .26), transparent 70%); transition: transform .5s ease; }
.app-card:hover, .app-card:focus-visible { transform: translateY(-8px); border-color: rgba(62, 230, 252, .8); box-shadow: 0 28px 80px rgba(0, 0, 0, .46), 0 0 30px rgba(21, 213, 240, .1); outline: none; }
.app-card:hover::before { transform: scale(1.3); }
.app-card-copy { position: relative; z-index: 3; }
.app-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.2rem; border-radius: 15px; color: #02151c; font-size: 1.7rem; font-weight: 900; background: linear-gradient(145deg, #82ecf8, #26cde8); box-shadow: 0 0 30px rgba(56, 221, 243, .36); }
.translate-icon { font-size: 1rem; letter-spacing: -.08em; }
.app-card h3 { margin: 0; font-size: 1.65rem; }
.app-card p { color: var(--muted); margin: .8rem 0 1.6rem; }
.card-download { min-height: 44px; padding: .55rem 1.35rem; border: 1px solid var(--cyan); border-radius: 999px; background: rgba(1,15,21,.54); color: white; cursor: pointer; transition: background .25s ease, color .25s ease; }
.card-download:hover, .card-download:focus-visible { background: var(--cyan); color: #001118; }
.platforms { margin-top: .8rem; display: flex; gap: .65rem; color: #d4edf2; }
.phone-mock { position: absolute; z-index: 2; right: -2rem; bottom: -2rem; width: 210px; height: 355px; padding: 2.8rem 1.2rem 1rem; border: 8px solid #24333a; border-radius: 38px; background: linear-gradient(160deg, #061018, #121f26); box-shadow: -20px -10px 50px rgba(0, 0, 0, .4); transform: rotate(7deg); }
.phone-top { position: absolute; top: 12px; left: 50%; width: 70px; height: 16px; transform: translateX(-50%); border-radius: 20px; background: #01070a; }
.phone-mock strong { font-size: .9rem; }
.translate-row { display: flex; align-items: center; gap: .65rem; min-height: 42px; margin-top: .75rem; padding: .55rem .65rem; border: 1px solid rgba(46, 218, 243, .1); border-radius: 9px; background: #1c2b31; color: #dcecf0; font-style: normal; font-size: .72rem; }
.translate-row b { display: grid; place-items: center; flex: 0 0 28px; height: 24px; border-radius: 7px; background: linear-gradient(145deg, #82ecf8, #26cde8); color: #02151c; font-size: .62rem; }
.translate-row:nth-of-type(3) b { background: linear-gradient(145deg, #ffe194, #ffc553); }
.translate-row:nth-of-type(4) b { background: linear-gradient(145deg, #b8a6ff, #8c70eb); }
.translate-row:nth-of-type(5) b { background: linear-gradient(145deg, #ff9a8e, #ff5d6c); }
.mock-row, .media-row { display: block; height: 42px; margin-top: .75rem; border-radius: 9px; background: #1c2b31; }
.mock-row::before { content: ""; display: block; width: 18px; height: 18px; margin: 12px; border-radius: 5px; background: var(--gold); }
.mock-row.cyan::before { background: var(--cyan); }
.mock-row.violet::before { background: #d581e8; }
.phone-media { right: -1.2rem; transform: rotate(2deg); }
.phone-compass { right: -2rem; bottom: -1.4rem; width: 220px; height: 370px; padding: 2.3rem .75rem .4rem; overflow: hidden; transform: rotate(1deg); text-align: center; background: linear-gradient(180deg, rgba(1, 9, 15, .05), rgba(1, 9, 15, .2)), url("assets/onli-compass-screen.png") center/cover no-repeat; border-color: #334550; box-shadow: -20px -10px 50px rgba(0, 0, 0, .48), 0 0 18px rgba(28, 205, 242, .12); }
.phone-compass .phone-top { z-index: 5; width: 42px; height: 11px; }
.compass-status { position: relative; z-index: 3; display: flex; justify-content: space-between; color: #dceaf0; font-size: .48rem; }
.compass-brand { position: relative; z-index: 3; margin-top: .55rem; text-align: left; color: #cceeff; line-height: 1; }
.compass-brand b { display: block; letter-spacing: .28em; font-size: .62rem; font-weight: 500; }
.compass-brand small { display: block; margin-top: .25rem; color: #5e90a8; font-size: .28rem; letter-spacing: .32em; }
.compass-reading { position: absolute; z-index: 3; top: 246px; left: 50%; display: grid; justify-items: center; transform: translateX(-50%); color: #a9cad1; line-height: 1; }
.compass-reading strong { color: #e8fbff; font-size: 1.85rem; font-weight: 400; text-shadow: 0 0 9px #28dfff; }
.compass-reading small { margin-top: .2rem; color: #72c5dd; font-size: .5rem; }
.compass-nav { position: absolute; z-index: 4; left: .6rem; right: .6rem; bottom: .4rem; display: flex; justify-content: space-around; padding-top: .35rem; border-top: 1px solid rgba(72, 194, 224, .13); color: #66828f; background: linear-gradient(180deg, transparent, rgba(0, 7, 12, .72)); }
.compass-nav i { display: grid; justify-items: center; gap: .12rem; font-size: .72rem; font-style: normal; }
.compass-nav i.active { color: #42e3ff; text-shadow: 0 0 8px rgba(42, 225, 255, .7); }
.compass-nav small { font-size: .3rem; }
.media-row { height: 38px; padding: .55rem .8rem; color: #c2d6dc; font-style: normal; font-size: .74rem; border: 1px solid rgba(46,218,243,.08); }
.laptop-mock { position: absolute; z-index: 2; right: -5rem; bottom: .5rem; width: 270px; transform: rotate(4deg); }
.laptop-screen { height: 235px; padding: 2.8rem 1rem 1rem; border: 7px solid #4a5559; border-radius: 17px 17px 5px 5px; background: #061319; box-shadow: -15px -10px 45px rgba(0,0,0,.42); }
.laptop-screen i { display: block; padding: .7rem .5rem; color: #bcd2d8; font-size: .68rem; font-style: normal; border-bottom: 1px solid rgba(62,220,244,.14); }
.laptop-screen i::before { content: ""; display: inline-block; width: 17px; height: 17px; margin-right: .55rem; vertical-align: middle; border-radius: 5px; background: var(--cyan); }
.laptop-base { width: 315px; height: 18px; margin-left: -22px; border-radius: 2px 2px 14px 14px; background: linear-gradient(#9ca7a9, #3f4a4e); }

.feedback-section { position: relative; padding: 35px 0 105px; }
.feedback-section::before { content:""; position:absolute; inset:10% 0 auto; height:420px; pointer-events:none; background:radial-gradient(circle at 20% 40%,rgba(33,217,255,.08),transparent 32rem),radial-gradient(circle at 80% 30%,rgba(255,210,104,.055),transparent 28rem); }
.feedback-heading { position:relative; display:grid; grid-template-columns:1.05fr .95fr; align-items:end; gap:4rem; margin-bottom:2.2rem; }
.feedback-heading h2 { margin:0; font-size:clamp(2.4rem,4vw,4.2rem); line-height:1.05; letter-spacing:-.04em; }
.feedback-heading h2 span { color:var(--cyan); }
.feedback-heading > p { margin:0 0 .35rem; color:var(--muted); max-width:590px; }
.feedback-layout { position:relative; display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:1.1rem; }
.feedback-form,.feedback-feed { border:1px solid var(--border); border-radius:24px; background:linear-gradient(145deg,rgba(8,44,59,.94),rgba(3,22,31,.96)); box-shadow:var(--shadow); }
.feedback-form { padding:2rem; }
.feedback-form-head,.feedback-feed-head { display:flex; align-items:center; gap:.85rem; margin-bottom:1.4rem; }
.feedback-form-head > span { display:grid; place-items:center; width:43px; aspect-ratio:1; border-radius:13px; color:#03212b; background:linear-gradient(145deg,#ffe294,#f5be35); box-shadow:0 0 25px rgba(245,190,53,.16); }
.feedback-form-head strong,.feedback-form-head small,.feedback-feed-head strong,.feedback-feed-head small { display:block; }
.feedback-form-head strong,.feedback-feed-head strong { font-size:1.05rem; }
.feedback-form-head small,.feedback-feed-head small { margin-top:.2rem; color:var(--muted); font-size:.72rem; }
.feedback-form label { display:grid; gap:.45rem; margin-top:.9rem; color:#a9c1ca; font-size:.77rem; }
.feedback-fields { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.feedback-form input,.feedback-form select,.feedback-form textarea { width:100%; border:1px solid rgba(48,218,243,.2); border-radius:12px; outline:none; color:var(--text); background:rgba(1,15,21,.72); font:inherit; transition:border-color .2s,box-shadow .2s; }
.feedback-form input,.feedback-form select { min-height:48px; padding:.75rem .9rem; }
.feedback-form textarea { min-height:130px; resize:vertical; padding:.9rem; line-height:1.5; }
.feedback-form input:focus,.feedback-form select:focus,.feedback-form textarea:focus { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(37,220,246,.08); }
.feedback-form input::placeholder,.feedback-form textarea::placeholder { color:#63818d; }
.feedback-trap { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; }
.feedback-submit { display:flex; align-items:center; gap:1rem; margin-top:1.1rem; }
.feedback-submit button { border:0; }
.feedback-submit button:disabled { opacity:.55; cursor:wait; }
.feedback-submit small { color:var(--muted); font-size:.72rem; }
.feedback-status { min-height:1.2em; margin:.75rem 0 0; color:var(--muted); font-size:.78rem; }
.feedback-status.success { color:#78ead2; }.feedback-status.error { color:#ff9d9d; }
.feedback-feed { min-height:505px; padding:2rem; }
.feedback-feed-head { justify-content:space-between; }
.feedback-feed-head button { display:grid; place-items:center; width:38px; aspect-ratio:1; padding:0; border:1px solid var(--border); border-radius:50%; color:var(--cyan); background:transparent; font-size:1.2rem; cursor:pointer; transition:transform .25s,background .25s; }
.feedback-feed-head button:hover { transform:rotate(90deg); background:rgba(37,220,246,.09); }
.feedback-list { display:grid; gap:.7rem; max-height:420px; overflow:auto; padding-right:.25rem; scrollbar-color:rgba(37,220,246,.4) transparent; }
.feedback-item { padding:1rem; border:1px solid rgba(48,218,243,.13); border-radius:15px; background:rgba(1,13,18,.35); }
.feedback-item > div { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.7rem; }
.feedback-avatar { display:grid; place-items:center; width:36px; aspect-ratio:1; border-radius:11px; color:#01202a; background:linear-gradient(145deg,#7debf8,#24cbe6); font-weight:850; }
.feedback-item strong,.feedback-item small { display:block; }
.feedback-item strong { font-size:.86rem; }.feedback-item small { margin-top:.1rem; color:var(--cyan); font-size:.66rem; }
.feedback-item time { color:#6f8c97; font-size:.66rem; }
.feedback-item p { margin:.75rem 0 0; color:#c6d7dd; font-size:.86rem; line-height:1.48; white-space:pre-wrap; overflow-wrap:anywhere; }
.feedback-empty { margin:3rem 0; color:var(--muted); text-align:center; }

.about-section { padding: 20px 0 90px; }
.about-card { position: relative; min-height: 390px; overflow: hidden; display: flex; align-items: center; border: 1px solid rgba(45, 219, 245, .2); border-radius: 24px; box-shadow: var(--shadow); }
.about-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 18, 25, .98), rgba(2, 20, 28, .68) 45%, rgba(2, 17, 23, .18)), url("assets/kazakhstan-mountains.webp") center/cover no-repeat; transition: transform 7s ease; }
.about-card:hover .about-bg { transform: scale(1.035); }
.about-copy { position: relative; z-index: 1; width: min(560px, 55%); padding: 3.8rem; }
.about-copy h2 { margin: 0 0 1.2rem; font-size: 2.2rem; line-height: 1.14; }
.about-copy p { color: #c1d1d7; }
.about-copy .button { margin-top: 1rem; }
.about-card blockquote { position: absolute; z-index: 1; right: 4rem; bottom: 3.2rem; max-width: 300px; color: rgba(240,248,250,.74); font-family: Georgia, serif; font-size: 1.15rem; font-style: italic; transform: rotate(-4deg); }

.download-section { position: relative; min-height: 340px; display: grid; place-items: center; overflow: hidden; border-top: 1px solid rgba(39,220,247,.1); border-bottom: 1px solid rgba(39,220,247,.13); }
.download-content { position: relative; z-index: 3; text-align: center; }
.download-content h2 { margin: 0; font-size: 2.25rem; }
.download-content p { margin: .45rem 0 1.5rem; color: var(--muted); }
.download-main { border: 0; }
.download-content small { display: block; margin-top: 1rem; color: #9db2ba; }
.bottom-ribbon { z-index: 1; bottom: -3rem; height: 260px; width: 115%; left: -7%; }
.ribbon-core.bottom, .ribbon-blur.bottom { stroke: url(#bottomGradient); }
.ribbon-core.bottom { stroke-width: 3; stroke-dasharray: 190 34 70 28; animation: trail 15s linear infinite reverse; }
.ribbon-blur.bottom { stroke-width: 25; opacity: .17; animation: glowPulse 7s ease-in-out infinite; }

.site-footer { padding: 3.5rem 0 2.5rem; background: rgba(0, 8, 12, .4); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.footer-brand { font-size: 1.5rem; }
.footer-brand .brand-mark { width: 31px; border-width: 6px; }
.footer-inner > div > p { color: #75919d; font-size: .85rem; }
.footer-inner nav { display: flex; gap: 2.4rem; color: #9ab1ba; font-size: .85rem; }
.footer-inner nav a:hover { color: var(--cyan); }
.copyright { grid-column: 2; margin: 0; color: #617a84; font-size: .8rem; text-align: right; }

.toast { position: fixed; z-index: 80; right: 1.5rem; bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; width: min(360px, calc(100vw - 3rem)); padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: 15px; background: rgba(5, 29, 39, .96); box-shadow: 0 18px 70px rgba(0,0,0,.5); transform: translateY(130%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.toast.visible { transform: translateY(0); opacity: 1; }
.toast-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #001118; background: var(--cyan); font-weight: 900; }
.toast strong, .toast small { display: block; }
.toast small { color: var(--muted); }

body.modal-open { overflow: hidden; }
.download-modal { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 1rem; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s; }
.download-modal.open { visibility: visible; opacity: 1; }
.download-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 10, 15, .78); backdrop-filter: blur(10px); }
.download-dialog { position: relative; width: min(560px, 100%); overflow: hidden; padding: 2rem 2rem 1.5rem; border: 1px solid rgba(247, 198, 65, .7); border-radius: 26px; background: linear-gradient(145deg, rgba(0, 175, 196, .98), rgba(0, 112, 136, .98)); box-shadow: 0 28px 100px rgba(0, 0, 0, .62), 0 0 42px rgba(15, 214, 236, .18); transform: translateY(18px) scale(.97); transition: transform .3s ease; }
.download-modal.open .download-dialog { transform: translateY(0) scale(1); }
.download-dialog::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: url("assets/astana-hero.webp") 67% center/cover no-repeat; opacity: .42; filter: saturate(.85) contrast(1.08); }
.download-dialog::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(0, 169, 193, .96) 0%, rgba(0, 145, 169, .9) 43%, rgba(0, 83, 107, .56) 100%); }
.download-dialog > * { position: relative; z-index: 2; }
.download-modal-close { position: absolute !important; z-index: 5 !important; top: 1rem; right: 1rem; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: white; background: rgba(0,70,89,.34); font-size: 1.45rem; line-height: 1; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.download-modal-close:hover, .download-modal-close:focus-visible { color: #004d62; background: #f5cc59; transform: rotate(7deg); outline: none; }
.download-modal-eyebrow { margin: 0 0 .65rem; color: #ffe189; font-size: .7rem; font-weight: 800; letter-spacing: .2em; }
.download-dialog h2 { margin: 0; padding-right: 3rem; font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.1; }
.download-dialog h2 strong { display: block; margin-top: .3rem; color: #fff0b1; font-size: .58em; font-weight: 650; }
.download-modal-copy { margin: .7rem 0 1.2rem; color: rgba(235, 253, 255, .86); }
.download-options { display: grid; gap: .65rem; }
.download-options button { display: grid; grid-template-columns: 42px 1fr; gap: .85rem; align-items: center; width: 100%; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 15px; color: #f8feff; text-align: left; background: rgba(0, 55, 74, .3); box-shadow: inset 0 1px rgba(255,255,255,.08); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.download-options button:hover:not(:disabled), .download-options button:focus-visible:not(:disabled) { border-color: #ffe081; color: white; background: rgba(0, 58, 77, .55); transform: translateX(4px); outline: none; }
.download-options button:disabled { opacity: .38; cursor: not-allowed; }
.download-option-icon { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 12px; color: #07556a; background: linear-gradient(145deg, #ffe896, #edb92f); font-size: 1.2rem; font-weight: 900; box-shadow: 0 7px 18px rgba(30, 71, 73, .28); }
[data-download-choice="both"] .download-option-icon { font-size: .66rem; letter-spacing: .04em; }
.download-options strong, .download-options small { display: block; }
.download-options strong { font-size: .95rem; }
.download-options small { margin-top: .15rem; color: rgba(221, 247, 250, .72); font-size: .7rem; }
.download-modal-note { min-height: 1.2em; margin: 1rem 0 0; color: #ffecaa; font-size: .74rem; text-align: center; }

@keyframes trail { to { stroke-dashoffset: -800; } }
@keyframes glowPulse { 0%, 100% { opacity: .1; } 50% { opacity: .27; } }

@media (max-width: 1100px) {
  .container, .site-header { width: min(calc(100% - 3rem), var(--container)); }
  .main-nav { gap: 1.5rem; }
  .header-actions > .button { display: none; }
  .hero { min-height: 770px; }
  .hero-content { padding-top: 155px; }
  .section-heading { grid-template-columns: 1fr 1fr; }
  .section-heading .button { display: none; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 330px; }
  .phone-mock { right: 5%; }
  .laptop-mock { right: 2%; }
}

@media (max-width: 760px) {
  .container, .site-header { width: min(calc(100% - 2rem), var(--container)); }
  .site-header { height: 78px; grid-template-columns: 1fr auto; }
  .brand { font-size: 1.5rem; }
  .brand-mark { width: 32px; border-width: 6px; }
  .menu-toggle { display: block; justify-self: end; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; display: grid; gap: 0; padding: 1rem; border: 1px solid var(--border); border-radius: 16px; background: rgba(2, 17, 24, .98); backdrop-filter: blur(18px); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: .8rem 1rem; }
  .main-nav a::after { display: none; }
  .header-actions { display: none; }
  .mobile-languages { display: flex; gap: .45rem; padding: .8rem 1rem .2rem; border-top: 1px solid var(--border); }
  .mobile-languages button { flex: 1; padding: .6rem .35rem; border: 1px solid var(--border); border-radius: 9px; color: #dcecf0; background: transparent; cursor: pointer; }
  .mobile-languages button.active { border-color: var(--cyan); color: #001118; background: var(--cyan); }
  .hero { min-height: 850px; }
  .hero-image { background-position: 66% center; opacity: .7; }
  .hero-shade { background: linear-gradient(180deg, rgba(1,10,15,.65), rgba(1,12,17,.9) 55%, var(--bg) 94%), linear-gradient(90deg, rgba(1,10,15,.8), transparent); }
  .hero-content { padding-top: 125px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-buttons .button { width: 100%; }
  .stats { gap: 1.5rem; margin-top: 3.8rem; flex-wrap: wrap; }
  .stat { flex: 1 1 130px; }
  .location-pill { display: none; }
  .ornament { display: none; }
  .apps-section { padding-top: 75px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1.7rem; }
  .section-heading h2 { font-size: 2.7rem; }
  .app-card { min-height: 410px; padding: 1.5rem; }
  .phone-mock { right: -2.8rem; bottom: -4rem; width: 190px; }
  .laptop-mock { right: -7.5rem; bottom: 1rem; transform: rotate(3deg) scale(.88); }
  .about-card { min-height: 490px; align-items: flex-start; }
  .feedback-section { padding:10px 0 75px; }
  .feedback-heading,.feedback-layout { grid-template-columns:1fr; gap:1.4rem; }
  .feedback-heading > p { margin-top:.4rem; }
  .feedback-form,.feedback-feed { padding:1.3rem; border-radius:19px; }
  .feedback-fields { grid-template-columns:1fr; gap:0; }
  .feedback-submit { align-items:flex-start; flex-direction:column; }
  .about-bg { background: linear-gradient(180deg, rgba(2,18,25,.95), rgba(2,20,28,.55) 58%, rgba(2,17,23,.3)), url("assets/kazakhstan-mountains.webp") 62% center/cover no-repeat; }
  .about-copy { width: 100%; padding: 2rem; }
  .about-card blockquote { left: 2rem; right: 2rem; bottom: 2rem; }
  .download-section { min-height: 380px; }
  .footer-inner { display: block; }
  .footer-inner nav { margin: 2rem 0; flex-direction: column; gap: .7rem; }
  .copyright { text-align: left; }
  .download-dialog { padding: 1.6rem 1.2rem 1.2rem; border-radius: 21px; }
  .download-dialog h2 { padding-right: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
