/* ==========================================================================
   SELLNEXT CRM - HIGH-PERFORMANCE DESIGN SYSTEM & STYLESHEET
   Brand Color: Neon Green (#00FF41) & Ultra Dark Theme (#06090E)
   ========================================================================== */

/* --- CSS Variables & Theme Tokens --- */
:root {
  --primary: #00FF41;
  --primary-rgb: 0, 255, 65;
  --primary-hover: #00E038;
  --primary-dark: #009927;
  --primary-glow: 0 0 25px rgba(0, 255, 65, 0.45);
  
  --bg-main: #06090E;
  --bg-secondary: #0A0F18;
  --bg-card: rgba(13, 20, 32, 0.65);
  --bg-card-hover: rgba(18, 28, 45, 0.85);
  
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-green: rgba(0, 255, 65, 0.2);
  --border-green-hover: rgba(0, 255, 65, 0.5);

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* --- Reset & Baseline --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 65, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

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

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

.grid {
  display: grid;
  gap: 2rem;
}

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

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

/* --- Background Canvas --- */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 800px;
  z-index: -1;
  pointer-events: none;
  contain: strict;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* --- Navigation Header --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(6, 9, 14, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-b: 1px solid var(--border-light);
  transition: var(--transition-normal);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

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

/* Logo Header */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.4));
  transition: var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFF;
}

/* Slogan text: All White except "CLIQUE" in green */
.brand-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.95);
}

/* Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

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

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #041208;
  font-weight: 700;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(0, 255, 65, 0.1);
  border-color: var(--border-green);
  color: var(--primary);
}

.btn-outline {
  background: rgba(10, 15, 24, 0.8);
  color: #FFF;
  border: 1.5px solid var(--border-green);
}

.btn-outline:hover {
  background: rgba(0, 255, 65, 0.12);
  border-color: var(--primary);
  box-shadow: var(--primary-glow);
}

.btn-glow {
  box-shadow: var(--primary-glow);
}

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

.btn-icon-wa {
  color: #25D366;
  font-size: 1.2rem;
}

.w-full {
  width: 100%;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 9.5rem 1.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-margin-top: 135px;
}

.hero-container {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Meta Official Seal */
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.meta-seal-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.35));
  transition: transform var(--transition-fast);
}

.meta-seal-img:hover {
  transform: scale(1.06);
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-live 1.8s infinite;
}

@keyframes pulse-live {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Titles */
.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 920px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* --- Conexões Disponíveis Continuous Floating Marquee --- */
.connections-wrapper {
  width: 100%;
  max-width: 1040px;
  background: rgba(10, 15, 24, 0.95);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.connections-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  transform: translate3d(0, 0, 0);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee-right 28s linear infinite;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.marquee-item:hover {
  border-color: var(--primary);
  background: rgba(0, 255, 65, 0.1);
  transform: translateY(-2px);
}

.marquee-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

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

/* --- Section Layout & Scroll Margin (Guarantees Full Viewport Clearance) --- */
.section {
  padding: 6rem 0;
  position: relative;
  scroll-margin-top: 135px;
}

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

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: rgba(0, 255, 65, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-green);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* --- Showcase / Mockup Section (Ultra Smooth Fade Transition) --- */
.showcase-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(0, 255, 65, 0.04) 25%, rgba(0, 255, 65, 0.08) 60%, var(--bg-main) 100%);
  position: relative;
}

.showcase-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, var(--bg-main) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.dashboard-mockup-wrapper {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
}

.dashboard-window {
  background: #0A0F17;
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 255, 65, 0.2);
  overflow: hidden;
  transform: translateZ(0);
}

.app-topbar {
  background: #06090E;
  padding: 0.75rem 1.25rem;
  border-b: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot.red { background-color: #FF5F56; }
.dot.yellow { background-color: #FFBD2E; }
.dot.green { background-color: #27C93F; }

.app-title-bar {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.app-user {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-status-online {
  width: 7px;
  height: 7px;
  background-color: var(--primary);
  border-radius: 50%;
}

.app-body {
  display: flex;
  height: 480px;
  background-color: #070B12;
}

/* App Sidebar */
.app-sidebar {
  width: 200px;
  background-color: #090E17;
  border-r: 1px solid var(--border-light);
  padding: 1.25rem 0.85rem;
  display: flex;
  flex-direction: column;
}

.app-logo-small {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-logo-icon {
  width: 22px;
  height: auto;
}

.app-nav li {
  padding: 0.65rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.app-nav li.active, .app-nav li:hover {
  background: rgba(0, 255, 65, 0.1);
  color: var(--primary);
}

.counter-badge {
  margin-left: auto;
  background: var(--primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
}

/* App Main Content */
.app-main-content {
  flex: 1;
  display: flex;
}

.chat-column {
  width: 270px;
  background-color: #0A0F18;
  border-r: 1px solid var(--border-light);
  padding: 0.85rem;
}

.chat-search input {
  width: 100%;
  background: #06090E;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.chat-tabs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.725rem;
  margin-bottom: 0.85rem;
  border-b: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.chat-tab {
  color: var(--text-dim);
  cursor: pointer;
}

.chat-tab.active {
  color: var(--primary);
  font-weight: 700;
}

.chat-card-item {
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.chat-card-item.active {
  background: rgba(0, 255, 65, 0.08);
  border-l: 3px solid var(--primary);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.chat-info {
  flex: 1;
  overflow: hidden;
}

.chat-header-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.775rem;
  font-weight: 700;
}

.chat-time {
  font-size: 0.65rem;
  color: var(--text-dim);
}

.chat-preview {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-tags {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.tag {
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}
.tag-green { background: rgba(0, 255, 65, 0.15); color: var(--primary); }
.tag-blue { background: rgba(0, 132, 255, 0.15); color: #38BDF8; }
.tag-dark { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }

/* Conversation Pane */
.conversation-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #070B12;
}

.conv-header {
  padding: 0.85rem 1.25rem;
  background: #090E17;
  border-b: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.conv-user-info h4 {
  font-size: 0.9rem;
}

.phone-number {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 0.4rem;
}

.attendant-info {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.conv-badge-ia {
  background: rgba(0, 255, 65, 0.12);
  border: 1px solid var(--border-green);
  color: var(--primary);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

.conv-messages {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow-y: auto;
}

.msg {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.4;
}

.msg-incoming {
  background: #0D1420;
  border: 1px solid var(--border-light);
  align-self: flex-start;
}

.msg-outgoing {
  background: rgba(0, 255, 65, 0.12);
  border: 1px solid var(--border-green);
  color: #F1F5F9;
  align-self: flex-end;
}

.msg-sender {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.msg-time {
  display: block;
  font-size: 0.625rem;
  color: var(--text-dim);
  text-align: right;
  margin-top: 0.3rem;
}

.conv-footer {
  padding: 0.75rem 1.25rem;
  background: #090E17;
  border-t: 1px solid var(--border-light);
}

.ai-styles-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.ai-chip {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
}

.ai-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.input-bar-mockup {
  display: flex;
  gap: 0.5rem;
}

.input-bar-mockup input {
  flex: 1;
  background: #06090E;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  color: #FFF;
}

.send-btn {
  background: var(--primary);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Floating Badges Around Mockup */
.floating-badge {
  position: absolute;
  background: rgba(10, 15, 24, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-green);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 255, 65, 0.2);
  z-index: 10;
  max-width: 260px;
  will-change: transform;
  animation: float 4s ease-in-out infinite alternate;
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 255, 65, 0.15);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.badge-content h5 {
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-content p {
  font-size: 0.675rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.badge-1 { top: -20px; left: -40px; animation-delay: 0s; }
.badge-2 { top: 120px; left: -60px; animation-delay: 1s; }
.badge-3 { bottom: 30px; left: -30px; animation-delay: 2s; }
.badge-4 { top: 40px; right: -50px; animation-delay: 1.5s; }
.badge-5 { bottom: 60px; right: -40px; animation-delay: 2.5s; }

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* --- AI & Chatbots Flow Section --- */
.ai-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
  border-t: 1px solid var(--border-light);
  scroll-margin-top: 135px;
}

.ai-text-content .section-title {
  text-align: left;
}

.ai-text-content .section-badge {
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.ai-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.ai-feature-card {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.feat-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.ai-feature-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.ai-feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Animated Node Diagram */
.node-canvas-container {
  background: #090E17;
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 65, 0.2);
}

.canvas-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-b: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.775rem;
  font-weight: 700;
}

.canvas-tag {
  color: var(--primary);
}

.canvas-status {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nodes-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.diagram-node {
  width: 100%;
  background: rgba(13, 20, 32, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  transition: var(--transition-normal);
}

.diagram-node.highlight-node {
  border-color: var(--primary);
  background: rgba(0, 255, 65, 0.08);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.25);
}

.node-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.wa-bg { background: rgba(37, 211, 102, 0.2); color: #25D366; }
.ai-bg { background: rgba(0, 255, 65, 0.25); color: var(--primary); }
.crm-bg { background: rgba(56, 189, 248, 0.2); color: #38BDF8; }
.user-bg { background: rgba(168, 85, 247, 0.2); color: #C084FC; }

.node-details {
  display: flex;
  flex-direction: column;
}

.node-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFF;
}

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

.node-badge-glow {
  margin-left: auto;
  background: var(--primary);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.flow-connector {
  width: 2px;
  height: 24px;
  background: rgba(0, 255, 65, 0.3);
  position: relative;
  overflow: hidden;
}

.flow-pulse {
  width: 100%;
  height: 10px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: flow-pulse 1.5s infinite linear;
}

@keyframes flow-pulse {
  0% { transform: translateY(-10px); }
  100% { transform: translateY(24px); }
}

.flow-stats-bar {
  display: flex;
  justify-space: around;
  background: rgba(6, 9, 14, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
}

.stat-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* --- Features Grid Section with Subtle Neon Glow on Hover --- */
.features-grid-section {
  scroll-margin-top: 135px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 255, 65, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
  pointer-events: none;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 65, 0.35), inset 0 0 15px rgba(0, 255, 65, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.card-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.feature-card:hover .card-icon-box {
  background: var(--primary);
  color: #000;
  box-shadow: var(--primary-glow);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Pricing Plans Section --- */
.pricing-section {
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 65, 0.05) 0%, transparent 70%);
  scroll-margin-top: 135px;
}

.billing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.billing-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.billing-label.active {
  color: #FFF;
}

.discount-badge {
  background: rgba(0, 255, 65, 0.15);
  color: var(--primary);
  border: 1px solid var(--border-green);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.4rem;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .4s;
  border: 1px solid var(--border-light);
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
  background-color: #000;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1360px;
  margin: 0 auto 2.5rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-green-hover);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.pricing-card.plan-popular {
  border-color: var(--primary);
  background: rgba(13, 20, 32, 0.95);
  box-shadow: 0 0 35px rgba(0, 255, 65, 0.25);
  transform: scale(1.02);
}

.pricing-card.plan-popular:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 0 45px rgba(0, 255, 65, 0.4);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: var(--primary-glow);
  white-space: nowrap;
}

.plan-badge-top {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.plan-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  min-height: 38px;
  line-height: 1.35;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.plan-price .currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.plan-price .amount {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: #FFF;
  transition: opacity 0.2s ease;
}

.plan-price .amount.amount-custom {
  font-size: 1.5rem;
}

.plan-price .period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-setup-info {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.plan-divider {
  height: 1px;
  background: var(--border-light);
  margin-bottom: 1.5rem;
}

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.plan-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* --- Footer --- */
.footer {
  background: #04060A;
  border-t: 1px solid var(--border-light);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-meta-seal {
  display: inline-block;
}

.meta-footer-seal-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.3));
}

.footer-links-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  color: #FFF;
}

.footer-links-col ul li {
  margin-bottom: 0.75rem;
}

.footer-links-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links-col ul li a:hover {
  color: var(--primary);
}

.contact-info-item {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-bottom {
  border-t: 1px solid var(--border-light);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- Floating WhatsApp Action Button --- */
.floating-wa-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
  animation: pulse-wa 2s infinite;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: #0A0F18;
  border: 1px solid var(--border-green);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.floating-wa-btn:hover .wa-tooltip {
  opacity: 1;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Interactive Demo Showcase Tabs & Panes --- */
.demo-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.demo-tab-btn {
  background: rgba(13, 20, 32, 0.7);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
}

.demo-tab-btn:hover {
  background: rgba(0, 255, 65, 0.1);
  border-color: var(--border-green);
  color: #FFF;
}

.demo-tab-btn.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: var(--primary-glow);
}

.demo-tab-btn.active i {
  color: #000 !important;
}

/* Demo Panes */
.demo-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo-pane.active {
  display: block;
  opacity: 1;
}

/* Audio Player Mockup inside Chat */
.audio-player-box-mock {
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.ap-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ap-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ap-wave {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.ap-fill {
  height: 100%;
  background: var(--primary);
}

.ap-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

.ap-speed {
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--primary);
}

.ap-transcription {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Kanban Pane */
.kanban-pane-container {
  padding: 1.5rem;
}

.kanban-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.kanban-pane-header h4 {
  font-size: 1.1rem;
}

.kanban-pane-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.k-metrics-pills {
  display: flex;
  gap: 0.75rem;
}

.k-pill {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
}

.k-pill.green {
  border-color: var(--border-green);
  color: var(--primary);
}

.kanban-board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.kb-col {
  background: rgba(6, 9, 14, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.kb-header {
  font-size: 0.8rem;
  font-weight: 800;
  padding-bottom: 0.6rem;
  margin-bottom: 0.85rem;
  border-b: 1px solid var(--border-light);
}

.kb-header.yellow { color: #FFD166; }
.kb-header.blue { color: #118AB2; }
.kb-header.purple { color: #A663CC; }
.kb-header.green { color: var(--primary); }

.kb-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 0.65rem;
}

.kb-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.kb-price {
  font-weight: 800;
  color: var(--primary);
}

.kb-card p {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0.35rem 0;
}

.kb-tags {
  display: flex;
  gap: 0.35rem;
}

.kb-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.kb-tag.green { background: rgba(0, 255, 65, 0.15); color: var(--primary); }
.kb-tag.blue { background: rgba(17, 138, 178, 0.2); color: #118AB2; }
.kb-tag.yellow { background: rgba(255, 209, 102, 0.2); color: #FFD166; }

.win-card {
  border-color: var(--border-green);
  background: rgba(0, 255, 65, 0.05);
}

/* IA Pane */
.ia-pane-container {
  padding: 2rem;
}

.ia-desc-col h3 {
  font-size: 1.5rem;
  margin: 0.85rem 0;
}

.ia-desc-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.check-list-custom li {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ia-chat-preview-box {
  background: rgba(6, 9, 14, 0.9);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--primary-glow);
}

.ai-box-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  border-b: 1px solid var(--border-light);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

.ai-thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.msg-in-ai {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.msg-out-ai {
  background: rgba(0, 255, 65, 0.15);
  border: 1px solid var(--border-green);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.ai-status-row {
  font-size: 0.75rem;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
}

/* Presentation Banner CTA */
.presentation-cta-banner {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, rgba(13, 20, 32, 0.9), rgba(0, 255, 65, 0.1));
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pres-cta-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.pres-cta-icon {
  font-size: 2.5rem;
}

.pres-cta-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.pres-cta-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Diagnostic Comparison Grid */
.diagnostic-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.comparison-grid-container {
  max-width: 1080px;
  margin: 0 auto;
}

.comp-status-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
}

.comp-status-card.negative {
  border-top: 3px solid #FF4D4D;
}

.comp-status-card.positive {
  border-top: 3px solid var(--primary);
  background: rgba(0, 255, 65, 0.04);
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.08);
}

.comp-status-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.comp-status-header h3 {
  font-size: 1.25rem;
}

.comp-list li {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
}

.comp-status-card.positive .comp-list li {
  color: var(--text-main);
}

.text-red { color: #FF4D4D !important; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(1, 1fr); max-width: 460px; }
  .pricing-card.plan-popular { transform: none; }
  .pricing-card.plan-popular:hover { transform: translateY(-8px); }
  .grid-2 { grid-template-columns: 1fr; }
  .floating-badge { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .kanban-board-grid { grid-template-columns: repeat(2, 1fr); }
  .presentation-cta-banner { flex-direction: column; text-align: center; }
  .pres-cta-content { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #06090E;
    flex-direction: column;
    padding: 3rem 1.5rem;
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle { display: block; }
  .hero-section { padding-top: 8rem; }
  .hero-title { font-size: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .kanban-board-grid { grid-template-columns: 1fr; }
}

