/* Base Styles */
:root {
  --foreground: #333333;
  --background-start: #f5f5fa;
  --background-end: #ffffff;
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --secondary: #ca8a04;
  --secondary-hover: #a16207;
  --card-bg: #ffffff;
  --card-border: #e5e7eb;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --icon-bg: #fee2e2;
  --icon-color: #dc2626;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 0.5rem;
  --transition: all 0.3s ease;
}

.dark-theme {
  --foreground: #f9fafb;
  --background-start: #0f0f14;
  --background-end: #1e1e23;
  --primary: #ef4444;
  --primary-hover: #dc2626;
  --secondary: #eab308;
  --secondary-hover: #ca8a04;
  --card-bg: #1f2937;
  --card-border: #374151;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --border-color: #374151;
  --icon-bg: #7f1d1d;
  --icon-color: #ef4444;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--foreground);
  background: linear-gradient(to bottom, var(--background-start), var(--background-end));
  min-height: 100vh;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  font-weight: 700;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

.hidden {
  display: none !important;
}

/* Utility Classes */
.text-red {
  color: var(--primary);
}

.text-yellow {
  color: var(--secondary);
}

.bg-dark {
  background-color: #111827;
}

.light-theme .bg-dark {
  background-color: #f8fafc;
}

.bg-darker {
  background-color: #0f172a;
}

.light-theme .bg-darker {
  background-color: #f1f5f9;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
  gap: 0.5rem;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
}

.button.primary:hover {
  opacity: 0.9;
}

.button.outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.button.outline:hover {
  background-color: rgba(220, 38, 38, 0.1);
}

.button.light {
  background-color: white;
  color: var(--primary);
}

.button.light:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.button.full-width {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.light-theme .navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

.logo img {
  height: 3rem;
  width: auto;
}

.desktop-menu {
  display: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.icon-button:hover {
  color: var(--primary);
}

.mobile-menu-button {
  display: flex;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
}

.mobile-menu {
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  padding: 1rem 0;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  border-left-color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 500;
}

.language-switcher {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 10rem;
  z-index: 10;
  margin-top: 0.5rem;
  list-style: none;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.dropdown-item img {
  margin-right: 0.5rem;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.light-theme .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-item.active {
  background-color: rgba(255, 255, 255, 0.05);
}

.light-theme .dropdown-item.active {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
}

.light-theme .hero-background .overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-block;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.light-theme .hero-title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  display: none;
  position: relative;
  height: 500px;
}

.hero-image img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5rem;
  background: linear-gradient(to top, var(--background-end), transparent);
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto;
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

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

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.card-content {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.card-footer {
  padding: 1.5rem;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background-color: var(--icon-bg);
  color: var(--icon-color);
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.step-card {
  border-top: 4px solid transparent;
}

.yellow-border {
  border-top-color: var(--secondary);
}

.red-border {
  border-top-color: var(--primary);
}

.poring {
  width: 100px;
  height: 100px;
  animation: float 6s ease-in-out infinite;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card .card-header {
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
}

.feature-card .icon-container {
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  position: relative;
  overflow: hidden;
}

.pattern-overlay {
  position: absolute;
  inset: 0;
  background-image: url("images/pattern.png");
  background-size: cover;
  opacity: 0.1;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  text-align: center;
}

.cta-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto 2rem;
  text-align: center;
}

/* Page Content */
.page-content {
  padding: 8rem 0 5rem;
}

.page-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--card-bg);
  color: var(--text-secondary);
  margin-right: 1rem;
  transition: var(--transition);
}

.back-link:hover {
  background-color: var(--primary);
  color: white;
}

.page-title {
  font-size: 2.5rem;
  color: var(--text-primary);
}

.page-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}

/* Downloads Page */
.downloads-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto 4rem;
}

.download-card .card-content {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

.qr-code {
  border: 4px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.download-info {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.8;
}

/* Footer */
.footer {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  display: block;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: var(--transition);
}

.light-theme .social-link {
  background-color: rgba(0, 0, 0, 0.05);
}

.social-link:hover {
  background-color: var(--primary);
  color: white;
}

.footer-heading {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-link {
  display: block;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  transition: var(--transition);
}

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

.contact-list {
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.disclaimer {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Corrigindo o bug de sobreposição no rodapé */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.discord-link {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.discord-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .footer-bottom {
    text-align: center;
  }
}

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

/* Privacy Banner */
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-border-color {
  border-color: var(--border-color);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

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

/* Media Queries */
@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .nav-link {
    color: var(--text-secondary);
    transition: var(--transition);
  }

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

  .mobile-menu-button {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-image {
    display: block;
  }

  .steps-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Adicionando estilos específicos para a página de privacidade */
.privacy-content {
  color: var(--text-secondary);
  line-height: 1.7;
}

.privacy-content h2 {
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.privacy-content a {
  color: var(--primary);
  transition: var(--transition);
}

.privacy-content a:hover {
  text-decoration: underline;
}

.bg-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
}

.max-w-4xl {
  max-width: 56rem;
}

.p-6 {
  padding: 1.5rem;
}

.rounded-lg {
  border-radius: var(--radius);
}

.shadow-lg {
  box-shadow: var(--shadow);
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xl {
  font-size: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

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

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

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