/* ── AllinDownload Plugin Styles ─────────────────── */

.ald-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

/* HERO */
.ald-hero {
  text-align: center;
  padding: 40px 20px 36px;
}

.ald-badge {
  display: inline-block;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.3);
  color: #6c63ff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ald-title {
  font-size: clamp(30px, 5vw, 52px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -1.5px !important;
  margin-bottom: 16px !important;
  color: #1a1a2e !important;
}

.ald-gradient {
  background: linear-gradient(135deg, #6c63ff, #ff6b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ald-sub {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto;
}

/* DOWNLOAD BOX */
.ald-box {
  background: #ffffff;
  border: 1px solid #e8e8f0;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(108,99,255,0.08);
  margin-bottom: 50px;
}

.ald-shine {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6c63ff, #ff6b9d, transparent);
  opacity: 0.7;
}

/* TABS */
.ald-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ald-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid #e0e0ef;
  background: transparent;
  color: #888;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.ald-tab:hover {
  border-color: #6c63ff;
  color: #6c63ff;
}

.ald-tab.active {
  background: #6c63ff;
  border-color: #6c63ff;
  color: #fff;
}

/* INPUT ROW */
.ald-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.ald-input {
  flex: 1;
  background: #f7f7fc;
  border: 1.5px solid #e8e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  color: #1a1a2e;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.ald-input::placeholder { color: #aaa; }
.ald-input:focus { border-color: #6c63ff; background: #fff; }

.ald-btn {
  background: linear-gradient(135deg, #6c63ff, #9b59f5);
  border: none;
  border-radius: 12px;
  padding: 14px 26px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s, opacity 0.15s;
  letter-spacing: 0.2px;
}

.ald-btn:hover { transform: translateY(-1px); opacity: 0.92; }
.ald-btn:active { transform: scale(0.98); }

/* LOADING */
.ald-loading {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #888;
  font-size: 14px;
}

.ald-spinner {
  width: 18px; height: 18px;
  border: 2px solid #e0e0ef;
  border-top-color: #6c63ff;
  border-radius: 50%;
  animation: ald-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes ald-spin { to { transform: rotate(360deg); } }

/* ERROR */
.ald-error {
  display: none;
  background: #fff5f5;
  border: 1px solid #fcc;
  border-radius: 10px;
  padding: 12px 16px;
  color: #e05555;
  font-size: 13px;
  margin-top: 14px;
}

/* RESULT */
.ald-result {
  display: none;
  margin-top: 20px;
}

.ald-result-inner {
  background: #f7f7fc;
  border: 1px solid #e8e8f0;
  border-radius: 14px;
  padding: 20px;
}

.ald-result-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #1a1a2e;
}

.ald-qualities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ald-qbtn {
  background: #fff;
  border: 1.5px solid #e0e0ef;
  border-radius: 10px;
  padding: 10px 18px;
  color: #1a1a2e;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ald-qbtn span {
  font-size: 11px;
  color: #999;
  font-weight: 400;
}

.ald-qbtn:hover {
  background: #6c63ff;
  border-color: #6c63ff;
  color: #fff;
  text-decoration: none;
}

.ald-qbtn:hover span { color: rgba(255,255,255,0.7); }

/* NOTE */
.ald-note {
  margin-top: 16px;
  font-size: 12px;
  color: #aaa;
}

/* PLATFORMS */
.ald-platforms {
  margin-bottom: 50px;
  text-align: center;
}

.ald-section-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 24px;
  font-weight: 600;
}

.ald-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.ald-platform-card {
  background: #fff;
  border: 1.5px solid #e8e8f0;
  border-radius: 18px;
  padding: 24px 16px;
  cursor: pointer;
  transition: all 0.22s;
  text-align: center;
}

.ald-platform-card:hover {
  border-color: #6c63ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(108,99,255,0.12);
}

.ald-picon { font-size: 32px; display: block; margin-bottom: 10px; }
.ald-pname { font-weight: 700; font-size: 14px; color: #1a1a2e; margin-bottom: 4px; }
.ald-pdesc { font-size: 12px; color: #999; }

/* HOW IT WORKS */
.ald-how { text-align: center; }

.ald-section-title {
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.8px !important;
  margin-bottom: 28px !important;
  color: #1a1a2e !important;
}

.ald-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  text-align: left;
}

.ald-step {
  background: #fff;
  border: 1.5px solid #e8e8f0;
  border-radius: 18px;
  padding: 24px 20px;
}

.ald-step-num {
  font-size: 38px;
  font-weight: 800;
  color: rgba(108,99,255,0.18);
  line-height: 1;
  margin-bottom: 10px;
}

.ald-step h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  color: #1a1a2e !important;
}

.ald-step p {
  font-size: 13px !important;
  color: #888 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* MOBILE */
@media (max-width: 580px) {
  .ald-box { padding: 20px 14px; }
  .ald-row { flex-direction: column; }
  .ald-btn { width: 100%; justify-content: center; }
}
