:root{
  --bg1:#070914;
  --bg2:#0b1022;
  --glass: rgba(255,255,255,0.06);
  --glass2: rgba(255,255,255,0.09);
  --stroke: rgba(255,255,255,0.10);
  --text:#e8ecff;
  --muted: rgba(232,236,255,0.65);
  --accent:#21f39a;
  --accent2:#7c4dff;
  --danger:#ff4d6d;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background: radial-gradient(1200px 700px at 15% 15%, rgba(124,77,255,0.15), transparent 60%),
              radial-gradient(900px 600px at 90% 20%, rgba(33,243,154,0.12), transparent 60%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
  overflow-x:hidden;
}

#bg{
  position:fixed;
  inset:0;
  z-index:-1;
}

.glass{
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.55);
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 28px;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.logoMark{
  width:44px;
  height:44px;
  border-radius:14px;

  background:
    radial-gradient(circle at 30% 30%, rgba(33,243,154,0.9), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(124,77,255,0.9), transparent 60%),
    rgba(255,255,255,0.05);

  border:1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 0 12px rgba(33,243,154,0.25),
    0 0 20px rgba(124,77,255,0.2);

  animation: logoFloat 4s ease-in-out infinite,
             logoGlow 3s ease-in-out infinite alternate;

}
@keyframes logoFloat {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.06) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes logoGlow {
  0% {
    box-shadow:
      0 0 8px rgba(33,243,154,0.25),
      0 0 12px rgba(124,77,255,0.2);
  }
  100% {
    box-shadow:
      0 0 18px rgba(33,243,154,0.6),
      0 0 30px rgba(124,77,255,0.5);
  }
}


.brandText .name{ font-weight:800; letter-spacing:0.2px; }
.brandText .sub{ font-size:12px; color:var(--muted); margin-top:2px; }

.stepsMini{
  display:flex;
  align-items:center;
  gap:10px;
  user-select:none;
}
.miniStep{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:13px;
}
.miniStep span{
  width:22px; height:22px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
}
.miniStep.active{
  color:var(--text);
}
.miniStep.active span{
  background: rgba(33,243,154,0.15);
  border-color: rgba(33,243,154,0.35);
  color: var(--accent);
  font-weight:800;
}
.miniLine{
  width:46px;
  height:2px;
  background: rgba(255,255,255,0.08);
  border-radius:999px;
}

.wrap{
  max-width:1200px;
  margin: 20px auto 60px;
  padding: 0 18px;
}

.card{
  padding:22px;
}

.cardHeader h1{
  margin:0;
  font-size:28px;
}
.cardHeader p{
  margin:8px 0 0;
  color:var(--muted);
}

.stepTabs{
  display:flex;
  gap:10px;
  margin:18px 0 18px;
  flex-wrap:wrap;
}

.tab{
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  color:var(--muted);
  padding:10px 14px;
  border-radius:14px;
  cursor:pointer;
  transition: 0.2s;
}
.tab.active{
  color:var(--text);
  border-color: rgba(33,243,154,0.35);
  background: rgba(33,243,154,0.08);
}

.step{ display:none; }
.step.active{ display:block; }

h2{
  margin: 10px 0 14px;
  font-size:18px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}

.typeCard{
  text-align:left;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  cursor:pointer;
  transition: 0.18s;
  color:var(--text);
}
.typeCard:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.20);
}
.typeCard.selected{
  border-color: rgba(33,243,154,0.35);
  background: rgba(33,243,154,0.06);
}
.typeCard .icon{ font-size:22px; }
.typeCard .title{ margin-top:10px; font-weight:800; }
.typeCard .desc{ margin-top:6px; color:var(--muted); font-size:13px; }

.form{
  display:grid;
  gap:14px;
  max-width:720px;
}
.field label{
  display:block;
  font-weight:700;
  margin-bottom:6px;
}
.field input{
  width:100%;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color:var(--text);
  outline:none;
}
.field input:focus{
  border-color: rgba(33,243,154,0.35);
  box-shadow: 0 0 0 4px rgba(33,243,154,0.08);
}
.field small{
  display:block;
  margin-top:7px;
  color:var(--muted);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:18px;
}

.btn{
  border:none;
  cursor:pointer;
  padding:12px 16px;
  border-radius:16px;
  font-weight:800;
  transition: 0.18s;
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.btn.primary{
  background: linear-gradient(135deg, rgba(33,243,154,0.95), rgba(124,77,255,0.9));
  color:#041018;
}
.btn.primary:hover{ transform: translateY(-1px); }
.btn.ghost{
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  color:var(--text);
}
.btn.ghost:hover{
  border-color: rgba(255,255,255,0.20);
}

.designRow{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:16px;
  align-items:stretch;
}
.designPanel{
  display:grid;
  gap:12px;
}
.designOption{
  padding:14px;
  border-radius:18px;
  background: rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
}
.optTitle{ font-weight:900; }
.optDesc{ margin-top:6px; color:var(--muted); font-size:13px; }

.preview{
  padding:16px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.phone{
  width:320px;
  height:560px;
  border-radius:38px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  padding:14px;
}
.screen{
  height:100%;
  border-radius:28px;
  background: rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:center;
  justify-content:center;
}
.qrBox{
  width:220px;
  height:220px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  display:grid;
  place-items:center;
}
.qrFake{
  width:160px;
  height:160px;
  border-radius:16px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 6px, transparent 6px, transparent 12px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 6px, transparent 6px, transparent 12px);
  border:1px solid rgba(255,255,255,0.10);
}

.previewText .big{ font-weight:900; text-align:center; }
.previewText .small{ color:var(--muted); font-size:13px; text-align:center; margin-top:6px; }

.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background: rgba(0,0,0,0.55);
  z-index:99;
}
.modal.show{ display:flex; }

.modalCard{
  width:min(560px, 95vw);
  padding:18px;
  border-radius:22px;
}

.qrAnimWrap{
  display:flex;
  justify-content:center;
  margin-top:6px;
}
.qrAnim{
  width:240px;
  height:240px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  overflow:hidden;
  position:relative;
}

.qrAnim::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.08) 7px, transparent 7px, transparent 14px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08), rgba(255,255,255,0.08) 7px, transparent 7px, transparent 14px);
  opacity:0.35;
}

.qrAnimFill{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(33,243,154,0.10), rgba(124,77,255,0.12));
  transform: translateY(100%);
  transition: transform 1.6s cubic-bezier(.2,.9,.2,1);
}

.loaderText{
  text-align:center;
  margin:16px 0 12px;
  color:var(--muted);
  font-weight:700;
}

.bar{
  width:100%;
  height:14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  overflow:hidden;
}
.barFill{
  width:0%;
  height:100%;
  background: linear-gradient(90deg, rgba(33,243,154,0.95), rgba(124,77,255,0.9));
  border-radius:999px;
  transition: width 0.25s ease;
}

.result{
  margin-top:16px;
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}
.ok{
  width:100%;
  text-align:center;
  font-weight:900;
  margin-bottom:6px;
}

@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .designRow{ grid-template-columns: 1fr; }
  .phone{ width:100%; max-width:360px; }
}
/* ===== ABOUT SECTION ===== */
.aboutSection{
  margin-top:24px;
}

.aboutContent{
  margin-top:10px;
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}

.aboutContent b{
  color:var(--text);
}

.aboutSignature{
  margin-top:18px;
  font-weight:800;
  color:var(--accent);
  text-align:center;
}

/* ===== FOOTER PREMIUM ===== */
.footer{
  margin-top:50px;
  padding:25px 15px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.08);
}

.footerBrand{
  font-weight:900;
  font-size:16px;
  letter-spacing:0.5px;
  margin-bottom:6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.footerText{
  color:var(--muted);
  font-size:13px;
}
.qrPreview{
  width: 210px;
  height: 210px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
