@charset "utf-8";
/* Общие стили сайта Audit-X (главная и личный кабинет) */
  :root {
    --bg: #10131a;
    --glass: rgba(255,255,255,.065);
    --glass-2: rgba(255,255,255,.1);
    --line: rgba(255,255,255,.11);
    --line-hi: rgba(255,255,255,.18);
    --text: #f2f4f8;
    --dim: #a3a9b8;
    --muted: #6b7181;
    --ice: #8cc8ff;
    --ice-2: #69a0f5;
    --ok: #34d399;
    --bad: #f85d6a;
    --warn: #fbbf48;
    --radius: 18px;
    --ease: cubic-bezier(.22,.61,.36,1);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 Inter, "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  ::selection { background: rgba(140,200,255,.3); }

  /* ── Фон: лес под сильным блюром + плавающие свечения ── */
  .bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
  .bg::before {
    content: ""; position: absolute; inset: -60px;
    background: url(forest.jpg) center/cover no-repeat;
    filter: blur(26px) saturate(.8) contrast(.78) brightness(.5);
    transform: scale(1.1);
    animation: drift 40s ease-in-out infinite alternate;
  }
  .bg::after {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(1200px 600px at 50% -10%, rgba(140,200,255,.09), transparent 60%),
      radial-gradient(ellipse at center, transparent 45%, rgba(10,12,17,.55) 100%),
      linear-gradient(180deg, rgba(16,19,26,.15) 0%, rgba(16,19,26,.38) 60%, rgba(16,19,26,.55) 100%);
  }
  .orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; animation: float 22s ease-in-out infinite; }
  .orb.a { width: 520px; height: 520px; background: #3d6fd6; top: -120px; left: -140px; }
  .orb.b { width: 420px; height: 420px; background: #5b8cff; bottom: 10%; right: -120px; animation-delay: -8s; opacity: .22; }
  @keyframes drift { to { transform: scale(1.18) translate(-20px, -10px); } }
  @keyframes float { 50% { transform: translate(60px, 40px) scale(1.08); } }

  .wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }

  /* ── Навигация ── */
  nav {
    position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
    width: min(1160px, 100% - 32px); z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px 10px 20px;
    background: rgba(255,255,255,.07); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border: 1px solid var(--line); border-radius: 16px;
    transition: background .4s var(--ease), border-color .4s var(--ease);
  }
  nav.scrolled { background: rgba(255,255,255,.1); border-color: var(--line-hi); box-shadow: 0 10px 40px -12px rgba(0,0,0,.35); }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; }
  .brand svg { width: 34px; height: 15px; filter: drop-shadow(0 0 8px rgba(140,200,255,.45)); }
  .links { display: flex; gap: 4px; }
  .links a { color: var(--dim); font-size: 14.5px; padding: 8px 14px; border-radius: 10px; transition: color .25s, background .25s; }
  .links a:hover { color: var(--text); background: var(--glass-2); }

  /* ── Кнопки ── */
  .btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer;
    border: 1px solid var(--line-hi); background: var(--glass-2); color: var(--text);
    transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
    overflow: hidden; isolation: isolate;
  }
  .btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
  .btn:active { transform: translateY(0) scale(.98); }
  .btn.primary { background: linear-gradient(180deg, #f4f8ff, #d7e6fb); color: #0a0c10; border-color: transparent; box-shadow: 0 8px 30px -8px rgba(140,200,255,.55); }
  .btn.primary:hover { box-shadow: 0 14px 40px -10px rgba(140,200,255,.75); background: linear-gradient(180deg, #fff, #e3eefd); }
  .btn.primary::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.8) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .9s var(--ease);
  }
  .btn.primary:hover::after { transform: translateX(120%); }
  .btn.small { padding: 9px 16px; font-size: 14px; border-radius: 10px; }

  /* ── Hero ── */
  .hero { padding: 170px 0 90px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 99px;
    background: var(--glass); border: 1px solid var(--line); color: var(--dim); font-size: 13.5px; margin-bottom: 26px;
  }
  .pill b { background: rgba(52,211,153,.14); color: var(--ok); font-weight: 600; padding: 2px 9px; border-radius: 99px; font-size: 12px; }
  h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -2px; font-weight: 800; }
  h1 .grad {
    background: linear-gradient(100deg, #fff 10%, var(--ice) 45%, #fff 80%);
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 6s linear infinite;
  }
  @keyframes shine { to { background-position: -200% center; } }
  .lead { color: var(--dim); font-size: 18.5px; margin: 24px 0 36px; max-width: 520px; }
  .cta { display: flex; gap: 12px; flex-wrap: wrap; }

  /* Демо-окно сканера */
  .demo {
    position: relative; border-radius: 22px; padding: 26px;
    background: rgba(14,15,20,.55); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--line-hi);
    box-shadow: 0 40px 120px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    transition: transform .8s var(--ease);
  }
  .demo:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
  .demo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
  .demo-head .t { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; }
  .demo-head .t svg { width: 28px; height: 12px; }
  .dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-hi); }
  .stage { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--dim); margin-bottom: 10px; }
  .stage b { color: var(--text); font-weight: 600; }
  .bar { height: 5px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 22px; }
  .bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, var(--ice-2), #eaf3ff); box-shadow: 0 0 14px rgba(140,200,255,.8); transition: width .6s var(--ease); }
  .log {
    height: 220px; overflow: hidden; border-radius: 12px; padding: 14px 16px;
    background: rgba(0,0,0,.28); border: 1px solid var(--line);
    font: 12.5px/1.75 "JetBrains Mono", Consolas, monospace; color: var(--dim);
    mask-image: linear-gradient(180deg, transparent 0, #000 18%);
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  .log div { animation: logIn .45s var(--ease) both; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .log .s { color: var(--ice); } .log .c { color: var(--bad); } .log .w { color: var(--warn); } .log .o { color: var(--ok); }
  @keyframes logIn { from { opacity: 0; transform: translateY(8px); } }
  .verdict {
    margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px;
    background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.25); color: var(--ok); font-weight: 600; font-size: 14.5px;
    opacity: 0; transform: translateY(6px); transition: all .6s var(--ease);
  }
  .verdict.show { opacity: 1; transform: none; }
  .verdict.bad { background: rgba(248,93,106,.08); border-color: rgba(248,93,106,.3); color: var(--bad); }

  /* ── Секции ── */
  section { padding: 90px 0; }
  .sec-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
  .eyebrow { color: var(--ice); font: 500 13px "JetBrains Mono", monospace; letter-spacing: 1.5px; text-transform: uppercase; }
  h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.2px; line-height: 1.12; margin: 12px 0 14px; font-weight: 800; }
  .sec-head p { color: var(--dim); font-size: 17px; }

  /* Стеклянная карточка с подсветкой за курсором */
  .card {
    position: relative; border-radius: var(--radius); padding: 28px;
    background: var(--glass); border: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
    overflow: hidden;
  }
  .card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(140,200,255,.12), transparent 45%);
  }
  .card:hover { transform: translateY(-4px); border-color: var(--line-hi); background: rgba(255,255,255,.06); }
  .card:hover::before { opacity: 1; }

  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -10px; }
  .stat { text-align: center; padding: 26px 18px; }
  .stat .n { font-size: 36px; font-weight: 800; letter-spacing: -1px; }
  .stat .l { color: var(--muted); font-size: 14px; margin-top: 2px; }

  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .ico {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
    background: rgba(140,200,255,.08); border: 1px solid rgba(140,200,255,.18); color: var(--ice);
    transition: transform .5s var(--ease);
  }
  .card:hover .ico { transform: scale(1.08) rotate(-4deg); }
  .ico svg { width: 22px; height: 22px; }
  .card h3 { font-size: 18.5px; letter-spacing: -.3px; margin-bottom: 8px; }
  .card p { color: var(--dim); font-size: 15px; }

  /* Шаги */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
  .step .num { font: 600 13px "JetBrains Mono", monospace; color: var(--ice); margin-bottom: 16px; display: inline-block; padding: 4px 10px; border-radius: 8px; background: rgba(140,200,255,.08); }
  .code {
    margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--line);
    font: 12.5px "JetBrains Mono", monospace; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .code b { color: var(--ice); font-weight: 500; }

  /* Игры */
  .games { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
  .game { display: flex; align-items: center; gap: 14px; padding: 18px 26px; border-radius: 16px; min-width: 220px; }
  .game svg { width: 30px; height: 30px; color: var(--ice); }
  .game b { font-size: 17px; } .game span { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }

  /* Тарифы */
  .prices { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; gap: 16px; align-items: stretch; }
  .price { display: flex; flex-direction: column; padding: 30px 26px; }
  .price .name { color: var(--dim); font-weight: 600; font-size: 15px; }
  .price .val { font-size: 42px; font-weight: 800; letter-spacing: -1.5px; margin: 14px 0 2px; }
  .price .val small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
  .price .per { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
  .price ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
  .price li { display: flex; gap: 10px; color: var(--dim); font-size: 14.5px; }
  .price li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: rgba(52,211,153,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2334d399' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px; }
  .price .btn { width: 100%; }
  .price.hot { border-color: rgba(140,200,255,.45); background: linear-gradient(180deg, rgba(140,200,255,.10), rgba(255,255,255,.035)); }
  .price.hot::after {
    content: "Популярный"; position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600;
    padding: 4px 10px; border-radius: 99px; background: rgba(140,200,255,.15); color: var(--ice);
  }

  /* FAQ */
  .faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
  .q { padding: 0; }
  .q button {
    width: 100%; text-align: left; background: none; border: 0; color: var(--text); cursor: pointer;
    font: 600 16.5px Inter, sans-serif; padding: 22px 26px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  }
  .q button i { flex: none; width: 22px; height: 22px; position: relative; transition: transform .45s var(--ease); }
  .q button i::before, .q button i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; border-radius: 2px; background: var(--dim); }
  .q button i::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
  .q.open button i { transform: rotate(180deg); } .q.open button i::after { transform: rotate(0); }
  .q .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
  .q.open .a { grid-template-rows: 1fr; }
  .q .a > div { overflow: hidden; } .q .a p { padding: 0 26px 22px; color: var(--dim); }

  /* CTA и подвал */
  .final { text-align: center; padding: 60px 30px; }
  .final h2 { margin-top: 0; }
  .final p { color: var(--dim); margin-bottom: 30px; }
  footer { padding: 40px 0 50px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 40px; }
  footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
  footer .wrap.ft { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; align-items: start; gap: 28px; }
  .ft-col { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; line-height: 1.5; }
  .ft-col b { color: var(--text); font-weight: 600; margin-bottom: 4px; }
  .ft-col a { color: var(--muted); text-decoration: none; } .ft-col a:hover { color: var(--text); }
  @media (max-width: 860px) { footer .wrap.ft { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 520px) { footer .wrap.ft { grid-template-columns: 1fr; } }

  /* Документы (legal.html) */
  .legal { max-width: 860px; margin: 0 auto; display: grid; gap: 22px; }
  .legal .card { padding: 30px 34px; }
  .legal h2 { font-size: 24px; letter-spacing: -.5px; margin: 0 0 14px; scroll-margin-top: 110px; }
  .legal h3 { font-size: 16px; margin: 18px 0 8px; }
  .legal p, .legal li { color: var(--dim); font-size: 14.5px; line-height: 1.65; }
  .legal ol, .legal ul { padding-left: 20px; margin: 6px 0; display: grid; gap: 6px; }
  .legal a { color: #a8d4ff; }
  .legal .req { display: grid; grid-template-columns: 200px 1fr; gap: 8px 18px; font-size: 14.5px; }
  .legal .req span:nth-child(odd) { color: var(--muted); }
  .legal .req span:nth-child(even) { color: var(--text); }
  .legal .toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .legal .toc a { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); color: var(--dim); text-decoration: none; font-size: 13px; }
  @media (max-width: 560px) { .legal .card { padding: 22px 18px; } .legal .req { grid-template-columns: 1fr; gap: 2px; } .legal .req span:nth-child(even) { margin-bottom: 8px; } }

  /* Появление при прокрутке */
  .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
  .reveal.in { opacity: 1; transform: none; filter: none; }
  .d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

  /* Модальное окно оплаты */
  .modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
  .modal.open { opacity: 1; pointer-events: auto; }
  .modal .box { width: min(440px, 100%); padding: 32px; border-radius: 22px; background: rgba(16,17,22,.85); border: 1px solid var(--line-hi); transform: translateY(16px) scale(.97); transition: transform .45s var(--ease); }
  .modal.open .box { transform: none; }
  .modal h3 { font-size: 22px; letter-spacing: -.4px; }
  .modal .sum { display: flex; justify-content: space-between; padding: 16px 0; margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--dim); }
  .modal .sum b { color: var(--text); }
  .modal p { color: var(--dim); font-size: 14.5px; margin-bottom: 22px; }
  .modal .row { display: flex; gap: 10px; } .modal .row .btn { flex: 1; }

  @media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; padding-top: 130px; }
    .demo { transform: none; }
    .grid3, .steps { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 640px) {
    .links { display: none; }
    .grid3, .steps, .prices { grid-template-columns: 1fr; }
    section { padding: 64px 0; }
    .game { min-width: 0; flex: 1 1 100%; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; filter: none; }
  }

/* ── Кнопки навигации ── */
.nav-actions { display: flex; gap: 8px; }

/* ── Личный кабинет и формы ── */
.page { min-height: 100vh; padding: 130px 0 60px; }
.auth { width: min(440px, 100%); margin: 0 auto; padding: 34px; }
.auth h1 { font-size: 30px; letter-spacing: -.8px; margin-bottom: 6px; }
.auth .sub { color: var(--dim); margin-bottom: 26px; font-size: 15px; }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); margin-bottom: 24px; }
.tabs button { position: relative; z-index: 1; background: none; border: 0; color: var(--dim); font: 600 14.5px Inter, sans-serif; padding: 10px; cursor: pointer; transition: color .3s; }
.tabs button.on { color: var(--text); }
.tabs .ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: rgba(255,255,255,.1); transition: transform .45s var(--ease); }
.tabs.second .ind { transform: translateX(100%); }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input {
  width: 100%; padding: 13px 15px; border-radius: 11px; font: 15px Inter, sans-serif; color: var(--text);
  background: rgba(255,255,255,.05); border: 1px solid var(--line); outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field input:hover { border-color: var(--line-hi); }
.field input:focus { border-color: rgba(140,200,255,.6); background: rgba(255,255,255,.07); box-shadow: 0 0 0 4px rgba(140,200,255,.12); }
.auth .btn { width: 100%; margin-top: 8px; }
.msg { min-height: 22px; margin-top: 14px; font-size: 14px; text-align: center; color: var(--bad); transition: opacity .3s; }
.msg.ok { color: var(--ok); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

.cab { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.cab-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.cab-head h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.2px; }
.cab-head p { color: var(--dim); }
.card h3 .tag { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 8px; }
.keys { display: grid; gap: 12px; margin-top: 18px; }
.key {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center;
  padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line);
  animation: logIn .5s var(--ease) both; transition: border-color .3s, background .3s;
}
.key:hover { border-color: var(--line-hi); background: rgba(255,255,255,.055); }
.key code { font: 500 15px "JetBrains Mono", monospace; letter-spacing: .5px; }
.key .meta { color: var(--muted); font-size: 13px; grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; }
.badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.badge.on { background: rgba(52,211,153,.12); color: var(--ok); }
.badge.off { background: rgba(248,93,106,.12); color: var(--bad); }
.badge.exp { background: rgba(251,191,72,.12); color: var(--warn); }
.days { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.days i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--ice-2), #eaf3ff); width: 0; transition: width 1.2s var(--ease); }
.empty { color: var(--muted); text-align: center; padding: 30px 10px; font-size: 15px; }
.inline { display: flex; gap: 10px; margin-top: 16px; }
.inline .field { flex: 1; margin: 0; }
.inline .btn { margin: 0; width: auto; }
.dl { text-align: center; }
.dl .big { width: 68px; height: 68px; margin: 6px auto 18px; border-radius: 18px; display: grid; place-items: center; background: rgba(140,200,255,.08); border: 1px solid rgba(140,200,255,.2); }
.dl .big svg { width: 34px; height: 15px; }
.dl p { color: var(--dim); font-size: 14.5px; margin-bottom: 20px; }
.dl .btn { width: 100%; }
.dl small { display: block; color: var(--muted); margin-top: 12px; font-size: 12.5px; }
.side { display: grid; gap: 16px; align-content: start; }
.copy { background: none; border: 1px solid var(--line); color: var(--dim); border-radius: 8px; padding: 6px 10px; cursor: pointer; font: 500 12.5px Inter, sans-serif; transition: all .3s; }
.copy:hover { color: var(--text); border-color: var(--line-hi); }
.copy.done { color: var(--ok); border-color: rgba(52,211,153,.4); }
.notice { padding: 14px 16px; border-radius: 12px; background: rgba(251,191,72,.08); border: 1px solid rgba(251,191,72,.25); color: var(--warn); font-size: 14px; margin-bottom: 18px; }
.hidden { display: none !important; }
@media (max-width: 900px) { .cab { grid-template-columns: 1fr; } }

/* ── Копия окна сканера на главной ── */
.scanwin {
  position: relative; aspect-ratio: 520 / 320; width: 100%; border-radius: 14px; overflow: hidden; isolation: isolate;
  background: rgba(10,11,14,.55); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  transform: perspective(1400px) rotateY(-9deg) rotateX(5deg);
  transition: transform 1s var(--ease);
  container-type: inline-size;
}
.scanwin:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.sw-bg { position: absolute; inset: 0; z-index: -1; background: url(forest.jpg) center/cover; opacity: .22; filter: saturate(.7); }
.sw-title { position: absolute; top: 3.2cqw; left: 3.5cqw; right: 3cqw; display: flex; align-items: center; gap: 2cqw; font: 600 2.9cqw Inter, sans-serif; color: #e1e6f0; }
.sw-title svg { width: 5cqw; height: 2.3cqw; }
.sw-ctl { margin-left: auto; display: flex; gap: 4cqw; color: #8c91a0; font-weight: 400; font-size: 2.6cqw; }
.sw-ctl i { font-style: normal; }
.sw-scan, .sw-verdict { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.sw-scan { padding-top: 11cqw; }
.sw-scan.out { opacity: 0; transform: translateY(-4cqw); filter: blur(4px); }
.sw-logo { width: 27cqw; height: 12cqw; animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { filter: drop-shadow(0 0 1.5cqw rgba(140,200,255,.35)); } 50% { filter: drop-shadow(0 0 4cqw rgba(140,200,255,.8)); } }
.sw-sub { margin-top: 3cqw; color: rgba(200,205,215,.62); font-size: 2.9cqw; }
.sw-bar { position: relative; width: 69cqw; height: .8cqw; margin-top: 7cqw; border-radius: 1cqw; background: rgba(255,255,255,.16); }
.sw-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 1cqw; background: #ecf2fc; transition: width .6s var(--ease); }
.sw-bar b { position: absolute; top: 50%; left: 0; width: 6cqw; height: 6cqw; margin: -3cqw 0 0 -3cqw; border-radius: 50%; background: radial-gradient(circle, rgba(160,210,255,.7), transparent 65%); transition: left .6s var(--ease); animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .55; } }
.sw-stage { width: 69cqw; display: flex; justify-content: space-between; gap: 3cqw; margin-top: 2.6cqw; font-size: 2.75cqw; color: rgba(210,215,225,.78); }
.sw-stage span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.sw-stage b { color: #f0f4fa; font-weight: 600; }
.sw-dots { display: flex; gap: 2.2cqw; margin-top: 6cqw; }
.sw-dots i { width: 1.15cqw; height: 1.15cqw; border-radius: 50%; background: rgba(235,240,250,.25); transition: background .4s, transform .4s var(--ease), box-shadow .4s; }
.sw-dots i.done { background: #ebf0fa; }
.sw-dots i.act { background: #96cdff; transform: scale(1.35); box-shadow: 0 0 1.6cqw rgba(150,205,255,.8); }
.sw-verdict { justify-content: center; opacity: 0; transform: translateY(4cqw); filter: blur(4px); pointer-events: none; }
.sw-verdict.in { opacity: 1; transform: none; filter: none; }
.sw-ring { width: 14cqw; height: 14cqw; margin-top: -3cqw; overflow: visible; filter: drop-shadow(0 0 3cqw rgba(52,211,153,.35)); }
.sw-ring circle { fill: none; stroke-width: 2.6; }
.sw-ring .trk { stroke: rgba(52,211,153,.12); }
.sw-ring .arc { stroke: #34d399; stroke-linecap: round; stroke-dasharray: 214; stroke-dashoffset: 214; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 1.1s var(--ease) .15s; }
.sw-ring .chk { fill: none; stroke: #34d399; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .6s var(--ease) .9s; }
.sw-verdict.in .arc, .sw-verdict.in .chk { stroke-dashoffset: 0; }
.sw-vt { margin-top: 4cqw; font: 600 5cqw Inter, sans-serif; color: #f5f7fb; letter-spacing: -.1cqw; }
.sw-vd { margin-top: 1.4cqw; font-size: 2.8cqw; color: rgba(205,210,222,.72); }
.sw-cd { margin-top: 7cqw; font-size: 2.5cqw; color: rgba(200,205,215,.45); }
.sw-foot { position: absolute; bottom: 4cqw; left: 0; right: 0; text-align: center; font-size: 2.4cqw; color: #5f6470; }
@media (max-width: 980px) { .scanwin { transform: none; } }
/* ── Страница входа: две колонки ── */
.auth-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.auth-side { position: relative; padding: 38px; display: flex; flex-direction: column; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url(forest.jpg) center/cover; opacity: .14; }
.auth-side .big-logo { width: 120px; height: 53px; margin-bottom: 26px; animation: pulse 3s ease-in-out infinite; }
.auth-side h2 { font-size: 30px; margin: 0 0 10px; }
.auth-side > p { color: var(--dim); margin-bottom: 26px; }
.perks { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; color: var(--dim); font-size: 15px; animation: logIn .6s var(--ease) both; }
.perks li:nth-child(2) { animation-delay: .1s; } .perks li:nth-child(3) { animation-delay: .2s; } .perks li:nth-child(4) { animation-delay: .3s; }
.perks b { display: block; color: var(--text); font-weight: 600; margin-bottom: 1px; }
.perks .pi { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(140,200,255,.1); border: 1px solid rgba(140,200,255,.2); color: var(--ice); }
.perks .pi svg { width: 18px; height: 18px; }
.mini { margin-top: auto; padding: 16px 18px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.mini .row1 { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); margin-bottom: 10px; }
.mini .row1 b { color: var(--text); }
.mini .track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.mini .track i { display: block; height: 100%; width: 30%; border-radius: 4px; background: linear-gradient(90deg, var(--ice-2), #eaf3ff); animation: miniRun 4s var(--ease) infinite; }
@keyframes miniRun { 0% { width: 4%; } 80% { width: 100%; } 100% { width: 100%; } }
.auth-wrap .auth { width: 100%; margin: 0; }
.inp { position: relative; }
.inp svg.lead { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); transition: color .3s; pointer-events: none; }
.inp input { padding-left: 44px !important; }
.inp:focus-within svg.lead { color: var(--ice); }
.eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 8px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: color .3s, background .3s; }
.eye:hover { color: var(--text); background: var(--glass-2); }
.eye svg { width: 18px; height: 18px; }
.alt { margin-top: 18px; text-align: center; color: var(--muted); font-size: 13.5px; }
.alt a { color: var(--ice); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 12.5px; }
.secure svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }
/* ── Страница оформления заказа ── */
.co-head { text-align: center; margin-bottom: 36px; }
.co-head h1 { font-size: clamp(32px, 4.5vw, 46px); letter-spacing: -1.4px; margin: 18px 0 8px; }
.co-head p { color: var(--dim); }
.steps-line { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--muted); }
.steps-line span { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); }
.steps-line span.on { color: var(--text); border-color: rgba(140,200,255,.35); background: rgba(140,200,255,.1); }
.steps-line i { width: 18px; height: 1px; background: var(--line-hi); }
.co { display: grid; grid-template-columns: 1fr 380px; gap: 18px; align-items: start; }
.co-main { display: grid; gap: 18px; }
.co .card h3 { margin-bottom: 16px; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pp {
  position: relative; text-align: left; cursor: pointer; padding: 18px 16px 16px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text); font-family: Inter, sans-serif;
  display: flex; flex-direction: column; gap: 4px; transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.pp:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.pp.on { border-color: rgba(140,200,255,.6); background: rgba(140,200,255,.09); box-shadow: 0 0 0 4px rgba(140,200,255,.08); }
.pp .r { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-hi); transition: all .3s var(--ease); }
.pp.on .r { border-color: var(--ice); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 10px var(--ice); }
.pp .n { font-weight: 700; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.pp .n em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--ice); background: rgba(140,200,255,.14); padding: 2px 8px; border-radius: 99px; }
.pp .d { color: var(--muted); font-size: 12.5px; }
.pp b { font-size: 24px; letter-spacing: -.6px; margin-top: 8px; }
.promo { display: flex; gap: 10px; }
.promo .inp { flex: 1; }
.promo input {
  width: 100%; padding: 13px 15px 13px 44px; border-radius: 11px; font: 500 15px "JetBrains Mono", monospace; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--line); outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
}
.promo input::placeholder { text-transform: none; letter-spacing: 0; font-family: Inter, sans-serif; color: var(--muted); }
.promo input:focus { border-color: rgba(140,200,255,.6); box-shadow: 0 0 0 4px rgba(140,200,255,.12); background: rgba(255,255,255,.07); }
.shake { animation: shake .45s; }
@keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
.promo-state { max-height: 0; opacity: 0; overflow: hidden; font-size: 14px; transition: all .45s var(--ease); }
.promo-state.show { max-height: 60px; opacity: 1; margin-top: 12px; padding: 10px 14px; border-radius: 10px; }
.promo-state.ok { color: var(--ok); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.25); }
.promo-state.bad { color: var(--bad); background: rgba(248,93,106,.08); border: 1px solid rgba(248,93,106,.25); }
.promo-state.warn { color: var(--warn); background: rgba(251,191,72,.08); border: 1px solid rgba(251,191,72,.25); }
.flow { list-style: none; counter-reset: f; display: grid; gap: 16px; }
.flow li { counter-increment: f; position: relative; padding-left: 46px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 600 13px "JetBrains Mono", monospace; color: var(--ice); background: rgba(140,200,255,.1); border: 1px solid rgba(140,200,255,.2); }
.flow b { display: block; } .flow span { color: var(--dim); font-size: 14.5px; } .flow a { color: var(--ice); }
.summary { position: sticky; top: 100px; padding: 26px; }
.summary.flash { animation: flash 1s var(--ease); }
@keyframes flash { 30% { border-color: rgba(52,211,153,.6); box-shadow: 0 0 0 6px rgba(52,211,153,.1); } }
.sum-top { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sum-top svg { width: 48px; height: 21px; flex: none; filter: drop-shadow(0 0 8px rgba(140,200,255,.45)); }
.sum-top b { display: block; } .sum-top span { color: var(--muted); font-size: 13.5px; }
.lines { display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 14.5px; }
.lines > div { display: flex; justify-content: space-between; }
.lines .disc { color: var(--ok); max-height: 0; opacity: 0; overflow: hidden; transition: all .45s var(--ease); }
.lines .disc.show { max-height: 30px; opacity: 1; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 14px; }
.total b { font-size: 34px; letter-spacing: -1px; }
.incl { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.incl li { display: flex; gap: 10px; color: var(--dim); font-size: 13.5px; }
.incl li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin-bottom: 16px; cursor: pointer; }
.agree input { margin-top: 2px; width: 16px; height: 16px; accent-color: #8cc8ff; flex: none; }
.pay { width: 100%; font-size: 16px; padding: 15px; }
.trust { display: flex; justify-content: center; gap: 18px; margin-top: 16px; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
.trust span { display: flex; gap: 6px; align-items: center; } .trust svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .co { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 640px) { .plan-pick { grid-template-columns: 1fr; } .promo { flex-direction: column; } }