/* ==========================================================================
   美建智汇 下载中心 - download-new.css
   Premium Dark Aesthetic with Glassmorphism & Micro-animations
   Author: Antigravity AI
   ========================================================================== */

:root {
  --page-bg: #0e061c;
  --white: #ffffff;
  --black: #000000;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-border-hover: rgba(255, 255, 255, 0.35);
  --gold-gradient: linear-gradient(to right, #fae0a0, #f6cc42);
  --btn-gold-grad: linear-gradient(to top, #cf9e54, #efc78b);
  --btn-purple-grad: linear-gradient(to top, #7307c5, #ba64fb);
  --timeline-line-grad: linear-gradient(180deg, rgba(186,100,251,0.1), #ba64fb 50%, rgba(186,100,251,0.1));
}

/* Page Reset & Base Scope */
.figma-download-page {
  background-color: var(--page-bg);
  color: var(--white);
  font-family: 'OPPOSans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  padding-bottom: 0;
}

/* Base layouts */
.figma-download-page section {
  position: relative;
  width: 100%;
}

.figma-download-page *,
.figma-download-page *::before,
.figma-download-page *::after {
  box-sizing: border-box;
}

/* Scroll Entry Animations */
.dl-anim-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dl-anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Add delays for columns and elements */
.dl-metric-col:nth-child(1) { transition-delay: 0.1s; }
.dl-metric-col:nth-child(3) { transition-delay: 0.2s; }
.dl-metric-col:nth-child(5) { transition-delay: 0.3s; }

.dl-terminal-card:nth-child(1) { transition-delay: 0.1s; }
.dl-terminal-card:nth-child(2) { transition-delay: 0.2s; }
.dl-terminal-card:nth-child(3) { transition-delay: 0.3s; }

.dl-req-card:nth-child(1) { transition-delay: 0.1s; }
.dl-req-card:nth-child(2) { transition-delay: 0.2s; }

.dl-step-left { transition-delay: 0.1s; }
.dl-step-right { transition-delay: 0.2s; }

/* SECTION 1: Hero Banner */
.dl-hero {
  height: 750px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.dl-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--page-bg) 0%, rgba(14, 6, 28, 0) 16%);
  z-index: 1;
}

.dl-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dl-hero-title {
  font-size: 96px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.dl-hero-title-white {
  background: linear-gradient(to bottom, #ffffff 70%, #b48dee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dl-hero-title-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 10px;
}

.dl-hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  line-height: 36px;
  letter-spacing: 1px;
  margin-bottom: 48px;
}

.dl-hero-scroll-btn {
  position: absolute;
  left: 50%;
  top: 593px;
  z-index: 3;
  transform: translateX(-50%);
  width: 46px;
  height: 41.4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: all 0.3s ease;
  animation: none;
}

.dl-hero-scroll-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
  transform: translateX(-50%) translateY(-2px);
}

.dl-hero-scroll-btn:active {
  transform: translateX(-50%);
}

.dl-hero-scroll-btn img {
  width: 13px;
  height: auto;
  opacity: 1;
}

@keyframes dl-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* SECTION 2: Metrics Stats */
.dl-metrics {
  height: 168px;
  min-height: 0;
  padding: 0;
  background-color: var(--page-bg);
  display: flex;
  align-items: flex-start;
}

.dl-metrics-container {
  width: min(1273px, calc(100% - 80px));
  max-width: 1273px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding: 0 40px;
}

.dl-metric-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dl-metric-value {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(to bottom, #fbe3b0, #f6c930);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 102px;
  margin-bottom: 4px;
  white-space: nowrap;
}

.dl-metric-label {
  font-size: 32px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 36px;
  white-space: nowrap;
}

.dl-metric-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 8px rgba(186, 100, 251, 0.25);
}

/* SECTION 3: App Showcase */
.dl-app-showcase {
  height: 862px;
  padding: 24px 0 68px;
}

.dl-showcase-panel {
  width: min(1167px, calc(100% - 64px));
  max-width: 1167px;
  height: 770px;
  margin: 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  box-shadow: none;
}

.dl-showcase-grid {
  height: 100%;
  position: relative;
  display: block;
}

/* Left side: Phone carousel */
.dl-phone-container {
  position: absolute;
  left: 61.5px;
  top: 64px;
  width: 348.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dl-phone-mockup {
  position: relative;
  width: min(100%, 348.5px);
  aspect-ratio: 400 / 737;
  margin: 0 auto;
  overflow: hidden;
}

.dl-carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.dl-carousel-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dl-carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.dl-carousel-slide img {
  position: absolute;
  top: -4%;
  left: 50%;
  display: block;
  width: auto;
  height: 120.82%;
  max-width: none;
  transform: translateX(-50%);
  object-fit: contain;
}

/* Pagination Dots */
.dl-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.dl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dl-dot.active {
  background: var(--white);
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Right side: Copy Details */
.dl-showcase-copy {
  position: absolute;
  left: 524.5px;
  top: 35px;
  width: 581px;
  height: 700px;
  display: flex;
  flex-direction: column;
  padding: 26px 0 0 26px;
}

.dl-app-heading {
  display: inline-block;
  max-width: 100%;
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0;
  margin-bottom: 8px;
  overflow: visible;
}

.dl-app-description {
  font-size: 20px;
  font-weight: 400;
  line-height: 25.6px;
  color: var(--white);
  margin-bottom: 43px;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.dl-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 31px;
}

.dl-feature-list li {
  display: flex;
  align-items: center;
  gap: 25px;
}

.dl-feature-check {
  width: 43px;
  height: 43px;
  object-fit: contain;
  flex-shrink: 0;
}

.dl-feature-text {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 25.6px;
  overflow-wrap: anywhere;
}

/* Showcase platform download row */
.dl-download-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 555px;
  max-width: 100%;
  min-height: 86px;
  padding-top: 8px;
  margin-bottom: 34px;
}

.dl-platform-button {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 78px;
  min-height: 0;
  padding: 13px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dl-platform-button:first-child {
  width: 263px;
}

.dl-platform-button:last-child {
  width: 255px;
}

.dl-platform-button:hover,
.dl-platform-button:active {
  transform: translateY(-2px);
  border: unset;
}

.dl-platform-ios:hover,
.dl-platform-ios:active {
  background: linear-gradient(to right, #e600c7 0%, #ff89ef 100%);
  box-shadow: 0 8px 24px rgba(230, 0, 199, 0.4);
}

.dl-platform-android:hover,
.dl-platform-android:active {
  background: linear-gradient(to right, #6e00c1 0%, #c06bff 100%);
  box-shadow: 0 8px 24px rgba(110, 0, 193, 0.4);
}

.dl-btn-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.dl-btn-text {
  display: flex;
  flex-direction: column;
}

.dl-btn-text .small {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.2;
}

.dl-btn-text .large {
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

/* Gold Register CTA */
.dl-gold-cta {
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px !important;
  min-height: 66px;
  flex: 0 0 66px;
  padding: 0;
  width: 100%;
  max-width: 532px;
  text-align: center;
  border-radius: 60px;
  background: var(--btn-gold-grad);
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12.5px rgba(206, 162, 113, 0.5);
  transition: all 0.3s ease;
}

.dl-gold-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(206, 162, 113, 0.65);
  filter: brightness(1.08);
}

/* SECTION 4: Trading Terminal Cards */
.dl-terminal-section {
  padding: 26px 0 88px;
}

.dl-terminal-container {
  width: min(1232px, calc(100% - 64px));
  max-width: 1232px;
  margin: 0 auto;
  padding: 0;
}

.dl-terminal-heading-bar {
  background: #e600c7;
  color: var(--white);
  border-radius: 10px;
  text-align: center;
  height: 72px;
  line-height: 72px;
  font-size: 40px;
  font-weight: 700;
  box-shadow: 0 0 27.1px rgba(230, 0, 199, 0.5);
  margin-bottom: 46px;
}

.dl-terminal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dl-terminal-card {
  background-color: var(--glass-bg);
  border: none;
  border-radius: 8px;
  padding: 40px 31px 44px;
  min-height: 423px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dl-terminal-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(186, 100, 251, 0.3);
  box-shadow: 0 20px 40px rgba(115, 7, 197, 0.25);
}

.dl-terminal-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 12px;
}

.dl-terminal-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 42px;
  margin-bottom: 0;
}

.dl-terminal-meta {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 36px;
  flex-grow: 1;
  overflow-wrap: anywhere;
}

.dl-terminal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.dl-terminal-btn-purple, 
.dl-terminal-btn-gold {
  display: block;
  width: 100%;
  max-width: 315px;
  margin: 0 auto;
  padding: 16.5px 40px 17.5px;
  border-radius: 4px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  line-height: 20px;
  letter-spacing: 0.7px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dl-terminal-btn-purple {
  background: var(--btn-purple-grad);
  color: var(--white);
  box-shadow: 0 4px 2px rgba(110, 0, 193, 0.35);
}

.dl-terminal-btn-purple:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(115, 7, 197, 0.55);
}

.dl-terminal-btn-gold {
  background: var(--btn-gold-grad);
  color: var(--white);
  box-shadow: 0 4px 2px rgba(255, 227, 195, 0.2);
}

.dl-terminal-btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 149, 71, 0.45);
}

/* SECTION 5: System Requirements */
.dl-requirements-section {
  padding: 0 0 127px;
}

.dl-requirements-container {
  width: min(1232px, calc(100% - 64px));
  max-width: 1232px;
  margin: 0 auto;
  padding: 0;
}

.dl-req-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 38.4px;
  text-align: center;
  margin-bottom: 17px;
}

.dl-req-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  line-height: 28.8px;
  text-align: center;
  margin-bottom: 43px;
  letter-spacing: 2px;
}

.dl-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.dl-req-card {
  background-color: var(--glass-bg);
  border: none;
  border-radius: 8px;
  padding: 40px 31px 44px;
  display: flex;
  flex-direction: column;
}

.dl-req-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  text-align: center;
  margin-bottom: 26px;
}

.dl-req-icon {
  display: block;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.dl-req-icon-ios {
  width: 64px;
  height: 80px;
}

.dl-req-icon-android {
  width: 71px;
  height: 80px;
}

.dl-req-card-header h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
  color: var(--white);
  margin-bottom: 0;
}

.dl-req-card-header p {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  color: #bebebe;
}

.dl-req-table {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dl-req-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dl-req-row:last-child {
  border-bottom: none;
}

.dl-req-label {
  font-size: 16px;
  color: #d0c5af; /* Gold label text */
  font-weight: 500;
}

.dl-req-value {
  font-size: 16px;
  color: var(--white);
  font-weight: 500;
  text-align: right;
}

.dl-req-row:nth-child(n+3) .dl-req-value {
  font-weight: 700;
}

/* SECTION 6: Three-Step Timeline */
.dl-timeline-section {
  padding: 0 0 149px;
}

.dl-timeline-container {
  width: min(1230px, calc(100% - 64px));
  max-width: 1230px;
  margin: 0 auto;
  padding: 0;
}

.dl-timeline-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 82px;
  text-align: center;
  margin-bottom: 15px;
}

.dl-timeline-title .white {
  color: var(--white);
}

.dl-timeline-title .purple-gradient {
  background: var(--btn-purple-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 10px;
}

.dl-timeline-subtitle {
  font-size: 24px;
  font-weight: 500;
  line-height: 28.8px;
  color: #bebebe;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 90px;
}

.dl-timeline-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 250px;
  overflow: visible;
  isolation: isolate;
}

.dl-timeline-line {
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--timeline-line-grad);
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 10px rgba(186, 100, 251, 0.48);
}

.dl-timeline-step {
  position: relative;
  width: 50%;
  margin-bottom: 82px;
  box-sizing: border-box;
  overflow: visible;
  z-index: 3;
}

.dl-timeline-step:nth-child(3) {
  margin-bottom: 119px;
}

.dl-timeline-step:last-child {
  margin-bottom: 0;
}

.dl-step-left {
  padding-right: 132px;
  text-align: right;
}

.dl-step-right {
  margin-left: 50%;
  padding-left: 132px;
  text-align: left;
}

/* Steps Dots on Line */
.dl-step-dot {
  position: absolute;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #e600c7;
  border: 4px solid #ffffff;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.dl-step-left .dl-step-dot {
  right: -13.5px;
  box-shadow: 0 0 15px #e600c7;
}

.dl-step-right .dl-step-dot {
  left: -13.5px;
  box-shadow: 0 0 15px #e600c7;
}

/* Background Step Labels (第1步, 第2步, 第3步) */
.dl-step-label {
  font-size: 64px;
  font-weight: 900;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  color: #050008;
  white-space: nowrap;
  z-index: 2;
  -webkit-text-fill-color: #050008;
  paint-order: stroke fill;
}

.dl-step-left .dl-step-label {
  left: calc(100% + 80px);
  text-align: left;
}

.dl-step-right .dl-step-label {
  right: calc(100% + 80px);
  text-align: right;
}

.label-step-1 {
  -webkit-text-stroke: 1.2px #e600c7;
  text-shadow: 0 0 8px rgba(230, 0, 199, 0.95), 0 0 18px rgba(230, 0, 199, 0.6);
}

.label-step-2 {
  -webkit-text-stroke: 1.2px #3d65f3;
  text-shadow: 0 0 8px rgba(61, 101, 243, 0.95), 0 0 18px rgba(61, 101, 243, 0.6);
}

.label-step-3 {
  -webkit-text-stroke: 1.2px #ffc585;
  text-shadow: 0 0 8px rgba(255, 197, 133, 0.95), 0 0 18px rgba(255, 197, 133, 0.58);
}

/* Step Card Layout */
.dl-step-card {
  position: relative;
  z-index: 3;
  background-color: var(--glass-bg);
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  gap: 24px;
  align-items: center;
  width: 476px;
  height: 196px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1280px) {
  .dl-timeline-subtitle {
    margin-bottom: 69px;
  }

  .dl-timeline-wrapper {
    height: 998px;
    margin-bottom: 78px;
  }

  .dl-timeline-line {
    left: 615px;
    top: 0;
    bottom: auto;
    height: 998px;
    transform: none;
  }

  .dl-timeline-step {
    position: absolute;
    width: 476px;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .dl-timeline-step::before {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(44px);
    opacity: 0.6;
    z-index: 0;
  }

  .dl-timeline-step:nth-child(2) {
    left: 0;
    top: 37px;
  }

  .dl-timeline-step:nth-child(2)::before {
    left: 338px;
    top: -31px;
    width: 310px;
    height: 310px;
    background: rgba(230, 0, 199, 0.22);
  }

  .dl-timeline-step:nth-child(3) {
    left: 739px;
    top: 315px;
    margin-bottom: 0;
  }

  .dl-timeline-step:nth-child(3)::before {
    left: -188px;
    top: -51px;
    width: 356px;
    height: 356px;
    background: rgba(61, 101, 243, 0.2);
  }

  .dl-timeline-step:nth-child(4) {
    left: 0;
    top: 630px;
  }

  .dl-timeline-step:nth-child(4)::before {
    left: 370px;
    top: 132px;
    width: 251px;
    height: 251px;
    background: rgba(255, 197, 133, 0.18);
  }

  .dl-step-card,
  .dl-step-left .dl-step-card,
  .dl-step-right .dl-step-card {
    width: 476px;
    height: 196px;
    margin: 0;
  }

  .dl-step-left .dl-step-dot {
    left: 602px;
    right: auto;
    top: 85px;
    transform: none;
  }

  .dl-step-right .dl-step-dot {
    left: -137px;
    top: 84px;
    transform: none;
  }

  .dl-step-label {
    top: 47px;
    transform: none;
    line-height: 102px;
  }

  .dl-timeline-step:nth-child(2) .dl-step-label,
  .dl-timeline-step:nth-child(4) .dl-step-label {
    left: 773px;
    right: auto;
    text-align: left;
  }

  .dl-timeline-step:nth-child(3) .dl-step-label {
    left: -461px;
    right: auto;
    text-align: right;
  }
}

.dl-step-left .dl-step-card {
  margin-left: auto;
}

.dl-step-right .dl-step-card {
  margin-right: auto;
}

.dl-step-img-wrap {
  width: 135px;
  height: 135px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-step-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.dl-step-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dl-step-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 28px;
  margin-bottom: 12px;
}

.dl-step-desc {
  font-size: 20px;
  font-weight: 500;
  color: #d9d9d9;
  line-height: 40px;
  overflow-wrap: anywhere;
}

/* Timeline CTAs */
.dl-timeline-cta {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 0;
}

.dl-cta-btn-primary {
  display: inline-block;
  width: 200px;
  padding: 14px 32px;
  border-radius: 60px;
  background: var(--btn-gold-grad);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 12.5px rgba(206, 162, 113, 0.25);
  transition: all 0.3s ease;
}

.dl-cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(200, 149, 71, 0.5);
  filter: brightness(1.08);
}

.dl-cta-btn-secondary {
  display: inline-block;
  width: 200px;
  padding: 14px 34px;
  border-radius: 35px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.dl-cta-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}


/* ==========================================================================
   MEDIA QUERIES (Mobile-responsive support)
   ========================================================================== */

@media (max-width: 1200px) {
  .dl-hero-title {
    font-size: 72px;
  }
  .dl-showcase-panel {
    max-width: 95%;
    height: auto;
    padding: 0;
  }
  .dl-showcase-grid {
    position: static;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
  }
  .dl-phone-container,
  .dl-showcase-copy {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
  }
  .dl-terminal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .dl-terminal-card:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .dl-step-card {
    width: 100%;
  }
  .dl-step-left .dl-step-label {
    left: calc(100% + 20px);
  }
  .dl-step-right .dl-step-label {
    right: calc(100% + 20px);
  }
}

@media (min-width: 1081px) and (max-width: 1200px) {
  .dl-terminal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .dl-terminal-card {
    min-height: 405px;
    padding: 34px 24px 38px;
  }

  .dl-terminal-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .dl-terminal-title {
    font-size: 24px;
    line-height: 34px;
  }

  .dl-terminal-meta {
    font-size: 14px;
    line-height: 22px;
  }

  .dl-terminal-btn-purple,
  .dl-terminal-btn-gold {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 991px) {
  .dl-app-showcase {
    height: auto;
    padding: 60px 0;
  }
  .dl-showcase-panel {
    height: auto;
  }
  .dl-hero-title {
    font-size: 60px;
  }
  .dl-hero-subtitle {
    font-size: 18px;
  }
  .dl-hero-scroll-btn {
    top: auto;
    bottom: 88px;
  }
  .dl-metrics-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 24px;
  }
  .dl-metric-divider {
    display: block;
    height: 52px;
  }
  .dl-metric-col {
    flex: 1 1 0;
    min-width: 0;
  }
  .dl-showcase-grid {
    position: static;
    grid-template-columns: 1fr;
    gap: 50px;
    justify-items: center;
  }
  .dl-phone-container {
    width: min(320px, 100%);
  }
  .dl-phone-mockup {
    width: 100%;
  }
  .dl-showcase-copy {
    align-items: center;
    text-align: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .dl-feature-list {
    align-items: flex-start;
    width: 100%;
  }
  .dl-req-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .dl-timeline-line {
    left: 20px;
  }
  .dl-timeline-wrapper {
    height: auto;
    margin-bottom: 60px;
  }
  .dl-timeline-step {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    margin-left: 0 !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .dl-step-dot {
    left: 10px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  .dl-step-label {
    position: static;
    display: block;
    transform: none;
    margin-bottom: 12px;
    font-size: 36px;
    text-align: left !important;
  }
  .dl-step-card {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

@media (max-width: 768px) {
  .figma-download-page {
    padding-bottom: 0;
  }
  .dl-hero {
    height: 600px;
  }
  .dl-hero-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
  }
  .dl-hero-title {
    font-size: 38px;
    line-height: 1.15;
    white-space: nowrap;
  }
  .dl-hero-title-gold {
    margin-left: 6px;
  }
  .dl-hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .dl-hero-scroll-btn {
    bottom: 78px;
  }
  .dl-metric-value {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 6px;
  }
  .dl-metric-label {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
  }
  .dl-metrics {
    height: auto;
    min-height: 0;
    padding: 42px 0 38px;
    align-items: center;
  }
  .dl-metrics-container {
    width: calc(100% - 40px);
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
  }
  .dl-metric-col {
    flex: 1 1 0;
    min-width: 0;
  }
  .dl-metric-divider {
    display: block;
    flex: 0 0 1px;
    height: 42px;
    margin-top: 4px;
  }
  .dl-showcase-panel {
    border-radius: 20px;
    padding: 40px 20px;
  }
  .dl-phone-container {
    width: min(280px, 100%);
  }
  .dl-phone-mockup {
    width: 100%;
  }
  .dl-app-heading {
    font-size: 30px;
    line-height: 36px;
    padding-bottom: 2px;
  }
  .dl-app-description {
    font-size: 13px;
    line-height: 22px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    word-break: break-word;
  }
  .dl-feature-list {
    max-width: 280px;
    gap: 18px;
    margin-left: auto;
    margin-right: auto;
  }
  .dl-feature-check {
    width: 18px;
    height: 18px;
  }
  .dl-feature-text {
    font-size: 12px;
    line-height: 20px;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .dl-feature-list li {
    width: 100%;
    align-items: flex-start;
    gap: 10px;
  }
  .dl-download-row {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  .dl-platform-button {
    justify-content: center;
    width: 100% !important;
  }
  .dl-gold-cta {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
  }
  .dl-terminal-grid {
    grid-template-columns: 1fr;
  }
  .dl-terminal-card:last-child {
    grid-column: span 1;
  }
  .dl-terminal-heading-bar {
    font-size: 26px;
    height: 56px;
    line-height: 56px;
    margin-bottom: 30px;
  }
  .dl-req-title {
    font-size: 30px;
  }
  .dl-req-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }
  .dl-req-card {
    padding: 24px;
  }
  .dl-req-card-header h3 {
    font-size: 20px;
  }
  .dl-req-row {
    gap: 12px;
  }
  .dl-req-label,
  .dl-req-value {
    font-size: 12px;
    line-height: 20px;
  }
  .dl-req-value {
    max-width: 58%;
    overflow-wrap: anywhere;
  }
  .dl-timeline-section {
    padding-bottom: 56px;
  }
  .dl-timeline-title {
    font-size: 40px;
  }
  .dl-timeline-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
  }
  .dl-step-card {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    height: auto;
  }
  .dl-step-img-wrap {
    width: 100px;
    height: 100px;
  }
  .dl-step-title {
    font-size: 22px;
  }
  .dl-step-desc {
    font-size: 15px;
  }
  .dl-timeline-cta {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 16px;
  }
  .dl-cta-btn-primary, 
  .dl-cta-btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-sizing: border-box;
  }
}

@media (min-width: 701px) and (max-width: 820px) {
  .figma-download-page {
    padding-bottom: 0;
  }

  .dl-hero {
    height: 660px;
  }

  .dl-hero-title {
    font-size: 56px;
    line-height: 1.12;
  }

  .dl-hero-subtitle {
    font-size: 17px;
    line-height: 30px;
  }

  .dl-metrics {
    padding: 40px 0 34px;
  }

  .dl-metrics-container {
    width: calc(100% - 48px);
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }

  .dl-metric-col {
    flex: 1 1 0;
  }

  .dl-metric-value {
    font-size: 36px;
    line-height: 52px;
  }

  .dl-metric-label {
    font-size: 18px;
    line-height: 24px;
  }

  .dl-app-showcase {
    height: auto;
    padding: 58px 0 76px;
  }

  .dl-showcase-panel {
    width: calc(100% - 64px);
    max-width: 704px;
    padding: 0;
    border-radius: 0;
  }

  .dl-showcase-grid {
    width: 100%;
    gap: 38px;
  }

  .dl-phone-container {
    width: min(320px, 100%);
  }

  .dl-app-heading {
    font-size: 36px;
    line-height: 42px;
  }

  .dl-app-description {
    max-width: 560px;
    font-size: 16px;
    line-height: 26px;
    white-space: normal;
  }

  .dl-feature-list {
    width: min(560px, 100%);
    max-width: 560px;
    gap: 20px;
  }

  .dl-feature-check {
    width: 26px;
    height: 26px;
  }

  .dl-feature-text {
    font-size: 15px;
    line-height: 24px;
  }

  .dl-download-row {
    flex-direction: row;
    width: min(555px, 100%);
    max-width: 555px;
    min-height: 78px;
  }

  .dl-platform-button:first-child,
  .dl-platform-button:last-child {
    width: calc((100% - 16px) / 2) !important;
  }

  .dl-gold-cta {
    max-width: 555px;
  }

  .dl-terminal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dl-terminal-card:last-child {
    grid-column: span 2;
    max-width: 420px;
  }

  .dl-requirements-section {
    padding-bottom: 96px;
  }
}

@media (max-width: 700px) {
  .dl-timeline-section {
    padding-bottom: 44px;
  }

  .dl-metrics-container {
    width: calc(100% - 28px);
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .dl-metric-value {
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1.12;
    margin-bottom: 5px;
  }

  .dl-metric-label {
    font-size: clamp(12px, 3.2vw, 14px);
    line-height: 18px;
  }

  .dl-metric-divider {
    display: block;
    height: 38px;
    margin-top: 4px;
  }

  .dl-terminal-grid,
  .dl-req-grid {
    grid-template-columns: 1fr;
  }

  .dl-terminal-card:last-child {
    grid-column: span 1;
  }
}
