/* NEXVENUS Desktop App Download Page — Extends /css/styles.css */

.download-hero {
  padding-bottom: 56px;
}

.download-hero-content {
  padding-block: 64px 56px;
}

.os-detected-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 40px;
  background: rgba(0, 191, 255, 0.14);
  border: 1px solid rgba(0, 191, 255, 0.35);
  color: #bceeff;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}

.os-detected-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-platform:hover {
  transform: translateY(-2px);
}

.btn-platform-primary {
  background: var(--accent);
  color: var(--green-deep);
  box-shadow: 0 10px 26px rgba(0, 191, 255, 0.28);
}

.btn-platform-primary:hover {
  background: #38cdff;
}

.btn-platform-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-platform-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-platform svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-platform-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-platform-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  font-size: 12px;
  color: #a8beb0;
}

.hero-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-strip .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* Desktop App Mockup Window */
.desktop-mockup {
  background: rgba(255, 255, 255, 0.12);
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(173, 199, 171, 0.45);
  box-shadow: 0 24px 70px rgba(2, 28, 35, 0.55), 0 -8px 32px rgba(0, 191, 255, 0.12);
  backdrop-filter: blur(12px);
}

.desktop-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 12px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.desktop-app-title {
  font-size: 11px;
  font-weight: 600;
  color: #d4e5d8;
  letter-spacing: 0.04em;
}

.desktop-badge-native {
  font-size: 10px;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Platform Cards Section */
.platforms-section {
  background: var(--soft);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.platform-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(18, 58, 45, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(18, 58, 45, 0.09);
}

.platform-card.is-recommended {
  border: 2px solid var(--accent);
  box-shadow: 0 18px 46px rgba(0, 191, 255, 0.14);
}

.recommended-ribbon {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--accent);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 30px;
  display: none;
}

.platform-card.is-recommended .recommended-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--green-deep);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.platform-icon-box svg {
  width: 30px;
  height: 30px;
}

.platform-header h3 {
  font-size: 26px;
  color: var(--green);
}

.platform-version {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.platform-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.platform-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 30px;
}

.platform-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.platform-download-btn {
  width: 100%;
  justify-content: center;
  padding: 15px 24px;
  font-size: 15px;
}

.platform-sub-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  padding-inline: 4px;
}

.platform-sub-links a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.platform-sub-links a:hover {
  color: #008bb8;
}

/* System Requirements & FAQ */
.specs-section {
  background: var(--paper);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.spec-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
}

.spec-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  margin-bottom: 18px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.spec-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-list span {
  color: var(--muted);
}

.spec-list strong {
  color: var(--ink);
  text-align: right;
}

/* Responsive */
@media (max-width: 900px) {
  .platform-grid,
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .platform-card {
    padding: 24px;
  }
  .spec-box {
    padding: 22px;
  }
  .btn-platform {
    width: 100%;
    justify-content: center;
  }
}
