/* Design Tokens / CSS Variables (Obsidian Aurora Cyber-Dark Theme) */
:root {
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --bg-primary: #020205;      /* Deep Space Black */
  --bg-secondary: #06060c;    /* Cyber Obsidian Dark */
  --bg-tertiary: #0c0c16;     /* Deep Indigo Slate */
  --bg-accent-light: rgba(139, 92, 246, 0.08);
  --bg-dark: #010103;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;  /* Slightly brighter for readability */
  --text-muted: #64748b;
  --text-white: #ffffff;

  --primary: #8b5cf6;         /* Vivid Violet */
  --primary-hover: #a78bfa;
  --primary-glow: rgba(139, 92, 246, 0.25);

  --accent: #06b6d4;          /* Cyber Cyan */
  --accent-hover: #22d3ee;
  --accent-glow: rgba(6, 182, 212, 0.15);

  --border-light: rgba(255, 255, 255, 0.06);
  --border-focus: rgba(255, 255, 255, 0.12);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  --shadow-premium: 0 35px 70px -15px rgba(139, 92, 246, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* Tech Dotted Mesh Grid Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 0);
  background-size: 24px 24px;
  z-index: 0;
  pointer-events: none;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-title);
  color: var(--text-primary);
  letter-spacing: -0.03em; /* Slightly tighter tracking for Montserrat headers */
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Glow Blobs background - Revamped with Aurora Colors (Cyan, Violet, Pink) */
.glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0.03) 50%, rgba(0,0,0,0) 100%);
  filter: blur(120px);
  animation: float 25s infinite alternate ease-in-out;
}

.glow-blob-1 {
  top: -250px;
  left: -150px;
}

.glow-blob-2 {
  top: 800px;
  right: -250px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(139, 92, 246, 0.02) 50%, rgba(0,0,0,0) 100%);
  animation-delay: -5s;
}

.glow-blob-3 {
  top: 2200px;
  left: -250px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.1) 0%, rgba(6, 182, 212, 0.02) 50%, rgba(0,0,0,0) 100%);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 100px) scale(1.15); }
  100% { transform: translate(-40px, -50px) scale(0.9); }
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2; /* Lift above background mesh */
}

.section {
  padding: 8rem 0;
  position: relative;
}

.bg-secondary {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.bg-tertiary {
  background-color: var(--bg-tertiary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.12);
  color: var(--primary-hover);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary-hover);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* Premium Buttons with Sheen glare effects */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  opacity: 0;
}

.btn:hover::after {
  left: 120%;
  opacity: 1;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

/* Floating Capsule Header - Complete visual departure from generic menus */
header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1050px;
  z-index: 100;
  background: rgba(2, 2, 5, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.header-scrolled {
  background: rgba(2, 2, 5, 0.85);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.08);
  top: 1rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem; /* Slightly shorter and sleeker */
  padding: 0 1.5rem;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  font-family: var(--font-title);
  color: var(--text-primary);
}

.logo-img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%; /* Circle looks more premium */
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  letter-spacing: -0.01em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-hover);
  transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-white);
}

.header-cta {
  display: flex;
  align-items: center;
}

.mobile-only-cta {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Layout (Side-by-Side) */
.hero {
  padding-top: 8rem;
  padding-bottom: 7rem;
}

#video-demonstracao {
  padding-top: 12rem;
  padding-bottom: 7rem;
  background: radial-gradient(circle at top, rgba(139, 92, 246, 0.12) 0%, rgba(2,2,5,0) 65%);
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
  margin-bottom: 4.5rem;
}

.hero-content-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero h1 span {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 300;
  text-align: left;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

/* Futuristic AI Agent Console */
.hero-graphic-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-console {
  width: 100%;
  max-width: 480px;
  height: 360px;
  background-color: #030307;
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.console-header {
  background-color: #080812;
  padding: 0.8rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  user-select: none;
}

.console-dots {
  display: flex;
  gap: 0.4rem;
}

.console-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.console-dots .dot.red { background-color: #ef4444; }
.console-dots .dot.yellow { background-color: #fbbf24; }
.console-dots .dot.green { background-color: #06b6d4; }

.console-title {
  font-family: Consolas, monospace;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.console-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #06b6d4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background-color: #06b6d4;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.console-body {
  flex-grow: 1;
  padding: 1.25rem;
  overflow-y: auto;
  background-color: #010103;
  scroll-behavior: smooth;
}

.console-body::-webkit-scrollbar {
  width: 6px;
}
.console-body::-webkit-scrollbar-track {
  background: #010103;
}
.console-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.terminal-line {
  margin-bottom: 0.6rem;
  font-size: 0.825rem;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  line-height: 1.4;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Video Section Styling */
.video-wrapper {
  max-width: 850px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  background-color: var(--bg-dark);
  width: 100%;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe, .video-container video, .video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  background: linear-gradient(135deg, #06060c 0%, #0d0d16 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.video-placeholder:hover {
  opacity: 0.9;
}

.video-play-btn {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--primary-glow);
  transition: var(--transition);
  margin-bottom: 1.25rem;
}

.video-play-btn svg {
  width: 1.75rem;
  height: 1.75rem;
  margin-left: 0.25rem;
}

.video-placeholder:hover .video-play-btn {
  transform: scale(1.1);
  background-color: var(--primary-hover);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.5);
}

.video-overlay-text {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 1rem;
  text-align: center;
}

/* Channels Trust Bar */
.channels-bar {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.channels-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 700;
}

.channels-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}

.channel-item:hover {
  color: var(--text-white);
}

.channel-item svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* Consolidated Reusable Grid Class */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Reusable Glassmorphism Card Component with Premium Glow Border on Hover */
.glass-card {
  background: rgba(12, 12, 22, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 1px; /* border thickness */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.12);
}

.glass-card:hover::before {
  background: linear-gradient(135deg, var(--accent), var(--primary), #d946ef);
}

/* Specific Card Overrides */
.pain-card {
  padding: 2.5rem;
  gap: 1.25rem;
}

.pain-icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: rgba(239, 68, 68, 0.12);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.pain-icon-wrapper svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.pain-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.pain-card p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.solution-card {
  padding: 2.5rem;
  gap: 1.25rem;
}

.solution-icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background-color: rgba(139, 92, 246, 0.12);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.solution-card:hover .solution-icon-wrapper {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.solution-icon-wrapper svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.solution-card p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.segments-grid {
  gap: 1.5rem;
}

.segment-card {
  padding: 2rem;
  position: relative;
  gap: 1rem;
}

.segment-card.active::before {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.segment-card.pending {
  background: rgba(12, 12, 22, 0.2);
  opacity: 0.6;
}

.segment-card.pending::before {
  background: dashed rgba(255, 255, 255, 0.1);
}

.segment-status {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.active .segment-status {
  background-color: rgba(6, 182, 212, 0.15);
  color: var(--accent-hover);
}

.pending .segment-status {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}

.segment-icon-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.segment-icon-header svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-hover);
}

.pending .segment-icon-header svg {
  color: var(--text-muted);
}

.segment-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.segment-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.cases-grid {
  margin-bottom: 5rem;
}

.case-card {
  overflow: hidden;
}

.case-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-light);
  background-color: rgba(6, 6, 12, 0.6);
}

.case-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

.case-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.case-result {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-hover);
  font-family: var(--font-title);
  line-height: 1.2;
}

.case-detail {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* Impact Numbers Bar */
.stats-bar {
  border: 1px solid var(--border-light);
  background-color: rgba(6, 6, 12, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-md);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  font-family: var(--font-title);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff, var(--primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  max-width: 200px;
  margin: 0 auto;
}

/* Planos e Preços */
.plans-grid {
  align-items: stretch;
  margin-bottom: 3rem;
}

.plan-card {
  border-radius: var(--radius-xl);
  padding: 3rem 2.25rem;
  position: relative;
}

.plan-card.popular::before {
  background: linear-gradient(135deg, var(--accent), var(--primary), #d946ef);
  padding: 2px;
}

.plan-card.popular {
  transform: translateY(-8px);
}

.plan-card.popular:hover {
  transform: translateY(-10px);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 5px 15px var(--primary-glow);
}

.plan-name {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.popular .plan-name {
  color: var(--accent-hover);
}

.plan-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-primary);
  font-family: var(--font-title);
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  min-height: 2.5rem;
  font-weight: 300;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

/* SVG Mask-based Checkmarks: Removes 17 inline SVGs */
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.plan-features li::before {
  content: "";
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  background-color: var(--accent);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'><path fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'><path fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/></svg>") no-repeat center / contain;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.plan-cta {
  width: 100%;
}

.plans-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Linha do Tempo (Onboarding) */
.timeline-container {
  position: relative;
  margin-top: 3rem;
}

.timeline-line {
  position: absolute;
  top: 2rem;
  left: 5%;
  width: 90%;
  height: 2px;
  background-color: var(--border-light);
  z-index: 1;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.timeline-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-title);
  margin-bottom: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.timeline-step:hover .timeline-dot {
  border-color: var(--primary);
  color: var(--primary-hover);
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-step h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.timeline-step p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  max-width: 240px;
  font-weight: 300;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: rgba(12, 12, 22, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--transition);
}

.faq-item:hover::before {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  z-index: 2;
  position: relative;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(6, 6, 12, 0.4);
}

.faq-answer-inner {
  padding: 1.5rem 2rem;
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--border-light);
  font-weight: 300;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-hover);
}

.faq-item.active::before {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

/* Form Replacement CSS */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(6, 6, 12, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-premium);
  width: 100%;
}

.form-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Success Icon wrapper for direct CTA */
.success-icon-wrapper {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: rgba(139, 92, 246, 0.12);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.success-icon-wrapper svg {
  width: 2.25rem;
  height: 2.25rem;
}

/* Legal Pages / Prose views */
.prose-section {
  padding-top: 10rem;
  padding-bottom: 7rem;
  max-width: 800px;
  margin: 0 auto;
}

.prose-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.prose-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 3rem;
  display: block;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.prose-content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
}

.prose-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose-content p {
  margin-bottom: 1.25rem;
}

.prose-content ul, .prose-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prose-contact-box {
  background-color: rgba(12, 12, 22, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3rem;
}

.prose-contact-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.prose-contact-box p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Footer */
footer {
  background: #010103;
  color: rgba(255, 255, 255, 0.5);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-white);
}

.footer-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
}

.footer-desc {
  font-size: 0.925rem;
  line-height: 1.6;
  max-width: 320px;
  font-weight: 300;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.925rem;
  font-weight: 400;
}

.footer-col a:hover {
  color: var(--text-white);
  padding-left: 4px;
}

.footer-contact-item {
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-text {
  line-height: 1.6;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 1rem;
}

/* Single Page App Utilities */
.hidden {
  display: none !important;
}

.view-content {
  animation: fadeIn 0.4s ease forwards;
}

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

/* Mobile Responsive styling */
@media (max-width: 1024px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content-left {
    align-items: center;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-subtitle {
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-console {
    margin: 0 auto;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .timeline-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  #video-demonstracao {
    padding-top: 7.5rem !important;
    padding-bottom: 4rem !important;
  }

  .hero {
    padding-top: 5rem !important;
    padding-bottom: 4rem !important;
  }

  header {
    top: 1rem;
    width: calc(100% - 2rem);
    border-radius: 20px;
    padding: 0.1rem 1rem;
  }

  .nav-container {
    height: 3.5rem;
    padding: 0 0.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 3.8rem;
    left: 0;
    width: 100%;
    background: rgba(2, 2, 5, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-only-cta {
    display: block !important;
    margin-top: 0.5rem;
    width: 100%;
  }

  .mobile-only-cta .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .plan-card.popular {
    transform: none;
  }

  .plan-card.popular:hover {
    transform: translateY(-5px);
  }

  .stats-bar {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
  }

  .stat-item {
    width: 100%;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .timeline-dot {
    margin-bottom: 1rem;
  }

  .form-container {
    padding: 3rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem !important;
  }
  .hero-subtitle {
    font-size: 0.975rem !important;
  }
  .section-header h2 {
    font-size: 1.75rem !important;
  }
  .pain-card, .solution-card, .plan-card {
    padding: 1.5rem !important;
  }
  .segment-card, .case-card {
    padding: 1.25rem !important;
  }
  .case-header {
    padding: 1rem 1.25rem !important;
  }
  .case-body {
    padding: 1.25rem !important;
  }
  .form-container {
    padding: 2rem 1.25rem !important;
  }
  .hero-console {
    height: 280px !important;
  }
  .terminal-line {
    font-size: 0.725rem !important;
  }
  .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  .timeline-dot {
    width: 3.5rem !important;
    height: 3.5rem !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
  }
}
