/* Capzo Premiere Plugin Download Page — Modern Cyber Slate & Emerald Redesign */

:root {
  --dl-teal: #2dd4bf;
  --dl-teal-strong: #14b8a6;
  --dl-teal-glow: rgba(45, 212, 191, 0.28);
  --dl-cyan: #38bdf8;
  --dl-blue: #2563eb;
  --dl-purple: #a855f7;
  --dl-dark-bg: #07090e;
  --dl-card-bg: rgba(15, 23, 42, 0.72);
  --dl-card-border: rgba(255, 255, 255, 0.08);
  --dl-card-hover: rgba(45, 212, 191, 0.35);
  --dl-mac-blue: #60a5fa;
  --dl-win-cyan: #06b6d4;
}

/* Page Wrapper */
.dl-page {
  position: relative;
  overflow-x: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 5rem;
}

/* Ambient Backdrops */
.dl-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1400px;
  height: 620px;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 15%, rgba(45, 212, 191, 0.15) 0%, transparent 48%),
    radial-gradient(circle at 75% 20%, rgba(56, 189, 248, 0.13) 0%, transparent 45%),
    radial-gradient(circle at 50% 60%, rgba(168, 85, 247, 0.08) 0%, transparent 55%);
  filter: blur(85px);
  z-index: 0;
}

.dl-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.75), transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.75), transparent 75%);
  z-index: 0;
}

.dl-container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ============================================================
   Header Section
   ============================================================ */
.dl-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

/* Pill Badge */
.dl-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.09);
  border: 1px solid rgba(45, 212, 191, 0.28);
  color: #5eead4;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.12);
  backdrop-filter: blur(8px);
}

.dl-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  position: relative;
}

.dl-pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #2dd4bf;
  animation: dl-pulse 1.8s infinite;
}

@keyframes dl-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.dl-header-title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.dl-gradient-text {
  background: linear-gradient(135deg, #5eead4 0%, #38bdf8 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.dl-header-lead {
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.85;
  max-width: 640px;
}

/* Spec Chips */
.dl-specs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.dl-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.dl-spec-chip svg {
  color: #2dd4bf;
}

/* ============================================================
   Main Download Cards Grid (Windows & macOS)
   ============================================================ */
.dl-platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 3.5rem;
}

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

.dl-platform-card {
  border-radius: 24px;
  background: var(--dl-card-bg);
  border: 1px solid var(--dl-card-border);
  box-shadow:
    0 24px 60px -15px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(18px);
  padding: clamp(1.6rem, 3.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 260ms ease;
}

.dl-platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2dd4bf, transparent);
  opacity: 0.7;
}

.dl-platform-card--mac::before {
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}

.dl-platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--dl-card-hover);
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.65),
    0 0 40px -10px rgba(45, 212, 191, 0.2);
}

.dl-platform-card--mac:hover {
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.65),
    0 0 40px -10px rgba(96, 165, 250, 0.2);
}

/* Card Header */
.dl-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.dl-os-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.dl-os-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #06b6d4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.2);
  flex-shrink: 0;
}

.dl-platform-card--mac .dl-os-icon-box {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
  color: #60a5fa;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.2);
}

.dl-os-title-wrap h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.dl-os-badge-chip {
  display: inline-block;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.dl-version-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

/* Card CTA Area */
.dl-card-cta-area {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.4rem;
}

.btn-download-primary {
  width: 100%;
  min-height: 38px;
  padding: 0.52rem 1.15rem;
  border-radius: 9px;
  background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 100%);
  color: #022c22 !important;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow:
    0 8px 20px -4px rgba(45, 212, 191, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: all 220ms ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.dl-platform-card--mac .btn-download-primary {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  color: #ffffff !important;
  box-shadow:
    0 10px 25px -4px rgba(96, 165, 250, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-download-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 600ms ease;
}

.btn-download-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-download-primary:hover::after {
  left: 140%;
}

.dl-file-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.77rem;
  color: #94a3b8;
  padding: 0 0.25rem;
}

.dl-filename-sub {
  font-family: var(--mono, monospace);
  color: #64748b;
  font-size: 0.74rem;
  direction: ltr;
}

/* Installation Steps in Card */
.dl-card-steps-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dl-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dl-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.dl-step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: #2dd4bf;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.dl-platform-card--mac .dl-step-circle {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
  color: #60a5fa;
}

.dl-steps-list code {
  font-family: var(--mono, monospace);
  font-size: 0.81rem;
  color: #5eead4;
  background: rgba(20, 184, 166, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.dl-platform-card--mac .dl-steps-list code {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

/* ============================================================
   Feature Highlights (What's new in v1.6.69)
   ============================================================ */
.dl-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dl-section-eyebrow {
  font-size: 0.84rem;
  font-weight: 700;
  color: #2dd4bf;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dl-section-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.dl-features-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

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

.dl-feature-card {
  padding: 1.6rem 1.4rem;
  border-radius: 20px;
  background: var(--dl-card-bg);
  border: 1px solid var(--dl-card-border);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 220ms ease;
}

.dl-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--dl-card-hover);
  background: rgba(20, 30, 48, 0.85);
}

.dl-feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: #2dd4bf;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-feat-title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  color: #ffffff;
}

.dl-feat-desc {
  margin: 0;
  font-size: 0.89rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* ============================================================
   Essential Graphics Guide Banner Card
   ============================================================ */
.dl-guide-banner {
  margin: 3.5rem 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(45, 212, 191, 0.14) 0%, transparent 45%),
    linear-gradient(135deg, rgba(20, 24, 38, 0.95) 0%, rgba(12, 16, 26, 0.98) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow:
    0 24px 60px -15px rgba(0, 0, 0, 0.5),
    0 0 35px -8px rgba(168, 85, 247, 0.18);
  padding: clamp(1.8rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 860px) {
  .dl-guide-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.dl-guide-banner::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c084fc, #2dd4bf, transparent);
}

.dl-guide-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

@media (max-width: 860px) {
  .dl-guide-body {
    align-items: center;
  }
}

.dl-guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #d8b4fe;
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
}

.dl-guide-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.dl-guide-desc {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.75;
}

.btn-guide-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  min-height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 6px 20px -4px rgba(168, 85, 247, 0.38);
  transition: all 200ms ease;
  width: fit-content;
}

.btn-guide-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ============================================================
   Free Tools & Uninstaller Cards
   ============================================================ */
.dl-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

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

.dl-tool-card {
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: var(--dl-card-bg);
  border: 1px solid var(--dl-card-border);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 220ms ease;
}

.dl-tool-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.dl-tool-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.dl-tool-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dl-tool-title-wrap h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
}

.dl-tool-desc {
  margin: 0;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.7;
}

.dl-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.btn-tool {
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 180ms ease;
}

.btn-tool-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.btn-tool-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   Compatibility Matrix / System Requirements
   ============================================================ */
.dl-matrix-card {
  border-radius: 22px;
  background: var(--dl-card-bg);
  border: 1px solid var(--dl-card-border);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  backdrop-filter: blur(16px);
  margin-bottom: 3.5rem;
}

.dl-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.dl-matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  text-align: right;
}

.dl-matrix-table th,
.dl-matrix-table td {
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.dl-matrix-table thead th {
  background: rgba(20, 30, 48, 0.9);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
}

.dl-matrix-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ============================================================
   FAQs Accordion
   ============================================================ */
.dl-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 840px;
  margin: 0 auto 3.5rem;
}

.dl-faq-item {
  border-radius: 16px;
  background: var(--dl-card-bg);
  border: 1px solid var(--dl-card-border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 200ms ease;
}

.dl-faq-item[open] {
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(20, 30, 48, 0.85);
}

.dl-faq-summary {
  padding: 1.15rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.dl-faq-summary::-webkit-details-marker {
  display: none;
}

.dl-faq-arrow {
  color: #94a3b8;
  transition: transform 220ms ease;
  flex-shrink: 0;
}

.dl-faq-item[open] .dl-faq-arrow {
  transform: rotate(180deg);
  color: #2dd4bf;
}

.dl-faq-content {
  padding: 0 1.4rem 1.25rem;
  color: #94a3b8;
  font-size: 0.93rem;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.85rem;
}

/* ============================================================
   Alternative Solutions Bar
   ============================================================ */
.dl-alt-banner {
  padding: 1.8rem 2rem;
  border-radius: 20px;
  background: rgba(20, 28, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.dl-alt-text h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  color: #ffffff;
}

.dl-alt-text p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.dl-alt-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
