/* QyAi production stylesheet v3. Photo-based mobile-first UI.
   Based on supplied references: white rounded panels, Q watermark, blue CTA,
   thin line icons, large typography, bottom tab navigation, RU/EN header. */

:root{
  --bg:#eef5ff;
  --bg-2:#f8fbff;
  --card:#ffffff;
  --card-soft:rgba(255,255,255,.92);
  --ink:#061126;
  --ink-2:#0b1730;
  --muted:#6f778c;
  --muted-2:#8a94a8;
  --line:#dde7f5;
  --line-2:#cddcf0;
  --blue:#0967ff;
  --blue-2:#0059f0;
  --blue-3:#3c8bff;
  --blue-soft:#eaf3ff;
  --green:#24b66d;
  --red:#e44343;
  --shadow-card:0 26px 88px rgba(8,23,54,.12);
  --shadow-soft:0 16px 44px rgba(8,23,54,.075);
  --shadow-blue:0 20px 44px rgba(9,103,255,.28);
  --radius-shell:38px;
  --radius-card:34px;
  --radius-block:24px;
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --font:-apple-system,BlinkMacSystemFont,"Inter","SF Pro Display","Segoe UI",Roboto,Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family:var(--font);
  color:var(--ink);
  background:
    radial-gradient(circle at 50% -10%,#ffffff 0,#f4f8ff 260px,#eef5ff 680px),
    linear-gradient(180deg,#f7fbff,#eef5ff);
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
body.drawer-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button{cursor:pointer}
svg{display:block}
.svg-sprite{display:none}
.page-bg{
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 80% 12%,rgba(9,103,255,.08),transparent 32%),
    radial-gradient(circle at 10% 60%,rgba(9,103,255,.07),transparent 28%);
}
.phone-site{
  width:min(100%,1020px);
  margin:0 auto;
  padding:30px 28px 132px;
}
.glass-header{
  position:sticky;
  top:22px;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:122px;
  padding:22px 48px;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(219,229,244,.96);
  border-radius:42px;
  box-shadow:0 28px 90px rgba(8,23,54,.13);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
}
.brand{display:flex;align-items:center;color:var(--ink)}
.brand-mark{width:230px;height:66px}
.brand-q,.brand-y,.brand-a,.brand-i,.brand-word-y{
  fill:none;
  stroke:currentColor;
  stroke-width:9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.brand-q-tail{
  fill:none;
  stroke:url(#unused);
  stroke-width:10;
  stroke-linecap:round;
}
.brand-q-tail{stroke:var(--blue)}
.brand-dot{fill:var(--blue)}
.header-right{display:flex;align-items:center;gap:18px}
.lang{
  border:0;
  background:transparent;
  color:#657086;
  font-weight:900;
  font-size:22px;
  padding:8px 2px;
}
.lang.active{color:var(--blue)}
.lang-line{width:1px;height:36px;background:#cbd6e8;display:block}
.menu-button{
  width:64px;height:64px;
  border:0;
  background:transparent;
  display:grid;
  align-content:center;
  gap:9px;
  padding:9px;
}
.menu-button span{
  height:5px;
  border-radius:999px;
  background:var(--ink);
}
.drawer-backdrop{
  position:fixed;
  inset:0;
  z-index:88;
  background:rgba(6,17,38,.18);
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
  backdrop-filter:blur(2px);
}
.drawer{
  position:fixed;
  right:24px;
  top:24px;
  z-index:90;
  width:min(390px,calc(100vw - 48px));
  padding:28px;
  border-radius:32px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.97);
  box-shadow:0 28px 90px rgba(8,23,54,.20);
  transform:translateY(-130%);
  transition:transform .24s ease;
}
.drawer.open{transform:translateY(0)}
.drawer.open+.drawer-backdrop,.drawer-backdrop.open{opacity:1;pointer-events:auto}
.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
.drawer-head span{font-size:28px;font-weight:900}
.drawer-head button{
  width:46px;height:46px;border:0;border-radius:50%;
  background:var(--blue-soft);color:var(--blue);font-size:32px;line-height:1;
}
.drawer nav{display:grid;gap:16px}
.drawer nav a{font-size:24px;font-weight:850;padding:14px;border-radius:18px}
.drawer nav a:hover{background:var(--blue-soft);color:var(--blue)}

.screens{display:grid;gap:52px;margin-top:52px}
.screen{scroll-margin-top:175px}
.main-card{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-shell);
  border:1px solid rgba(219,229,244,.94);
  background:var(--card-soft);
  box-shadow:var(--shadow-card);
}
.hero-panel{
  padding:78px 74px 72px;
  min-height:740px;
}
.section-panel{
  padding:66px 62px 62px;
}
.q-watermark{
  position:absolute;
  pointer-events:none;
  opacity:.55;
}
.q-watermark.large{
  width:460px;height:460px;right:-132px;top:120px;
}
.q-watermark.small{
  width:310px;height:310px;right:-98px;top:52px;opacity:.46;
}
.q-watermark:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  border:62px solid #edf3fb;
  filter:drop-shadow(0 16px 22px rgba(8,23,54,.035));
}
.q-watermark.small:before{border-width:46px}
.q-watermark:after{
  content:"";
  position:absolute;
  right:24px;
  bottom:74px;
  width:220px;
  height:60px;
  border-radius:20px;
  transform:rotate(45deg);
  background:linear-gradient(120deg,#eff6ff 0,#b4ceff 43%,#0967ff 100%);
}
.q-watermark.small:after{width:150px;height:44px;bottom:48px}
.eyebrow{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:62px;
  padding:0 36px;
  border-radius:24px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.72);
  color:var(--blue);
  font-size:28px;
  font-weight:900;
  letter-spacing:-.03em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.eyebrow.compact{
  min-height:42px;
  padding:0 18px;
  font-size:17px;
  border-radius:14px;
}
h1,h2,h3,p{margin-top:0}
.hero-panel h1{
  position:relative;
  z-index:1;
  max-width:760px;
  margin:84px 0 0;
  font-size:72px;
  line-height:.99;
  letter-spacing:-.075em;
  font-weight:950;
}
.hero-panel p{
  position:relative;
  z-index:1;
  max-width:710px;
  margin:44px 0 0;
  color:var(--muted);
  font-size:28px;
  line-height:1.55;
  font-weight:650;
  letter-spacing:-.025em;
}
.hero-actions{
  position:relative;
  z-index:2;
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  margin-top:58px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-height:68px;
  padding:0 32px;
  border-radius:20px;
  font-size:20px;
  font-weight:850;
  border:1px solid var(--blue);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg{width:30px;height:30px}
.btn:hover{transform:translateY(-2px)}
.btn.primary{
  background:linear-gradient(135deg,#0b78ff 0,#005cff 100%);
  color:white;
  box-shadow:var(--shadow-blue);
}
.btn.secondary{
  background:rgba(255,255,255,.72);
  color:var(--blue);
}
.btn.full{width:100%}
.home-feature-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:72px;
}
.mini-card{
  display:flex;
  flex-direction:column;
  min-height:270px;
  padding:28px;
  border:1px solid var(--line);
  border-radius:28px;
  background:rgba(255,255,255,.84);
  box-shadow:var(--shadow-soft);
}
.icon-tile{
  width:76px;
  height:76px;
  border-radius:22px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#ffffff 0,#ecf4ff 100%);
  color:var(--blue);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.icon-tile svg{width:38px;height:38px}
.mini-card strong{
  margin-top:26px;
  font-size:24px;
  font-weight:900;
  letter-spacing:-.04em;
}
.mini-card small{
  margin-top:14px;
  color:var(--muted);
  font-size:16px;
  line-height:1.5;
}
.mini-card i{
  margin-top:auto;
  align-self:flex-end;
  width:48px;height:48px;
  display:grid;place-items:center;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--blue);
  font-style:normal;
  font-size:28px;
}
.section-panel h2{
  position:relative;
  z-index:1;
  max-width:760px;
  margin:22px 0 0;
  font-size:58px;
  line-height:1.04;
  letter-spacing:-.065em;
  font-weight:930;
}
.section-lead{
  position:relative;
  z-index:1;
  max-width:720px;
  margin:28px 0 0;
  color:var(--muted);
  font-size:24px;
  line-height:1.55;
  font-weight:560;
  letter-spacing:-.018em;
}
.tabs{
  position:relative;
  z-index:2;
  display:flex;
  gap:18px;
  overflow:auto;
  scrollbar-width:none;
  margin:40px 0 26px;
  padding:3px 0 6px;
}
.tabs::-webkit-scrollbar{display:none}
.tab{
  flex:0 0 auto;
  min-width:110px;
  min-height:58px;
  padding:0 28px;
  border-radius:18px;
  border:1px solid #bfd8ff;
  background:#fff;
  color:var(--blue);
  font-size:18px;
  font-weight:850;
}
.tab.active{
  background:linear-gradient(135deg,#0b78ff 0,#005cff 100%);
  color:#fff;
  box-shadow:0 14px 30px rgba(9,103,255,.22);
}
.solution-list,.case-list{
  position:relative;
  z-index:2;
  display:grid;
  gap:18px;
}
.solution-row,.case-row{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:28px;
  background:rgba(255,255,255,.86);
  box-shadow:0 14px 40px rgba(8,23,54,.05);
}
.solution-row h3,.case-row h3{
  margin:0;
  font-size:26px;
  line-height:1.16;
  letter-spacing:-.045em;
  font-weight:900;
}
.solution-row p,.case-row p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:17px;
  line-height:1.48;
}
.row-action{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:var(--blue);
  font-size:34px;
}
.case-metric{
  min-width:142px;
  border-left:1px solid var(--line);
  padding-left:24px;
}
.case-metric strong{
  display:block;
  color:var(--blue);
  font-size:44px;
  line-height:1;
  letter-spacing:-.06em;
}
.case-metric span{
  display:block;
  margin-top:10px;
  color:var(--ink);
  font-size:15px;
  font-weight:900;
  text-transform:lowercase;
}
.wide-cta{
  position:relative;
  z-index:2;
  margin-top:26px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:20px;
  align-items:center;
  padding:24px;
  border:1px solid #d6e7ff;
  border-radius:28px;
  background:linear-gradient(135deg,#edf5ff 0,#ffffff 75%);
}
.wide-cta.blue-wash{background:linear-gradient(135deg,#eaf3ff 0,#ffffff 100%)}
.wide-cta b{
  display:block;
  font-size:24px;
  letter-spacing:-.04em;
}
.wide-cta small{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:16px;
}
.wide-cta i{
  font-style:normal;
  color:var(--blue);
  font-size:42px;
}
.progress-card{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 70px 1fr 70px 1fr 70px 1fr;
  align-items:start;
  gap:0;
  margin-top:42px;
  padding:34px 28px;
  border:1px solid var(--line);
  border-radius:30px;
  background:rgba(255,255,255,.86);
}
.progress-step{
  display:grid;
  justify-items:center;
  text-align:center;
}
.progress-step span{
  width:78px;
  height:78px;
  border:2px solid var(--line-2);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#909aaf;
  background:#fff;
}
.progress-step.active span{
  border-color:var(--blue);
  color:var(--blue);
  box-shadow:0 0 0 7px rgba(9,103,255,.08);
}
.progress-step svg{width:34px;height:34px}
.progress-step b{
  margin-top:18px;
  color:var(--ink);
  font-size:20px;
}
.progress-step.active b{color:var(--blue)}
.progress-step small{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
}
.progress-line{
  height:3px;
  margin-top:39px;
  background:linear-gradient(90deg,var(--blue),#d5deeb);
}
.info-list{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:24px;
}
.info-list article{
  padding:24px;
  border:1px solid var(--line);
  border-radius:26px;
  background:#fff;
}
.info-list b{
  display:block;
  margin-top:18px;
  font-size:22px;
  letter-spacing:-.035em;
}
.info-list p{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.5;
}
.lead-form{
  position:relative;
  z-index:2;
  display:grid;
  gap:18px;
  margin-top:38px;
}
.field{
  position:relative;
  display:block;
}
.field svg{
  position:absolute;
  left:28px;
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  color:#717b91;
  z-index:1;
}
.textarea-field svg{top:30px;transform:none}
.field input,.field textarea{
  width:100%;
  min-height:76px;
  border:1px solid #d7e1f0;
  border-radius:22px;
  background:rgba(255,255,255,.90);
  color:var(--ink);
  outline:none;
  padding:22px 24px 22px 78px;
  font-size:21px;
  font-weight:520;
}
.field textarea{
  min-height:170px;
  resize:vertical;
}
.field input:focus,.field textarea:focus{
  border-color:#8bbaff;
  box-shadow:0 0 0 6px rgba(9,103,255,.08);
}
.field input::placeholder,.field textarea::placeholder{color:#8993a7}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:4px 0 8px;
}
.chips input{display:none}
.chips span{
  min-height:58px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 22px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  font-size:17px;
  font-weight:800;
}
.chips svg{
  width:25px;
  height:25px;
  color:var(--blue);
}
.chips input:checked+span{
  border-color:#a7c9ff;
  background:#edf5ff;
  color:#075bd7;
}
.form-note{
  min-height:24px;
  margin:0;
  color:var(--blue);
  font-weight:850;
  line-height:1.4;
}
.form-note.error{color:var(--red)}
.contact-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:34px;
}
.contact-grid a{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:6px 14px;
  align-items:center;
  padding:20px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
}
.contact-grid svg{
  grid-row:1/3;
  width:52px;
  height:52px;
  padding:12px;
  color:var(--blue);
  border-radius:17px;
  background:var(--blue-soft);
}
.contact-grid b{
  font-size:18px;
}
.contact-grid span{
  color:var(--blue);
  font-size:14px;
  word-break:break-word;
}
.faq{
  position:relative;
  z-index:2;
  margin-top:44px;
}
.dot-title{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:15px;
  font-weight:850;
}
.dot-title:before{
  content:"";
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--blue);
}
.faq details{
  margin-top:14px;
  padding:22px 24px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
}
.faq summary{
  cursor:pointer;
  font-size:20px;
  font-weight:850;
  list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq details p{
  margin:14px 0 0;
  color:var(--muted);
  line-height:1.55;
}
.bottom-nav{
  position:fixed;
  left:50%;
  bottom:calc(18px + var(--safe-bottom));
  transform:translateX(-50%);
  z-index:60;
  width:min(982px,calc(100% - 42px));
  min-height:96px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  align-items:center;
  padding:12px 18px;
  border:1px solid rgba(213,225,242,.96);
  border-radius:30px;
  background:rgba(255,255,255,.87);
  box-shadow:0 18px 60px rgba(8,23,54,.16);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
}
.bottom-nav a{
  position:relative;
  display:grid;
  place-items:center;
  gap:7px;
  color:var(--ink);
  font-size:14px;
  font-weight:900;
}
.bottom-nav a:before{
  content:"";
  position:absolute;
  top:-13px;
  width:76px;
  height:3px;
  border-radius:99px;
  background:var(--blue);
  opacity:0;
}
.bottom-nav svg{
  width:31px;
  height:31px;
}
.bottom-nav a.active{
  color:var(--blue);
}
.bottom-nav a.active:before{opacity:1}

@media(max-width:900px){
  .phone-site{padding:28px 28px 132px}
  .glass-header{padding:22px 42px}
  .hero-panel{padding:72px 68px 66px}
  .section-panel{padding:62px 56px 58px}
  .home-feature-grid{grid-template-columns:1fr}
  .mini-card{min-height:0}
  .info-list{grid-template-columns:1fr}
  .progress-card{grid-template-columns:1fr;gap:18px}
  .progress-line{width:3px;height:34px;margin:0 auto;background:linear-gradient(var(--blue),#d5deeb)}
  .contact-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .phone-site{padding:22px 22px 128px}
  .glass-header{min-height:104px;border-radius:34px;padding:18px 28px}
  .brand-mark{width:188px;height:58px}
  .header-right{gap:12px}
  .lang{font-size:20px}
  .menu-button{width:54px;height:54px;gap:8px}
  .hero-panel,.section-panel{border-radius:34px;padding:58px 50px 52px}
  .hero-panel h1{font-size:64px}
  .hero-panel p{font-size:27px}
  .section-panel h2{font-size:52px}
  .section-lead{font-size:23px}
  .q-watermark.large{right:-185px;top:118px}
  .hero-actions{display:grid}
  .btn{width:100%}
  .solution-row,.case-row{grid-template-columns:auto 1fr;padding:24px}
  .row-action{grid-column:2;justify-self:end}
  .case-metric{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:18px 0 0}
}
@media(max-width:460px){
  .phone-site{padding:14px 14px 118px}
  .screens{margin-top:38px;gap:40px}
  .glass-header{top:12px;min-height:92px;padding:16px 22px;border-radius:30px}
  .brand-mark{width:155px;height:46px}
  .lang{font-size:18px}
  .lang-line{height:28px}
  .menu-button{width:46px;height:46px;gap:7px;padding:7px}
  .menu-button span{height:4px}
  .hero-panel,.section-panel{padding:46px 38px 44px;border-radius:30px}
  .eyebrow{min-height:50px;padding:0 22px;border-radius:18px;font-size:21px}
  .hero-panel h1{margin-top:62px;font-size:48px;line-height:1.02;letter-spacing:-.065em}
  .hero-panel p{margin-top:34px;font-size:22px;line-height:1.55}
  .hero-actions{margin-top:46px}
  .btn{min-height:62px;border-radius:18px;font-size:18px}
  .home-feature-grid{margin-top:52px}
  .section-panel h2{font-size:42px;letter-spacing:-.055em}
  .section-lead{font-size:20px}
  .q-watermark.large{width:390px;height:390px;right:-245px;top:150px;opacity:.42}
  .q-watermark.large:before{border-width:54px}
  .q-watermark.large:after{width:188px;height:50px;bottom:60px}
  .q-watermark.small{width:240px;height:240px;right:-120px}
  .q-watermark.small:before{border-width:36px}
  .q-watermark.small:after{width:118px;height:34px;bottom:38px}
  .tabs{gap:12px}
  .tab{min-height:50px;min-width:92px;padding:0 20px;font-size:16px}
  .icon-tile{width:66px;height:66px;border-radius:20px}
  .icon-tile svg{width:32px;height:32px}
  .solution-row,.case-row{gap:18px}
  .solution-row h3,.case-row h3{font-size:22px}
  .solution-row p,.case-row p{font-size:15px}
  .bottom-nav{
    width:calc(100% - 18px);
    bottom:calc(8px + var(--safe-bottom));
    min-height:84px;
    border-radius:24px;
    padding:10px 8px;
  }
  .bottom-nav a{font-size:12px}
  .bottom-nav svg{width:27px;height:27px}
}
@media(max-width:370px){
  .hero-panel,.section-panel{padding:40px 28px}
  .hero-panel h1{font-size:42px}
  .brand-mark{width:138px}
  .lang{font-size:16px}
}
