/* =========================================================
   FLOWGENT — LANDING PAGE STYLESHEET (REFINADO v3)
   CodeVertex · 2025 · Build: 20250313-002
   Paleta: #00D4FF (ciano) · #1D6EF5 (azul) · #7B3FF5 (roxo)
   ========================================================= */

/* ─────────────────────────────────────────
   1. RESET & TOKENS
   ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand colors */
  --cyan:          #00D4FF;
  --cyan-light:    #A5F3FF;
  --blue:          #1D6EF5;
  --blue-mid:      #2563EB;
  --blue-dark:     #1247BC;
  --purple:        #7B3FF5;
  --purple-dark:   #5B2CC4;
  --teal:          #2DD4BF;

  /* Gradients */
  --grad-main:     linear-gradient(135deg, #00D4FF 0%, #1D6EF5 50%, #7B3FF5 100%);
  --grad-hero:     linear-gradient(135deg, #00C6FF 0%, #1B65F0 50%, #7035E8 100%);
  --grad-soft:     linear-gradient(135deg, rgba(0,212,255,.10) 0%, rgba(123,63,245,.10) 100%);
  --grad-dark:     linear-gradient(145deg, #060918 0%, #0C1B52 45%, #180933 100%);
  --grad-glow:     radial-gradient(ellipse 90% 70% at 50% -5%, rgba(29,110,245,.22) 0%, transparent 70%);

  /* Neutrals */
  --text-primary:   #0A0E1F;
  --text-secondary: #4B5768;
  --text-muted:     #8E97A8;
  --bg-white:       #FFFFFF;
  --bg-light:       #F6F9FF;
  --bg-subtle:      #EEF3FD;
  --border:         #DDE4F5;
  --border-light:   #EEF2FB;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(10,14,31,.05);
  --shadow-sm:  0 2px 8px rgba(10,14,31,.07);
  --shadow-md:  0 6px 24px rgba(10,14,31,.09), 0 2px 6px rgba(10,14,31,.05);
  --shadow-lg:  0 16px 56px rgba(10,14,31,.13), 0 4px 12px rgba(10,14,31,.07);
  --shadow-xl:  0 28px 80px rgba(10,14,31,.16);
  --shadow-glow: 0 8px 32px rgba(29,110,245,.30);
  --shadow-glow-lg: 0 16px 48px rgba(29,110,245,.38);

  /* Radii */
  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   36px;
  --r-full: 999px;

  /* Typography */
  --font:   'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.18s var(--ease);
  --t-base: 0.28s var(--ease);
  --t-slow: 0.45s var(--ease);
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

/* ─────────────────────────────────────────
   2. UTILITIES
   ───────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* Gradient text */
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section tag / chip */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-soft);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-full);
  border: 1px solid rgba(29,110,245,.18);
  margin-bottom: 18px;
}

/* Section headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 72px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -.025em;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   3. BUTTONS
   ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* Stronger, richer gradient left→right for more vibrancy */
  background: linear-gradient(120deg, #00C8FF 0%, #1A63F0 42%, #7035E8 100%);
  background-size: 200% auto;
  color: #fff;
  font-weight: 700;
  font-size: .97rem;
  padding: 15px 32px;
  border-radius: var(--r-full);
  transition: transform var(--t-base), box-shadow var(--t-base), background-position var(--t-base);
  box-shadow: 0 6px 28px rgba(29,110,245,.38), 0 2px 8px rgba(112,53,232,.22);
  border: none;
  white-space: nowrap;
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
}
/* Shimmer stripe on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-3px);
  background-position: right center;  /* slides gradient */
  box-shadow: 0 12px 36px rgba(29,110,245,.46), 0 4px 12px rgba(112,53,232,.28);
}
.btn-primary:hover::after { left: 140%; }  /* shimmer sweep */
.btn-primary:active { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(29,110,245,.35); }

.btn-primary.btn-large {
  font-size: 1.08rem;
  padding: 17px 42px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,.9);
  color: var(--blue);
  font-weight: 600;
  font-size: .97rem;
  padding: 14px 26px;
  border-radius: var(--r-full);
  border: 1.5px solid rgba(29,110,245,.28);
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-secondary:hover {
  background: rgba(29,110,245,.07);
  border-color: var(--blue);
  transform: translateX(4px);
}
.btn-secondary i { transition: transform var(--t-fast); }
.btn-secondary:hover i { transform: translateX(3px); }

.btn-nav {
  background: var(--grad-hero);
  color: #fff !important;
  font-weight: 700;
  font-size: .88rem;
  padding: 10px 22px;
  border-radius: var(--r-full);
  transition: all var(--t-base);
  box-shadow: 0 4px 14px rgba(29,110,245,.30);
  letter-spacing: -.01em;
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,110,245,.42);
}

/* ─────────────────────────────────────────
   4. NAVBAR
   ───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding var(--t-base), background var(--t-base), box-shadow var(--t-base);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(10,14,31,.08);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ── Logo: ícone + wordmark HTML ── */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--t-fast);
}
.nav-logo:hover { opacity: .88; }

/* Ícone símbolo */
.logo-icon {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  background: transparent;   /* fundo transparente — sem caixa branca */
  flex-shrink: 0;
}

/* Wordmark "FlowGent" */
.logo-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
  /* Sutil text-shadow para legibilidade no hero claro */
  filter: drop-shadow(0 1px 2px rgba(10,14,31,.06));
}

/* "Flow" — cor ciano-azul (parte inicial do gradiente) */
.logo-flow {
  background: linear-gradient(135deg, #00BDEE 0%, #1D6EF5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* "Gent" — cor roxo (parte final do gradiente) */
.logo-gent {
  background: linear-gradient(135deg, #5B4FF5 0%, #7B3FF5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Quando a navbar está scrolled (fundo branco) — mantém as mesmas cores, ficam ótimas */

/* Mobile: reduz ícone e texto */
@media (max-width: 480px) {
  .logo-icon        { height: 34px; }
  .logo-wordmark    { font-size: 1.25rem; }
  .nav-logo         { gap: 8px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links li a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 15px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links li a:hover { color: var(--blue); background: rgba(29,110,245,.07); }
.nav-links li a.active-nav {
  color: var(--blue);
  background: rgba(29,110,245,.08);
  font-weight: 600;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--r-sm);
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─────────────────────────────────────────
   5. HERO
   ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 60px;
  background: var(--bg-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Layered background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 60% -20%, rgba(29,110,245,.13) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 70%, rgba(0,212,255,.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(123,63,245,.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Decorative grid dots */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(29,110,245,.10) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

.hero-bg-glow {
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 90%;
  background: var(--grad-glow);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  flex: 1;
}

/* Hero content */
.hero-content { padding-right: 8px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0,212,255,.13), rgba(123,63,245,.13));
  border: 1px solid rgba(29,110,245,.26);
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 28px;
  letter-spacing: .02em;
  /* subtle glow to make it pop */
  box-shadow: 0 2px 12px rgba(29,110,245,.10);
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0,212,255,.6);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px rgba(0,212,255,.6); }
  50% { opacity: .7; transform: scale(1.5); box-shadow: 0 0 12px rgba(0,212,255,.9); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.85rem);
  font-weight: 900;
  line-height: 1.10;
  letter-spacing: -.038em;
  margin-bottom: 24px;
  color: var(--text-primary);
  /* Subtle text rendering boost */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 510px;
  margin-bottom: 42px;
  line-height: 1.80;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
  display: inline-flex;
  width: fit-content;
}
.proof-avatars { display: flex; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -9px;
}
.avatar:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg, #00D4FF, #1D6EF5); }
.av2 { background: linear-gradient(135deg, #1D6EF5, #7B3FF5); }
.av3 { background: linear-gradient(135deg, #7B3FF5, #2DD4BF); }
.hero-social-proof p {
  font-size: .83rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.hero-social-proof strong { color: var(--blue); }

/* ── Chat Mockup ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
}

.chat-mockup {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 370px;
  overflow: hidden;
  border: 1px solid rgba(221,228,245,.8);
  animation: float-hero 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes float-hero {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(.3deg); }
  66% { transform: translateY(-4px) rotate(-.2deg); }
}

.chat-header {
  background: var(--grad-hero);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 2px solid rgba(255,255,255,.25);
}
.chat-avatar img {
  width: 100%; height: 100%;
  object-fit: contain;
  /* Keep logo transparent — invert for white header */
  filter: brightness(0) invert(1);
}
.chat-info { flex: 1; }
.chat-name   { display: block; font-weight: 700; color: #fff; font-size: .94rem; letter-spacing: -.01em; }
.chat-status { display: flex; align-items: center; gap: 5px; font-size: .75rem; color: rgba(255,255,255,.88); }
.dot-online {
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(74,222,128,.7);
  animation: pulse-dot 2s infinite;
}

.chat-body {
  padding: 18px 16px 12px;
  background: #ECF0FA;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 5 L55 55 L5 55Z' fill='none' stroke='rgba(29,110,245,.03)' stroke-width='1'/%3E%3C/svg%3E");
}

.chat-msg {
  max-width: 84%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .38s var(--ease), transform .38s var(--ease);
  display: flex;
  flex-direction: column;
}
.chat-msg.visible { opacity: 1; transform: translateY(0); }

.chat-msg p {
  padding: 9px 13px;
  border-radius: 18px;
  font-size: .85rem;
  line-height: 1.5;
  margin-bottom: 3px;
}
.chat-msg.received { align-self: flex-start; }
.chat-msg.received p {
  background: #fff;
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.chat-msg.sent { align-self: flex-end; }
.chat-msg.sent p {
  background: linear-gradient(135deg, #1D6EF5, #7B3FF5);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-time { font-size: .67rem; color: var(--text-muted); }
.chat-msg.sent .chat-time { text-align: right; }

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  margin-top: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.typing-dot {
  width: 7px; height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing-anim 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typing-anim {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-input-area {
  padding: 10px 14px;
  border-top: 1px solid var(--border-light);
  background: #fff;
}
.chat-input-fake {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border-radius: var(--r-full);
  padding: 9px 14px;
  border: 1.5px solid var(--border);
}
.chat-input-fake span { font-size: .83rem; color: var(--text-muted); }
.send-btn {
  width: 32px; height: 32px;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(29,110,245,.35);
  transition: transform var(--t-fast);
}
.send-btn:hover { transform: scale(1.1); }

/* Floating cards on hero */
.float-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: .80rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid rgba(221,228,245,.8);
  z-index: 3;
  white-space: nowrap;
}
.float-card i {
  font-size: 1rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.card-1 { top: 4%;  right: -4%; animation: float-card-a 5s ease-in-out infinite; }
.card-2 { bottom: 6%; left: -4%; animation: float-card-b 5.5s ease-in-out infinite; }
@keyframes float-card-a {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
@keyframes float-card-b {
  0%, 100% { transform: translateY(0) rotate(1.5deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

/* Scroll indicator */
.scroll-indicator {
  position: relative; z-index: 1;
  text-align: center;
  padding-top: 16px;
  color: var(--text-muted);
  font-size: .78rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
  animation: fade-bounce 2.4s ease-in-out infinite;
}
.scroll-arrow i { font-size: .9rem; }
@keyframes fade-bounce {
  0%, 100% { opacity: .8; transform: translateY(0); }
  50% { opacity: .3; transform: translateY(7px); }
}

/* ─────────────────────────────────────────
   6. TRUSTED STRIP
   ───────────────────────────────────────── */
.trusted-section {
  padding: 22px 0;
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.trusted-label {
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .01em;
}
.trusted-label strong {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ─────────────────────────────────────────
   7. PROBLEMS
   ───────────────────────────────────────── */
.problems-section {
  padding: 116px 0;
  background: var(--bg-light);
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 28px;         /* slightly more breathing room */
  border: 1px solid var(--border-light);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  cursor: default;
}
.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(29,110,245,.18);
}
.problem-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, rgba(0,212,255,.10), rgba(123,63,245,.10));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.problem-icon i {
  font-size: 1.25rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.problem-card h3 { font-size: .97rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.problem-card p  { font-size: .88rem; color: var(--text-secondary); line-height: 1.68; }

/* ─────────────────────────────────────────
   8. SOLUTION
   ───────────────────────────────────────── */
.solution-section { padding: 116px 0; background: #fff; }
.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.solution-content h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.025em;
  margin-bottom: 16px;
}
.solution-desc {
  color: var(--text-secondary);
  font-size: .98rem;
  line-height: 1.78;
  margin-bottom: 32px;
}
.solution-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.solution-item { display: flex; align-items: flex-start; gap: 14px; }
.solution-check {
  width: 26px; height: 26px;
  background: var(--grad-hero);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  box-shadow: 0 3px 10px rgba(29,110,245,.30);
}
.solution-check i { font-size: .68rem; color: #fff; }
.solution-item strong { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.solution-item p { font-size: .87rem; color: var(--text-secondary); }

/* Dashboard panel */
.solution-dashboard {
  background: var(--bg-light);
  border-radius: var(--r-xl);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.dash-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  font-weight: 600; font-size: .88rem;
}
.dash-logo { width: 26px; height: 26px; object-fit: contain; background: transparent; }
.dash-live {
  margin-left: auto;
  display: flex; align-items: center; gap: 5px;
  font-size: .75rem; font-weight: 600;
  color: #16A34A;
  background: rgba(22,163,74,.10);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.dash-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 22px;
}
.stat-box {
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--border-light);
}
.stat-num {
  display: block;
  font-size: 1.45rem; font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-label { display: block; font-size: .70rem; color: var(--text-muted); margin-top: 4px; }
.dash-activity { display: flex; flex-direction: column; gap: 11px; }
.activity-title {
  font-size: .75rem; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 3px;
}
.activity-item {
  display: flex; align-items: center; gap: 9px;
  font-size: .83rem; color: var(--text-secondary);
  padding: 8px 10px;
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-light);
  transition: background var(--t-fast);
}
.activity-item:hover { background: var(--bg-subtle); }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.activity-dot.green  { background: #22C55E; box-shadow: 0 0 6px rgba(34,197,94,.5); }
.activity-dot.blue   { background: var(--blue); box-shadow: 0 0 6px rgba(29,110,245,.5); }
.activity-dot.purple { background: var(--purple); box-shadow: 0 0 6px rgba(123,63,245,.5); }
.activity-time { margin-left: auto; font-size: .73rem; color: var(--text-muted); white-space: nowrap; }

/* ─────────────────────────────────────────
   9. HOW IT WORKS
   ───────────────────────────────────────── */
.how-section { padding: 116px 0; background: var(--bg-light); }

.steps-container {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
}
.step-item {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 36px 22px 30px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  cursor: default;
}
.step-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(29,110,245,.22);
}
.step-number {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-hero);
  color: #fff;
  font-size: .70rem; font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 14px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 12px rgba(29,110,245,.35);
}
.step-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(0,212,255,.10), rgba(123,63,245,.10));
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-icon i {
  font-size: 1.45rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-item h3 { font-size: .97rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.step-item p  { font-size: .86rem; color: var(--text-secondary); line-height: 1.66; }

.step-connector {
  display: flex; align-items: center; justify-content: center;
  padding: 8px 10px;
  margin-top: 42px;
  color: var(--text-muted);
  font-size: .85rem;
  flex-shrink: 0;
  opacity: .6;
}

/* ─────────────────────────────────────────
   10. CHAT EXAMPLES (refined WhatsApp style)
   ───────────────────────────────────────── */
.chat-example-section { padding: 116px 0; background: #fff; }

.chat-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.chat-example-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  background: #fff;
}
.chat-example-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Phone-style header */
.chat-example-label {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 18px;
  background: var(--grad-hero);
  color: #fff;
  font-size: .82rem; font-weight: 700;
  letter-spacing: -.01em;
}
.chat-example-label i { font-size: .95rem; opacity: .9; }

/* Chat window background */
.chat-example-body {
  padding: 18px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ECF0FA;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect width='40' height='40' fill='none'/%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(29,110,245,.05)'/%3E%3C/svg%3E");
  min-height: 240px;
}

.ex-msg { display: flex; max-width: 88%; }
.ex-msg.sent  { align-self: flex-end; justify-content: flex-end; }
.ex-msg.received { align-self: flex-start; }

.ex-msg span {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: .83rem;
  line-height: 1.52;
  position: relative;
}
.ex-msg.sent span {
  background: linear-gradient(135deg, #1D6EF5, #6B35E8);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(29,110,245,.25);
}
.ex-msg.received span {
  background: #fff;
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.04);
}

/* WhatsApp-style timestamp under msg */
.ex-msg-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 88%;
}
.ex-msg-wrap.sent  { align-self: flex-end; align-items: flex-end; }
.ex-msg-wrap.received { align-self: flex-start; align-items: flex-start; }
.ex-time {
  font-size: .67rem;
  color: var(--text-muted);
  padding: 0 4px;
}

/* ─────────────────────────────────────────
   11. DIFFERENTIALS
   ───────────────────────────────────────── */
.differentials-section { padding: 116px 0; background: var(--bg-light); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.diff-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 28px;         /* aligned with problem-card */
  border: 1px solid var(--border-light);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.diff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.diff-card.featured {
  background: linear-gradient(145deg, #080E2D, #112060);
  border-color: rgba(255,255,255,.06);
  box-shadow: var(--shadow-glow);
}
.diff-card.featured:hover { box-shadow: var(--shadow-glow-lg); }
.diff-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(0,212,255,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(123,63,245,.10) 0%, transparent 55%);
  pointer-events: none;
}
.diff-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, rgba(0,212,255,.12), rgba(123,63,245,.12));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.diff-icon i {
  font-size: 1.25rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.diff-card.featured .diff-icon { background: rgba(255,255,255,.07); }
.diff-card h3 { font-size: .97rem; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.diff-card.featured h3 { color: #fff; }
.diff-card p  { font-size: .88rem; color: var(--text-secondary); line-height: 1.66; position: relative; z-index: 1; }
.diff-card.featured p { color: rgba(255,255,255,.65); }
.diff-tag {
  display: inline-block;
  margin-top: 14px;
  background: var(--grad-hero);
  color: #fff;
  font-size: .70rem; font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  position: relative; z-index: 1;
  letter-spacing: .04em;
}

/* ─────────────────────────────────────────
   12. FOR WHO (SEGMENTS)
   ───────────────────────────────────────── */
.for-who-section { padding: 116px 0; background: #fff; }

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.segment-card {
  background: var(--bg-light);
  border-radius: var(--r-lg);
  padding: 34px 26px;
  border: 1px solid var(--border-light);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  cursor: default;
}
.segment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(29,110,245,.22);
  background: #fff;
}
.segment-card.featured {
  background: #fff;
  border-color: rgba(29,110,245,.18);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.segment-card.featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-hero);
}
.segment-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0,212,255,.10), rgba(123,63,245,.10));
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.segment-icon i {
  font-size: 1.45rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.segment-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.segment-card p  { font-size: .88rem; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.66; }
.segment-list { display: flex; flex-direction: column; gap: 7px; }
.segment-list li {
  font-size: .84rem;
  color: var(--text-secondary);
  padding: 5px 10px 5px 26px;
  position: relative;
  background: var(--bg-subtle);
  border-radius: var(--r-xs);
}
.segment-list li::before {
  content: '';
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-main);
}

/* Case highlight */
.case-highlight {
  background: linear-gradient(145deg, #F0F6FF, #EAF0FF, #F5F0FF);
  border-radius: var(--r-xl);
  padding: 48px 52px;
  border: 1px solid rgba(29,110,245,.12);
  position: relative;
  overflow: hidden;
}
.case-highlight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-hero);
}
.case-highlight::after {
  content: '';
  position: absolute;
  bottom: -40%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(123,63,245,.07) 0%, transparent 70%);
  pointer-events: none;
}
.case-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-hero);
  color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.case-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.case-content h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -.02em; }
.case-content p  { font-size: .93rem; color: var(--text-secondary); line-height: 1.78; max-width: 580px; }
.case-metrics { display: flex; gap: 36px; flex-shrink: 0; }
.case-metric { text-align: center; }
.metric-val {
  display: block;
  font-size: 2rem; font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1; letter-spacing: -.03em;
}
.metric-label { display: block; font-size: .76rem; color: var(--text-muted); margin-top: 4px; white-space: nowrap; }

/* ─────────────────────────────────────────
   13. BENEFITS
   ───────────────────────────────────────── */
.benefits-section { padding: 116px 0; background: var(--bg-light); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px 22px;         /* slightly more spacious */
  border: 1px solid var(--border-light);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  cursor: default;
}
.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(29,110,245,.18);
}
.benefit-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(0,212,255,.10), rgba(123,63,245,.10));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.benefit-icon i {
  font-size: 1.05rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.benefit-text strong { display: block; font-size: .93rem; font-weight: 700; margin-bottom: 5px; letter-spacing: -.01em; }
.benefit-text p { font-size: .85rem; color: var(--text-secondary); line-height: 1.62; }

/* ─────────────────────────────────────────
   14. CTA FINAL
   ───────────────────────────────────────── */
.cta-final-section {
  padding: 128px 0;
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%, rgba(0,212,255,.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 20% 110%, rgba(29,110,245,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(123,63,245,.13) 0%, transparent 60%);
  pointer-events: none;
}
/* Decorative circles */
.cta-final-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.cta-final-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 320px; height: 320px;
  border: 1px solid rgba(255,255,255,.03);
  border-radius: 50%;
  pointer-events: none;
}

.cta-final-inner {
  position: relative; z-index: 1;
  max-width: 640px;
  margin-inline: auto;
}
.cta-logo {
  width: 76px; height: 76px;
  object-fit: contain;
  margin: 0 auto 32px;
  background: transparent;
  filter: drop-shadow(0 0 24px rgba(0,212,255,.5)) drop-shadow(0 0 48px rgba(123,63,245,.3));
}
.cta-final-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.85rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.cta-final-section > .container > .cta-final-inner p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 40px;
}
.cta-footnote {
  margin-top: 20px;
  font-size: .80rem;
  color: rgba(255,255,255,.40);
  letter-spacing: .02em;
}

/* ─────────────────────────────────────────
   15. CONTACT FORM
   ───────────────────────────────────────── */
.contact-section { padding: 116px 0; background: #fff; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.contact-content h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.025em;
  margin-bottom: 16px;
}
.contact-content p {
  font-size: .96rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 28px;
}
.contact-benefits { display: flex; flex-direction: column; gap: 11px; }
.c-benefit {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; font-weight: 500;
  color: var(--text-secondary);
}
.c-benefit i {
  font-size: .95rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Form wrapper */
.contact-form-wrapper {
  background: var(--bg-light);
  border-radius: var(--r-xl);
  padding: 40px 38px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text-primary); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: .9rem;
  color: var(--text-primary);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(29,110,245,.12);
}
.form-group input.error,
.form-group select.error { border-color: #EF4444; }
.form-error { font-size: .76rem; color: #EF4444; min-height: 16px; }
.btn-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 15px; }

.form-success {
  text-align: center;
  padding: 44px 20px;
}
.success-icon {
  font-size: 3.2rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
}
.form-success h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.form-success p  { color: var(--text-secondary); line-height: 1.72; }

/* ─────────────────────────────────────────
   16. FOOTER
   ───────────────────────────────────────── */
.footer { background: #060918; padding-top: 72px; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand { max-width: 300px; }

/* Footer logo: ícone + wordmark sobre fundo escuro */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
  transition: opacity var(--t-fast);
}
.footer-logo-link:hover { opacity: .80; }

.footer-logo-icon {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
  /* Sem filtro: o ícone colorido fica ótimo no fundo escuro */
}

.footer-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
}

/* "Flow" — ciano brilhante no escuro */
.footer-flow {
  background: linear-gradient(135deg, #00D4FF 0%, #3B8FF5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* "Gent" — roxo claro no escuro */
.footer-gent {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p {
  font-size: .87rem;
  color: rgba(255,255,255,.45);
  line-height: 1.78;
  margin-bottom: 24px;
}
.footer-brand strong {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  transition: all var(--t-base);
}
.footer-social a:hover {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.15);
  transform: translateY(-2px);
}

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 {
  font-size: .75rem; font-weight: 700;
  color: rgba(255,255,255,.35);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .87rem;
  color: rgba(255,255,255,.50);
  transition: color var(--t-fast);
  display: flex; align-items: center; gap: 7px;
}
.footer-col ul li a:hover { color: rgba(255,255,255,.88); }
.footer-col ul li a i { font-size: .85rem; opacity: .7; }

.footer-bottom { padding: 22px 0; }
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p { font-size: .80rem; color: rgba(255,255,255,.28); }

/* ─────────────────────────────────────────
   17. BACK TO TOP
   ───────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 44px; height: 44px;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-lg);
}

/* ─────────────────────────────────────────
   17b. NAV ACTIVE STATE
   ───────────────────────────────────────── */
.nav-links li a.active-nav {
  color: var(--blue);
  background: rgba(29,110,245,.07);
  font-weight: 600;
}

/* ─────────────────────────────────────────
   18. AOS ANIMATIONS
   ───────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transition: opacity .70s var(--ease), transform .70s var(--ease);
}
[data-aos="fade-up"]    { transform: translateY(32px); }
[data-aos="fade-right"] { transform: translateX(-32px); }
[data-aos="fade-left"]  { transform: translateX(32px); }
[data-aos].aos-animate  { opacity: 1; transform: none; }

/* ─────────────────────────────────────────
   19. RESPONSIVE — Tablet ≤ 1024px
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner       { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-content     { padding-right: 0; display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle    { max-width: 100%; text-align: center; }
  .hero-cta-group   { justify-content: center; }
  .hero-social-proof{ align-self: center; }
  .hero-visual      { justify-content: center; }
  .chat-mockup      { max-width: 350px; }
  .card-1           { right: 0; }
  .card-2           { left: 0; }

  .solution-inner   { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner    { grid-template-columns: 1fr; gap: 44px; }
  .case-inner       { grid-template-columns: 1fr; gap: 32px; }
  .case-metrics     { justify-content: center; }
  .footer-inner     { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand     { max-width: 100%; }
}

/* ─────────────────────────────────────────
   20. RESPONSIVE — Small tablet ≤ 900px
   ───────────────────────────────────────── */
@media (max-width: 900px) {
  .problems-grid      { grid-template-columns: repeat(2, 1fr); }
  .diff-grid          { grid-template-columns: repeat(2, 1fr); }
  .segments-grid      { grid-template-columns: 1fr 1fr; }
  .benefits-grid      { grid-template-columns: repeat(2, 1fr); }
  .chat-examples-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }

  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .step-item        { max-width: 100%; width: 100%; }
  .step-connector   { transform: rotate(90deg); padding: 0; margin: 0; }

  .case-highlight   { padding: 36px 28px; }
}

/* ─────────────────────────────────────────
   21. RESPONSIVE — Mobile ≤ 640px
   ───────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --r-xl: 24px; --r-lg: 18px; }

  .container { padding-inline: 18px; }

  .section-header    { margin-bottom: 44px; }

  .problems-section,
  .solution-section,
  .how-section,
  .chat-example-section,
  .differentials-section,
  .for-who-section,
  .benefits-section,
  .contact-section   { padding: 84px 0; }
  .cta-final-section { padding: 88px 0; }

  .problems-grid   { grid-template-columns: 1fr; }
  .diff-grid       { grid-template-columns: 1fr; }
  .segments-grid   { grid-template-columns: 1fr; }
  .benefits-grid   { grid-template-columns: 1fr; }
  .footer-links    { grid-template-columns: 1fr 1fr; }

  .footer-bottom .container { flex-direction: column; text-align: center; gap: 6px; }

  .hero-cta-group  { flex-direction: column; width: 100%; }
  .btn-primary,
  .btn-secondary   { width: 100%; }

  .case-highlight  { padding: 28px 20px; }
  .case-metrics    { gap: 20px; flex-wrap: wrap; justify-content: center; }

  .contact-form-wrapper { padding: 28px 20px; }
  .chat-mockup  { max-width: 100%; }
  .card-1, .card-2 { display: none; }

  /* Mobile nav drawer */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 300px;
    height: 100vh;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 84px 28px 36px;
    gap: 6px;
    box-shadow: -12px 0 48px rgba(10,14,31,.14);
    transition: right .35s var(--ease);
    border-left: 1px solid var(--border-light);
    z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-links li   { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 12px 16px;
    font-size: .97rem;
    border-radius: var(--r-md);
  }
  .nav-toggle { display: flex; }

  /* Overlay when menu is open */
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10,14,31,.4);
    z-index: 999;
    backdrop-filter: blur(2px);
  }
}

/* ─────────────────────────────────────────
   22. RESPONSIVE — Small mobile ≤ 420px
   ───────────────────────────────────────── */
@media (max-width: 420px) {
  .dash-stats       { grid-template-columns: 1fr 1fr; }
  .hero-title       { font-size: 2.2rem; }  /* just a touch larger on small phones */
  .case-metrics     { gap: 16px; }
  .metric-val       { font-size: 1.65rem; }
}
