*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html,body{
  width:100%;
  min-height:100%;
  font-family:Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(138,43,226,.35), transparent 32%),
    radial-gradient(circle at top right, rgba(0,140,255,.18), transparent 28%),
    linear-gradient(180deg,#09051c 0%, #0b0622 35%, #050b23 100%);
  color:#f5f7ff;
  scroll-behavior:smooth;
}

body{
  padding:24px;
}

.page-shell{
  max-width:1220px;
  margin:0 auto;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.brand-wrap{
  display:flex;
  align-items:center;
  gap:16px;
}

.brand-icon{
  width:56px;
  height:56px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(135deg,#a020f0,#6c4cff);
  box-shadow:0 0 22px rgba(163,72,255,.45);
}

.brand-title{
  font-size:26px;
  font-weight:800;
  margin-bottom:4px;
}

.brand-subtitle{
  color:#d8d2f0;
  font-size:15px;
}

.status-badge{
  padding:14px 18px;
  border-radius:999px;
  border:1px solid rgba(99,190,255,.35);
  background:rgba(20,26,60,.6);
  color:#eff8ff;
  font-size:14px;
  box-shadow:0 0 18px rgba(0,200,255,.12);
}

.card{
  background:linear-gradient(180deg, rgba(39,27,67,.95), rgba(25,20,43,.96));
  border:1px solid rgba(180,160,255,.14);
  border-radius:28px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.02) inset,
    0 0 28px rgba(100,50,255,.12);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.35fr .95fr;
  gap:22px;
  margin-bottom:22px;
}

.hero-left{
  padding:36px;
}

.mini-badge{
  display:inline-block;
  margin-bottom:22px;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(160,100,255,.14);
  border:1px solid rgba(199,154,255,.22);
  color:#ead9ff;
  font-weight:700;
}

.hero-left h2{
  font-size:64px;
  line-height:0.98;
  font-weight:900;
  margin-bottom:22px;
}

.hero-left p{
  font-size:17px;
  line-height:1.7;
  color:#d7d1e4;
  max-width:760px;
}

.hero-actions{
  display:flex;
  gap:14px;
  margin-top:30px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:none;
  cursor:pointer;
  border-radius:18px;
  padding:16px 28px;
  font-size:17px;
  font-weight:800;
  transition:.25s ease;
}

.btn-primary{
  background:linear-gradient(135deg,#8d3cff,#4d7cff);
  color:#fff;
  box-shadow:0 8px 24px rgba(130,80,255,.28);
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(130,80,255,.42);
}

.btn-secondary{
  background:rgba(255,255,255,.04);
  color:#fff;
  border:1px solid rgba(255,255,255,.1);
}

.btn-secondary:hover{
  background:rgba(255,255,255,.08);
}

.btn.large{
  min-width:260px;
}

.hero-right{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.info-card{
  padding:18px 20px;
  min-height:100px;
}

.info-card.big{
  min-height:160px;
}

.info-card span{
  display:block;
  color:#d3cce5;
  margin-bottom:10px;
  font-size:15px;
}

.info-card strong{
  display:block;
  font-size:28px;
  font-weight:900;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:24px;
}

.feature-card{
  padding:26px 18px;
}

.feature-card h3{
  font-size:18px;
  color:#dbc2ff;
  margin-bottom:12px;
}

.feature-card p{
  font-size:15px;
  line-height:1.6;
  color:#ddd7eb;
}

.upload-card{
  padding:28px;
}

.upload-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.upload-head h2{
  font-size:28px;
  margin-bottom:8px;
}

.upload-head p{
  color:#d4cee5;
}

.support-badge{
  padding:10px 16px;
  border-radius:999px;
  background:rgba(0,255,180,.08);
  border:1px solid rgba(0,255,180,.16);
  color:#bfffea;
  font-size:14px;
  font-weight:700;
}

.upload-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.field.full{
  grid-column:1 / -1;
}

label{
  font-size:15px;
  font-weight:700;
  color:#ebe7f6;
}

input[type="file"],
select{
  width:100%;
  padding:18px 16px;
  border:none;
  outline:none;
  border-radius:18px;
  background:#0f1331;
  color:#fff;
  font-size:17px;
  border:1px solid rgba(255,255,255,.08);
}

.actions-row{
  grid-column:1 / -1;
  display:flex;
  gap:14px;
  margin-top:4px;
  flex-wrap:wrap;
}

.note-text{
  margin-top:18px;
  color:#cdc5df;
  line-height:1.7;
}

.result-box{
  margin-top:24px;
  border-radius:22px;
  padding:20px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  line-height:1.8;
}

.result-box.hidden{
  display:none;
}

.footer-note{
  text-align:center;
  color:#d2cae2;
  padding:18px 0 8px;
  font-size:15px;
}

.success{
  color:#98ffcb;
  font-weight:800;
}

.error{
  color:#ff8fa3;
  font-weight:800;
}

@media (max-width: 1100px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  .feature-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .hero-left h2{
    font-size:50px;
  }
}

@media (max-width: 700px){
  body{
    padding:14px;
  }

  .brand-title{
    font-size:20px;
  }

  .hero-left{
    padding:24px;
  }

  .hero-left h2{
    font-size:38px;
  }

  .upload-form{
    grid-template-columns:1fr;
  }

  .feature-grid{
    grid-template-columns:1fr;
  }

  .info-card strong{
    font-size:24px;
  }
}
.download-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:22px;
  padding:18px 28px;
  border-radius:22px;
  background:linear-gradient(135deg,#8b35ff,#35a7ff);
  color:#fff;
  font-weight:900;
  text-decoration:none;
  letter-spacing:.5px;
  box-shadow:0 0 30px rgba(139,53,255,.45),0 0 45px rgba(53,167,255,.25);
  transition:.25s ease;
}

.download-btn:hover{
  transform:translateY(-3px) scale(1.02);
  box-shadow:0 0 45px rgba(139,53,255,.75),0 0 65px rgba(53,167,255,.45);
}

.loading{
  color:#9ee7ff;
  font-size:18px;
  line-height:1.7;
}

.success{
  color:#8cffc1;
  font-size:20px;
  font-weight:900;
  margin-bottom:14px;
}

.error{
  color:#ff7d9b;
  font-weight:900;
}
.djba7-loader{
  text-align:center;
  padding:28px;
  border-radius:24px;
  background:rgba(10,12,40,.75);
  border:1px solid rgba(120,80,255,.35);
  box-shadow:0 0 35px rgba(120,60,255,.25);
  color:#fff;
  overflow:hidden;
}

.djba7-loader strong{
  font-size:20px;
  color:#fff;
}

.djba7-loader p{
  color:#9ff6ff;
}

.timer{
  margin-top:12px;
  font-size:18px;
  color:#7df9ff;
  font-weight:900;
}

.process-text{
  margin-top:8px;
  color:#ffd66b;
  font-weight:800;
}

.djba7-meter{
  width:280px;
  height:160px;
  margin:22px auto 8px;
  position:relative;
}

.meter-arc{
  width:280px;
  height:140px;
  border-radius:140px 140px 0 0;
  background:conic-gradient(
    from 270deg,
    #ff253a 0deg 36deg,
    #ff8c22 36deg 72deg,
    #ffe44d 72deg 108deg,
    #58e037 108deg 144deg,
    #08d86b 144deg 180deg,
    transparent 180deg 360deg
  );
  position:relative;
  overflow:hidden;
  box-shadow:0 0 25px rgba(255,220,80,.25);
}

.meter-arc::after{
  content:"";
  position:absolute;
  left:38px;
  top:38px;
  width:204px;
  height:102px;
  border-radius:110px 110px 0 0;
  background:#171229;
}

.meter-arc span{
  position:absolute;
  z-index:2;
  font-size:10px;
  font-weight:900;
  color:#fff;
}

.meter-arc span:nth-child(1){left:22px;top:78px;color:#ff4a4a}
.meter-arc span:nth-child(2){left:94px;top:18px;color:#ffe44d}
.meter-arc span:nth-child(3){right:62px;top:38px;color:#70ff4d}
.meter-arc span:nth-child(4){right:20px;top:78px;color:#00ff88}

.meter-needle{
  width:6px;
  height:105px;
  background:linear-gradient(#fff,#999);
  position:absolute;
  left:137px;
  bottom:18px;
  transform-origin:bottom center;
  transform:rotate(-70deg);
  border-radius:10px;
  animation:needleMove 1.2s ease-in-out infinite alternate;
  z-index:5;
  box-shadow:0 0 12px rgba(255,255,255,.6);
}

.meter-dot{
  width:34px;
  height:34px;
  background:#777;
  border-radius:50%;
  position:absolute;
  left:123px;
  bottom:2px;
  z-index:6;
  border:4px solid #aaa;
}

@keyframes needleMove{
  0%{transform:rotate(-70deg)}
  25%{transform:rotate(-25deg)}
  50%{transform:rotate(12deg)}
  75%{transform:rotate(48deg)}
  100%{transform:rotate(72deg)}
}
