/* 
  Agenda ProAdmin - CSS Design System
  Style: Premium SaaS Landing Page with Cyber-Neon Accents
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #030712;
  --bg-deep: #080E1B;
  --bg-card: rgba(13, 20, 35, 0.45);
  --bg-card-hover: rgba(20, 30, 50, 0.6);
  --primary: #00FF66;
  --primary-hover: #00E65C;
  --primary-rgb: 0, 255, 102;
  --primary-glow: rgba(0, 255, 102, 0.15);
  --primary-glow-strong: rgba(0, 255, 102, 0.4);
  --text-white: #F9FAFB;
  --text-gray: #E5E7EB;
  --text-muted: #9CA3AF;
  --text-dark: #111827;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.18);
  --border-neon: rgba(0, 255, 102, 0.25);
  --border-neon-hover: rgba(0, 255, 102, 0.5);
  --font-sans: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --shadow-neon: 0 0 20px rgba(0, 255, 102, 0.2);
  --shadow-neon-strong: 0 0 35px rgba(0, 255, 102, 0.45);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 102, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  box-shadow: var(--shadow-neon);
}

/* Background Glow Orbs */
.glow-orb {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.08) 0%, rgba(8, 14, 27, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.orb-1 { top: 10%; left: -100px; }
.orb-2 { top: 30%; right: -200px; background: radial-gradient(circle, rgba(0, 255, 102, 0.05) 0%, rgba(8, 14, 27, 0) 70%); }
.orb-3 { top: 60%; left: 20%; }
.orb-4 { top: 80%; right: 10%; background: radial-gradient(circle, rgba(0, 255, 102, 0.07) 0%, rgba(8, 14, 27, 0) 70%); }

@media (max-width: 992px) {
  .glow-orb {
    width: 300px;
    height: 300px;
  }
  .orb-1 { left: -50px; }
  .orb-2 { right: -50px; }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography & Headers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #FFF 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-neon {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 255, 102, 0.06);
  border: 1px solid var(--border-neon);
  border-radius: 100px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  box-shadow: inset 0 0 12px rgba(0, 255, 102, 0.05);
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition-smooth);
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-5px);
}
.glass-card.neon-hover:hover {
  border-color: var(--border-neon-hover);
  box-shadow: var(--shadow-neon);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-dark);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.25);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-strong);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}
.header.scrolled {
  padding: 12px 0;
  background: rgba(3, 7, 18, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  white-space: nowrap; /* Evita que o nome quebre em duas linhas */
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-neon);
  box-shadow: var(--shadow-neon);
}

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

@media (min-width: 993px) {
  .nav-menu {
    margin-left: 80px; /* Afasta o menu Início do nome da empresa */
    margin-right: auto; /* Empurra os botões de ação para a extrema direita */
  }
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 8px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-neon);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions-mobile {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--bg-deep);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
  }
  .nav-menu.active {
    transform: translateX(0);
  }
  .nav-actions {
    display: none;
  }
  .nav-menu .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    margin-top: 20px;
  }
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-gray);
  backdrop-filter: blur(8px);
}
.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: var(--shadow-neon-strong);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.trust-icon {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
}

/* Device Mockups CSS */
.mockup-container {
  width: 100%;
  max-width: 580px;
  position: relative;
  z-index: 10;
}

/* Laptop Mockup CSS */
.laptop-mockup {
  position: relative;
  width: 100%;
  padding-bottom: 54%; /* Aspect ratio of screen + base */
  perspective: 1000px;
}
.laptop-screen {
  position: absolute;
  top: 0;
  left: 5%;
  width: 90%;
  height: 89%;
  background: #000;
  border-radius: 12px 12px 0 0;
  border: 12px solid #0f172a;
  border-bottom: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.laptop-screen::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1e293b;
  z-index: 10;
}
.laptop-display {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #030712;
  overflow: hidden;
}
.laptop-display img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.5s ease;
  background-color: #030712;
}
.laptop-base {
  position: absolute;
  bottom: 3%;
  left: 0;
  width: 100%;
  height: 8%;
  background: #1e293b;
  border-radius: 0 0 16px 16px;
  border-top: 2px solid #334155;
  box-shadow: 0 15px 30px rgba(0,0,0,0.7);
}
.laptop-base::after {
  content: '';
  position: absolute;
  top: 0;
  left: 42%;
  width: 16%;
  height: 25%;
  background: #0f172a;
  border-radius: 0 0 6px 6px;
}

/* Phone Mockup CSS */
.phone-mockup {
  position: relative;
  width: 290px;
  height: 590px;
  background: #0f172a;
  border-radius: 40px;
  border: 12px solid #1e293b;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.8), var(--primary-glow);
  overflow: hidden;
  margin: 0 auto;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 24px;
  background: #1e293b;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 10;
}
.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--bg-deep);
  overflow: hidden;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

/* Sobrescrita Mobile: no celular, exibe a imagem diretamente sem o chassi/bezel do mockup */
@media (max-width: 768px) {
  .phone-mockup {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .phone-mockup::before {
    display: none !important;
  }
  .phone-screen {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }
  .phone-screen img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .mockup-container {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Imagens/mockups móveis ocupam a largura do container sem vazar */
  .hero-visual,
  .segment-visual-pane,
  .dash-pane#pane-celular {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
}


/* Tablet Mockup CSS */
.tablet-mockup {
  position: relative;
  width: 440px;
  height: 310px;
  background: #0f172a;
  border-radius: 24px;
  border: 14px solid #1e293b;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  margin: 0 auto;
}
.tablet-screen {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--bg-deep);
  overflow: hidden;
}
.tablet-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.benefit-card {
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: var(--transition-smooth);
}
.benefit-card:hover::before {
  height: 100%;
}

.benefit-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--border-neon);
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--primary-glow);
  transition: var(--transition-smooth);
}
.benefit-card:hover .benefit-icon-wrapper {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: var(--shadow-neon);
  transform: scale(1.05);
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-white);
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* WhatsApp Automation Section */
.whatsapp-sec {
  padding: 100px 0;
  position: relative;
}
.whatsapp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.whatsapp-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.w-feature-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: var(--transition-smooth);
}
.w-feature-card:hover {
  background: rgba(0, 255, 102, 0.03);
  border-color: var(--border-neon);
  transform: translateX(5px);
}

.w-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 255, 102, 0.06);
  border: 1px solid rgba(0, 255, 102, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.w-feature-card:hover .w-feature-icon {
  background: var(--primary);
  color: var(--text-dark);
}

.w-feature-info h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.w-feature-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Interactive WhatsApp Phone Simulation */
.whatsapp-chat-preview {
  position: relative;
  width: 310px;
  height: 610px;
  background: #0b141a; /* Dark WhatsApp background */
  border-radius: 40px;
  border: 12px solid #1e293b;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  overflow: hidden;
  margin: 0 auto;
}
#whatsapp-simulator {
  scroll-margin-top: 100px;
}
.whatsapp-chat-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 24px;
  background: #1e293b;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 20;
}
.wa-header {
  height: 60px;
  background: #1f2c34;
  padding: 24px 16px 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 10;
  position: relative;
}
.wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00a884; /* WhatsApp Green */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}
.wa-user-info h5 {
  font-size: 0.85rem;
  color: #fff;
}
.wa-user-info span {
  font-size: 0.65rem;
  color: #8696a0;
  display: block;
}
.wa-chat-body {
  height: calc(100% - 60px);
  padding: 16px;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); /* WhatsApp pattern */
  background-size: cover;
  background-blend-mode: overlay;
  background-color: rgba(11, 20, 26, 0.95);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  overflow-x: hidden; /* Evita qualquer barra de rolagem horizontal */
  scrollbar-width: none; /* Esconde a barra padrão no Firefox */
  -ms-overflow-style: none; /* Esconde a barra padrão no IE e Edge */
}
.wa-chat-body::-webkit-scrollbar {
  display: none; /* Esconde a barra padrão no Chrome, Safari e Opera */
}
.wa-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  position: relative;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInBubble 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.wa-bubble.received {
  background: #202c33;
  color: #e9edef;
  align-self: flex-start;
  border-top-left-radius: 0;
}
.wa-bubble.sent {
  background: #005c4b; /* Dark WhatsApp green for sent */
  color: #e9edef;
  align-self: flex-end;
  border-top-right-radius: 0;
}
.wa-time {
  font-size: 0.65rem;
  color: #8696a0;
  text-align: right;
  margin-top: 4px;
  display: block;
}
.wa-cta-btn {
  display: block;
  text-align: center;
  background: rgba(0, 255, 102, 0.15);
  color: var(--primary);
  border: 1px solid var(--border-neon);
  border-radius: 6px;
  padding: 6px;
  font-weight: 600;
  margin-top: 8px;
  text-decoration: none;
  font-size: 0.75rem;
  transition: var(--transition-smooth);
  word-break: break-all; /* Evita que o link saia para fora do balão */
  overflow-wrap: break-word;
}
.wa-cta-btn:hover {
  background: var(--primary);
  color: var(--text-dark);
}

@keyframes slideInBubble {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .whatsapp-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #whatsapp-simulator {
    scroll-margin-top: 80px;
  }
}

/* Segments Section */
.segments {
  padding: 100px 0;
  background: var(--bg-deep);
  position: relative;
}

.segments-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.segment-tab {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  height: 150px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 10px;
  transition: var(--transition-smooth);
}

/* Gradient overlay to ensure text contrast */
.segment-tab::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.3) 60%, rgba(3, 7, 18, 0.6) 100%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.segment-tab.active, .segment-tab:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
}

.segment-tab-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: var(--transition-smooth);
  filter: grayscale(85%) opacity(0.65) brightness(0.6);
}

.segment-tab.active .segment-tab-img, .segment-tab:hover .segment-tab-img {
  filter: grayscale(0%) opacity(0.9) brightness(0.85);
  transform: scale(1.1);
}

.segment-tab span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-gray);
  position: relative;
  z-index: 3;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  transition: var(--transition-smooth);
}

.segment-tab.active span, .segment-tab:hover span {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 255, 102, 0.4);
}

.segment-display {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.segment-content-pane {
  grid-column: 1 / -1;
}
@media (max-width: 992px) {
  .segment-display {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
}

.segment-info-pane h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.segment-info-pane p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.segment-info-pane ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 576px) {
  .segment-info-pane ul {
    grid-template-columns: 1fr;
  }
}
.segment-info-pane li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-gray);
}
.segment-info-pane li i {
  color: var(--primary);
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  position: relative;
}

.flow-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 48px;
  gap: 24px;
}
.flow-line {
  position: absolute;
  top: 45px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 255, 102, 0) 0%, var(--primary) 50%, rgba(0, 255, 102, 0) 100%);
  z-index: 0;
}
.flow-line-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #00ffff, var(--primary));
  background-size: 200% auto;
  animation: flowAnim 3s linear infinite;
}

@keyframes flowAnim {
  0% { background-position: 0% center; }
  100% { background-position: -200% center; }
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-number {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--border-glass);
  color: var(--text-white);
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
  position: relative;
}
.flow-step:hover .flow-number {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-neon);
  transform: translateY(-5px);
}
.flow-step-icon {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.flow-step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 200px;
}

@media (max-width: 768px) {
  .flow-container {
    flex-direction: column;
    gap: 32px;
  }
  .flow-line {
    display: none;
  }
  .flow-step {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    align-items: center;
  }
  .flow-number {
    margin-bottom: 0;
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  .flow-step-icon {
    width: 26px;
    height: 26px;
    bottom: -2px;
    right: -2px;
  }
  .flow-step h3 {
    font-size: 1.1rem;
  }
  .flow-step p {
    max-width: 100%;
    font-size: 0.85rem;
  }
}

/* Dashboard Section */
.dashboard-sec {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  position: relative;
}

.dash-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.dash-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-btn.active, .dash-btn:hover {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
}

.dash-display {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  position: relative;
}

.dash-pane {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  width: 100%;
  display: flex;
  justify-content: center;
}
.dash-pane.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

/* Highlights Section */
.highlights {
  padding: 80px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}
.highlight-card {
  text-align: center;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}
.highlight-card:hover {
  border-color: var(--border-neon);
  box-shadow: var(--shadow-neon);
  background: rgba(0, 255, 102, 0.02);
}
.hl-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 255, 102, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 1.25rem;
}
.highlight-card:hover .hl-icon {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}
.highlight-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

/* CTA Final Section */
.cta-final {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-box {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
  border-radius: 30px;
  background: radial-gradient(circle at top right, rgba(0, 255, 102, 0.12), rgba(3, 7, 18, 0.8));
  border: 1px solid var(--border-neon);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), var(--primary-glow);
  z-index: 10;
}
.cta-box h2 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .cta-box h2 {
    font-size: 2.25rem;
  }
  .cta-box .btn-primary,
  .cta-final .btn-primary {
    padding: 14px 24px !important;
    font-size: 0.95rem !important;
    white-space: nowrap !important;
  }
}
.cta-box p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-logo {
  margin-bottom: 20px;
}
.footer-logo-text {
  font-size: 1.35rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.footer-link:hover {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: var(--transition-smooth);
  text-decoration: none;
}
.social-icon:hover {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Floating Device Switcher Panel (Premium dev control) */
.dev-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: rgba(8, 14, 27, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-neon);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--primary-glow);
  padding: 8px 12px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dev-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--primary);
  padding-left: 6px;
}
.dev-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 4px;
}
.dev-btn.active {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}
.dev-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* Keyframes */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 255, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 102, 0);
  }
}

/* Correções de Responsividade para Evitar Rolagem Lateral (Overflow Horizontal) */

/* Fix: Impede overflow horizontal em todas as telas mobile (até 992px) */
@media (max-width: 992px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Reduz a altura do header no mobile */
  .nav-container {
    height: 60px !important;
  }
  .header.scrolled .nav-container {
    height: 52px !important;
  }

  /* Logo menor no mobile */
  .logo {
    font-size: 1.1rem !important;
    gap: 8px !important;
  }
  .logo-img {
    width: 30px !important;
    height: 30px !important;
  }

  /* Menu lateral não pode ultrapassar a tela */
  .nav-menu {
    width: min(300px, 80vw) !important;
  }

  /* Glow orbs não podem causar overflow */
  .glow-orb {
    max-width: 100vw !important;
    overflow: hidden !important;
  }
}

@media (max-width: 576px) {
  /* Header ainda mais compacto em telas pequenas */
  .nav-container {
    height: 54px !important;
    padding: 0 16px !important;
  }
  .header.scrolled .nav-container {
    height: 48px !important;
  }

  /* Logo compacta */
  .logo {
    font-size: 1rem !important;
    gap: 6px !important;
  }
  .logo-img {
    width: 28px !important;
    height: 28px !important;
  }

  /* Container com padding reduzido para não vazar */
  .container {
    padding: 0 16px !important;
  }

  /* Hero ajustes */
  .hero {
    padding-top: 100px !important;
  }
  .hero-buttons {
    display: flex !important;
    flex-direction: row-reverse !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .hero-buttons .btn {
    flex: 1 !important;
    padding: 10px 4px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
    gap: 4px !important;
  }
  .hero-buttons .btn i,
  .hero-buttons .btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Ajusta a barra de botões do Dashboard para quebrar linha e encolher proporcionalmente */
  .dash-controls {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-bottom: 32px !important;
    padding: 0 8px !important;
  }
  
  .dash-btn {
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
    gap: 4px !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
  }
  
  .dash-btn i {
    width: 14px;
    height: 14px;
  }

  /* Torna o mockup do Tablet responsivo no celular */
  .tablet-mockup {
    width: 100% !important;
    max-width: 290px !important;
    height: auto !important;
    border-width: 8px !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  
  .tablet-screen {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }
  
  .tablet-screen img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* Torna o simulador de WhatsApp responsivo no celular */
  .whatsapp-chat-preview {
    width: 100% !important;
    max-width: 290px !important;
    height: 500px !important;
    border-width: 8px !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
  }
  #whatsapp-simulator {
    scroll-margin-top: 70px;
  }

  /* Organiza as abas de segmentos em uma grade de 2 colunas no celular */
  .segments-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 32px !important;
  }
  
  .segment-tab {
    padding: 12px 8px !important;
    border-radius: 12px !important;
    height: 100px !important;
  }
  
  .segment-tab span {
    font-size: 0.8rem !important;
  }
  
  .segment-tab-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
  }

  /* Highlights grid não pode vazar */
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* Benefits grid coluna única */
  .benefits-grid {
    grid-template-columns: 1fr !important;
  }

  /* Benefit card: ícone na mesma linha do título */
  .benefit-card {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 20px !important;
  }
  .benefit-icon-wrapper {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 0 !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }
  .benefit-icon-wrapper svg,
  .benefit-icon-wrapper i {
    width: 20px !important;
    height: 20px !important;
  }
  .benefit-card h3 {
    margin-bottom: 0 !important;
    font-size: 1.1rem !important;
  }
  .benefit-card p {
    width: 100% !important;
    margin-top: 4px !important;
    font-size: 0.9rem !important;
  }
}

/* Downloads Section */
.downloads-sec {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 960px;
  margin: 40px auto 0 auto;
}

.download-card {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.download-card:hover {
  border-color: var(--border-neon-hover);
  box-shadow: var(--shadow-neon);
}

.download-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--border-neon);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-soon {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: var(--border-glass) !important;
  color: var(--text-muted) !important;
}

.download-content {
  display: flex;
  gap: 24px;
  align-items: center;
}

.download-icon-wrapper {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}

.download-icon-wrapper i,
.download-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.download-card:not(.disabled-card):hover .download-icon-wrapper {
  background: rgba(0, 255, 102, 0.08);
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-neon);
}

.download-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
  transition: var(--transition-smooth);
}

.download-card:not(.disabled-card):hover .download-info h3 {
  color: var(--primary);
}

.download-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.download-btn-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.download-btn-label i,
.download-btn-label svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.download-card:not(.disabled-card):hover .download-btn-label i,
.download-card:not(.disabled-card):hover .download-btn-label svg {
  transform: translate(2px, -2px);
}

/* Disabled Card (Soon) */
.disabled-card {
  opacity: 0.55;
  cursor: default !important;
}

.disabled-card:hover {
  transform: none !important;
  border-color: var(--border-glass) !important;
  box-shadow: none !important;
}

.disabled-card .download-icon-wrapper {
  border-color: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}

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

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

/* Responsividade de Downloads */
@media (max-width: 768px) {
  .downloads-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  
  .download-card {
    padding: 24px !important;
  }

  .download-content {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 16px;
  }
  
  .download-badge {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .download-content {
    flex-direction: column;
    text-align: center;
  }
  .download-badge {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
  }
}

/* Botão Flutuante Apple App Store */
.app-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: rgba(3, 7, 18, 0.8);
  border: 1px solid var(--border-neon);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: var(--shadow-neon);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
  gap: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Evita sobreposição caso o botão de suporte/exclusão (que também fica na direita) esteja presente */
.support-float ~ .app-float,
.support-float ~ .app-floats-container {
  bottom: 90px;
}

/* Container de Botões Flutuantes */
.app-floats-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

/* Ajusta os botões flutuantes individuais quando dentro do container */
.app-floats-container .app-float {
  position: static;
  bottom: auto;
  right: auto;
}

.app-float i,
.app-float svg {
  width: 20px;
  height: 20px;
  color: #fff;
  transition: var(--transition-smooth);
}

.app-float span {
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.app-float:hover {
  transform: scale(1.05) translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-neon-strong);
  background-color: rgba(3, 7, 18, 0.95);
}

.app-float:hover i,
.app-float:hover svg {
  color: var(--primary);
  transform: scale(1.1);
}

.app-float:hover span {
  color: var(--primary);
}

@media (max-width: 576px) {
  .app-float {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.8rem;
    gap: 6px;
  }
  .app-float i,
  .app-float svg {
    width: 16px;
    height: 16px;
  }
  .app-float span {
    font-size: 0.8rem;
  }
  
  .app-floats-container {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  
  /* Ajuste de empilhamento no celular */
  .support-float ~ .app-float,
  .support-float ~ .app-floats-container {
    bottom: 72px;
  }
}



