:root{
  --bg: #070A12;
  --panel: rgba(255,255,255,.06);
  --panel-strong: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --r: 18px;

  --grad1: #ff4fd8;
  --grad2: #7c4dff;
  --grad3: #2de2ff;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 10%, rgba(124,77,255,.20), transparent 60%),
              radial-gradient(900px 500px at 80% 20%, rgba(255,79,216,.18), transparent 55%),
              radial-gradient(900px 600px at 60% 90%, rgba(45,226,255,.12), transparent 60%),
              var(--bg);
  overflow-x:hidden;
}

a{ color: inherit; text-decoration:none; }
.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

/* background blobs */
.bg-blur{
  position: fixed;
  inset: auto auto 0 0;
  width: 520px; height: 520px;
  filter: blur(60px);
  opacity: .35;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
}
.bg-blur.b1{
  left:-160px; top:120px;
  background: radial-gradient(circle at 30% 30%, rgba(255,79,216,.9), transparent 55%),
              radial-gradient(circle at 70% 70%, rgba(124,77,255,.8), transparent 55%);
}
.bg-blur.b2{
  right:-220px; top:520px;
  background: radial-gradient(circle at 30% 30%, rgba(45,226,255,.85), transparent 55%),
              radial-gradient(circle at 70% 70%, rgba(124,77,255,.75), transparent 55%);
}

/* Header */
.header{
  position: sticky;
  top:0;
  backdrop-filter: blur(14px);
  background: rgba(7,10,18,.55);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 190px;
}
.brand__logo{
  width: 34px; height: 34px;
  object-fit: contain;
}
.brand__name{
  font-weight: 800;
  letter-spacing: .2px;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}
.nav a{
  font-weight: 600;
  color: var(--muted);
}
.nav a:hover{ color: var(--text); }
.nav__cta{
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--text) !important;
}

/* Burger */
.burger{
  display:none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  cursor:pointer;
}
.burger span{
  display:block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,.8);
  margin: 5px auto;
  border-radius: 2px;
}

.mobile-nav{
  border-top: 1px solid var(--line);
  background: rgba(7,10,18,.70);
  backdrop-filter: blur(14px);
  padding: 12px 20px 18px;
}
.mnav-link{
  display:block;
  padding: 10px 8px;
  color: var(--muted);
  font-weight: 700;
}
.mnav-link:hover{ color: var(--text); }
.mnav-cta{
  margin-top: 8px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
}

/* Hero */
.hero{
  padding: 56px 0 24px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items:start;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-weight: 700;
  width: fit-content;
}
.hero__title{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}
.grad{
  background: linear-gradient(90deg, var(--grad1), var(--grad2), var(--grad3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
}

.hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 16px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 800;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn--primary {
  border: none; 
  background: linear-gradient(90deg, rgba(255,79,216,.95), rgba(124,77,255,.95), rgba(45,226,255,.95));
  color: #070A12;
  padding: 13px 17px; 
}
.btn--ghost{
  background: rgba(255,255,255,.05);
  color: var(--text);
}
.btn--full{ width: 100%; }

.trust{
  display:flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.trust__item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.trust__num{
  width: 26px; height: 26px;
  border-radius: 10px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  font-weight: 900;
}
.trust__text{ color: var(--muted); font-weight: 700; }

.small-note{
  color: rgba(255,255,255,.55);
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 12px;
}

/* Phone mock */
.phone{
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.phone__top{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid var(--line);
}
.phone__title{
  margin-left: 6px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  font-size: 13px;
}

.preview {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.vertical-frame {
    position: relative;
    width: 220px;               /* Ширина рамки */
    height: 320px;              /* Высота (соотношение ~2:3 или 3:4) */
    border-radius: 24px;        /* Скругленные углы как у экрана iPhone */
    overflow: hidden;
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.face-image {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* Заполняет всё пространство */
}

/* Стили для углов видоискателя */
.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #007AFF; /* Цвет акцента (синий) */
    z-index: 2;
}

.top-left { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.top-right { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.bottom-left { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.bottom-right { bottom: 15px; right: 15px; border-left: none; border-top: none; }

/* Анимация линии сканирования */
.scanning-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to bottom, 
        rgba(0, 122, 255, 0), 
        rgba(0, 122, 255, 1), 
        rgba(0, 122, 255, 0));
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.8);
    animation: scan-vertical 2.5s infinite ease-in-out;
    z-index: 3;
}

@keyframes scan-vertical {
    0% { top: 5%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 95%; opacity: 0; }
}

.face-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Первое значение - по горизонтали (50% = центр) */
    /* Второе значение - по вертикали (увеличьте, чтобы опустить картинку ниже) */
    object-position: 50% 20%; 
    opacity: 0.8;
}

/* Анимация сканирующей линии */
.scanning-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #007AFF, transparent);
    box-shadow: 0 0 8px #007AFF;
    animation: scan 3s infinite linear;
}

@keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* Стили углов */
.corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 3px solid #007AFF;
    z-index: 5;
}
.top-left { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.top-right { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.bottom-left { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.bottom-right { bottom: 15px; right: 15px; border-left: none; border-top: none; }

/* Линия сканера */
.scanning-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #007AFF;
    box-shadow: 0 0 15px #007AFF;
    z-index: 10;
    animation: scan 2.5s infinite ease-in-out;
}

@keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* Статус и прогресс-бар */
.status-container {
    text-align: center;
    font-family: sans-serif;
    margin-top: 15px;
}

#status-text {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    width: 30%;
    height: 100%;
    background: #007AFF;
    animation: progress-move 3s infinite ease-in-out;
}

@keyframes progress-move {
    0% { width: 0%; }
    100% { width: 100%; }
}

.filters{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.chip{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.80);
  font-weight: 800;
  cursor:pointer;
}
.chip.active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
}

.gen__status{
  margin-top: 10px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
  min-height: 18px;
}

.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.stat{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  padding: 12px;
}
.stat__kpi{
  font-weight: 900;
  font-size: 16px;
}
.stat__label{
  margin-top: 4px;
  color: rgba(255,255,255,.65);
  font-weight: 700;
  font-size: 12px;
}

/* Sections */
.section{
  padding: 58px 0;
}
.section--alt{
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__head{
  margin-bottom: 18px;
}
.section__head h2{
  margin:0 0 6px;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.4px;
}
.section__head p{
  margin:0;
  color: var(--muted);
  line-height: 1.6;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid2{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
}
.mt24{ margin-top: 16px; }

.card{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.card h3{
  margin: 10px 0 6px;
}
.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.card--wide{ padding: 20px; }
.icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  font-size: 20px;
}

.before-after {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.ba {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4; /* Пропорции как у фото на камеру телефона */
    background-color: #f0f0f0;
}

.ba img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Чтобы фото заполняло весь блок без искажений */
    display: block;
}

.ba .label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
  font-weight: 600;
}

/* Steps */
.steps{
  display:grid;
  gap: 12px;
  margin-top: 14px;
}
.step{
  display:flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.step__num{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  font-weight: 900;
}
.step__body h3{ margin: 2px 0 6px; }
.step__body p{ margin: 0; color: var(--muted); line-height: 1.6; }

.callout{
  margin-top: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(90deg, rgba(255,79,216,.12), rgba(124,77,255,.10), rgba(45,226,255,.10));
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.callout__text h3{ margin:0 0 6px; }
.callout__text p{ margin:0; color: var(--muted); line-height:1.6; }

/* FAQ */
.faq{
  display:grid;
  gap: 10px;
}
.faq__item{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 12px 14px;
}
.faq__item summary{
  cursor:pointer;
  font-weight: 900;
  color: rgba(255,255,255,.9);
}
.faq__content{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 600;
}

/* Download */
.download{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items:start;
}
.store-buttons {
    display: flex;
    /* Распределяем кнопки по краям */
    justify-content: space-between; 
    align-items: center;
    gap: 15px; /* Запасной отступ для узких экранов */
    width: 100%;
    max-width: 400px; /* Ограничиваем общую ширину, чтобы кнопки не улетели слишком далеко */
    margin: 20px auto;
}

.appstore-link {
    position: relative;
    flex: 1; /* Чтобы кнопки были одинакового размера */
    display: flex;
    justify-content: center;
    transition: transform 0.2s ease;
}

.appstore-img {
    width: 100%;
    max-width: 180px; /* Ограничиваем размер картинки */
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Стили для Google Play в процессе */
.store-link--disabled {
    cursor: not-allowed;
    opacity: 0.7; /* Делаем кнопку бледнее */
    filter: grayscale(0.5); /* Можно добавить легкий ч/б эффект */
}

.store-link--disabled .badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.5px;
    pointer-events: none; /* Чтобы текст не мешал наведению */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Анимация только для активной кнопки App Store */
.appstore-link:not(.store-link--disabled):active {
    transform: scale(0.95);
}
.store__small{
  display:block;
  color: rgba(255,255,255,.65);
  font-weight: 700;
  font-size: 12px;
}
.store__big{
  display:block;
  font-weight: 900;
  font-size: 18px;
  margin-top: 2px;
}
.store:hover{
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.waitlist{
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
}
.waitlist__label{
  display:block;
  font-weight: 900;
  margin-bottom: 10px;
}
.waitlist__row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.input{
  flex: 1 1 220px;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.15);
  color: var(--text);
  padding: 0 12px;
  outline:none;
  font-weight: 700;
}
.input::placeholder{ color: rgba(255,255,255,.45); }
.waitlist__hint{
  margin-top: 10px;
  min-height: 18px;
  color: rgba(255,255,255,.70);
  font-weight: 700;
}

.logo-card{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.logo-card img{
  width: 44px; height: 44px;
  object-fit: contain;
}
.logo-card__title{ font-weight: 900; }
.logo-card__sub{ color: rgba(255,255,255,.65); font-weight: 700; font-size: 13px; }

.mini-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.mini{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 12px;
}
.mini__kpi{ font-weight: 900; font-size: 16px; }
.mini__lbl{ color: rgba(255,255,255,.65); font-weight: 700; font-size: 12px; margin-top: 4px; }

.legal-links{
  margin-top: 14px;
  color: rgba(255,255,255,.62);
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  font-weight: 700;
}
.legal-links a{ color: rgba(255,255,255,.72); }
.legal-links a:hover{ color: rgba(255,255,255,.95); }

/* Footer */
.footer{
  padding: 22px 0 30px;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 18px;
}
.footer__left{
  display:flex;
  align-items:center;
  gap: 10px;
}
.footer__logo{
  width: 32px; height: 32px;
  object-fit: contain;
}
.footer__title{ font-weight: 900; }
.footer__copy{ color: rgba(255,255,255,.60); font-weight: 700; font-size: 12.5px; }

.to-top{
  color: rgba(255,255,255,.72);
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 10px 12px;
  border-radius: 14px;
}
.to-top:hover{ color: rgba(255,255,255,.95); }

/* Responsive */
@media (max-width: 920px){
  .hero__grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .download{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .nav{ display:none; }
  .burger{ display:inline-block; }
  .callout{ flex-direction: column; align-items:flex-start; }
}