/* Napture Dark Slate & Navy Landing Page Styles */
:root {
  --bg-darkest: #0a0b10;
  --bg-dark: #12131a;
  --bg-card: rgba(18, 19, 26, 0.6);
  --bg-hover: rgba(42, 43, 54, 0.6);
  --accent: #7f8cff;
  --accent-glow: rgba(127, 140, 255, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #a9b1d6;
  --text-muted: #565f89;
  --border-overlay: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(22, 23, 32, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Inter', sans-serif;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Header */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 11, 16, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-overlay);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.brand-author {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.github-link {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--border-overlay);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-overlay);
}

.github-link:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
}

/* Hero Section */
#hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin-bottom: 50px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
  color: var(--text-primary);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* Downloads Container */
.download-container {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  width: 100%;
  max-width: 960px;
}

.download-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.download-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: left;
}

.download-card:hover {
  transform: none;
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.download-card.active-card {
  border-color: var(--accent);
  background: rgba(22, 24, 38, 0.85);
}

.download-card.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header svg {
  color: var(--accent);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  flex: 1;
}

.version-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(127, 140, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(127, 140, 255, 0.25);
}

.card-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.control-group label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.styled-select {
  background: rgba(10, 11, 16, 0.75);
  color: var(--text-primary);
  border: 1px solid var(--border-overlay);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a9b1d6' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.styled-select:hover {
  border-color: var(--text-muted);
  background-color: rgba(18, 19, 26, 0.9);
}

.styled-select:focus {
  border-color: var(--accent);
}

.styled-select option {
  background: #12131a;
  color: #ffffff;
  padding: 8px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-sans);
  text-align: center;
  transition: none;
  width: 100%;
  margin-top: 4px;
}

.btn-main {
  font-weight: 600;
  font-size: 0.9rem;
}

button,
.download-btn,
.btn-primary,
.btn-secondary,
.wizard-edit-btn,
.option-btn {
  background-image: none !important;
  box-shadow: none !important;
  transition: none !important;
}

button:hover,
.download-btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.wizard-edit-btn:hover,
.option-btn:hover,
button:focus-visible,
.download-btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.wizard-edit-btn:focus-visible,
.option-btn:focus-visible {
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Button Variants */
.btn-primary {
  background: var(--accent);
  color: #0c0d13;
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-primary:active {
  background: var(--accent);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-overlay);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-overlay);
}

.btn-secondary:active {
}

.download-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 3D Mockup Styling */
.hero-mockup-wrapper {
  perspective: 1200px;
  width: 100%;
  max-width: 960px;
  margin-top: 20px;
  position: relative;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-mockup {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: #0f1016;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  /* Initial angle tilt similar to the Arc layout but at a premium 3D skew */
  transform: rotateX(14deg) rotateY(-8deg) rotateZ(3deg) translateY(30px);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-header-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  z-index: 5;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  transform: translate3d(-30%, 0, 0);
  pointer-events: none;
}

.mockup-shadow-glow {
  position: absolute;
  top: 15%;
  left: 5%;
  right: 5%;
  bottom: 0px;
  background: var(--accent);
  filter: blur(100px);
  opacity: 0.12;
  border-radius: 16px;
  z-index: -1;
  pointer-events: none;
  transform: translate3d(0, 30px, -50px);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: rotateX(14deg) rotateY(-8deg) rotateZ(3deg) translateY(30px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  }
  100% {
    transform: rotateX(11deg) rotateY(-5deg) rotateZ(2deg) translateY(10px);
    box-shadow: 0 45px 100px rgba(0, 0, 0, 0.6);
  }
}

/* Features Section */
#features {
  padding: 100px 0;
  background: rgba(10, 11, 16, 0.4);
  border-top: 1px solid var(--border-overlay);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-overlay);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--accent);
}

.feature-card.reverse {
  flex-direction: row-reverse;
}

.feature-media {
  flex: 1.1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-overlay);
  background: #0d0e14;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 280px;
}

.feature-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-img-cropped {
  max-width: 240px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-content {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(127, 140, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(127, 140, 255, 0.2);
}

.feature-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer */
#site-footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-overlay);
  padding: 40px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  height: 24px;
  width: auto;
  border-radius: 4px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-right {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-subtitle {
    font-size: 1.5rem;
  }
  .feature-card, .feature-card.reverse {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }
  .feature-media {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
  }
  .download-btn {
    min-width: 100%;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}


/* Napture Wizard Layout Styles */
.wizard-container {
  display: flex;
  flex-direction: column;
  background: rgba(23, 23, 32, 0.75); /* Napture Surface/Container #171720 */
  border: 1px solid rgba(255, 255, 255, 0.08); /* Napture Border */
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  margin: 0 auto 24px auto;
  text-align: left;
}

.wizard-step {
  display: flex;
  position: relative;
  gap: 24px;
}

.wizard-step.hidden {
  display: none !important;
}

.wizard-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 32px;
}

.wizard-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  background: #0f0f14; /* Napture Background */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  z-index: 2;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.wizard-line {
  position: absolute;
  top: 32px;
  bottom: -24px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.wizard-step.completed .wizard-line,
.wizard-step.active .wizard-line {
  background: #4C4DDC; /* Napture Accent */
}

.wizard-step:last-child .wizard-line {
  display: none;
}

.wizard-content {
  flex: 1;
  padding-bottom: 32px;
}

.wizard-step:last-child .wizard-content {
  padding-bottom: 0;
}

.wizard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.step-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.wizard-step.active .step-label {
  color: #4C4DDC; /* Napture Accent */
}

.wizard-step.completed .step-label {
  color: var(--text-secondary);
}

.wizard-selected-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.wizard-step.active .wizard-selected-val {
  display: none;
}

.wizard-edit-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  display: none;
  align-items: center;
}

.wizard-edit-btn:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.wizard-step.completed .wizard-edit-btn {
  display: flex;
}

.step-check-icon {
  display: none;
  color: var(--text-primary);
}

.wizard-step.completed .step-num {
  display: none;
}

.wizard-step.completed .step-check-icon {
  display: block;
}

.wizard-step.completed .wizard-dot {
  background: #4C4DDC; /* Napture Accent */
  border-color: #4C4DDC;
}

.wizard-step.active .wizard-dot {
  border-color: #4C4DDC;
  color: #4C4DDC;
}

.wizard-options-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.wizard-step.active .wizard-options-grid {
  display: grid;
}

.option-btn {
  background: rgba(10, 11, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.option-btn:hover {
  background: rgba(10, 11, 16, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.option-btn.selected {
  background: rgba(76, 77, 220, 0.15);
  border-color: #4C4DDC;
}

.option-icon {
  color: #4C4DDC;
}

.download-step-controls {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.wizard-step.active .download-step-controls {
  display: flex;
}

.format-selection-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 320px;
}

.format-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .wizard-container {
    padding: 24px;
  }
  .wizard-step {
    gap: 16px;
  }
  .wizard-selected-val {
    font-size: 1.5rem;
  }
  .wizard-options-grid {
    grid-template-columns: 1fr;
  }
}


/* Download Button Adjustments */
.download-btn {
  flex-direction: column !important;
  gap: 2px;
}
.btn-sub {
  font-size: 0.75rem !important;
  opacity: 0.85;
  font-weight: 500;
}

/* Package Format Switcher */
.format-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.format-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-overlay);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.format-btn:hover {
  background: rgba(127, 140, 255, 0.15);
  border-color: var(--accent);
  color: var(--text-primary);
}

.format-btn.active {
  background: var(--accent);
  color: #0c0d13;
  border-color: var(--accent);
  font-weight: 600;
}

/* Other Versions Styling */
.other-versions-wrapper {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  max-width: 640px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.other-versions-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.other-versions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.other-version-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.2s ease !important;
}

.other-version-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.version-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.version-platform {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.version-arch {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.version-num-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.version-num {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(127, 140, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(127, 140, 255, 0.15);
}

.checksum-link-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.checksum-link,
.checksum-btn-link {
  background: transparent !important;
  border: none !important;
  color: #58a6ff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
  font-size: 0.82rem !important;
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  padding: 1px 2px !important;
  transition: color 0.15s ease, text-decoration-color 0.15s ease !important;
  display: inline-flex;
  align-items: center;
}

.checksum-link:hover,
.checksum-btn-link:hover {
  color: #79c0ff !important;
  text-decoration: underline !important;
}

.checksum-link.copied,
.checksum-btn-link.copied {
  color: #3fb950 !important;
  text-decoration: none !important;
}

.checksum-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.97);
  background: linear-gradient(135deg, rgba(26, 27, 38, 0.94), rgba(18, 19, 26, 0.96));
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.18s;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  transform-origin: bottom center;
}

.checksum-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(18, 19, 26, 0.96) transparent transparent transparent;
}

.checksum-link-wrapper:hover .checksum-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.checksum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 2px 4px;
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #c0caf5;
  letter-spacing: 0.2px;
}

.checksum-hint {
  color: #565f89;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: none;
}

.checksum-tooltip .menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 2px;
}

.checksum-hash {
  color: #a9b1d6;
  font-family: 'JetBrains Mono', 'Fira Code', monospace, sans-serif;
  user-select: all;
  letter-spacing: 0.3px;
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.versions-section-header {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.versions-section-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.version-format {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.other-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--border-overlay) !important;
  color: var(--text-primary) !important;
  border-radius: 6px;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.other-download-btn:hover {
  background: var(--accent) !important;
  color: #0c0d13 !important;
  border-color: var(--accent) !important;
}

@media (max-width: 600px) {
  .other-version-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .other-download-btn {
    width: 100%;
  }
  .version-info {
    gap: 8px;
  }
}

.other-versions-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-top: 16px;
  transition: color 0.2s ease !important;
}

.other-versions-link:hover {
  color: var(--accent) !important;
  text-decoration: underline !important;
}



/* Markdown Styles */
@keyframes subtleFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.markdown-body {
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  animation: subtleFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
  font-family: var(--font-display);
  margin-top: 32px;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.25;
}
.markdown-body h1 { font-size: 2em; border-bottom: 1px solid var(--border-overlay); padding-bottom: 0.3em; }
.markdown-body h2 { font-size: 1.5em; border-bottom: 1px solid var(--border-overlay); padding-bottom: 0.3em; }
.markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre, .markdown-body details {
  margin-top: 0;
  margin-bottom: 20px;
}
.markdown-body a { color: var(--accent); text-decoration: none; }
.markdown-body a:hover { text-decoration: underline; }
.markdown-body code {
  background-color: var(--bg-card);
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 85%;
  border-radius: 6px;
}
.markdown-body pre {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-overlay);
  padding: 16px;
  overflow: auto;
  border-radius: 8px;
}
.markdown-body pre code {
  background-color: transparent;
  padding: 0;
}
.markdown-body blockquote {
  padding: 0 1.2em;
  color: var(--text-muted);
  border-left: 0.25em solid var(--border-overlay);
  margin-bottom: 20px;
}

/* Subtle Back Link Hover Animation */
.back-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
.back-link:hover {
  transform: translateX(-4px);
  color: #a3b8ff !important;
  text-decoration: none !important;
}

/* GitHub-Style Alert Styles */
.markdown-alert {
  padding: 16px 20px;
  margin-bottom: 24px;
  border-left: 4px solid;
  border-radius: 0 8px 8px 0;
  background: var(--bg-card);
}
.markdown-alert-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  text-transform: capitalize;
}
.markdown-alert-title svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.markdown-alert-content {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}
.markdown-alert-content p:last-child {
  margin-bottom: 0;
}

/* Note Alert */
.markdown-alert.markdown-alert-note {
  border-color: #0969da;
  background: rgba(9, 105, 218, 0.04);
}
.markdown-alert.markdown-alert-note .markdown-alert-title {
  color: #2f81f7;
}

/* Tip Alert */
.markdown-alert.markdown-alert-tip {
  border-color: #1a7f37;
  background: rgba(26, 127, 55, 0.04);
}
.markdown-alert.markdown-alert-tip .markdown-alert-title {
  color: #3fb950;
}

/* Important Alert */
.markdown-alert.markdown-alert-important {
  border-color: #8250df;
  background: rgba(130, 80, 223, 0.04);
}
.markdown-alert.markdown-alert-important .markdown-alert-title {
  color: #a371f7;
}

/* Warning Alert */
.markdown-alert.markdown-alert-warning {
  border-color: #9e6a03;
  background: rgba(158, 106, 3, 0.04);
}
.markdown-alert.markdown-alert-warning .markdown-alert-title {
  color: #d29922;
}

/* Caution Alert */
.markdown-alert.markdown-alert-caution {
  border-color: #cf222e;
  background: rgba(207, 34, 46, 0.04);
}
.markdown-alert.markdown-alert-caution .markdown-alert-title {
  color: #f85149;
}

/* Releases Page */
.releases-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.release-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-overlay);
  border-radius: 12px;
  padding: 22px;
}

.release-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.release-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

.release-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.release-title a:hover {
  color: var(--accent);
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.release-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(127, 140, 255, 0.1);
  border: 1px solid rgba(127, 140, 255, 0.15);
  color: var(--accent);
}

.release-date,
.release-size {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.release-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(210, 153, 34, 0.12);
  border: 1px solid rgba(210, 153, 34, 0.3);
  color: #d29922;
}

.release-notes {
  margin-top: 16px;
  font-size: 0.92rem;
}

.release-notes.markdown-body h1 {
  font-size: 1.4rem;
}

.release-notes.markdown-body h2 {
  font-size: 1.15rem;
}

.release-notes.markdown-body h3 {
  font-size: 1rem;
}

.release-notes.markdown-body > :first-child {
  margin-top: 0;
}

.release-assets {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.release-asset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.release-asset .version-info {
  gap: 10px;
}

.version-size {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* Landing page: alternative Linux package formats (.deb / .rpm / .AppImage) */
.download-formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}

.download-formats[hidden] {
  display: none;
}

.download-format-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 150px;
  padding: 8px 14px;
  border: 1px solid var(--border-overlay);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.download-format-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.download-format-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.download-format-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .download-format-btn {
    width: 100%;
    align-items: center;
  }
}
