.site-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.05) 0%, rgba(13, 13, 17, 0) 50%), radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.03) 0%, rgba(13, 13, 17, 0) 40%);
  z-index: -2;
}

.site-bg-mask {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 17, 0.8) 0%, rgba(13, 13, 17, 0.6) 50%, rgba(13, 13, 17, 0.9) 100%);
  z-index: -1;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.hero {
  text-align: center;
  padding: 36px 0 18px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #3B82F6, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .sub {
  margin-top: 10px;
  color: rgba(243, 244, 246, 0.6);
  font-size: 15px;
}

.feat-line {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.feat-line span {
  font-size: 12.5px;
  padding: 5px 13px;
  border-radius: 999px;
  background: #15151A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(243, 244, 246, 0.78);
}

.panel {
  background: rgba(21, 21, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 22px;
  margin-top: 24px;
  backdrop-filter: blur(20px);
}

.grid2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
}

@media (max-width: 820px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}

.sec-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #F3F4F6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sec-title small {
  font-weight: 400;
  color: rgba(243, 244, 246, 0.45);
  font-size: 12px;
}

.drop-zone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 30px 18px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
  background: #15151A;
}

.drop-zone:hover,
.drop-zone.drag {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.06);
}

.drop-zone .ic {
  font-size: 34px;
}

.drop-zone .t {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
}

.drop-zone .h {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(243, 244, 246, 0.5);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #15151A;
}

.thumb img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  display: block;
}

.thumb .nm {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 10px;
  padding: 2px 4px;
  background: linear-gradient(transparent, rgba(13, 13, 17, 0.8));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumb .x {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.count-line {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(243, 244, 246, 0.6);
}

.count-line b {
  color: #10B981;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(243, 244, 246, 0.78);
  margin-bottom: 7px;
  align-items: center;
}

.field label .val {
  color: #10B981;
  font-variant-numeric: tabular-nums;
}

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.row .field {
  flex: 1;
  min-width: 130px;
}

input[type=range] {
  width: 100%;
  accent-color: #10B981;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10B981;
  cursor: pointer;
}

select,
input[type=text],
input[type=number] {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 13.5px;
  background: #0D0D11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #F3F4F6;
  outline: none;
}

select:focus,
input:focus {
  border-color: #10B981;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 13.5px;
}

.switch input {
  display: none;
}

.switch .track {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #2A2A30;
  position: relative;
  transition: .2s;
}

.switch .track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #15151A;
  transition: .2s;
}

.switch input:checked+.track {
  background: #10B981;
}

.switch input:checked+.track::after {
  transform: translateX(18px);
}

.seg {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.seg label {
  flex: 1;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  color: rgba(243, 244, 246, 0.7);
  text-align: center;
  transition: .2s;
  margin-bottom: 0;
  justify-content: center;
}

.seg label input {
  display: none;
}

.seg label.on {
  background: rgba(16, 185, 129, 0.16);
  color: #10B981;
  font-weight: 600;
}

.process-btn {
  width: 100%;
  margin-top: 6px;
  padding: 15px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  background: #10B981;
  color: #fff;
  transition: .2s;
}

.process-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.process-btn:hover:not(:disabled) {
  filter: brightness(1.08);
}

.proc-bar {
  height: 6px;
  border-radius: 999px;
  background: #2A2A30;
  overflow: hidden;
  margin-top: 14px;
  display: none;
}

.proc-bar i {
  display: block;
  height: 100%;
  width: 30%;
  border-radius: 999px;
  background: #10B981;
  animation: slide 1.1s infinite;
}

@keyframes slide {
  0% {
    margin-left: -30%;
  }

  100% {
    margin-left: 100%;
  }
}

.result {
  margin-top: 18px;
  display: none;
}

.result.show {
  display: block;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.result-item {
  border-radius: 10px;
  overflow: hidden;
}

.result-item img {
  width: 100%;
  display: block;
}

.result-item .dl-btn {
  display: block;
  padding: 8px;
  text-align: center;
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: .2s;
}

.result-item .dl-btn:hover {
  background: rgba(59, 130, 246, 0.2);
}

.dl-all {
  margin-top: 16px;
  text-align: center;
}

.dl-all .dl-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: .2s;
}

.dl-all .dl-btn:hover {
  background: rgba(59, 130, 246, 0.15);
}

.pricing {
  margin-top: 36px;
}

.pricing h2 {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}

.pcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: 28px;
  }
}
/* ===== Footer ===== */
.site-footer {
  background:#08080A;
  border-top:1px solid rgba(255,255,255,0.08);
  padding:46px 24px 36px;
  text-align: center;
  margin-top: 56px;
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: .5px;
  transition: color .2s;
}

.footer-links a:hover {
  color: #10B981;
}

.footer-promise {
  font-size: 12px;
  color: #10B981;
  margin-bottom: 12px;
  letter-spacing: .3px;
}

.footer-text {
  font-size: 12px;
  color: #999999;
  margin-bottom: 6px;
  line-height: 1.6;
}

.footer-icp {
  font-size: 11.5px;
  color: #999999;
  text-decoration: none;
  letter-spacing: .3px;
  transition: color .2s;
  display: inline-block;
  margin-bottom: 4px;
}

.footer-icp:hover {
  color: #666666;
}

.footer-ga {
  font-size: 12px;
  color: #666666;
  text-decoration: none;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.footer-ga:hover {
  color: #333333;
}

.footer-ga img {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

@media(max-width:600px) {
  .footer-links {
    gap: 12px;
  }
  .footer-ga {
    font-size: 11px;
  }
  .footer-ga img {
    width: 16px;
    height: 16px;
  }
}

/* === Toast === */
.tmt-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e2e;
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  pointer-events: none;
  white-space: nowrap;
}
.tmt-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}
.tmt-toast.error {
  background: #dc2626;
}
.tmt-toast.success {
  background: #10B981;
}
