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

html {
    background: #0a0e1a;
}

body {
    font-family: "Barlow", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1420 50%, #0a0e1a 100%);
    color: #e8eaed;
    line-height: 1.6;
    overflow-x: hidden;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.logo-container {
    width: 100%;
    height: 300px; /* Desktop height */
    background-image: url('/images/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 30px;
}

/* Tablet */
@media (max-width: 1024px) {
    .logo-container {
        height: 250px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .logo-container {
        height: 180px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .logo-container {
        height: 120px;
    }
}

.logo {
    width: 400px;
    height: 400px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    box-shadow: 0 20px 60px rgba(96, 165, 250, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

h1 {
    font-size: 36px;
    font-weight: normal;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.tagline {
    font-size: 24px;
    color: #9aa0a6;
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    color: rgba(15, 20, 35, 0.95);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.4);
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.btn-secondary {
    background: rgba(15, 20, 35, 0.85);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.35);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(20, 28, 45, 0.95);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-2px);
}

.download-icon {
    font-size: 20px;
}

/* Font Awesome Icons Support */
.fa-download,
.fa-github,
.fa-arrow-right,
.fa-check-circle {
    display: inline-block;
}

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

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #ffffff;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-card-horizontal {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 40px;
  background: rgba(15, 20, 35, 0.7);
  border: 1px solid rgba(100, 120, 150, 0.25);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  align-items: start;
}

.feature-card-horizontal.reverse {
  grid-template-columns: 1fr 600px;
}

.feature-card-horizontal.reverse .feature-screenshot {
  order: 2;
}

.feature-card-horizontal.reverse .feature-content {
  order: 1;
}

.feature-card-horizontal:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 10px 40px rgba(96, 165, 250, 0.15);
}

.feature-screenshot {
  width: 600px;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1420, #12161f);
  border: 2px solid rgba(100, 120, 150, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.feature-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Screenshot Overlay */
.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.screenshot-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.play-button {
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.play-button svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}


/* GIF Overlay */
.gif-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
}

.gif-overlay.active {
  opacity: 1;
  visibility: visible;
}

.gif-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gif-container img,
.gif-container video {
  max-width: 95%;
  max-height: 95%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.close-gif-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
  z-index: 3;
}

.close-gif-btn:hover {
  transform: scale(1.1);
}

.close-gif-btn svg {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* Prevent hover effect on screenshot when GIF is showing */
.gif-overlay.active ~ img {
  transform: none !important;
}


/* Placeholder styling for missing images */
.feature-screenshot:empty::after {
  content: 'ðŸ“¸';
  font-size: 80px;
  opacity: 0.3;
}

/* Placeholder styling for missing images */
.feature-screenshot:empty::after {
  content: 'ðŸ“¸';
  font-size: 80px;
  opacity: 0.3;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
  color: rgba(15, 20, 35, 0.85);
}

.feature-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.feature-description {
  font-size: 16px;
  color: #c9cdd1;
  line-height: 1.8;
  margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .feature-card-horizontal,
  .feature-card-horizontal.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-screenshot {
    width: 100%;
    max-width: 600px;
    height: 600px;
    margin: 0 auto;
  }

  .feature-card-horizontal.reverse .feature-screenshot,
  .feature-card-horizontal.reverse .feature-content {
    order: initial;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .features {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .feature-card-horizontal {
    padding: 30px 20px;
  }

  .feature-screenshot {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .feature-title {
    font-size: 24px;
  }

  .feature-description {
    font-size: 15px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .feature-screenshot {
    height: 250px;
  }

  .feature-title {
    font-size: 20px;
  }
}

.screenshot-section {
    background: rgba(8, 12, 20, 0.5);
    padding: 80px 20px;
    margin: 60px 0;
    display: none;
}

.screenshot-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(15, 20, 35, 0.85);
    border: 2px solid rgba(100, 120, 150, 0.25);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.screenshot-placeholder {
    background: linear-gradient(135deg, #0f1420, #12161f);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(100, 120, 150, 0.15);
}

.screenshot-placeholder-text {
    font-size: 18px;
    color: #6e7378;
    margin-bottom: 20px;
}

.feature-highlight {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #c9cdd1;
}

.highlight-icon {
    color: #4cd964;
    font-size: 20px;
}

.download-section {
    max-width: 800px;
    margin: 80px auto;
    padding: 60px 40px;
    background: rgba(15, 20, 35, 0.7);
    border: 1px solid rgba(100, 120, 150, 0.25);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.download-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.download-description {
    font-size: 16px;
    color: #9aa0a6;
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: rgba(8, 12, 20, 0.8);
    border: 2px solid rgba(100, 120, 150, 0.25);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-3px);
}

.download-card-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.download-card-subtitle {
    font-size: 14px;
    color: #6e7378;
    margin-bottom: 20px;
}

.download-card-features {
    text-align: left;
    margin-bottom: 25px;
}

.download-card-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #c9cdd1;
    margin-bottom: 8px;
}

.check-icon {
    color: #4cd964;
    font-size: 16px;
}
.not-available-icon {
    color: #dc2626;
    font-size: 16px;
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 60px 40px;
    background: rgba(15, 20, 35, 0.7);
    border: 1px solid rgba(100, 120, 150, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: rgba(8, 12, 20, 0.6);
    border: 1px solid rgba(100, 120, 150, 0.25);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(96, 165, 250, 0.35);
    transform: translateX(5px);
}

.faq-question {
    font-size: 20px;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 16px;
    color: #c9cdd1;
    line-height: 1.7;
    margin: 0;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(100, 120, 150, 0.15);
    color: #6e7378;
    font-size: 14px;
}

.footer p {
    margin-top: 10px;
}

.footer a {
    color: #60a5fa;
}

.version-badge {
    display: inline-block;
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #60a5fa;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 40px;
}

/* All Releases Section */
.all-releases-section {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 40px;
    background: rgba(8, 12, 20, 0.6);
    border: 1px solid rgba(100, 120, 150, 0.25);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.all-releases-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.release-item {
    background: rgba(15, 20, 35, 0.85);
    border: 1px solid rgba(100, 120, 150, 0.25);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.release-item:hover {
    border-color: rgba(96, 165, 250, 0.35);
    transform: translateX(5px);
}

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

.release-version {
    font-size: 22px;
    font-weight: 600;
    color: #60a5fa;
}

.release-date {
    font-size: 14px;
    color: #9aa0a6;
}

.release-files {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.release-file-btn {
    background: rgba(96, 165, 250, 0.15);
    border: 2px solid rgba(96, 165, 250, 0.35);
    color: #60a5fa;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.release-file-btn:hover {
    background: rgba(96, 165, 250, 0.25);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-2px);
}

.file-size {
    font-size: 12px;
    color: #6e7378;
    font-weight: 400;
}

.no-releases {
    text-align: center;
    padding: 60px 40px;
    color: #6e7378;
}

.no-releases-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: #9aa0a6;
}

.no-releases-text {
    font-size: 16px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    .tagline {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .section-title {
        font-size: 32px;
    }

    .download-options {
        flex-direction: column;
        align-items: center;
    }

    .release-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .release-files {
        width: 100%;
    }

    .release-file-btn {
        flex: 1;
        justify-content: center;
    }

    .faq-section {
        padding: 40px 20px;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 15px;
    }
}