@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');

.comfortaa {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

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

body {
  line-height: 1.6;
  color: #333;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  height: 100vh;
}

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

.hero .container {
  display: flex;
  justify-content: center;
  margin: auto;
  width: max-content;
  flex-direction: column;
  border-radius: 10px;
  background: black;
}

#platformSelect {
  color: black;
}

.hero .container * {
  margin-left: auto;
  margin-right: auto;
  width: auto;
  color: white;
}

/* Hero section */
.hero {
  padding: 40px 0;
  text-align: center;
  background-color: black;
  background-image: url(repviewer.png);
  background-size: cover;
}

.logo {
  margin-bottom: 24px;
}

.logo svg {
  color: #f97316;
}

.home-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.home-link:hover {
  opacity: 0.8;
}

h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.tagline {
  font-size: 20px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 32px;
}

.download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.download-btn {
  background-color: #f97316;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.download-btn:hover {
  background-color: #ea580c;
}

.version-select {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  background-color: white;
  min-width: 200px;
}

.version-info {
  font-size: 14px;
  color: #666;
}

.help-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.help-link:hover {
  color: #f97316;
  text-decoration: underline;
}

/* Features section */
.features {
  padding: 20px 0;
}

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

.feature-card {
  text-align: center;
  padding: 32px;
}

.feature-card svg {
  color: #f97316;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.feature-card p {
  color: #666;
}

/* Screenshot section */
.screenshot {
  padding: 80px 0;
}

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

/* Help page styles */
.help-hero {
  padding: 40px 0;
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.help-content {
  padding: 60px 0;
}

.installation-steps {
  max-width: 800px;
  margin: 0 auto 60px;
}

.installation-steps h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #f97316;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.troubleshooting {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.troubleshooting h2 {
  font-size: 32px;
  margin-bottom: 32px;
  text-align: center;
}

.faq-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.faq-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.faq-item p {
  color: #666;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: white;
  padding: 48px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

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

.brand svg {
  color: #f97316;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating svg {
  color: #f97316;
}

.back-home {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.back-home:hover {
  color: #f97316;
}

.bg.image {
  position: fixed;
  top:0px;
  left:0px;
  object-fit: cover;
  height: 525px;
  z-index: -1;
  opacity: 0.5;
  width: calc(100vw + 20px);
}

/* Responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  .tagline {
    font-size: 18px;
  }

  .footer-content {
    justify-content: center;
    text-align: center;
  }

  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .troubleshooting {
    padding: 24px;
  }
}