/* Andline Launcher — product download */

.al-dl {
  --al-mint: #3dffb0;
  --al-mint-2: #7affc8;
  --al-blue: #5b8cff;
  --al-ink: #080b12;
  --al-panel: rgba(10, 14, 24, 0.72);
  --al-line: rgba(255, 255, 255, 0.1);
  --al-text: #f6f8ff;
  --al-mute: rgba(246, 248, 255, 0.62);
  --al-faint: rgba(246, 248, 255, 0.42);
  --al-radius: 28px;
  --al-ease: 0.22s ease;
  position: relative;
  isolation: isolate;
  padding: 28px 8px 48px;
  color: var(--al-text);
  overflow: hidden;
}

.al-dl *,
.al-dl *::before,
.al-dl *::after {
  box-sizing: border-box;
}

.al-dl__bg {
  pointer-events: none;
  position: absolute;
  inset: -40px -8%;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 42% at 78% 18%, rgba(61, 255, 176, 0.16), transparent 62%),
    radial-gradient(ellipse 42% 38% at 8% 88%, rgba(91, 140, 255, 0.14), transparent 64%);
}

.al-dl__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 30%, #000 18%, transparent 72%);
}

.al-dl__wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.al-dl__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 36px 36px 32px;
  border-radius: var(--al-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--al-panel);
  border: 1px solid var(--al-line);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.al-dl__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  background: rgba(61, 255, 176, 0.08);
  border: 1px solid rgba(61, 255, 176, 0.18);
  color: var(--al-mint-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.al-dl__kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--al-mint);
  box-shadow: 0 0 12px rgba(61, 255, 176, 0.95);
}

.al-dl__title {
  margin: 0 0 14px;
  font-family: Unbounded, inherit;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.al-dl__title span {
  display: block;
  background: linear-gradient(120deg, #fff 20%, var(--al-mint) 52%, var(--al-blue) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.al-dl__lead {
  max-width: 520px;
  margin: 0 0 22px;
  color: var(--al-mute);
  font-size: 16px;
  line-height: 1.65;
}

.al-dl__os {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.al-dl__os-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--al-faint);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--al-ease), color var(--al-ease), transform var(--al-ease);
}

.al-dl__os-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.al-dl__os-btn:hover {
  color: #fff;
}

.al-dl__os-btn.is-active {
  background: linear-gradient(180deg, rgba(61, 255, 176, 0.18), rgba(91, 140, 255, 0.12));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(61, 255, 176, 0.22);
}

.al-dl__os-btn:focus-visible {
  outline: 2px solid var(--al-mint);
  outline-offset: 2px;
}

.al-dl__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 18px;
  color: #06130e;
  background: linear-gradient(180deg, #7affc8, var(--al-mint));
  box-shadow:
    0 16px 40px rgba(61, 255, 176, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: transform var(--al-ease), filter var(--al-ease), box-shadow var(--al-ease);
}

.al-dl__cta svg {
  width: 18px;
  height: 18px;
}

.al-dl__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 22px 50px rgba(61, 255, 176, 0.38);
  color: #06130e;
}

.al-dl__cta.is-disabled,
.al-dl__cta.is-disabled:hover {
  transform: none;
  filter: none;
  cursor: default;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.al-dl__meta {
  margin: 12px 0 0;
  color: var(--al-faint);
  font-size: 13px;
  font-weight: 700;
}

.al-dl__hint {
  max-width: 460px;
  margin: 8px 0 0;
  color: var(--al-mute);
  font-size: 13px;
  line-height: 1.5;
}

.al-dl__stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.al-dl__orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 255, 176, 0.28), transparent 68%);
  filter: blur(8px);
  animation: al-dl-pulse 6s ease-in-out infinite;
}

.al-dl__window {
  position: relative;
  width: min(100%, 360px);
  border-radius: 22px;
  background: linear-gradient(180deg, #151b28, #0c111b);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(61, 255, 176, 0.08);
  overflow: hidden;
  animation: al-dl-float 5.5s ease-in-out infinite;
}

.al-dl__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.al-dl__dots {
  display: flex;
  gap: 6px;
}

.al-dl__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.al-dl__dots i:first-child { background: #ff6b7a; }
.al-dl__dots i:nth-child(2) { background: #ffd166; }
.al-dl__dots i:last-child { background: var(--al-mint); }

.al-dl__chrome-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.al-dl__os-chip {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(61, 255, 176, 0.1);
  color: var(--al-mint-2);
  font-size: 10px;
  font-weight: 800;
}

.al-dl__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
}

.al-dl__face {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background:
    linear-gradient(#3dffb0, #3dffb0) padding-box,
    linear-gradient(135deg, var(--al-blue), var(--al-mint)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 8px 18px rgba(61, 255, 176, 0.2);
}

.al-dl__face-inner {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #6ee7b7 0 42%, #16a34a 42% 58%, #15803d 58% 100%);
}

.al-dl__user b {
  display: block;
  font-size: 13px;
}

.al-dl__user span {
  color: var(--al-faint);
  font-size: 11px;
  font-weight: 700;
}

.al-dl__servers {
  display: grid;
  gap: 6px;
  padding: 4px 12px 12px;
}

.al-dl__server {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
}

.al-dl__server.is-on {
  background: rgba(61, 255, 176, 0.08);
  border-color: rgba(61, 255, 176, 0.16);
}

.al-dl__ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--al-mint);
  box-shadow: 0 0 10px rgba(61, 255, 176, 0.8);
}

.al-dl__server:not(.is-on) .al-dl__ping {
  background: #64748b;
  box-shadow: none;
}

.al-dl__server b {
  font-size: 13px;
}

.al-dl__server em {
  font-style: normal;
  color: var(--al-faint);
  font-size: 11px;
  font-weight: 800;
}

.al-dl__play {
  margin: 0 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--al-blue), var(--al-mint));
  color: #071018;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.al-dl__steps,
.al-dl__paths {
  display: grid;
  gap: 14px;
}

.al-dl__steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.al-dl__step,
.al-dl__path {
  padding: 20px 20px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--al-line);
}

.al-dl__step-n {
  margin-bottom: 10px;
  color: var(--al-mint);
  font-family: Unbounded, inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.al-dl__step h2,
.al-dl__path h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.al-dl__step p,
.al-dl__path p {
  margin: 0;
  color: var(--al-mute);
  font-size: 14px;
  line-height: 1.6;
}

.al-dl__paths {
  grid-template-columns: 1.2fr 0.8fr;
}

.al-dl__path--main {
  background:
    linear-gradient(180deg, rgba(61, 255, 176, 0.08), rgba(255, 255, 255, 0.03));
  border-color: rgba(61, 255, 176, 0.18);
}

.al-dl__path-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--al-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.al-dl__ip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 10px 8px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.al-dl__copy {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(91, 140, 255, 0.2);
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.al-dl__copy:hover {
  background: rgba(91, 140, 255, 0.35);
}

.al-dl__copy.is-done {
  background: rgba(61, 255, 176, 0.22);
}

.al-dl__alts {
  display: none;
}

@keyframes al-dl-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes al-dl-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 980px) {
  .al-dl__hero,
  .al-dl__steps,
  .al-dl__paths {
    grid-template-columns: 1fr;
  }

  .al-dl__stage {
    min-height: 0;
  }

  .al-dl__window {
    width: min(100%, 340px);
  }

  .al-dl__hero {
    padding: 22px 18px 24px;
  }
}

@media (max-width: 620px) {
  .al-dl {
    padding: 16px 0 36px;
  }

  .al-dl__title {
    font-size: 32px;
  }

  .al-dl__os {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .al-dl__os-btn {
    justify-content: center;
    padding: 0 8px;
  }

  .al-dl__cta {
    width: 100%;
  }

  .al-dl__stage {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-dl__window,
  .al-dl__orb,
  .al-dl__cta {
    animation: none;
    transition: none;
  }
}
