/* 
   ===============================================
   WHATSFLEX - NEO BRUTALISM/TECH CSS ARCHITECTURE
   ===============================================
   - Zero "Safe Layouts"
   - No Purple/Violet
   - Sharp Edges (0-2px)
   - High Contrast (Pitch Black vs Signal Orange/Acid Green)
*/

:root {
  /* Color System */
  --cf-bg: #050505; /* Charcoal Black / Pitch Base */
  --cf-surface: #121212; /* Surface Dark */
  --cf-surface-light: #1a1a1a;

  --cf-text-main: #ffffff;
  --cf-text-muted: #888888;

  /* The Disruptive Palette: Modern Luxury Gold */
  --cf-accent: #8c743e; /* Optimized Gold for Contrast */
  --cf-accent-hover: #A68B4D; /* Use original as hover */
  --cf-tech: #00ff66; /* Acid Green - Tech/System OK */
  --cf-border: #333333; /* Raw dark border */

  /* Animação de Revelação */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Luxury Gold Glow Effect */
.gold-glow-hover {
  position: relative;
  overflow: hidden;
}
.gold-glow-hover::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(166,139,77,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.gold-glow-hover:hover::after {
  opacity: 1;
}

  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout Constants */
  --radius-sharp: 0px; /* Brutalist strict */
  --radius-slight: 2px; /* Micro-rounding for inputs only */
  --container-max: 1280px;
  --container-pad: 2rem;

  /* Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Icon Draw Animation - Mathematical Perfect Trace Loop (Global Scope) */
.r-card .r-icon svg *,
.card-brutal .card-icon svg * {
  /* Exactly 150px safely covers any complex paths on 24x24 viewboxes */
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  transition: color 0.4s var(--ease-out);
  fill: none !important;
  stroke: currentColor;
  /* Ping-pong breathing trace */
  animation: drawIconTrace 4s ease-in-out infinite;
}

@keyframes drawIconTrace {
  0%   { stroke-dashoffset: 150; }
  50%  { stroke-dashoffset: 0;   }
  100% { stroke-dashoffset: 150; }
}

/* On hover, they turn gold. The loop keeps running naturally underneath. */
.r-card:hover .r-icon svg *,
.card-brutal:hover .card-icon svg * {
  color: var(--cf-accent);
}

/* ================== RESET & BASE ================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--cf-bg);
  overflow-x: hidden;
}

body.theme-dark {
  font-family: var(--font-body);
  color: var(--cf-text-main);
  background-color: var(--cf-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain Depth Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;         /* was 100vw – caused horizontal overflow when scrollbar present */
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.relative-z {
  position: relative;
  z-index: 10;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ================== TYPOGRAPHY ================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.mass-title {
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  margin-bottom: 2rem;
  line-height: 0.9;
}

.text-hollow {
  color: transparent;
  -webkit-text-stroke: 1px var(--cf-text-main);
}

.massive-sub {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--cf-text-main);
  margin-bottom: 1.5rem;
  line-height: 1.1; /* Added to lead titles without overlap */
}

.text-accent {
  color: var(--cf-accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--cf-text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* ================== BUTTONS & CTAS ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-sharp {
  border-radius: var(--radius-sharp);
}

.btn-primary {
  background-color: var(--cf-accent);
  color: #000;
  font-weight: 700;
  border: 1px solid var(--cf-accent);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--cf-accent);
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--cf-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--cf-text-main);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  border-color: var(--cf-border);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-massive {
  padding: 1.5rem 4rem;
  font-size: 1.5rem;
  width: 100%;
}

/* ================== NAVIGATION ================== */
.navbar {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cf-border);
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cf-text-main);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1);
  transition: filter 0.3s var(--ease-out);
}

.logo-img:hover {
  filter: brightness(1.2);
}

.footer-logo {
  height: 60px;
  margin-bottom: 0; /* Reset for side-by-side layout */
}

.neon-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--cf-tech);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cf-tech);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--cf-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--cf-text-main);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ================== HERO (ASYMMETRIC) ================== */
.hero-section {
  padding: 12rem 0 6rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Geometric background interference */
.hero-bg-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 40vw;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cf-surface));
  border-left: 1px dashed var(--cf-border);
  z-index: 1;
}

.content-block-90-10 {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.badge-brutal {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--cf-tech);
  color: var(--cf-tech);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--cf-text-muted);
}

.avatars {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--cf-surface-light);
  border: 1px solid var(--cf-bg);
  margin-left: -10px;
}
.avatar:first-child {
  margin-left: 0;
  background-color: #333;
}
.avatar:nth-child(2) {
  background-color: #444;
}
.avatar:nth-child(3) {
  background-color: #555;
}

/* Parallax UI elements (breaking the grid) */
.parallax-ui {
  position: absolute;
  left: 100%;
  right: auto;
  bottom: 12%;
  width: min(250px, 22vw);
  z-index: 5;
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  padding: 1.25rem;
  box-shadow: -6px 8px 0 rgba(0, 0, 0, 0.5);
  animation: floatCard 6s ease-in-out infinite alternate;
}

/* Mobile App Screenshot - Desktop Only */
.hero-mobile-preview {
  position: absolute;
  right: -12%;
  bottom: 45%;
  width: min(220px, 20vw);
  z-index: 4;
  animation: floatCard 7s ease-in-out 1s infinite alternate;
  filter: drop-shadow(-8px 16px 24px rgba(0,0,0,0.7));
}

.hero-mobile-img {
  width: 100%;
  height: auto;
  display: block;
}

.desktop-only {
  display: block;
}


@media (max-width: 1200px) {
  .parallax-ui {
    left: 55%;
    width: 280px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10rem;
    min-height: auto;
  }
  
  .parallax-ui {
    position: relative;
    left: 0 !important;
    top: 0;
    margin: 2rem 0;
    width: 100%;
    max-width: 320px;
    animation: floatCardMobile 6s ease-in-out infinite alternate;
  }

  .desktop-only {
    display: none;
  }

  
  @keyframes floatCardMobile {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-10px); }
  }
}

@keyframes floatCard {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

.chat-mockup {
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  position: relative;
}

.chat-mockup.user {
  background: var(--cf-surface-light);
  border-left: 2px solid var(--cf-border);
}

.chat-mockup.ai {
  background: rgba(0, 255, 102, 0.05); /* Tech green tint */
  border-left: 2px solid var(--cf-tech);
  border-bottom: 1px solid var(--cf-tech);
  border-right: 1px solid var(--cf-tech);
}

.dynamic-city {
  transition: opacity 0.6s ease-in-out;
  display: inline-block;
}

.dynamic-city.city-fade {
  opacity: 0;
}

.ai-badge {
  position: absolute;
  top: -10px;
  left: -1px;
  background: var(--cf-tech);
  color: var(--cf-bg);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .hero-bg-accent {
    display: none;
  }
}

/* ================== FEATURES / FRAGMENT GRID ================== */
.tech-specs-section {
  padding: 8rem 0;
  border-top: 1px solid var(--cf-border);
  background-image:
    linear-gradient(var(--cf-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--cf-border) 1px, transparent 1px);
  background-size: 100px 100px; /* Big technical grid */
  background-position: center center;
}

.section-header.asymmetric-right {
  text-align: right;
  margin-bottom: 6rem;
}

.fragment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  /* Intentional misalignment */
  margin-top: -2rem;
}

.card-brutal {
  background: var(--cf-bg);
  border: 1px solid var(--cf-border);
  padding: 3rem 2rem;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.card-brutal.span-2 {
  grid-column: span 2;
}

.bg-darker {
  background-color: #050505;
}

.border-accent {
  border-top: 4px solid var(--cf-accent);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--cf-text-muted);
  transition: color 0.4s var(--ease-out);
}

.card-icon svg {
  width: 48px;
  height: 48px;
}

.card-brutal:hover .card-icon {
  color: var(--cf-accent);
}

.card-brutal h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-brutal p {
  color: var(--cf-text-muted);
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 10px 10px 0 var(--cf-border);
}

.visual-mockup {
  margin-top: 2rem;
  border-top: 1px dashed var(--cf-border);
  padding-top: 2rem;
  display: flex;
  gap: 1rem;
}

.k-column {
  flex: 1;
  padding: 1rem;
  font-size: 0.8rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
}

.k-column.outline-only {
  border: 1px solid var(--cf-border);
  color: var(--cf-border);
}
.k-column.solid-accent {
  background: var(--cf-surface-light);
  border: 1px solid var(--cf-accent);
  color: var(--cf-accent);
}

.card-brutal.span-3 {
  grid-column: span 3;
}

/* Filas Mockup */
.queues-mock {
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0 0 0;
  border-top: none;
}
.q-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  background: var(--cf-bg);
  border: 1px solid var(--cf-border);
  border-radius: var(--radius-slight);
}
.q-color {
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

/* Dashboard Mockup */
/* Premium Highlight for Jahnke AI Card */
.premium-highlight {
  border: 1px solid var(--cf-accent) !important;
  background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%) !important;
  box-shadow: 0 20px 40px rgba(166, 139, 77, 0.08);
}

.badge-exclusive {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--cf-accent);
  border: 1px solid var(--cf-accent);
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Kanban Mock New */
.kanban-mock-new {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  border-top: 1px dashed var(--cf-border);
  padding-top: 1.5rem;
}
.k-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.k-title {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--cf-text-muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.k-item-ghost {
  height: 30px;
  background: var(--cf-surface-light);
  border: 1px solid var(--cf-border);
  position: relative;
}
.active-drag {
  border-color: var(--cf-accent);
  transform: rotate(2deg) translateY(-2px);
  box-shadow: 4px 4px 0 rgba(166, 139, 77, 0.2);
}
.active-drag::after {
  content: '👆';
  position: absolute;
  bottom: -15px;
  right: -10px;
  font-size: 1rem;
}

/* Omni Mini Mock */
.omni-mini-mock {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px dashed var(--cf-border);
  padding-top: 1.5rem;
}
.o-badge {
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 4px;
}
.o-badge.wp { background: #25D366; color: #fff; }
.o-badge.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; }
.o-badge.fb { background: #1877F2; color: #fff; }

.dashboard-mock {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  padding: 2rem;
  border-radius: 8px; /* Slightly softer for dashboard */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  border-top: none;
}
.d-metric {
  display: flex;
  flex-direction: column;
}
.d-val {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.d-label {
  font-size: 0.85rem;
  color: var(--cf-text-muted);
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.d-pie-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}
.d-chart.donut {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--cf-tech) 0% 22%, #333 22% 23%, var(--cf-accent) 23% 100%);
  position: relative;
}
.d-chart.donut::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  background: var(--cf-surface);
  border-radius: 50%;
}
.d-legend {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--cf-text-muted);
}
.d-legend .dot {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  margin-right: 5px;
}
.dot.gpt { background: var(--cf-accent); }
.dot.gemini { background: var(--cf-tech); }

@media (max-width: 768px) {
  .dashboard-mock { gap: 1.5rem; flex-direction: column; align-items: flex-start; }
  .d-pie-container { margin-left: 0; }
}

/* Campaign Mockup */
.campaign-mock {
  flex-direction: column;
  background: var(--cf-bg);
  border: 1px solid var(--cf-border);
  padding: 0;
  border-top: none;
  margin-top: 1.5rem;
}
.c-header {
  padding: 0.75rem 1rem;
  background: var(--cf-surface-light);
  border-bottom: 1px solid var(--cf-border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cf-text-main);
}
.c-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.c-field {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  border-bottom: 1px dashed var(--cf-border);
  padding-bottom: 0.25rem;
}
.c-label { color: var(--cf-text-muted); }
.c-value { color: var(--cf-text-main); font-weight: 500; }
.c-tabs {
  display: flex;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cf-text-muted);
  border-bottom: 1px solid var(--cf-border);
  padding-bottom: 0.5rem;
}
.c-tabs .active { color: var(--cf-accent); border-bottom: 2px solid var(--cf-accent); padding-bottom: 0.5rem; margin-bottom: -0.6rem; }
.c-input {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  padding: 0.75rem;
  font-size: 0.75rem;
  color: #aaa;
  min-height: 60px;
}
.c-btn {
  background: var(--cf-accent);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.8rem;
  cursor: pointer;
}

/* FlowBuilder Mockup */
.flow-mock {
  position: relative;
  height: 120px;
  background: var(--cf-bg);
  border-top: 1px dashed var(--cf-border);
  margin-top: 1.5rem;
  overflow: hidden;
  /* subtle grid pattern for canvas */
  background-image: radial-gradient(var(--cf-border) 1px, transparent 1px);
  background-size: 15px 15px;
}
.f-path {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.f-node {
  position: absolute;
  background: #ffffff;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  font-family: var(--font-body);
  z-index: 2;
  transition: transform 0.3s var(--ease-out);
}
.card-brutal:hover .visual-mockup.flow-mock .f-node {
  transform: translateY(-2px);
}
.f-node.f-active {
  border: 2px solid #0055ff;
}
.f-node .f-icon {
  font-size: 1rem;
}
.f-node .f-text {
  font-size: 0.7rem;
  color: #111;
  line-height: 1.2;
  font-weight: 600;
}
.f-port {
  width: 12px; height: 12px;
  background: #0055ff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.f-port.right { right: -6px; }
.f-port.left { left: -6px; }

@media (max-width: 900px) {
  .fragment-grid {
    grid-template-columns: 1fr;
  }
  .card-brutal.span-2,
  .card-brutal.span-3 {
    grid-column: span 1;
  }
}

/* ================== RECURSOS GRID (Adaptação Brutalista) ================== */
.recursos-section {
  padding: 6rem 0;
  border-top: 1px solid var(--cf-border);
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

@media (max-width: 1024px) {
  .recursos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .recursos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .recursos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem; /* Reduced gap to allow more space for card content */
  }
  .r-card {
    padding: 2rem 1rem;
    font-size: 0.9rem;
  }
  .r-icon svg {
    width: 36px !important; /* Larger icons to match massive titles */
    height: 36px !important;
  }
}

.r-card {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  cursor: default;
  position: relative;
  z-index: 1;
}

.r-card:hover {
  border-color: var(--cf-accent);
  background: var(--cf-surface-light);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(166, 139, 77, 0.1);
}


.r-card.focus-card {
  border-color: var(--cf-accent);
  background: var(--cf-surface-light);
}

.r-card.hover-lift-subtle:hover {
  transform: translateY(-8px);
  border-color: var(--cf-accent);
  box-shadow: 6px 6px 0 var(--cf-accent);
}

.r-card .r-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem auto;
  color: var(--cf-text-muted);
  transition: color 0.4s var(--ease-out);
}

.r-card:hover .r-icon {
  color: var(--cf-accent);
}

.r-card p {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cf-text-main);
  line-height: 1.3;
}

/* ================== APP CARDS (Gestão) ================== */
.mobile-section {
  padding: 8rem 0;
  border-top: 1px solid var(--cf-border);
  background-color: var(--cf-surface);
}

.app-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.app-card {
  background: var(--cf-bg);
  border: 1px solid var(--cf-border);
  display: flex;
  flex-direction: column;
}

.ac-header {
  padding: 2rem 1.5rem 0 1.5rem;
}

.ac-header h4 {
  font-size: 1.2rem;
  color: var(--cf-accent);
  margin-bottom: 0.5rem;
}

.ac-header p {
  font-size: 0.9rem;
  color: var(--cf-text-muted);
  line-height: 1.4;
}

.ac-body {
  padding: 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.wire-phone {
  width: 100%;
  max-width: 200px;
  height: 280px;
  border: 2px solid var(--cf-border);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  padding: 1rem;
  position: relative;
  background: var(--cf-surface-light);
  overflow: hidden;
}

.wire-phone::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 4px;
  background: var(--cf-border);
  border-radius: 4px;
}

.wire-item { display: flex; gap: 10px; margin-top: 1.5rem; opacity: 0.5; }
.wire-item.active { opacity: 1; }
.w-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--cf-border); }
.wire-item.active .w-avatar { background: var(--cf-accent); }
.w-lines { flex: 1; display:flex; flex-direction: column; gap: 6px; justify-content: center;}
.w-l { height: 4px; background: var(--cf-border); border-radius: 2px; width: 100%; }
.w-l.short { width: 60%; }

.wire-phone.forms .w-input { height: 24px; border: 1px solid var(--cf-border); margin-top: 1.5rem; }
.wire-phone.forms .w-btn { height: 32px; background: var(--cf-accent); margin-top: auto; position: absolute; bottom: 1rem; left: 1rem; right: 1rem; text-align: center; color: #000; font-size: 0.6rem; line-height:32px; font-family:var(--font-heading); font-weight:700;}

.wire-phone.chat .msg { width: 80%; height: 24px; border-radius: 4px; margin-top: 1rem; }
.wire-phone.chat .msg.ai { background: var(--cf-border); }
.wire-phone.chat .msg.user { background: var(--cf-accent); margin-left: auto; }
.wire-phone.chat .msg.note { background: #333; width: 100%; height: 40px; }
.w-keyboard { position: absolute; bottom: 0; left: 0; width: 100%; height: 80px; border-top: 1px solid var(--cf-border); background: var(--cf-bg); }

@media (max-width: 1024px) {
  .app-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .app-cards-grid { grid-template-columns: 1fr; }
}

/* ================== OMNICHANNEL REVAMP ================== */
.omnichannel-section {
  padding: 8rem 0;
  position: relative;
  background-color: var(--cf-bg); 
}

.scrolling-text-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  border-bottom: 2px solid var(--cf-border);
  background: var(--cf-surface-light);
}

.scroll-track {
  display: flex;
  white-space: nowrap;
  animation: scrollBanner 20s linear infinite;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cf-accent);
}

.scroll-track span {
  padding: 0 2rem;
}

@keyframes scrollBanner {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.omni-visual-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  margin-top: 6rem;
}

.omni-nodes {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.o-node {
  width: 80px; height: 80px;
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cf-text-main);
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.o-node:hover {
  border-color: var(--cf-accent);
  color: var(--cf-accent);
  transform: scale(1.1);
}
.o-node svg { width: 32px; height: 32px; }

.connector-lines {
  flex-grow: 1;
  height: 200px;
  position: relative;
  max-width: 200px;
}
.connector-lines path {
  stroke: var(--cf-border);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6;
  animation: dash 20s linear infinite;
}
@keyframes dash {
  to { stroke-dashoffset: -1000; }
}

.omni-central-phone {
  width: 260px; height: 500px;
  border: 2px solid var(--cf-accent);
  background: var(--cf-bg);
  border-radius: 30px;
  position: relative;
  display: flex; flex-direction: column;
  padding: 1rem;
  box-shadow: 0 0 40px rgba(166, 139, 77, 0.1);
}
.omni-central-phone::before {
  content: '';
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 6px; border-radius: 3px; background: var(--cf-text-muted);
}

.omni-interface {
  margin-top: 2rem;
  flex: 1;
  display: flex; flex-direction: column; gap: 1rem;
}
.o-msg { background: var(--cf-surface-light); padding: 1rem; border: 1px solid var(--cf-border); font-size: 0.8rem; }
.o-msg.highlight { border-color: var(--cf-accent); border-left: 4px solid var(--cf-accent); }
.o-msg .tag { display: inline-block; padding: 2px 6px; background: var(--cf-accent); color: #000; font-size: 0.6rem; font-weight: bold; margin-bottom: 0.5rem;}

.omni-text-content {
  max-width: 400px;
}
.omni-text-content h3 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.omni-text-content p { font-size: 1.1rem; color: var(--cf-text-muted); margin-bottom: 2rem; }

@media (max-width: 900px) {
  .omni-visual-block { flex-direction: column; }
  .connector-lines { display: none; }
  .omni-nodes { flex-direction: row; }
}

/* ================== FREE TRIAL CTA BIG ================== */
.trial-cta-section {
  padding: 6rem 0;
  background: var(--cf-accent);
  color: #050505; /* Charcoal */
}
.trial-cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
.trial-text {
  max-width: 600px;
}
.trial-text h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
  color: #000;
}
.btn-black {
  background: #000;
  color: var(--cf-accent);
  border: 2px solid #000;
}
.btn-black:hover {
  background: #ffffff;
  color: #000;
  border: 2px solid #000;
  transform: translate(-3px, -3px);
  box-shadow: 3px 3px 0 #000;
}
.trial-devices {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tela-whatsflex-img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(166, 139, 77, 0.25));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.td-laptop {
  position: absolute; right: 0; bottom: 0;
  width: 400px; height: 260px;
  background: var(--cf-surface-light);
  border: 4px solid #000;
  border-radius: 10px 10px 0 0;
}
.td-phone {
  position: absolute; left: 0; bottom: -20px;
  width: 120px; height: 240px;
  background: var(--cf-bg);
  border: 4px solid #000;
  border-radius: 16px;
  z-index: 2;
  overflow: hidden;
}

/* ───── App UI Desktop ───── */
.app-ui-desktop {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0d0d0d;
  font-family: var(--font-body);
  overflow: hidden;
}
.aui-topbar {
  background: #111;
  border-bottom: 1px solid #333;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.55rem;
  color: #aaa;
}
.aui-brand {
  font-weight: 800;
  color: var(--cf-accent);
  font-size: 0.65rem;
  font-family: var(--font-heading);
}
.aui-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.aui-icons {
  width: 30px;
  background: #080808;
  border-right: 1px solid #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  gap: 8px;
}
.aui-icon {
  width: 14px; height: 14px;
  border-radius: 3px;
  background: #333;
}
.aui-icon.active { background: var(--cf-accent); }

.aui-menu {
  width: 80px;
  background: #0f0f0f;
  border-right: 1px solid #222;
  padding: 8px 0;
  overflow: hidden;
}
.aui-menu-item {
  padding: 4px 8px;
  font-size: 0.45rem;
  color: #888;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aui-menu-item.active { color: #fff; background: #1a1a1a; }
.aui-menu-item.accent { color: var(--cf-accent); }
.aui-version {
  margin-top: 8px;
  padding: 4px 8px;
  font-size: 0.4rem;
  color: var(--cf-accent);
  border: 1px solid var(--cf-accent);
  margin-left: 8px;
  display: inline-block;
}
.aui-tickets {
  width: 100px;
  border-right: 1px solid #222;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  overflow: hidden;
}
.aui-search {
  height: 18px;
  background: #1a1a1a;
  border-bottom: 1px solid #222;
  border-radius: 2px;
  margin: 6px;
}
.aui-tabs {
  display: flex;
  gap: 4px;
  padding: 4px 6px;
  font-size: 0.38rem;
  color: #555;
  border-bottom: 1px solid #222;
}
.t-active { color: var(--cf-accent); border-bottom: 1px solid var(--cf-accent); padding-bottom: 2px; }
.aui-ticket-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  background: #111;
  border-bottom: 1px solid #222;
}
.aui-t-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #333;
  flex-shrink: 0;
}
.aui-t-name {
  font-size: 0.45rem;
  color: #ddd;
  font-weight: 600;
}
.aui-t-preview {
  width: 50px; height: 4px;
  background: #333;
  margin-top: 3px;
  border-radius: 2px;
}
.aui-t-badge {
  background: var(--cf-accent);
  color: #000;
  font-size: 0.4rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.aui-chat {
  flex: 1;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aui-chat-empty {
  text-align: center;
  color: #444;
}
.aui-eagle { font-size: 2rem; margin-bottom: 8px; }
.aui-empty-text { font-size: 0.45rem; color: #555; max-width: 80px; }

/* ───── App UI Phone ───── */
.app-ui-phone {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
  font-family: var(--font-body);
  font-size: 0.5rem;
  overflow: hidden;
}
.ph-top {
  background: #111;
  border-bottom: 1px solid #222;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ph-logo {
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--cf-accent);
  font-family: var(--font-heading);
}
.ph-greeting {
  padding: 5px 8px;
  color: #aaa;
  font-size: 0.45rem;
}
.ph-tabs {
  display: flex;
  gap: 6px;
  padding: 4px 8px;
  border-bottom: 1px solid #222;
}
.ph-t-active {
  color: var(--cf-accent);
  border-bottom: 1px solid var(--cf-accent);
  padding-bottom: 2px;
}
.ph-t-waiting { color: #555; }
.ph-chat-list { padding: 5px; }
.ph-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #111;
  padding: 5px;
  border-radius: 3px;
}
.ph-avatar {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #333;
  flex-shrink: 0;
}
.ph-name { font-weight: 700; color: #ddd; }
.ph-msg {
  width: 30px; height: 3px;
  background: #333;
  margin-top: 3px;
  border-radius: 2px;
}
.ph-badge {
  background: var(--cf-accent);
  color: #000;
  font-size: 0.4rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 8px;
  margin-left: auto;
}
.ph-eagle-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  text-align: center;
  padding: 0 8px;
}
.ph-eagle { font-size: 1.8rem; }
.ph-label { font-size: 0.4rem; color: #444; margin-top: 6px; }
.ph-nav {
  display: flex;
  justify-content: space-around;
  padding: 5px 0;
  border-top: 1px solid #222;
  color: #555;
  font-size: 0.42rem;
}

@media (max-width: 900px) {
  .trial-cta-container { flex-direction: column; text-align: center; }
  .trial-devices { display: none; }
}

/* ================== TERMINAL CTA ================== */
.cta-terminal {
  padding: 8rem 0;
  background-color: #000;
}

.terminal-box {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  max-width: 700px;
  margin: 0 auto 6rem auto;
  font-family: monospace;
}

.t-header {
  border-bottom: 1px solid var(--cf-border);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.d-red {
  background: #555555;
}
.d-yellow {
  background: #888888;
}
.d-green {
  background: var(--cf-accent);
}
.t-title {
  margin-left: auto;
  color: var(--cf-text-muted);
  font-size: 0.8rem;
}

.t-body {
  padding: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  min-height: 260px;
  overflow: hidden;
}

.prompt {
  color: var(--cf-text-muted);
  margin-right: 0.5rem;
}
.response.success {
  color: var(--cf-tech);
}
.response.warning {
  color: #d4bc82; /* Lighter gold for terminal contrast */
}
.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.final-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2rem;
}

.micro-text {
  margin-top: 1.5rem;
  color: var(--cf-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ================== FOOTER ================== */
.footer {
  border-top: 1px solid var(--cf-border);
  padding: 4rem 0 2rem 0;
  background: var(--cf-surface-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.f-brand p {
  margin-top: 1rem;
  color: var(--cf-text-muted);
  max-width: 300px;
}

.f-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.f-links h4 {
  font-size: 0.9rem;
  color: var(--cf-text-muted);
  margin-bottom: 1rem;
}

.f-links a {
  color: var(--cf-text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.f-links a:hover {
  color: var(--cf-accent);
}

.copyright {
  padding-top: 2rem;
  border-top: 1px solid var(--cf-border);
  color: var(--cf-text-muted);
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center; /* Center footer on mobile */
  }
  .f-brand {
    align-items: center;
  }
  .footer-logo-group {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .copyright {
      margin-bottom: 2rem;
  }
}

/* ================== GLOBAL MOBILE FIXES ================== */
@media (max-width: 600px) {
  .nav-actions .btn-ghost {
    display: none; /* Hide 'Painel' button to save space on very small screens */
  }
  .nav-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .brand .logo-text {
    font-size: 1.2rem;
  }
  .mass-title {
    font-size: clamp(3rem, 15vw, 3.2rem);
  }
  .massive-sub {
    font-size: clamp(2.6rem, 13vw, 3.4rem); /* Slightly larger for impact */
    line-height: 1.05;
    letter-spacing: -0.03em; /* Tighter for premium feel */
    width: 100%;
  }
  .trial-text h2 {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .omni-visual-block {
    margin-top: 3rem;
  }
  .omni-central-phone {
    width: 100%;
    max-width: 320px;
  }
}

/* ===================================================================
   WHATSFLEX — ULTRA-MODERN ANIMATION LAYER v3
   Class-based: no inline opacity:0 blowups. GPU-accelerated.
   =================================================================== */

/* ── NAVBAR SCROLL STATE ──────────────────────────────────────────── */
.navbar--scrolled {
  background-color: rgba(5, 5, 5, 0.98) !important;
  box-shadow: 0 1px 0 var(--cf-border);
}

/* ── HERO WORD SPLIT (.hw) ────────────────────────────────────────── */
/* Default state: words are visible. JS adds hw--play to trigger animation */
.hw {
  display: inline-block;
}

/* Before play: words are invisible off-screen via the animation fill */
.hw--play {
  animation: hwIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  /* --wi set inline: delay = index * 0.18s (Slower, cinematic) */
  animation-delay: calc(var(--wi, 0) * 0.18s);
  will-change: transform, opacity;
}

@keyframes hwIn {
  from {
    opacity: 0;
    transform: translateY(44px) skewY(5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

/* ── HERO SEQUENCE ITEMS (.hs-up / .hs-right) ─────────────────────── */
/* Default state: VISIBLE. Adding class hides them, hs--play shows them. */

.hs-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hs-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hs-up.hs--play,
.hs-right.hs--play {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── HERO TYPEWRITER LINE ─────────────────────────────────────────── */
.hero-dynamic-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: -0.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cf-text-muted);
  /* Prevent layout jump when text is deleted */
  min-height: 2.2em;
  line-height: 2.2em;
}

.hero-dynamic-tw {
  color: var(--cf-accent);
  min-width: 2ch;
}

/* ── TYPEWRITER CURSOR ────────────────────────────────────────────── */
.tw-cursor {
  display: inline-block;
  color: var(--cf-accent);
  font-size: 0.85em;
  line-height: 1;
  animation: twBlink 0.75s step-end infinite;
  margin-left: 2px;
  vertical-align: middle;
}

@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── SCROLL-REVEAL: CARD FROM SIDES (.rc) ────────────────────────── */
.rc {
  opacity: 0;
  transform: translateX(var(--rc-tx, -70px));
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--rc-td, 0s),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--rc-td, 0s);
  will-change: transform, opacity;
}

.rc.rc--visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── SCROLL-REVEAL: CARD FROM BOTTOM (.rc-up) ────────────────────── */
.rc-up {
  opacity: 0;
  transform: translateY(52px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--rc-td, 0s),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--rc-td, 0s);
  will-change: transform, opacity;
}

.rc-up.rc--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SCROLL-REVEAL: HEADLINE (.rc-headline) ──────────────────────── */
.rc-headline {
  opacity: 0;
  transform: translateY(32px) skewX(-2deg);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.rc-headline.rc--visible {
  opacity: 1;
  transform: translateY(0) skewX(0deg);
}

/* ── TERMINAL TYPEWRITER ─────────────────────────────────────────── */
.t-line {
  animation: tLineIn 0.25s ease-out both;
  font-size: 0.9rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-all;
}

@keyframes tLineIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.t-line--cmd { color: #e0e0e0; }

.t-line--cmd::before {
  content: "$ ";
  color: var(--cf-tech);
  font-weight: 700;
}

.t-line--success { color: var(--cf-tech); }

.t-line--warning { color: var(--cf-accent); }

.t-line--power {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 0 14px var(--cf-accent);
  background: linear-gradient(90deg, transparent, rgba(166,139,77,0.08), transparent);
  padding: 0.25rem 0;
  margin-top: 0.25rem;
}

.t-line--power::before {
  content: "⚡ ";
  color: var(--cf-accent);
}

/* ── REDUCED MOTION FALLBACK ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hw--play,
  .hs-up, .hs-right,
  .rc, .rc-up, .rc-headline {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .tw-cursor { animation: none; opacity: 1; }
}

/* ================== AESTHETIC ENHANCEMENTS (SaaS Premium) ================== */

/* Resources Card Glassmorphism */
.r-card {
  background: rgba(43, 43, 43, 0.4) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.r-card:hover {
  background: rgba(53, 53, 53, 0.6) !important;
  border-color: var(--cf-accent) !important;
}

/* Omnichannel Connector Animation */
.connector-lines path {
  stroke: var(--cf-text-muted);
  stroke-width: 1.5;
  stroke-dasharray: 5, 5;
  animation: lineFlow 4s linear infinite;
  opacity: 0.3;
}
@keyframes lineFlow {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}

.omni-nodes .o-node {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.omni-nodes .o-node:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--cf-accent);
}

.final-cta h2 {
    font-size: clamp(2.2rem, 10vw, 4rem); /* Improved mobile sizing */
    line-height: 1.0;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

/* ================== BRANDING (Logo + Name) ================== */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: #fff;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.f-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.f-brand .brand-name {
  font-size: 1.6rem;
}

/* n8n Node Styling (Outline version) */
.o-node.n8n {
  background: var(--cf-surface); /* Same as Instagram/WhatsApp */
  border-color: var(--cf-border);
}
.o-node.n8n svg {
    color: var(--cf-text-main); /* White like the others */
    filter: none;
}
/* n8n Hover: Follows global gold accent to match others */
.o-node.n8n:hover {
  background: var(--cf-surface-light);
  border-color: var(--cf-accent);
  box-shadow: 0 0 25px rgba(166, 139, 77, 0.2);
}
.o-node.n8n:hover svg {
  color: var(--cf-accent);
  filter: drop-shadow(0 0 8px rgba(166, 139, 77, 0.4));
}

/* ================== FAQ SECTION (GEO) ================== */
.faq-section {
  padding: 8rem 0;
  border-top: 1px solid var(--cf-border);
  background-color: var(--cf-surface);
}

.faq-list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border: 1px solid var(--cf-border);
  border-bottom: none;
  padding: 2rem 2.5rem;
  transition: background 0.3s var(--ease-out);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--cf-border);
}

.faq-item:hover {
  background: var(--cf-surface-light);
  border-color: var(--cf-accent);
}

.faq-item:hover + .faq-item {
  border-top-color: var(--cf-accent);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--cf-text-main);
  cursor: default;
  display: block;
  margin-bottom: 1rem;
}

.faq-answer {
  font-size: 1rem;
  color: var(--cf-text-muted);
  line-height: 1.7;
  max-width: 800px;
  margin: 0;
}

.faq-answer strong {
  color: var(--cf-accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .faq-item {
    padding: 1.5rem;
  }
  .faq-question {
    font-size: 0.95rem;
  }
}

/* Footer freshness timestamp (GEO signal) */
.footer-updated {
  display: block;
  font-size: 0.75rem;
  color: #aaaaaa; /* Increased brightness for AA contrast */
  margin-top: 0.5rem;
  opacity: 1;
}

/* ── FLOATING WHATSAPP BUTTON ── */
.floating-wpp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366; /* Official WhatsApp Color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 9000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.floating-wpp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.wpp-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.2));
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .floating-wpp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
  .wpp-icon {
    width: 28px;
    height: 28px;
  }
}
