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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #0f0f0f;
  overflow-x: hidden;
}

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

/* Navegação */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-link:hover {
  color: #4a9eff;
}

.cta-nav {
  background: linear-gradient(135deg, #4a9eff, #2563eb);
  color: white !important;
  padding: 0.7rem 1.5rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 158, 255, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('hero-bg.jpg') center/cover;
  opacity: 0.08;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 80px;
}

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

.highlight {
  background: linear-gradient(135deg, #4a9eff, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #b0b0b0;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-button.primary {
  background: linear-gradient(135deg, #4a9eff, #2563eb);
  color: white;
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(74, 158, 255, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #4a9eff;
}

.cta-button.secondary:hover {
  background: #4a9eff;
  transform: translateY(-3px);
}

.cta-button.large {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b0b0b0;
  font-size: 1rem;
}

.feature-item i {
  color: #4a9eff;
  font-size: 1.2rem;
}

/* Seções */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: #b0b0b0;
}

/* Vantagens */
.vantagens {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

.comparison-carousel {
  position: relative;
  padding: 0 3.5rem;
}

.comparison-grid.comparison-carousel-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.comparison-grid.comparison-carousel-track::-webkit-scrollbar {
  display: none;
}

.comparison-card {
  min-width: calc((100% - 4rem) / 3);
  flex: 0 0 calc((100% - 4rem) / 3);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(74, 158, 255, 0.1);
  border-color: #4a9eff;
  background: rgba(74, 158, 255, 0.05);
}

.comparison-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.comparison-icon.problema {
  background: rgba(220, 53, 69, 0.15);
  color: #ff6b6b;
}

.comparison-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.problema-texto {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.solucao {
  background: rgba(34, 197, 94, 0.1);
  border-left: 4px solid #22c55e;
  padding: 1rem;
  border-radius: 8px;
  text-align: left;
  display: flex;
  gap: 0.75rem;
}

.solucao i {
  color: #22c55e;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.solucao p {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.solucao strong {
  color: #22c55e;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 10, 0.85);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 2;
}

.carousel-nav:hover:not(:disabled) {
  border-color: #4a9eff;
  background: rgba(74, 158, 255, 0.2);
  color: #4a9eff;
}

.carousel-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

.carousel-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 999px;
  background: #4a9eff;
}

/* Funcionalidades */
.funcionalidades {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(74, 158, 255, 0.1);
  border-color: #4a9eff;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4a9eff, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.feature-card p {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.feature-image {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
}

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

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

/* Comparação Visual */
.comparacao-visual {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

.comparison-table {
  overflow-x: auto;
  margin-top: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
}

table thead {
  background: rgba(74, 158, 255, 0.1);
}

table th {
  padding: 1.5rem;
  text-align: left;
  font-weight: 600;
  color: #4a9eff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

table th.planilha,
table th.generico,
table th.dreweb {
  text-align: center;
}

table td {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #b0b0b0;
}

table tbody tr:hover {
  background: rgba(74, 158, 255, 0.05);
}

table td.destaque {
  color: #22c55e;
  font-weight: 600;
}

table td.limitado {
  color: #facc15;
  font-weight: 500;
}

/* Planos */
.planos {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.planos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.plano {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plano.destaque {
  border: 2px solid #4a9eff;
  transform: scale(1.05);
  background: rgba(74, 158, 255, 0.08);
}

.plano:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(74, 158, 255, 0.1);
}

.plano.destaque:hover {
  transform: scale(1.05) translateY(-10px);
}

.plano-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4a9eff, #2563eb);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.plano-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.plano-subtitle {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
}

.preco {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.2rem;
  color: #b0b0b0;
}

.value {
  font-size: 3rem;
  font-weight: 700;
  color: #4a9eff;
  margin: 0 0.2rem;
}

.period {
  font-size: 1rem;
  color: #b0b0b0;
}

.economia {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.plano-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.plano-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: #b0b0b0;
}

.plano-features i {
  color: #4a9eff;
  font-size: 1rem;
}

.plano-button {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 2px solid #4a9eff;
}

.plano-button.primary {
  background: linear-gradient(135deg, #4a9eff, #2563eb);
  border: none;
}

.plano-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 158, 255, 0.4);
}

/* CTA Final */
.cta-final {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  text-align: center;
}

.cta-final h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-final p {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: #0a0a0a;
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #4a9eff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #4a9eff;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.social-links a {
  color: #b0b0b0;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #4a9eff;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h3 {
  font-size: 1.8rem;
  color: #ffffff;
}

.close {
  color: #b0b0b0;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #4a9eff;
}

.modal-body {
  padding: 2rem;
}

.modal-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.modal-plan {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.modal-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(74, 158, 255, 0.1);
}

.modal-plan.featured {
  border: 2px solid #4a9eff;
  background: rgba(74, 158, 255, 0.08);
}

.modal-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4a9eff, #2563eb);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.modal-plan h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4a9eff;
  margin-bottom: 1rem;
}

.modal-price span {
  font-size: 0.9rem;
  color: #b0b0b0;
  font-weight: normal;
}

.modal-savings {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.modal-button {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 2px solid #4a9eff;
}

.modal-button.primary {
  background: linear-gradient(135deg, #4a9eff, #2563eb);
  border: none;
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 158, 255, 0.4);
}

.modal-features {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 1.5rem;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-features h5 {
  color: #4a9eff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.modal-features ul {
  list-style: none;
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: #b0b0b0;
}

.modal-features i {
  color: #4a9eff;
}

/* Responsividade */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(15, 15, 15, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }

  .comparison-carousel {
    padding: 0 2.6rem;
  }

  .comparison-card {
    min-width: calc((100% - 2rem) / 2);
    flex-basis: calc((100% - 2rem) / 2);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .modal-plans {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  table {
    font-size: 0.9rem;
  }

  table th,
  table td {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .modal-content {
    margin: 2% auto;
    width: 95%;
  }

  .comparison-card {
    padding: 1.5rem;
    min-width: 100%;
    flex-basis: 100%;
  }

  .comparison-carousel {
    padding: 0;
  }

  .carousel-nav {
    display: none;
  }

  table th,
  table td {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
}
