@font-face {
  font-family: 'Switzer';
  src: url('assets/Switzer-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  --primary-color: #8B5CF6;
  --primary-dark: #6D28D9;
  --primary-light: #C4B5FD;
  --primary-bg: #F5F3FF;
  
  --bg-color: #FAFAFA;
  --surface-color: #FFFFFF;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;

  --border-color: #E2E8F0;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --container-width: 1200px;
}

[data-theme="visum"] {
  /* VISUM PRIMARY BRAND COLORS */
  --theme-brand-500: #884FFF;
  --theme-brand-600: #7B2BFC;
  --theme-brand-50:  #ECE7FF;

  /* VISUM GEOMETRY */
  --theme-button-radius: 8px;

  /* Mapeando os tokens do MISE para as vars globais do site */
  --primary-color: var(--theme-brand-500);
  --primary-dark: var(--theme-brand-600);
  --primary-bg: var(--theme-brand-50);
  
  --radius-full: var(--theme-button-radius);
  --radius-lg: var(--theme-button-radius);
  --radius-md: var(--theme-button-radius);
  --radius-sm: var(--theme-button-radius);
}

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

html, body {
  overflow-x: clip;
}

body {
  font-family: 'Switzer', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

strong, b {
  font-weight: 500;
}

/* Typography Overrides to reduce boldness and sizes */

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

h1 {
  font-size: 5.5rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.text-gradient {
  background: linear-gradient(135deg, #18053a, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 10rem 0;
}

/* Background Utility Classes for Sections */
.section-bg-white {
  background-color: #FFFFFF !important;
}

.section-bg-gray {
  background-color: #FAFAFA !important;
  border: none !important;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 16px; /* Reduced by 50% */
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.2s;
  font-size: 0.95rem;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 400;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-color);
  color: var(--text-main);
  background: white;
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-neutral {
  background-color: white;
  color: var(--primary-dark);
  font-weight: 500;
}

.btn-neutral:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  padding-top: 14rem;
  padding-bottom: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure canvas doesn't overflow */
}

#bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
}

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

.hero-microcopy {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Product Dashboard Image Fake */
.hero-dashboard {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  background: white;
  overflow: hidden;
  height: 550px;
  display: flex;
  text-align: left;
}

.dash-sidebar {
  width: 200px;
  border-right: 1px solid var(--border-color);
  background: #FFFFFF;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  font-weight: 300;
}

.dash-logo {
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.dash-menu {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dash-section {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dash-item {
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-item.active {
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-weight: 500;
}

.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #FAFAFA;
}

.dash-header {
  height: 60px;
  border-bottom: 1px solid var(--border-color);
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.dash-tabs {
  display: flex;
  align-items: center;
  height: 100%;
}

.dash-tabs span {
  font-size: 0.85rem;
  margin-right: 1.5rem;
  color: var(--text-muted);
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.dash-tabs span.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  font-weight: 500;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.25rem 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.dash-user .avatar {
  background: var(--primary-bg);
  color: var(--primary-dark);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.visum-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #F3F4F6;
  background: #FFF;
}

.visum-topbar-left, .visum-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.visum-menu-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  color: #7B2BFC;
  background: white;
  cursor: pointer;
}

.visum-app-logo {
  height: 18px;
  display: block;
}

.visum-btn-insights {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: white;
  font-size: 0.75rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}
.visum-btn-insights:hover { border-color: #7B2BFC; }
.visum-btn-insights img {
  width: 14px;
  height: 14px;
}

.visum-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E0E7FF;
}

.dash-body {
  padding: 1.5rem 2rem;
  flex: 1;
  overflow: hidden;
  font-weight: 300;
}

.dash-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.dash-filters span {
  font-size: 0.7rem;
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  background: white;
  margin-left: 0.4rem;
  color: var(--text-main);
}

.dash-cards {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dash-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  flex: 1;
}

.dash-card .card-icon {
  margin-bottom: 0.5rem;
}

.dash-card .card-value {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-main);
}

.dash-card .card-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dash-insights-bar {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.dash-insights-bar .badge {
  background: var(--primary-bg);
  color: var(--primary-dark);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.5rem;
  font-size: 0.75rem;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.dash-table th, .dash-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.dash-table th {
  color: var(--text-muted);
  font-weight: 500;
  background: #FAFAFA;
}

.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.status-badge.orange { background: #FFF7ED; color: #EA580C; border: 1px solid #FED7AA; }
.status-badge.yellow { background: #FEFCE8; color: #CA8A04; border: 1px solid #FEF08A; }
.status-badge.blue { background: #EFF6FF; color: #2563EB; border: 1px solid #BFDBFE; }

.dashboard-floating-card {
  position: absolute;
  background: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: float 6s ease-in-out infinite;
}



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

/* Features Generic Configs */
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

/* 3 Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: none;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.pillar-card p {
  flex: 1;
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

.btn-ghost-pillar {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  border: none;
  background: transparent;
  transition: color 0.2s ease;
  width: fit-content;
  cursor: pointer;
}

.btn-ghost-pillar:hover {
  color: var(--text-main);
}

.pillar-icon {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.pillar-icon img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Highlight Box (Purple) */
.highlight-box {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.85), rgba(139, 92, 246, 0.85)), url('assets/custom-3d-visum.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  color: white;
  padding: 12rem 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 16rem 0; /* Dobro de espaço entre blocos para maior respiro */
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.highlight-box h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: 3rem; /* Aumentado levemente para acompanhar o espaço maior */
  line-height: 1.1;
  font-weight: 300; /* Tipografia Light */
}

/* Steps */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12rem; /* Espaço bem maior entre sessões */
}

.step-item {
  display: flex;
  align-items: center;
  gap: 6rem;
  opacity: 0;
  will-change: transform, opacity;
  transition: all 2s cubic-bezier(0.15, 0, 0, 1); /* Animação extremamente lenta e líquida */
}

/* Itens ímpares vêm da esquerda */
.step-item {
  transform: translateX(-150px);
}

/* Itens pares vêm da direita */
.step-item:nth-child(even) {
  flex-direction: row-reverse;
  transform: translateX(150px);
}

.step-item.animate-in {
  opacity: 1;
  transform: translateX(0) !important;
}

.step-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 300; /* Tipografia Light */
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0.4;
}

.step-content {
  flex: 1;
}

.step-visual {
  flex: 1.5; /* Box levemente maior que o texto */
  height: 450px; /* Aumentado em 50% (de 300px) */
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* For Who */
/* Who Split Layout — full-bleed right image */
.who-split-section {
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 10rem 0;
  position: relative;
}

.who-split-inner {
  /* Takes up ~50% width from the left, aligned to container */
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--container-width);
  padding: 0 2rem;
}

.who-split-left {
  max-width: 520px;
}

.who-list {
  display: flex;
  flex-direction: column;
}

.who-list-item {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-color);
}

.who-list-item:last-child {
  border-bottom: 1px solid var(--border-color);
}

.who-list-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.who-list-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
}

.who-list-number {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.who-list-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Right bleed panel */
.who-split-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  /* Starts at ~50% of the viewport and overflows right */
  width: 55vw;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transform-origin: right center;
  will-change: transform, opacity;
}

.who-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .who-split-section {
    flex-direction: column;
    padding: 6rem 0 0;
  }
  .who-split-right {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: var(--radius-lg);
    margin-top: 3rem;
  }
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.who-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden; /* Importante para a imagem sangrada respeitar o radius */
  display: flex;
  flex-direction: column;
}

.who-card-body {
  padding: 2.5rem; /* Padding original agora apenas no corpo do card */
}

.who-card img {
  width: 100%;
  display: block;
  border-radius: 0; /* O arredondamento do topo será feito pelo overflow: hidden do card */
}

.who-card h3 {
  color: #000; /* Título em preto */
  font-weight: 500;
}

.who-card .tag {
  background: var(--primary-bg);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Testimonials Gallery */
.testimonials-gallery {
  position: relative;
  width: 100%;
  padding: 2rem 0;
  margin: 8rem 0;
  overflow: hidden;
}

/* Tweet-style card grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.tweet-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tweet-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.tweet-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tweet-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tweet-user-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.tweet-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tweet-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tweet-x-icon {
  width: 18px;
  height: 18px;
  fill: #000;
  flex-shrink: 0;
  opacity: 0.85;
}

.tweet-quote {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #374151;
  margin: 0;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Gradient Borders for mask effect removed for responsive grid */

.testimonials-slider {
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4rem calc((100vw - 1200px) / 2); /* Alinha com o container */
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card-item {
  flex: 0 0 850px; /* Largura reduzida para mostrar vizinhos */
  scroll-snap-align: center;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  gap: 3.5rem;
  box-shadow: none;
  opacity: 0.2; /* Opacidade reduzida para cards laterais */
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.testimonial-card-item.active {
  opacity: 1; /* Card central totalmente visível */
  transform: scale(1.02); /* Leve destaque no central */
}

/* Navigation Buttons Container */
.testimonial-controls {
  display: flex;
  justify-content: center; /* Centralizado conforme solicitado */
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0 2rem;
  width: 100%;
}

.testimonial-nav-btn {
  background: #f8f8f8;
  border: 1px solid #eeeeee;
  color: #888888;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-nav-btn:hover {
  background: #f0f0f0;
  color: #000000;
  border-color: #dddddd;
}

.testimonial-nav-btn svg {
  width: 20px;
  height: 20px;
}

.testimonial-card-item:hover {
  transform: translateY(-5px);
}

@media (max-width: 1200px) {
  .testimonials-slider {
    padding: 2rem 2rem;
  }
  .testimonial-card-item {
    flex: 0 0 90vw;
    flex-direction: column;
    padding: 2.5rem;
    gap: 2.5rem;
  }
}

/* Grid 6 Itens */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-box {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface-color);
  border: 1px solid var(--border-color);
}

/* Pricing Section */
.pricing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}

.pricing-header h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.pricing-header .stores {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.pricing-features {
  margin: 2rem 0;
  flex-grow: 1;
}

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

.pricing-features li::before {
  content: "✓";
  color: var(--primary-color);
}

/* Inline overrides to cancel bold globally */
[style*="font-weight: bold"], [style*="font-weight: 800"], [style*="font-weight: 700"], [style*="font-weight: 600"] {
  font-weight: 500 !important;
}

/* Custom Operations Block */
.custom-ops {
  background: linear-gradient(135deg, #18053a, var(--primary-color));
  color: white;
  padding: 4rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8rem; /* Dobrado conforme solicitado */
  margin-bottom: 8rem; /* Dobrado conforme solicitado */
}

.custom-ops h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

/* CTA Footer */
.cta-footer {
  text-align: center;
  padding: 8rem 0;
}

.cta-footer h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Footer Redesign */
footer {
  padding: 8rem 0 4rem 0;
  color: var(--text-muted);
  text-align: left;
}

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

.footer-logo-side h3 {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted); /* Updated to use existing muted variable */
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-side h3 img {
  height: 20px;
  opacity: 0.7;
}

.footer-visum-logo {
  height: 12px;
  margin-bottom: 1rem;
  display: block;
}

.footer-nav-col h4 {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-col a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav-col a:hover {
  color: var(--primary-color);
}

.footer-display-name {
  margin: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  pointer-events: none;
}

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

.floating-ai-container {
  animation: float 5s ease-in-out infinite;
}

.floating-ai-icon {
  height: clamp(3rem, 9vw, 6.5rem);
  width: auto;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  pointer-events: auto;
}

.floating-ai-icon:hover {
  transform: scale(1.15) rotate(-5deg);
}

.footer-display-name h2 {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 300;
  margin-bottom: 0;
  line-height: 1.1;
  padding-bottom: 0.15em; /* Ensures descenders like 'g' are fully rendered within text-gradient */
  letter-spacing: -0.04em;
  opacity: 0.9;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  position: relative;
  z-index: 999999;
  pointer-events: auto;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 999;
  padding-right: 80px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.2s ease;
  position: relative;
  z-index: 99;
  cursor: pointer;
  pointer-events: auto;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: color 0.2s;
  color: var(--text-muted);
  pointer-events: none;
}

.footer-social-link:hover {
  transform: translateY(-3px) scale(1.1);
  background: rgba(0, 0, 0, 0.08);
}

.footer-social-link:hover svg {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-display-name h2 {
    font-size: 5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    padding-bottom: 80px;
  }
  .footer-bottom-links {
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 0;
  }
}

/* Fail-safe for chat widget invisible wall */
#vcw-root {
  pointer-events: none !important;
}
#vcw-btn {
  pointer-events: auto !important;
}

/* Cases Page Styles */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
  margin-bottom: 16rem;
}

.case-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 3rem;
  transition: all 0.3s;
}

.case-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

.case-metric {
  background: var(--primary-bg);
  color: var(--primary-dark);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  font-weight: 500;
  font-size: 1.1rem;
  display: inline-block;
}

/* Help Center Styles */
.help-search {
  max-width: 600px;
  margin: 0 auto 4rem auto;
  position: relative;
}

.help-search input {
  width: 100%;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  box-shadow: none;
  font-family: inherit;
}

.help-search input:focus {
  border-color: var(--primary-color);
}

.help-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.help-category {
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.help-category:hover {
  border-color: var(--primary-color);
}

.accordion {
  margin-top: 2rem;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: white;
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  display: none;
}

/* Blog Listing */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  margin-bottom: 16rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  background: white;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateY(-5px);
}

.blog-card-img {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #f0f0f0, #e2e8f0);
}

.blog-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.blog-card-title {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-card-excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex: 1;
  font-weight: 300;
}

/* Blog Post Single */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.article-header {
  margin: 12rem 0 4rem 0;
  text-align: center;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.article-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.article-cover {
  width: 100%;
  height: 480px;
  background: var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 4rem;
}

.article-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
}

.article-content h3 {
  color: var(--text-main);
  margin-top: 3.5rem;
  font-size: 1.8rem;
  font-weight: 300;
}

.article-content ul {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.article-content ul li {
  margin-bottom: 1rem;
}

.article-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
  margin: 3rem 0;
  font-size: 1.5rem;
  color: var(--text-main);
  font-style: italic;
  font-weight: 300;
}

/* CMS General */
.cms-bg {
  background: #F8FAFC !important;
}

.cms-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cms-login-box {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 440px;
}

.cms-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.cms-input:focus {
  border-color: var(--primary-color);
}

.cms-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

/* CMS Dashboard */
.cms-layout {
  display: flex;
  min-height: 100vh;
}

.cms-sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
}

.cms-content {
  flex: 1;
  padding: 4rem;
}

.cms-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.cms-list {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.cms-list-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr auto;
  padding: 1.25rem 2rem;
  background: #FAFAFA;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.cms-list-row {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr auto;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  font-size: 0.9rem;
}

.cms-list-row:last-child {
  border-bottom: none;
}

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }

/* Responsive basics */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .pillars-grid, .who-grid, .features-grid, .pricing-grid, .cases-grid, .help-categories {
    grid-template-columns: 1fr;
  }
  .step-item, .step-item:nth-child(even) {
    flex-direction: column;
    text-align: center;
    transform: none;
  }
  .custom-ops {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .nav-links {
    display: none;
  }
}

/* ==========================================
   SCROLL REVEAL PRODUCT PREVIEW
   ========================================== */
.product-reveal-wrapper {
  padding: 0 2rem 10rem 2rem;
  display: flex;
  justify-content: center;
}

.product-reveal-box {
  width: 100%;
  max-width: 1200px;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff; /* Inicialmente neutro */
  transform: scaleX(0.15) scaleY(0.12);
  transform-origin: center top;
  opacity: 0.6;
  filter: blur(8px); /* Desfocado inicialmente */
  transition: border-radius 0.4s ease, opacity 0.3s ease, background 0.4s ease, box-shadow 0.4s ease, filter 0.5s ease;
  will-change: transform;
  min-height: 640px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.product-reveal-box.revealed {
  border-radius: 16px;
  background: #ffffff;
  filter: blur(0); /* Remove o desfoque ao dar scroll */
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
}

.product-reveal-inner {
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
  pointer-events: none;
}

.product-reveal-box.revealed .product-reveal-inner {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================
   VISUM APP UI
   ========================================== */
.visum-app {
  display: flex;
  min-height: 640px;
  font-size: 0.75rem;
  font-family: inherit;
  background: #fff;
}

/* --- Sidebar --- */
.visum-sidebar {
  width: 160px;
  min-width: 160px;
  background: #FAFAFA;
  border-right: 1px solid #EFEFEF;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
  gap: 0;
}

.visum-sidebar-logo {
  padding: 0 1rem 1rem 1rem;
  border-bottom: 1px solid #EFEFEF;
  margin-bottom: 0.75rem;
}

.visum-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  overflow: hidden;
}

.visum-nav-section {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #B0B0B0;
  padding: 0.75rem 1rem 0.25rem 1rem;
  text-transform: uppercase;
}

.visum-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  color: #555;
  cursor: pointer;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.15s;
  position: relative;
}

.visum-nav-item:hover {
  background: #F0EEFF;
  color: var(--primary-dark);
}

.visum-nav-item.active {
  background: var(--primary-color);
  color: white;
  font-weight: 500;
  border-radius: 6px;
  margin: 0 0.5rem;
}

.visum-nav-item.active svg {
  stroke: white;
}

.visum-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
}

.visum-nav-dot.green { background: #10B981; }

.visum-nav-badge {
  margin-left: auto;
  background: #E53E3E;
  color: white;
  font-size: 0.55rem;
  font-weight: 700;
  border-radius: 99px;
  padding: 1px 5px;
  line-height: 1.4;
}

.visum-sidebar-footer {
  border-top: 1px solid #EFEFEF;
  padding-top: 0.5rem;
  margin-top: auto;
}

/* --- Main --- */
.visum-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #F8F8FC;
}

/* Top bar */
.visum-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  background: white;
  border-bottom: 1px solid #EFEFEF;
}

.visum-tabs {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.visum-tab {
  font-size: 0.78rem;
  color: #999;
  cursor: pointer;
  padding-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.visum-tab.active {
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
}

.visum-tab-badge {
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 0.6rem;
  font-style: normal;
  padding: 1px 6px;
  border-radius: 99px;
}

.visum-tab-badge.muted {
  background: #f0f0f0;
  color: #999;
}

.visum-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.visum-top-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #F4F4F4;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.72rem;
  cursor: pointer;
}

.visum-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content area */
.visum-content {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: auto;
}

.visum-subtitle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.visum-subtitle-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: #666;
}

.visum-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16,185,129,0.25);
}

.visum-filter-row {
  display: flex;
  gap: 0.4rem;
}

.visum-filter-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
}

/* Status tabs */
.visum-status-tabs {
  display: flex;
  gap: 0.5rem;
}

.visum-status-tab {
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  font-size: 0.72rem;
  background: white;
  border: 1px solid #E5E7EB;
  cursor: pointer;
  color: #555;
}

.visum-status-tab.active {
  background: var(--primary-bg);
  border-color: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.visum-status-tab strong {
  margin-left: 4px;
  font-weight: 700;
}

/* Flow card */
.visum-flow-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

.visum-flow-title {
  font-weight: 600;
  font-size: 0.8rem;
  color: #222;
  margin-bottom: 0.2rem;
}

.visum-flow-subtitle {
  font-size: 0.68rem;
  color: #999;
  margin-bottom: 0.75rem;
}

.visum-flow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.visum-flow-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  background: #FAFAFA;
  border: 1px solid #EFEFEF;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}

.visum-flow-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.visum-flow-icon.blue  { background: #EFF6FF; color: #3B82F6; }
.visum-flow-icon.orange{ background: #FFFBEB; color: #F59E0B; }
.visum-flow-icon.green { background: #ECFDF5; color: #10B981; }
.visum-flow-icon.gray  { background: #F3F4F6; color: #9CA3AF; }
.visum-flow-icon.purple{ background: #F5F3FF; color: #7C3AED; }
.visum-flow-icon.teal  { background: #F0FDFA; color: #14B8A6; }

.visum-flow-label {
  font-size: 0.65rem;
  color: #888;
}

.visum-flow-count {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  line-height: 1;
}

.visum-flow-time {
  font-size: 0.6rem;
  background: #F3F4F6;
  padding: 1px 6px;
  border-radius: 99px;
  color: #666;
}

/* Insights bar */
.visum-insights-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-bg);
  border: 1px solid var(--primary-light);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  color: var(--primary-dark);
}

.visum-badge {
  background: var(--primary-color);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 99px;
  padding: 1px 6px;
}

.visum-insights-link {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Orders table */
.visum-orders-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.72rem;
}

.visum-orders-table thead {
  background: #FAFAFA;
  border-bottom: 1px solid #E5E7EB;
}

.visum-orders-table th {
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-weight: 500;
  color: #888;
  font-size: 0.65rem;
  white-space: nowrap;
}

.visum-orders-table td {
  padding: 0.5rem 0.75rem;
  color: #444;
  border-bottom: 1px solid #F3F4F6;
  white-space: nowrap;
}

.visum-orders-table tr:last-child td {
  border-bottom: none;
}

.visum-status {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
}

.visum-status.orange { background: #FFF7ED; color: #C2410C; }
.visum-status.yellow { background: #FFFBEB; color: #B45309; }
.visum-status.blue   { background: #EFF6FF; color: #1D4ED8; }
.visum-status.green  { background: #ECFDF5; color: #065F46; }

.visum-progress {
  width: 80px;
  height: 4px;
  background: #F3F4F6;
  border-radius: 99px;
  overflow: hidden;
}

.visum-progress span {
  display: block;
  height: 100%;
  border-radius: 99px;
}

.visum-channel {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

.visum-channel.ifood { background: #FEE2E2; color: #DC2626; }
.visum-channel.rappi { background: #FFF7ED; color: #EA580C; }

.visum-btn-detail {
  background: none;
  border: 1px solid #E5E7EB;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 0.65rem;
  cursor: pointer;
  color: #555;
  font-family: inherit;
  transition: all 0.15s;
}

.visum-btn-detail:hover {
  background: var(--primary-bg);
  border-color: var(--primary-color);
  color: var(--primary-dark);
}


/* --- Tasks Interface UI --- */
.task-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
.task-title-group h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #111;
}
.task-title-group p {
  font-size: 0.75rem;
  color: #888;
  margin: 0;
}
.btn-task-create {
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.task-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
  flex: 1;
  min-height: 400px;
}

.task-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.task-column-header {
  font-size: 0.65rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.task-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.task-card:hover { border-color: var(--primary-light); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

.task-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.task-card-tags {
  display: flex;
  gap: 0.4rem;
}
.task-tag {
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 99px;
  background: #F3F4F6;
  color: #666;
}
.task-tag.purple { background: #F5F3FF; color: var(--primary-dark); }
.task-tag.green { background: #ECFDF5; color: #065F46; }
.task-tag.orange { background: #FFFBEB; color: #B45309; }

.task-progress-container {
  height: 4px;
  width: 100%;
  background: #F3F4F6;
  border-radius: 2px;
  overflow: hidden;
}
.task-progress-bar {
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
}

.task-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}
.task-user {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: #555;
}
.task-user-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #333;
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.task-date { font-size: 0.65rem; color: #999; }

/* ===== PARCEIROS (MARQUEE) ===== */
.partners-section {
  padding: 6rem 0;
  overflow: hidden;
  position: relative;
}

.partners-header {
  text-align: center;
  margin-bottom: 3rem;
}

.partners-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C0C0C0;
  margin: 0;
}

.partners-track-wrapper {
  position: relative;
  overflow: hidden;
}

/* Edge fade masks */
.partners-track-wrapper::before,
.partners-track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}

.partners-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color, #FAFAFA), transparent);
}

.partners-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color, #FAFAFA), transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

/* Each set of logos is a flex row with consistent spacing */
.partners-set {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem; /* ensures gap between end of set and start of clone */
}

.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 0.8;
}

.partner-logo img,
.partner-logo svg {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* ================================================
   MEGA MENU
   ================================================ */
.nav-has-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-dropdown-trigger:hover { color: var(--primary-color); }

.nav-dropdown-chevron { transition: transform 0.25s ease; }
.nav-has-dropdown.open .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 680px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 20px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1001;
  display: flex;
  overflow: hidden;
}
.nav-has-dropdown.open .nav-mega-panel,
.nav-has-dropdown:hover .nav-mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-left { flex: 1; padding: 1rem; display: flex; flex-direction: column; }
.mega-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  padding: 0.5rem 0.75rem 0.5rem;
}
.mega-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.15s;
}
.mega-item:hover { background: #F5F3FF; }
.mega-item:hover .mega-item-title { color: var(--primary-color); }

.mega-item-icon {
  width: 36px;
  height: 36px;
  background: #F5F3FF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color);
  border: 1px solid rgba(139,92,246,0.15);
}
.mega-item-body { flex: 1; min-width: 0; }
.mega-item-title { font-size: 0.875rem; font-weight: 500; color: var(--text-main); transition: color 0.15s; }
.mega-item-desc { font-size: 0.78rem; color: var(--text-muted); font-weight: 300; margin-top: 1px; }

.mega-right {
  width: 210px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #18053a 0%, #4c1d95 50%, #7B2BFC 100%);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.mega-right::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -50px;
  right: -50px;
}
.mega-right-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.mega-right-title {
  font-size: 1rem;
  font-weight: 300;
  color: white;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  flex: 1;
}
.mega-right-desc { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; font-weight: 300; line-height: 1.5; }
.mega-right-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  width: fit-content;
}
.mega-right-btn:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }

/* ================================================
   FEATURE PAGES
   ================================================ */
.feature-hero {
  padding: 14rem 0 8rem;
}
.feature-hero .container {
  display: flex;
  align-items: center;
  gap: 5rem;
}
.feature-hero-content { flex: 1; min-width: 0; }
.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-bg);
  color: var(--primary-dark);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(139,92,246,0.2);
}
.feature-hero h1 {
  font-size: 3.25rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}
.feature-hero .feature-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  font-weight: 300;
}
.feature-actions { display: flex; gap: 0.875rem; align-items: center; }
.feature-hero-visual {
  flex: 1.3;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
  background: white;
  min-height: 400px;
}

/* How section */
.how-section { padding: 10rem 0; }
.how-inner { display: flex; gap: 6rem; align-items: flex-start; padding: 10rem 0; }
.how-visual {
  flex: 1.2;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  position: sticky;
  top: 120px;
  min-height: 320px;
}
.how-content { flex: 1; }
.how-content h2 { font-size: 2rem; font-weight: 300; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.how-content > p { color: var(--text-muted); margin-bottom: 2.5rem; font-weight: 300; }
.how-acc-item { border-bottom: 1px solid var(--border-color); padding: 1.25rem 0; cursor: pointer; }
.how-acc-item:first-of-type { border-top: 1px solid var(--border-color); }
.how-acc-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.how-acc-title { font-size: 0.95rem; font-weight: 500; color: var(--text-main); transition: color 0.15s; }
.how-acc-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-light); transition: transform 0.2s; }
.how-acc-item.open .how-acc-title { color: var(--primary-color); }
.how-acc-item.open .how-acc-icon { transform: rotate(45deg); color: var(--primary-color); }
.how-acc-body { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.75rem; line-height: 1.7; font-weight: 300; display: none; }
.how-acc-item.open .how-acc-body { display: block; }

/* Practice section */
.practice-section { padding: 10rem 0; }
.practice-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.practice-tab {
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  font-size: 0.82rem;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: white;
  color: var(--text-muted);
  transition: all 0.2s;
  font-family: inherit;
}
.practice-tab:hover { border-color: var(--primary-color); color: var(--primary-color); }
.practice-tab.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.practice-panel { display: none; background: white; border-radius: 16px; border: 1px solid var(--border-color); overflow: hidden; }
.practice-panel.active { display: block; animation: featureFadeUp 0.3s ease; }
@keyframes featureFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Benefits */
.benefits-section { padding: 10rem 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.benefit-card { background: white; border: 1px solid var(--border-color); border-radius: 12px; padding: 2rem; transition: all 0.25s; }
.benefit-card:hover { border-color: var(--primary-light); box-shadow: 0 8px 24px rgba(139,92,246,0.08); transform: translateY(-3px); }
.benefit-icon { width: 44px; height: 44px; background: var(--primary-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--primary-color); }
.benefit-title { font-size: 0.95rem; font-weight: 500; color: var(--text-main); margin-bottom: 0.5rem; }
.benefit-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; font-weight: 300; margin: 0; }

/* Value proof */
.value-proof { padding: 10rem 0; }
.value-proof-inner {
  background: linear-gradient(135deg, #18053a 0%, #7B2BFC 100%);
  border-radius: 20px;
  padding: 5rem 6rem;
  display: flex;
  align-items: center;
  gap: 6rem;
  position: relative;
  overflow: hidden;
}
.value-proof-inner::before { content: ''; position: absolute; width: 350px; height: 350px; border-radius: 50%; background: rgba(255,255,255,0.04); top: -100px; right: -80px; }
.value-stats { display: flex; flex-direction: column; gap: 2rem; flex-shrink: 0; }
.value-stat strong { display: block; font-size: 2.25rem; font-weight: 300; color: white; letter-spacing: -0.03em; }
.value-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.value-text { color: white; }
.value-text h2 { font-size: 1.85rem; font-weight: 300; line-height: 1.3; letter-spacing: -0.03em; margin-bottom: 1rem; }
.value-text p { color: rgba(255,255,255,0.65); font-weight: 300; margin-bottom: 2rem; }
.value-cta-btn { background: white; color: var(--primary-dark); }

/* FAQ */
.faq-section { padding: 10rem 0; }
.faq-list { max-width: 700px; margin: 3.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 1.5rem 0; cursor: pointer; }
.faq-item:first-child { border-top: 1px solid var(--border-color); }
.faq-question { font-size: 0.95rem; font-weight: 500; color: var(--text-main); display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color 0.15s; }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--text-light); transition: transform 0.2s; }
.faq-item.open .faq-question { color: var(--primary-color); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--primary-color); }
.faq-answer { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.875rem; line-height: 1.75; font-weight: 300; display: none; }
.faq-item.open .faq-answer { display: block; }

/* Feature CTA */
.feature-final-cta { background: var(--bg-color); border-top: 1px solid var(--border-color); padding: 8rem 0; text-align: center; }
.feature-final-cta h2 { font-size: 2.5rem; font-weight: 300; margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.feature-final-cta p { max-width: 480px; margin: 0 auto 2.5rem; }

/* ================================================
   UI MOCKS PARA FEATURE PAGES
   ================================================ */

/* Chat Mock */
.chat-mock { display: flex; flex-direction: column; min-height: 400px; background: #FAFAFA; }
.chat-mock-header { background: white; border-bottom: 1px solid var(--border-color); padding: 0.875rem 1.25rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.82rem; font-weight: 500; }
.chat-mock-dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,0.15); }
.chat-messages { flex: 1; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.875rem; }
.chat-msg-user { align-self: flex-end; background: var(--primary-color); color: white; padding: 0.55rem 0.875rem; border-radius: 12px 12px 2px 12px; font-size: 0.78rem; max-width: 72%; font-weight: 300; }
.chat-msg-ai { align-self: flex-start; background: white; border: 1px solid var(--border-color); padding: 0.875rem 1rem; border-radius: 12px 12px 12px 2px; font-size: 0.78rem; max-width: 80%; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.chat-ai-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.62rem; font-weight: 600; color: var(--primary-color); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.chat-mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 32px; margin-top: 0.625rem; padding: 4px; background: var(--primary-bg); border-radius: 6px; }
.chat-mini-bar { flex: 1; background: var(--primary-color); border-radius: 2px; opacity: 0.4; }
.chat-mini-bar.hi { opacity: 1; }
.chat-mock-input { background: white; border-top: 1px solid var(--border-color); padding: 0.75rem 1.25rem; display: flex; gap: 0.5rem; align-items: center; }
.chat-input-inner { flex: 1; background: #F9FAFB; border: 1px solid var(--border-color); border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.75rem; color: var(--text-muted); }
.chat-send { width: 30px; height: 30px; background: var(--primary-color); border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Dashboard Mock */
.dash-mock { padding: 1.25rem; background: #F8F8FC; min-height: 400px; }
.dash-mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.dash-mock-label { font-size: 0.82rem; font-weight: 500; }
.dash-mock-periods { display: flex; gap: 0.375rem; }
.dash-mock-period { font-size: 0.68rem; padding: 0.25rem 0.625rem; border-radius: 6px; border: 1px solid var(--border-color); background: white; color: var(--text-muted); cursor: pointer; }
.dash-mock-period.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.dash-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem; margin-bottom: 0.75rem; }
.dash-mock-kpi { background: white; border: 1px solid var(--border-color); border-radius: 10px; padding: 0.75rem; }
.dash-kpi-label { font-size: 0.62rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.dash-kpi-val { font-size: 1.1rem; font-weight: 300; color: var(--text-main); }
.dash-kpi-trend { font-size: 0.62rem; color: #10B981; margin-top: 2px; }
.dash-chart { background: white; border: 1px solid var(--border-color); border-radius: 10px; padding: 0.875rem; }
.dash-chart-label { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.dash-chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 72px; }
.dash-bar { flex: 1; background: var(--primary-bg); border-radius: 3px; }
.dash-bar.active { background: var(--primary-color); }

/* Task/Checklist Mock */
.task-mock2 { background: #F8F8FC; padding: 1.25rem; min-height: 400px; }
.task-mock2-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.task-mock2-label { font-size: 0.82rem; font-weight: 500; }
.task-create-btn2 { background: var(--primary-color); color: white; padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 0.7rem; font-weight: 500; display: flex; align-items: center; gap: 0.3rem; }
.task-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem; }
.task-col-head { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 0.5rem; display: flex; justify-content: space-between; }
.task-mini-card { background: white; border: 1px solid var(--border-color); border-radius: 8px; padding: 0.6rem 0.75rem; margin-bottom: 0.4rem; }
.task-mini-title { font-size: 0.72rem; font-weight: 500; color: var(--text-main); margin-bottom: 0.3rem; line-height: 1.35; }
.task-mini-tag { font-size: 0.58rem; padding: 1px 6px; border-radius: 99px; font-weight: 500; }
.task-mini-tag.p { background: #F5F3FF; color: var(--primary-dark); }
.task-mini-tag.g { background: #ECFDF5; color: #065F46; }
.task-mini-tag.o { background: #FFFBEB; color: #B45309; }
.task-mini-prog { height: 3px; background: #F3F4F6; border-radius: 2px; margin-top: 0.4rem; overflow: hidden; }
.task-mini-fill { height: 100%; background: var(--primary-color); border-radius: 2px; }

/* Integration Mock */
.int-mock { background: #F8F8FC; min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; gap: 0; }
.int-sources { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.int-source { background: white; border: 1px solid var(--border-color); border-radius: 10px; padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 500; color: var(--text-main); display: flex; align-items: center; gap: 0.4rem; }
.int-source-dot { width: 8px; height: 8px; border-radius: 50%; }
.int-arrows { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.int-arrow-line { width: 2px; height: 32px; background: linear-gradient(to bottom, var(--border-color), var(--primary-color)); margin: 0 auto; }
.int-hub { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)); border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(139,92,246,0.3); margin-bottom: 1.5rem; }
.int-outputs { display: flex; gap: 0.625rem; flex-wrap: wrap; justify-content: center; }
.int-output { background: var(--primary-bg); border: 1px solid rgba(139,92,246,0.2); border-radius: 8px; padding: 0.4rem 0.875rem; font-size: 0.72rem; font-weight: 500; color: var(--primary-dark); }

/* Management Mock */
.mgmt-mock { background: white; min-height: 400px; }
.mgmt-mock-top { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.mgmt-mock-title2 { font-size: 0.82rem; font-weight: 500; }
.mgmt-badge2 { padding: 2px 8px; border-radius: 99px; font-size: 0.62rem; font-weight: 600; }
.mgmt-badge2.g { background: #ECFDF5; color: #065F46; }
.mgmt-badge2.y { background: #FFFBEB; color: #B45309; }
.mgmt-badge2.r { background: #FEF2F2; color: #991B1B; }
.mgmt-table { width: 100%; }
.mgmt-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 80px; gap: 0.5rem; padding: 0.75rem 1.25rem; border-bottom: 1px solid #F9FAFB; align-items: center; font-size: 0.75rem; }
.mgmt-row.head { background: #FAFAFA; font-size: 0.68rem; color: var(--text-muted); font-weight: 500; }
.mgmt-store-n { font-weight: 500; color: var(--text-main); }

/* CHAT REVEAL SECTION */
.chat-reveal-section {
  height: 200vh; /* space to scroll */
  padding-top: 8rem;
  position: relative;
  background-color: var(--bg-main);
}

.chat-reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chat-reveal-image-container {
  width: 60%;
  height: 60vh;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  will-change: width, height, border-radius;
  transform: translateZ(0); /* hardware acceleration */
}

.chat-reveal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.floating-cards-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.visum-chat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  pointer-events: auto;
}

.visum-chat-icon {
  flex-shrink: 0;
  background: rgba(107, 46, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visum-chat-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

/* Organic Positioning */
.card-1 { top: 10%; left: 8%; }
.card-2 { top: 28%; right: 8%; }
.card-3 { top: 48%; left: 5%; }
.card-4 { bottom: 25%; right: 10%; }
.card-5 { bottom: 8%; left: 12%; }

@media (max-width: 768px) {
  .chat-reveal-image-container {
    width: 90%;
    height: 50vh;
  }
  .visum-chat-card {
    padding: 0.75rem 1rem;
    white-space: normal;
    width: fit-content;
    max-width: 80vw;
  }
  .visum-chat-card p {
    font-size: 0.85rem;
  }
  .card-1 { top: 5%; left: 2%; }
  .card-2 { top: 25%; right: 2%; }
  .card-3 { top: 45%; left: 2%; }
  .card-4 { bottom: 25%; right: 2%; }
  .card-5 { bottom: 5%; left: 2%; }
}


/* Main content (hidden until preloader exits) */
.main-content {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* HERO SECTION CSS RECOVERY */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 60px;
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    letter-spacing: -0.05em;
    white-space: pre-line;
}

#hero-p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-microcopy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-microcopy svg {
    color: var(--primary);
}

.fade-in-up {
    animation: fadeInUp 0.8s forwards ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--primary);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    #hero-p {
        font-size: 1.125rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

/* Newsletter Component */
.newsletter-widget {
  margin-top: 4.5rem;
}
.newsletter-form {
  position: relative;
  max-width: 280px;
}
.newsletter-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.newsletter-input-group input {
  width: 100%;
  padding: 0.55rem 2.5rem 0.55rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s;
  background: var(--surface-color);
  color: var(--text-main);
}
.newsletter-input-group input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.newsletter-btn {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: #F1F5F9; /* discreet secondary color */
  border: none;
  color: var(--text-muted);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.newsletter-btn:hover {
  color: var(--primary-color);
  background: #E2E8F0;
}
.newsletter-message {
  font-size: 0.75rem;
  margin-top: 0.4rem;
  min-height: 1rem;
  transition: all 0.2s;
}
.newsletter-message.success {
  color: #10B981;
}

/* ================================================
   MOBILE HAMBURGER BUTTON
   ================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1100;
}
.nav-hamburger:hover { background: var(--primary-bg); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 3rem;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--border-color);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.nav-mobile-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.nav-mobile-link {
  display: block;
  padding: 0.875rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: color 0.15s;
}
.nav-mobile-link:hover { color: var(--primary-color); }
.nav-mobile-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  padding: 1.25rem 0.5rem 0.5rem;
}
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.nav-mobile-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ================================================
   PRODUCT PAGES — MOBILE RESPONSIVENESS
   ================================================ */
@media (max-width: 1024px) {

  /* --- Navigation --- */
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-mobile-drawer {
    display: flex;
  }
}

@media (max-width: 768px) {

  /* --- Container padding --- */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* --- Feature Hero --- */
  .feature-hero {
    padding-top: 10rem;
    padding-bottom: 4rem;
  }
  .feature-hero .container {
    flex-direction: column;
    text-align: center;
  }
  .feature-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .feature-hero h1 {
    font-size: 2.25rem;
    letter-spacing: -0.03em;
  }
  .feature-hero .feature-sub {
    font-size: 0.95rem;
    max-width: 100%;
  }
  .feature-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .feature-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .feature-hero-visual {
    width: 100%;
    min-height: 280px;
    flex: none;
  }

  /* --- How Section --- */
  .how-section {
    padding: 0;
  }
  .how-inner {
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 0;
  }
  .how-visual {
    position: static; /* remove sticky on mobile */
    top: auto;
    width: 100%;
    flex: none;
    min-height: 220px;
  }
  .how-content {
    width: 100%;
  }
  .how-content h2 {
    font-size: 1.6rem;
  }

  /* --- Task Kanban Mock (3-col → scroll) --- */
  .task-mock2 {
    min-height: 260px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .task-cols {
    grid-template-columns: repeat(3, 200px);
    min-width: 620px;
  }

  /* --- Dashboard mock KPIs --- */
  .dash-mock-kpis {
    grid-template-columns: repeat(3, 1fr);
  }

  /* --- Management table (scroll) --- */
  .mgmt-mock {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mgmt-table {
    min-width: 480px;
  }

  /* --- Practice Section (Tabs + Panels) --- */
  .practice-section {
    padding: 4rem 0;
  }
  .practice-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .practice-tabs::-webkit-scrollbar { display: none; }
  .practice-tab {
    flex-shrink: 0;
  }
  /* Override inline grid in practice panels */
  .practice-panel [style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  .practice-panel {
    padding: 0 !important;
  }
  .practice-panel > div {
    padding: 1.5rem !important;
  }
  .practice-panel h3 {
    font-size: 1.2rem !important;
  }

  /* --- Benefits Grid --- */
  .benefits-section {
    padding: 4rem 0;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  /* --- Value Proof --- */
  .value-proof {
    padding: 4rem 0;
  }
  .value-proof-inner {
    flex-direction: column;
    padding: 2.5rem 1.75rem;
    gap: 2.5rem;
  }
  .value-stats {
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .value-stat strong {
    font-size: 1.6rem;
  }
  .value-text h2 {
    font-size: 1.5rem;
  }
  .value-cta-btn {
    width: 100%;
    justify-content: center;
  }

  /* --- FAQ --- */
  .faq-section {
    padding: 4rem 0;
  }
  .faq-list {
    margin-top: 2rem;
  }

  /* --- Feature Final CTA --- */
  .feature-final-cta {
    padding: 4rem 0;
  }
  .feature-final-cta h2 {
    font-size: 1.8rem;
  }
  .feature-final-cta .feature-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-final-cta .feature-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Section headings --- */
  .section-title h2 {
    font-size: 1.75rem;
  }

  /* --- Mega nav panel hidden on mobile (handled by drawer) --- */
  .nav-mega-panel {
    display: none !important;
  }
}

/* ================================================
   EXTRA SMALL SCREENS (≤ 480px)
   ================================================ */
@media (max-width: 480px) {
  .feature-hero {
    padding: 7rem 0 3rem;
  }
  .feature-hero h1 {
    font-size: 1.9rem;
  }
  .how-inner {
    padding: 3rem 0;
  }
  .value-proof-inner {
    padding: 2rem 1.25rem;
  }
  .value-stats {
    flex-direction: column;
    gap: 1.25rem;
  }
  .feature-final-cta h2 {
    font-size: 1.5rem;
  }
  .chat-mock {
    min-height: 280px;
  }
  .chat-msg-user,
  .chat-msg-ai {
    max-width: 90%;
  }
  .value-text .btn {
    width: 100%;
    justify-content: center;
  }
}


/* Hero Email Capture Form */
.hero-capture-form {
  display: flex;
  align-items: center;
  background: white;
  padding: 0.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-width: 500px;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,0.05);
}

.hero-capture-form input[type="email"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  color: #111;
  outline: none;
}

.hero-capture-form input[type="email"]::placeholder {
  color: #9CA3AF;
}


@media (max-width: 600px) {
  .hero-capture-form {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    gap: 1rem;
  }
  .hero-capture-form input[type="email"] {
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #E5E7EB;
  }

}
