/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variáveis CSS - Sistema de Design */
:root {
  /* Cores em HSL */
  --background: hsl(180, 45%, 12%);
  --foreground: hsl(0, 0%, 100%);
  
  --card: hsl(180, 40%, 15%);
  --card-foreground: hsl(0, 0%, 100%);
  
  --primary: hsl(45, 100%, 55%);
  --primary-foreground: hsl(180, 45%, 12%);
  
  --secondary: hsl(180, 30%, 20%);
  --secondary-foreground: hsl(0, 0%, 100%);
  
  --muted: hsl(180, 20%, 25%);
  --muted-foreground: hsl(0, 0%, 70%);
  
  --accent: hsl(45, 100%, 55%);
  --accent-foreground: hsl(180, 45%, 12%);
  
  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(0, 0%, 100%);
  
  --success: hsl(142, 76%, 36%);
  --success-foreground: hsl(0, 0%, 100%);
  
  --border: hsl(180, 30%, 25%);
  --input: hsl(180, 30%, 20%);
  --ring: hsl(45, 100%, 55%);
  
  --radius: 0.75rem;
  
  /* Gradientes */
  --hero-gradient: linear-gradient(135deg, hsl(180, 45%, 12%), hsl(180, 35%, 18%));
  --accent-gradient: linear-gradient(90deg, hsl(45, 100%, 55%), hsl(40, 95%, 50%));
}

/* Estilos base */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--secondary);
}

.btn-success {
  background-color: var(--success);
  color: var(--success-foreground);
}

.btn-success:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Cards */
.card {
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--muted-foreground);
  font-size: 1rem;
}

.card-content {
  color: var(--muted-foreground);
}

.icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-primary {
  background-color: hsla(45, 100%, 55%, 0.1);
  color: var(--primary);
}

.icon-accent {
  background-color: hsla(45, 100%, 55%, 0.1);
  color: var(--accent);
}

.icon-success {
  background-color: hsla(142, 76%, 36%, 0.1);
  color: var(--success);
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 0;
  overflow: hidden;
  position: relative;
}

.announcement-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.announcement-text {
  display: inline-block;
  margin: 0 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-33.33%);
  }
}

/* Seção Hero */
.hero-section {
  padding: 4rem 1rem;
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-image {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--card);
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Seção de Comparação */
.comparison-section {
  padding: 4rem 1rem;
  background-color: var(--secondary);
}

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

.comparison-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 2px solid var(--border);
}

.comparison-card-highlight {
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.comparison-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.comparison-title-highlight {
  color: var(--accent);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-icon-check {
  color: var(--accent);
}

.feature-icon-x {
  color: var(--destructive);
}

.feature-text {
  font-size: 0.95rem;
  color: var(--foreground);
}

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

/* Seção de Features */
.features-section {
  padding: 4rem 1rem;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.feature-row-reverse {
  flex-direction: column-reverse;
}

.feature-image-wrapper {
  flex: 1;
  width: 100%;
}

.feature-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  padding: 4rem 1rem;
  background-color: var(--secondary);
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  margin: 2rem auto 0;
}

/* Footer */
.footer {
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Utilitários */
.text-accent {
  color: var(--accent);
}

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

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.w-full {
  width: 100%;
}

/* Gradiente de fundo */
.gradient-bg {
  background: linear-gradient(135deg, var(--background) 0%, var(--background) 50%, hsla(45, 100%, 55%, 0.05) 100%);
  min-height: 100vh;
}

/* Responsividade */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  
  .announcement-text {
    font-size: 0.875rem;
  }
  
  .hero-section {
    padding: 8rem 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.25rem;
  }
  
  .hero-image {
    border: 4px solid var(--card);
  }
  
  .comparison-section {
    padding: 8rem 2rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-card {
    padding: 2rem;
  }
  
  .comparison-title {
    font-size: 1.5rem;
  }
  
  .feature-text {
    font-size: 1rem;
  }
  
  .features-section {
    padding: 8rem 2rem;
  }
  
  .features-grid {
    gap: 6rem;
  }
  
  .feature-row {
    flex-direction: row;
  }
  
  .feature-row-reverse {
    flex-direction: row-reverse;
  }
  
  .feature-title {
    font-size: 2rem;
  }
  
  .feature-description {
    font-size: 1.125rem;
  }
  
  .cta-section {
    padding: 8rem 2rem;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
  
  .cta-description {
    font-size: 1.25rem;
  }
  
  .footer {
    padding: 2rem;
  }
  
  .footer-text {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Ícones SVG inline */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  vertical-align: middle;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}
