/* Huohuotu Studio download page — matches Alilopark site tokens */

.download-body {
  padding-top: 0;
}

.download-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.download-hero-inner {
  padding: 8.5rem clamp(1.2rem, 4vw, 3rem) 3rem;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.download-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.download-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.download-lead {
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 28rem;
}

.download-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.download-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

.download-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.download-visual {
  position: relative;
  min-height: 280px;
  padding: 5.5rem 1.2rem 1.5rem 0.4rem;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(255, 107, 0, 0.18), transparent 70%),
    linear-gradient(160deg, #e8f3fa 0%, #f5f5f2 55%, #ffe8d6 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 18px 36px rgba(30, 30, 32, 0.14));
  animation: download-shot-in 0.8s ease both;
}

@keyframes download-shot-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.download-shot {
  margin: 0;
  padding: 0;
}

.download-shot img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(30, 30, 32, 0.1);
}

.download-feature {
  margin: 0 0 2.6rem;
  counter-increment: feat;
}

.download-feature:last-child {
  margin-bottom: 0;
}

.download-feature img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(30, 30, 32, 0.1);
  background: #f5f5f2;
}

.download-feature p {
  position: relative;
  margin: 0.9rem 0 0;
  padding-left: 2.2rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
}

.download-feature p::before {
  content: counter(feat);
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #ff6b00;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-section-inner {
  max-width: var(--max);
  margin: 0 auto;
  counter-reset: feat;
}

.download-section {
  padding: 4rem clamp(1.2rem, 4vw, 2.5rem);
}

.download-section-alt {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.download-section-lead {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
}

.download-points,
.download-steps {
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink);
  max-width: 36rem;
}

.download-points li,
.download-steps li {
  margin: 0.55rem 0;
}

.download-note {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.download-footer {
  padding: 2rem clamp(1.2rem, 4vw, 2.5rem) 3rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.download-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .download-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .download-hero-inner {
    padding-top: 6.5rem;
    padding-bottom: 2rem;
    max-width: none;
  }

  .download-visual {
    min-height: 220px;
    order: -1;
    margin-top: 3.6rem;
    padding: 4.2rem 0.8rem 1rem;
    justify-content: center;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links a[aria-current="page"],
  .nav-links .nav-cta {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-btn {
    transition: none;
  }
}
