/* ===========================================
   VMBot Platform - Styles
   =========================================== */

:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  
  --cyan-400: #22d3ee;
  
  --white: #ffffff;
}

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

/* Ocultar barras de rolagem horizontais e verticais em todos os navegadores mantendo o scroll ativo */
html, body, .showcase-carousel-track, .thumbnails-grid, .thumbnails-row, .modal-card, .tab-pane, .drawer-content {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--slate-950);
  color: var(--white);
  line-height: 1.6;
}

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

/* ===========================================
   Header
   =========================================== */

.header {
  background: var(--slate-900);
  border-bottom: 1px solid var(--slate-800);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--emerald-500), var(--cyan-400));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--slate-300);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 15px;
}

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

.btn-login {
  color: var(--slate-300);
}

.btn-register {
  background: var(--emerald-500);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
}

.btn-register:hover {
  background: var(--emerald-600);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* ===========================================
   Hero Section
   =========================================== */

.hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--slate-900) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 20 0 L 0 0 0 20' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)' /%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-500)/10;
  border: 1px solid var(--emerald-500)/20;
  padding: 8px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
}

.badge-icon {
  font-size: 16px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient {
  background: linear-gradient(135deg, var(--emerald-400), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: var(--slate-400);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================================
   Buttons
   =========================================== */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--emerald-500);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--emerald-600);
}

.btn-secondary {
  background: var(--slate-800);
  color: var(--white);
  border: 1px solid var(--slate-700);
}

.btn-secondary:hover {
  background: var(--slate-700);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* ===========================================
   Stats Section
   =========================================== */

.stats {
  background: var(--slate-900);
  padding: 48px 0;
  border-top: 1px solid var(--slate-800);
  border-bottom: 1px solid var(--slate-800);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--emerald-400);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--slate-400);
  font-size: 15px;
}

/* ===========================================
   Features Section
   =========================================== */

.features {
  padding: 96px 0;
  background: var(--slate-950);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--slate-400);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--slate-900);
  border: 1px solid var(--slate-800);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--emerald-500)/30;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-description {
  color: var(--slate-400);
  line-height: 1.7;
}

/* ===========================================
   Products Section
   =========================================== */

.products {
  padding: 96px 0;
  background: var(--slate-900);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--slate-950);
  border: 1px solid var(--slate-800);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: border-color 0.2s;
}

.product-card:hover {
  border-color: var(--emerald-500)/30;
}

.product-card.featured {
  background: var(--slate-800);
  border-color: var(--emerald-500)/50;
}

.product-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.product-card .product-badge {
  background: var(--blue-500, #3b82f6)/10;
  color: var(--blue-400, #60a5fa);
}

.product-featured-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-500);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.product-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-description {
  color: var(--slate-400);
  margin-bottom: 24px;
  min-height: 48px;
}

.product-price {
  margin-bottom: 24px;
}

.price-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
}

.price-period {
  color: var(--slate-400);
  font-size: 16px;
}

.product-features {
  list-style: none;
  margin-bottom: 32px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--slate-300);
  font-size: 15px;
}

.check {
  color: var(--emerald-400);
  font-weight: bold;
}

.btn-product {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  background: var(--slate-800);
  color: var(--white);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-product:hover {
  background: var(--slate-700);
}

.product-card.featured .btn-product {
  background: var(--emerald-500);
  border-color: var(--emerald-500);
}

.product-card.featured .btn-product:hover {
  background: var(--emerald-600);
}

/* ===========================================
   CTA Section
   =========================================== */

.cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--emerald-900)/20, var(--cyan-900)/20);
  text-align: center;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 20px;
  color: var(--slate-400);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================
   Footer
   =========================================== */

.footer {
  background: var(--slate-900);
  border-top: 1px solid var(--slate-800);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-description {
  color: var(--slate-400);
  margin: 16px 0 24px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--slate-800);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  font-size: 14px;
  transition: background 0.2s;
}

.social-link:hover {
  background: var(--slate-700);
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--slate-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright,
.disclaimer {
  color: var(--slate-500);
  font-size: 14px;
}

/* ===========================================
   Responsive
   =========================================== */

@media (max-width: 968px) {
  .stats-grid,
  .features-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu {
    display: none !important;
  }

  .vm-mobile-menu-btn {
    display: flex !important;
  }
}

@media (max-width: 640px) {
  .stats-grid,
  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 26px;
    line-height: 1.25;
  }
  
  .hero-description {
    font-size: 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ===========================================
   Botão Hambúrguer Mobile (Esquerda)
   =========================================== */
.vm-mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.vm-mobile-menu-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: #06b6d4;
  color: #38bdf8;
}

/* ===========================================
   Menu Lateral Esquerda (Left Drawer Mobile)
   =========================================== */
.vm-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

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

.vm-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  bottom: 0;
  width: 86vw;
  max-width: 320px;
  background: #08111d;
  border-right: 1px solid rgba(6, 182, 212, 0.25);
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.9);
  z-index: 3001;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.vm-drawer.active {
  transform: translateX(320px);
}

.vm-drawer-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.6);
}

.vm-drawer-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.vm-drawer-close:hover {
  color: #fff;
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

.vm-drawer-user-box {
  padding: 14px 18px;
  background: rgba(6, 182, 212, 0.05);
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}

.vm-drawer-nav {
  padding: 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vm-drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.6px;
  padding: 8px 8px 4px;
}

.vm-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
}

.vm-drawer-link:hover,
.vm-drawer-link:active {
  background: rgba(255, 255, 255, 0.06);
  color: #38bdf8;
  padding-left: 15px;
}

.vm-drawer-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 8, 16, 0.9);
}

/* ===========================================
   Abas do Modal Unificado de Autenticação
   =========================================== */
.vm-auth-modal-overlay {
  z-index: 3500 !important;
}

.vm-auth-modal-card {
  max-width: 440px !important;
  width: 95vw !important;
  border-color: rgba(6, 182, 212, 0.3) !important;
  background: linear-gradient(165deg, #0d1728 0%, #060c17 100%) !important;
}

.vm-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(2, 6, 23, 0.85);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.vm-auth-tab {
  background: none;
  border: none;
  color: #94a3b8;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
}

.vm-auth-tab.active {
  background: #1e293b;
  color: #38bdf8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ===========================================
   Modais Responsivos & Janelas Sobrepostas
   =========================================== */
.modal-overlay {
  z-index: 2500;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Janela secundária sobre outra janela */
.modal-overlay-secondary {
  z-index: 3100 !important;
  background: rgba(0, 0, 0, 0.92) !important;
}

.modal-card {
  box-sizing: border-box;
  margin: auto;
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 8px;
    align-items: flex-start;
    padding-top: 20px;
  }

  .modal-card {
    width: 96vw !important;
    max-width: 96vw !important;
    padding: 18px 14px !important;
    border-radius: 16px !important;
    max-height: 92vh !important;
  }

  /* Ajustar grids dentro de modais para 1 coluna */
  .modal-card [style*="grid-template-columns"],
  .modal-card .grid-2-cols,
  .modal-card form div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Reduzir paddings em cards de produto */
  .product-card,
  .pricing-card {
    padding: 20px 16px !important;
  }
}

@media (max-width: 480px) {
  .modal-card {
    padding: 14px 10px !important;
  }

  .modal-card h3 {
    font-size: 16px !important;
  }

  .btn-buy,
  .btn-neon-emerald,
  .btn-neon-gold,
  .btn-login,
  .btn-register {
    padding: 11px 14px !important;
    font-size: 13px !important;
  }
}

