:root {
  --primary-color: #6366f1;
  --secondary-color: #818cf8;
  --background: #ffffff;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --card-background: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] {
  --background: #0f172a;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --card-background: rgba(30, 41, 59, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
}

/* Header & Navigation */
header {
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 32px;
  /* Adjust size as needed */
  height: 32px;
  object-fit: contain;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.theme-toggle:hover {
  background: var(--hover);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* Should match the height of your nav */
}

/* Sections */
section {
  margin: 6rem 0;
  scroll-margin-top: 5rem;
}

/* Hero Section */
.hero {
  height: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  flex: 0 0 50%;
  padding: 2rem;
  z-index: 2;
  position: relative;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: calc(100% + 100px);
  height: calc(100% + 100px);
  background: linear-gradient(to right,
      var(--background) 0%,
      var(--background) 60%,
      transparent 100%);
  z-index: -1;
}

.hero-background {
  flex: 0 0 90%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: -40%;
  padding-right: 40%;
}

.hero-background img {
  max-width: 200%;
  max-height: 200%;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.hero-background img[src*="screenshot.png"] {
  display: none;
}

.hero-background img[src*="screenshot-light.png"] {
  display: block;
}

/* Dark mode */
[data-theme="dark"] .hero-background img[src*="screenshot.png"] {
  display: block;
}

[data-theme="dark"] .hero-background img[src*="screenshot-light.png"] {
  display: none;
}

.gradient-text {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-image {
  width: 100%;
}

.floating-screenshot {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: float 6s ease-in-out infinite;
}

/* Responsive design */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .hero-content {
    flex: 0 0 100%;
    width: 100%;
    padding: 3rem 2rem;
    text-align: center;
  }

  .hero-background {
    flex: 0 0 100%;
    margin-right: 0;
    padding-right: 0;
  }

  .hero-background img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
  }

  .hero-content::before {
    display: none;
    /* Remove the gradient since content and image are now stacked */
  }

  .hero-cta {
    justify-content: center;
  }

  .tech-stack {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .gradient-text {
    font-size: 2.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }
}

.logo {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;

  /* Centered only on tablets and smaller screens */
  @media (min-width: 1024px) {
    justify-content: flex-start;
    /* Align to the start on larger screens */
  }

  margin-top: 1rem;
}

.badge {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.2s;
  border: 1px solid var(--border);
}

.feature:hover {
  transform: translateY(-4px);
}

/* Download Section */
.download-options {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.download-button {
  background: var(--primary-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s;
  min-width: 250px;
}

.download-button .button-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.download-button .primary {
  font-weight: 600;
  font-size: 1rem;
}

.download-button .secondary {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* New styles for nested links */
.download-button .secondary a {
  color: inherit;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
  display: inline-block;
}

.download-button .secondary a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.download-button .icon {
  font-size: 1.5rem;
}

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

.button-text .primary {
  font-weight: 600;
}

.button-text .secondary {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Primary button style (can be used for other buttons too) */
.primary-button {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.primary-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Secondary button style */
.secondary-button {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.secondary-button:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .download-options {
    flex-direction: column;
    align-items: stretch;
  }

  .download-button {
    justify-content: center;
  }
}

/* Installation Steps */
.install-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background: var(--card-background);
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

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

.step-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  background: var(--primary-color);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.step p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Dark mode adjustments */
[data-theme="dark"] .step {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(30, 41, 59, 0.8);
}

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

/* Keyboard Shortcuts */
.shortcuts {
  background: var(--card);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  border: 1px solid var(--border);
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border-radius: 6px;
}

.shortcut:hover {
  background: var(--hover);
}

.key {
  background: var(--code-bg);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.875rem;
}

/* FAQ Section */
.faq {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-background);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* Adjust based on content */
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-answer ul {
  margin-top: 0.5rem;
  margin-left: 1.5rem;
  color: var(--text-secondary);
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

/* Dark mode adjustments */
[data-theme="dark"] .faq-item {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(30, 41, 59, 0.8);
}

@media (max-width: 768px) {
  .faq {
    margin: 3rem auto;
  }

  .faq-question {
    padding: 1.25rem;
    font-size: 1rem;
  }
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 6rem;
  padding-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.8;
}

.footer-section a:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .download-options {
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature,
.step,
.download-button {
  animation: fadeIn 0.5s ease-out;
}

.screenshot {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.screenshot-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.glass-nav {
  backdrop-filter: blur(12px);
  background: var(--card-background);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
  box-sizing: border-box;
  box-shadow: none;
}

[data-theme="dark"] .glass-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tech-badge {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 500;
  margin-right: 0.5rem;
}

.feature-card {
  background: var(--card-background);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Features Section */
.features {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--card-background);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Dark mode adjustments */
[data-theme="dark"] .feature-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(30, 41, 59, 0.8);
}

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

  .section-title {
    font-size: 2rem;
  }
}

/* Footer Styles */
.footer {
  background: var(--card-background);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: none;
}

[data-theme="dark"] .footer {
  background: rgba(30, 41, 59, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-links,
.tech-stack-list {
  list-style: none;
  padding: 0;
}

.footer-links li,
.tech-stack-list li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.tech-stack-list a {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.tech-stack-list a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.heart {
  color: #ff4b4b;
  display: inline-block;
  animation: heartbeat 1.5s ease infinite;
}

.coffee {
  display: inline-block;
  animation: wiggle 1s ease infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes wiggle {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer {
    padding: 3rem 1.5rem 1.5rem;
  }
}

/* Dark mode adjustments */
[data-theme="dark"] .footer {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Common card styles */
.feature-card,
.step,
.faq-item {
  background: var(--card-background);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  box-shadow: none;
}

/* Dark mode specific adjustments */
[data-theme="dark"] .feature-card,
[data-theme="dark"] .step,
[data-theme="dark"] .faq-item {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

/* Hover states */
.feature-card:hover,
.step:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.faq-item.active {
  border-color: var(--primary-color);
}

/* Optional: Add subtle hover effect to nav links */
.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Add this to your CSS */
.ph-badge {
  display: inline-block;
  transition: transform 0.2s ease;
}

.ph-badge:hover {
  transform: translateY(-2px);
}

/* If you want to adjust for dark mode */
[data-theme="dark"] .ph-badge img {
  filter: invert(1);
  /* Optional: if you want to invert colors in dark mode */
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #ff6154;
  /* Product Hunt color */
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.coming-soon-badge:hover {
  transform: translateY(-2px);
}

.trust-badge {
  margin-top: 1.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.verified-icon {
  color: #34C759;
  font-weight: bold;
}

.verified-text {
  color: var(--text-color);
}

.learn-more {
  color: var(--primary-color);
  text-decoration: none;
  margin-left: 0.5rem;
}

.learn-more:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    height: 500px;
  }

  .hero-content,
  .hero-background {
    flex: 0 0 100%;
  }
}

.download-button.windows {
  background: #00a4ef;
}

.download-button.windows:hover {
  background: #0090d5;
}

.download-button.linux {
  background: #E95420;
}

.download-button.linux:hover {
  background: #C7431B;
}

.download-options-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.download-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.download-option .format {
  color: rgba(255, 255, 255, 0.8);
  min-width: 65px;
}

.download-option .separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

.download-option a {
  color: inherit;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
}

.download-option a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.download-button.linux .secondary {
  line-height: 1.6;
  font-size: 0.85rem;
}

.download-button.linux .secondary a {
  color: inherit;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

.download-button.linux .secondary a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.download-button.linux .secondary .separator {
  opacity: 0.7;
  margin: 0 2px;
}

.downloads {
  padding: 2rem 0;
}

.download-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.download-container h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.download-subtitle {
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.download-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-title {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: 0.5rem;
}

.platform-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.download-button {
  background: var(--primary-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s;
  border: 1px solid transparent;
  min-width: 250px;
}

.download-button:hover {
  transform: translateY(-2px);
  background: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.download-button .icon {
  font-size: 1.5rem;
}

.button-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.button-text .primary {
  font-weight: 600;
  font-size: 1rem;
}

.button-text .secondary {
  font-size: 0.85rem;
  opacity: 0.9;
}

.linux-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.format-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.format-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: left;
}

.format-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.format-buttons .download-button {
  min-width: 150px;
}

/* Dark mode adjustments */
[data-theme="dark"] .download-button {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .download-button:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.version-info {
  text-align: center;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

#current-version {
  font-weight: 600;
  color: var(--primary-color);
}

/* Download Section Responsive Styles */
@media (max-width: 768px) {
  .download-options {
    flex-direction: column;
    gap: 2rem;
  }

  .download-group {
    width: 100%;
  }

  .platform-options {
    flex-direction: column;
  }

  .download-button {
    width: 100%;
    margin: 0.5rem 0;
  }

  .linux-downloads {
    width: 100%;
    margin-top: 1rem;
  }

  .linux-downloads h4 {
    margin-bottom: 0.5rem;
  }

  /* Adjust text size for better readability on mobile */
  .button-text .primary {
    font-size: 0.9rem;
  }

  .button-text .secondary {
    font-size: 0.8rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .download-container {
    padding: 1rem;
  }

  .download-stats {
    font-size: 0.9rem;
  }

  .platform-title {
    font-size: 1.2rem;
  }
}

.download-stats {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 6px;
  margin: 1rem 0;
  font-size: 0.9rem;
}

#download-count {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Adjust the existing download-subtitle margin */
.download-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  margin-top: 0.5rem;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background: var(--background);
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-grid {
  column-count: 3;
  column-gap: 2rem;
  margin-top: 3rem;
  padding: 0 2rem;
}

/* Ensure Twitter embeds stack properly */
.twitter-tweet {
  margin: 0 0 2rem 0 !important;
  width: 100% !important;
  break-inside: avoid;
  display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .testimonial-grid {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .testimonial-grid {
    column-count: 1;
  }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }

  .menu-button {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
  }

  .nav-links {
    position: fixed;
    top: calc(60px + 1rem);
    left: 0;
    right: 0;
    background: var(--card-background);
    padding: 1.5rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(12px);
    visibility: hidden;
    opacity: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
}

/* Hide menu button on larger screens */
@media (min-width: 769px) {
  .menu-button {
    display: none;
  }
}