/* Download Page Specific Stylesheet */

.download-layout-wrapper {
  width: 96%;
  max-width: 1650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 10px;
}

/* Title Section */
.download-title-section {
  text-align: center;
  margin-bottom: 5px;
}

.download-main-title {
  font-family: "Cinzel", serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: 6px;
  margin: 0;
  background: linear-gradient(to bottom, #ffffff 20%, #ebdcb0 60%, #bca76e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(221, 217, 176, 0.2);
}

.download-subtitle {
  font-family: "Cinzel", serif;
  font-size: clamp(9px, 1.2vw, 12px);
  letter-spacing: 4px;
  color: rgba(221, 217, 176, 0.85);
  margin: 6px 0 10px;
  text-transform: uppercase;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 480px;
  margin: 0 auto;
}

.ornament-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, rgba(221, 217, 176, 0.4), transparent);
}

.ornament-gem-svg {
  filter: drop-shadow(0 0 5px rgba(127, 255, 212, 0.5));
}

/* Box 1: Client Download & Requirements Panel */
.download-main-panel {
  background: rgba(10, 22, 14, 0.72);
  border: 1px solid rgba(221, 217, 176, 0.22);
  border-radius: 4px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.95), 0 15px 35px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr auto 1.1fr;
  padding: 40px;
  align-items: center;
  position: relative;
}

.download-main-panel::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(221, 217, 176, 0.06);
  pointer-events: none;
  border-radius: 3px;
}

/* Left: Client Download Col */
.client-download-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.ornate-crest-container {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(127, 255, 212, 0.12));
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ornate-crest-container:hover {
  transform: scale(1.05) translateY(-2px);
}

.client-crest-svg {
  width: 100%;
  height: 100%;
}

.panel-section-title {
  font-family: "Cinzel", serif;
  font-size: 19px;
  letter-spacing: 2px;
  color: var(--text-light);
  margin: 0 0 10px;
  font-weight: 600;
}

.panel-section-desc {
  font-size: 13px;
  color: rgba(243, 241, 228, 0.72);
  line-height: 1.6;
  margin: 0 0 25px;
}

.btn-download-client {
  background: url("assets/shapes/main-button.png") center/100% 100% no-repeat;
  border: none;
  color: var(--gold);
  padding: 13px 32px 15px;
  font-family: "Cinzel", serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  min-width: 220px;
  height: 52px;
  filter: brightness(1.0) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

.btn-download-client:hover {
  background: url("assets/shapes/main-button.png") center/100% 100% no-repeat;
  filter: brightness(1.18) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 6px var(--gold-glow));
  color: #fff;
  transform: translateY(-2px);
}

.btn-dl-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-download-client:hover .btn-dl-icon {
  transform: translateY(2px);
}

.download-meta-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  font-size: 11px;
  color: rgba(221, 217, 176, 0.65);
  font-family: "Cinzel", serif;
}

.meta-sep {
  opacity: 0.3;
}

/* Panel Divider */
.panel-divider-vertical {
  width: 1px;
  height: 80%;
  align-self: center;
  background: linear-gradient(to bottom, transparent, rgba(221, 217, 176, 0.15), transparent);
}

/* Right: Requirements Col */
.requirements-col {
  padding: 0 20px 0 35px;
}

.panel-section-title-req {
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gold);
  margin: 0 0 20px;
  text-align: center;
  font-weight: 600;
}

.requirements-table-container {
  width: 100%;
}

.requirements-table {
  width: 100%;
  border-collapse: collapse;
}

.requirements-table tr {
  border-bottom: 1px solid rgba(221, 217, 176, 0.08);
}

.requirements-table tr:last-child {
  border-bottom: none;
}

.requirements-table td {
  padding: 10px 0;
  vertical-align: middle;
}

.req-label {
  font-family: "Cinzel", serif;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 130px;
  text-transform: uppercase;
}

.req-icon-svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  opacity: 0.72;
}

.req-value {
  font-size: 13px;
  color: rgba(243, 241, 228, 0.85);
}

/* Box 2: How to Install & Important Notes Card Panel */
.download-secondary-grid {
  display: grid;
  grid-template-columns: 1.85fr 1.15fr;
  gap: 30px;
}

.install-card-panel,
.notes-card-panel {
  background: rgba(10, 22, 14, 0.72);
  border: 1px solid rgba(221, 217, 176, 0.18);
  border-radius: 4px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9), 0 10px 25px rgba(0, 0, 0, 0.5);
  padding: 30px;
  position: relative;
}

.install-card-panel::before,
.notes-card-panel::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(221, 217, 176, 0.05);
  pointer-events: none;
  border-radius: 3px;
}

.card-panel-header {
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--gold);
  margin: 0 0 25px;
  font-weight: 600;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  text-transform: uppercase;
}

/* Install Steps */
.install-steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-num-wrap {
  position: absolute;
  top: -6px;
  right: 18%;
  background: #070e09;
  border: 1px solid var(--gold);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.step-num {
  font-family: "Cinzel", serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--gold);
}

.step-icon-wrap {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.step-item:hover .step-icon-wrap {
  transform: translateY(-4px);
}

.step-icon-svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.step-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(221, 217, 176, 0.3));
  transition: all 0.3s ease;
}

.step-item:hover .step-icon-img {
  filter: drop-shadow(0 0 12px var(--gold-glow));
}

.step-title {
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-light);
  margin: 0 0 6px;
  font-weight: 600;
}

.step-desc {
  font-size: 11px;
  color: rgba(243, 241, 228, 0.6);
  line-height: 1.5;
  margin: 0;
}

.step-arrow {
  align-self: center;
  padding-bottom: 36px;
  opacity: 0.38;
}

/* Important Notes */
.notes-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.note-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.note-icon-wrap {
  background: rgba(221, 217, 176, 0.04);
  border: 1px solid rgba(221, 217, 176, 0.18);
  width: 30px;
  height: 30px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.note-icon-svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.note-text {
  font-size: 12px;
  color: rgba(243, 241, 228, 0.78);
  line-height: 1.55;
  margin: 0;
  padding-top: 2px;
}

/* Bottom Help Banner */
.download-help-banner {
  background: rgba(10, 22, 14, 0.65);
  border: 1px solid rgba(221, 217, 176, 0.15);
  border-radius: 4px;
  padding: 16px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.help-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.help-badge-svg {
  color: var(--gold);
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.help-title {
  font-family: "Cinzel", serif;
  font-size: 12.5px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
}

.help-desc {
  font-size: 12.5px;
  color: rgba(243, 241, 228, 0.72);
}

.help-banner-right {
  display: flex;
  gap: 12px;
}

.btn-help-action {
  background: rgba(221, 217, 176, 0.03);
  border: 1px solid rgba(221, 217, 176, 0.22);
  color: var(--gold);
  padding: 9px 20px 10px;
  font-family: "Cinzel", serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-help-action:hover {
  background: rgba(221, 217, 176, 0.1);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(221, 217, 176, 0.08);
  color: #ffffff;
}

/* Responsiveness breakpoints */
@media (max-width: 1024px) {
  .download-secondary-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .download-main-panel {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 25px;
  }
  
  .panel-divider-vertical {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(221, 217, 176, 0.15), transparent);
  }
  
  .requirements-col {
    padding: 0;
  }
  
  .install-steps-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .step-arrow {
    transform: rotate(90deg);
    align-self: center;
    padding-bottom: 0;
    margin: 5px 0;
  }
  
  .step-num-wrap {
    right: auto;
    left: 54%;
    top: -4px;
  }
  
  .download-help-banner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px;
  }
  
  .help-banner-left {
    flex-direction: column;
    gap: 6px;
  }
}

/* Karus theme overrides for download page button */
body.karus-theme .btn-download-client {
  background: url("assets/Shapes/button-karus.png") center/100% 100% no-repeat !important;
  color: #b0bec5 !important;
}

body.karus-theme .btn-download-client:hover {
  background: url("assets/Shapes/button-karus.png") center/100% 100% no-repeat !important;
  filter: brightness(1.18) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 6px rgba(176, 190, 197, 0.5)) !important;
  color: #fff !important;
}
