/* Import Google Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

/* Reset and Base Styles */
:root {
  --bg-color: #121212;
  --primary-color: #a6e84b;
  --secondary-color: #dd6b20;
  --text-color: #e1e1e1;
  --header-bg-color: rgba(18, 18, 18, 0.85);
  --card-bg-color: #1e1e1e;
  --border-color: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "JetBrainsMono Nerd Font", "JetBrains Mono", "Poppins",
    sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative; /* Needed for positioning the glow */
}

/* Static Glow Background */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  filter: blur(150px);
  border-radius: 50%;
  opacity: 0.15;
}

body::before {
  background-color: var(--primary-color); /* Green */
  width: 50vmax;
  height: 50vmax;
  top: -20%;
  left: -20%;
}

body::after {
  background-color: var(--secondary-color); /* Orange */
  width: 40vmax;
  height: 40vmax;
  bottom: -20%;
  right: -20%;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--secondary-color);
}

/* Header */
.glass-header {
  background-color: var(--header-bg-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 5%;
  position: fixed;
  width: 90%;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s;
}

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

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-left: 0.75rem;
}

.logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

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

.nav-links a span {
  margin-right: 0.5rem;
}

.mobile-menu-icon,
.mobile-menu {
  display: none;
}

/* Main Content */
main {
  padding-top: 80px; /* Header height */
}

/* Sections */
section {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
  border-bottom: none;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 600;
  color: var(--text-color);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(100vh - 80px); /* Full height minus header */
  gap: 2rem;
  border-bottom: none;
}

.hero-content {
  max-width: 50%;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-image {
  max-width: 45%;
  position: relative; /* Para o efeito de brilho */
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(166, 232, 75, 0.2),
    0 0 40px rgba(221, 107, 32, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(166, 232, 75, 0.3),
    0 0 50px rgba(221, 107, 32, 0.2);
}

/* Buttons */
.btn-cta {
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 0.8rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.3s;
  display: inline-block;
}

.btn-cta:hover {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  transform: translateY(-3px);
}

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

.card {
  background-color: var(--card-bg-color);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.1s ease-out, box-shadow 0.3s;
  transform-style: preserve-3d;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Downloads Section */
.installation-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  background-color: var(--card-bg-color);
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.step-number {
  background-color: var(--primary-color);
  color: var(--bg-color);
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

pre {
  background-color: var(--bg-color);
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  border: 1px solid var(--border-color);
}

code {
  font-family: "JetBrainsMono Nerd Font", "JetBrains Mono", "Fira Code",
    monospace;
}

.link {
  color: var(--secondary-color);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.requirements-section {
  margin-top: 4rem;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.requirement-item .fa-check-circle {
  color: var(--secondary-color);
}

/* Novidades Section */
.changelog {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.changelog-entry {
  background-color: var(--card-bg-color);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.changelog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.changelog-header h2 {
  margin: 0;
  font-size: 1.3rem;
}

.changelog-date {
  font-size: 0.9rem;
  color: #aaa;
}

/* Call to Action Section */
.call-to-action {
  text-align: center;
}

.call-to-action h2 {
  font-size: 2rem;
}

.btn-cta-secondary {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.8rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--primary-color);
  transition: background-color 0.3s, color 0.3s;
}

.btn-cta-secondary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 5%;
  margin-top: 2rem;
  color: #aaa;
}

/* Sobre & Novidades Section */
.sobre-novidades-container {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 4rem;
  align-items: flex-start;
}

.sobre-bloco {
  margin-bottom: 3rem;
}

.sobre-bloco:last-child {
  margin-bottom: 0;
}

.sobre-coluna h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.sobre-coluna p,
.sobre-coluna ul {
  margin-bottom: 1rem;
  padding-left: 0;
  list-style: none;
}
.sobre-coluna li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 0.75rem;
}

/* Adiciona ícone na lista de Recursos Principais */
.recursos-lista li::before {
  content: "\f058"; /* Font Awesome check-circle icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 2px;
}

.info-exibidas-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  min-width: 220px;
}

.info-coluna {
  flex: 1;
  min-width: 250px;
}

.info-coluna h4 {
  font-size: 1.2rem;
  color: var(--text-color);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.novidades-coluna {
  background-color: transparent;
  padding: 0;
  border: none;
  position: sticky;
  top: 120px;
}

.novidades-coluna h3 {
  margin-top: 0;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.novidades-coluna .changelog {
  gap: 2rem;
}
.novidades-coluna .changelog-entry {
  padding: 0;
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.novidades-coluna .changelog-entry:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.novidades-coluna .changelog-header {
  margin-bottom: 0.5rem;
  align-items: flex-start;
}

.novidades-coluna .changelog-header h2 {
  font-size: 1.2rem;
  color: var(--text-color);
}

.novidades-coluna .changelog-date {
  color: #aaa;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-content,
  .hero-image {
    max-width: 80%;
  }
  .hero-content {
    order: 2;
  }
  .hero-image {
    order: 1;
    margin-bottom: 2rem;
  }

  .sobre-novidades-container {
    grid-template-columns: 1fr;
  }
  .novidades-coluna {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-icon {
    display: block;
    background: none;
    color: var(--text-color);
    border: none;
    font-size: 1.8rem;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg-color);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    transform: translateY(-120%);
    transition: transform 0.3s ease-in-out;
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-menu.active {
    transform: translateY(0);
  }

  .mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem 5%;
    transition: background-color 0.2s;
  }

  .mobile-menu a:hover {
    background-color: rgba(166, 232, 75, 0.1);
  }

  section {
    padding: 4rem 5%;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 2rem;
  }

  .info-exibidas-container {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

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

  .card h3,
  .step-content h3,
  .changelog-header h2 {
    font-size: 1.2rem;
  }
}
