/* ============================
   ORACLE DOWNLOAD PAGE
   ============================ */

/* ============ HERO ============ */

.dl-hero {
  position: relative;
  z-index: 1;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 80px;
}

.dl-hero-inner {
  max-width: 720px;
}

.dl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--green);
  margin-bottom: 28px;
  font-weight: 500;
}

.dl-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.dl-hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.dl-hero-sub strong {
  color: var(--text-primary);
}

.dl-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.dl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dl-stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.dl-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.dl-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* ============ PLATFORM CARDS ============ */

.dl-platforms {
  position: relative;
  z-index: 1;
  padding: 0 0 var(--section-gap);
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}

.dl-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 167, 106, 0.05);
}

.dl-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--gradient-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--coral);
  transition: transform 0.5s var(--spring);
}

.dl-card:hover .dl-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.dl-card h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.dl-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.dl-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.dl-btn {
  width: 100%;
  justify-content: center;
}

.dl-btn-alt {
  font-size: 0.88rem !important;
  padding: 12px 24px !important;
}

.dl-requirements {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.dl-requirements h4 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.dl-requirements ul {
  list-style: none;
  padding: 0;
}

.dl-requirements li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.dl-requirements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-glow);
}

/* Web fallback */

.dl-web-fallback {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
}

.dl-web-fallback p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.dl-web-fallback a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: gap 0.3s var(--spring), color 0.2s;
}

.dl-web-fallback a:hover {
  gap: 10px;
  color: var(--gold-light);
}

/* ============ WHY DESKTOP ============ */

.dl-why {
  position: relative;
  z-index: 1;
  padding: var(--section-gap) 0;
  background: var(--bg-secondary);
}

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

.dl-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.dl-why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(212, 167, 106, 0.04);
}

.dl-why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--coral);
  transition: transform 0.5s var(--spring);
}

.dl-why-card:hover .dl-why-icon {
  transform: scale(1.1) rotate(-5deg);
}

.dl-why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.dl-why-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============ HOW IT WORKS ============ */

.dl-how {
  position: relative;
  z-index: 1;
  padding: var(--section-gap) 0;
}

.dl-steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.dl-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--smooth);
}

.dl-step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateX(8px);
}

.dl-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.dl-step:hover .dl-step-num {
  opacity: 1;
}

.dl-step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dl-step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ COMPARISON TABLE ============ */

.dl-compare {
  position: relative;
  z-index: 1;
  padding: var(--section-gap) 0;
  background: var(--bg-secondary);
}

.dl-compare-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dl-compare-header,
.dl-compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 0;
}

.dl-compare-header {
  background: var(--bg-card-hover);
  border-bottom: 1px solid var(--border-subtle);
}

.dl-compare-header .dl-compare-feature,
.dl-compare-header .dl-compare-col {
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-compare-row {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

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

.dl-compare-row:hover {
  background: var(--bg-card);
}

.dl-compare-feature {
  padding: 16px 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
}

.dl-compare-col {
  padding: 16px 24px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid var(--border-subtle);
}

.dl-check {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
}

.dl-partial {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

/* ============ CTA BUTTONS ============ */

.dl-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {
  .dl-grid {
    grid-template-columns: 1fr;
  }

  .dl-why-grid {
    grid-template-columns: 1fr;
  }

  .dl-card {
    padding: 36px 28px;
  }

  .dl-hero-stats {
    gap: 20px;
  }

  .dl-stat-divider {
    display: none;
  }

  .dl-compare-header .dl-compare-feature,
  .dl-compare-header .dl-compare-col {
    padding: 14px 16px;
    font-size: 0.75rem;
  }

  .dl-compare-feature {
    padding: 14px 16px;
    font-size: 0.82rem;
  }

  .dl-compare-col {
    padding: 14px 16px;
    font-size: 0.78rem;
  }

  .dl-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .dl-cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .dl-step {
    flex-direction: column;
    gap: 16px;
  }

  .dl-step-num {
    font-size: 2rem;
  }

  .dl-compare-header,
  .dl-compare-row {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
  }
}
