/* ═══════════════════════════════════════════
   Braine.ai Landing — Light Theme + Mascota
   ═══════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-alt: #f0f2f8;
  --surface: #ffffff;
  --border: #e2e5ef;
  --border-hover: #c8cde0;
  --text: #1B2A4A;
  --text-secondary: #4a5578;
  --text-muted: #8892ad;
  --accent: #1A7AF8;
  --accent-hover: #1565d8;
  --accent-light: #e8f1fe;
  --accent-glow: rgba(26,122,248,0.2);
  --accent-dim: rgba(26,122,248,0.08);
  --purple: #8b5cf6;
  --purple-dim: rgba(139,92,246,0.08);
  --green: #16a34a;
  --green-dim: rgba(22,163,74,0.08);
  --amber: #e5890a;
  --amber-dim: rgba(229,137,10,0.08);
  --red: #dc2626;
  --red-dim: rgba(220,38,38,0.08);
  --teal: #0d9488;
  --teal-dim: rgba(13,148,136,0.08);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --shadow-sm: 0 1px 3px rgba(27,42,74,0.06);
  --shadow-md: 0 4px 16px rgba(27,42,74,0.08);
  --shadow-lg: 0 12px 40px rgba(27,42,74,0.12);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, #1A7AF8, #3b9bff, #1565d8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Reveal Animation ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 8px rgba(27,42,74,0.08);
  padding: 0.6rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  height: 40px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px var(--accent-glow);
}
.btn-nav:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-nav-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: rgba(26,122,248,0.08);
  top: -15%; right: -5%;
  animation: blob-drift 12s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: rgba(139,92,246,0.06);
  bottom: -10%; left: 5%;
  animation: blob-drift 15s ease-in-out infinite reverse;
}
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -15px); }
  66% { transform: translate(-15px, 20px); }
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Hero logo grande */
.hero-logo {
  height: 80px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(26,122,248,0.15));
}

.hero-text {
  max-width: 560px;
}
.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.hero-desc strong { color: var(--text); font-weight: 600; }
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--accent), #3b8ffa);
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all 0.3s;
}
.btn-hero-primary:hover {
  box-shadow: 0 8px 32px rgba(26,122,248,0.3);
  transform: translateY(-2px);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-hero-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.hero-stat-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

/* Hero Mascota */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mascota {
  width: 420px;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(26,122,248,0.2));
  animation: mascota-float 5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes mascota-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* Floating cards */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.float-card-1 {
  top: 8%; left: -30px;
  animation: float-card 4s ease-in-out infinite;
}
.float-card-2 {
  bottom: 15%; right: -20px;
  animation: float-card 5s ease-in-out infinite 1.5s;
}
.float-card-3 {
  top: 55%; left: -40px;
  animation: float-card 4.5s ease-in-out infinite 3s;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.float-card-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   TRUSTED
   ═══════════════════════════════════════════ */
.trusted {
  padding: 3rem 0 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trusted-label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.ticker {
  display: flex;
  gap: 0.75rem;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker:hover {
  animation-play-state: paused;
}
.trusted-item {
  padding: 0.5rem 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s;
}
.trusted-item:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   SECTION INTRO
   ═══════════════════════════════════════════ */
.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--accent-light);
  border: 1px solid rgba(26,122,248,0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.section-intro h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}
.section-intro p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */
.features {
  padding: 6rem 0;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-icon-blue { background: var(--accent-light); color: var(--accent); }
.feature-icon-purple { background: var(--purple-dim); color: var(--purple); }
.feature-icon-green { background: var(--green-dim); color: var(--green); }
.feature-icon-amber { background: var(--amber-dim); color: var(--amber); }
.feature-icon-red { background: var(--red-dim); color: var(--red); }
.feature-icon-teal { background: var(--teal-dim); color: var(--teal); }
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.how {
  padding: 6rem 0;
  background: var(--bg-soft);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.step-reverse .step-content { order: 2; }
.step-reverse .step-visual { order: 1; }
.step-number {
  position: absolute;
  top: -1rem;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(26,122,248,0.05);
  line-height: 1;
  letter-spacing: -0.05em;
  z-index: 0;
}
.step-content {
  position: relative;
  z-index: 1;
}
.step-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--accent-light);
  border: 1px solid rgba(26,122,248,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.step-icon svg { width: 28px; height: 28px; }
.step-icon-purple { background: var(--purple-dim); border-color: rgba(139,92,246,0.12); color: var(--purple); }
.step-icon-green { background: var(--green-dim); border-color: rgba(22,163,74,0.12); color: var(--green); }
.step-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.step-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Step Visuals */
.step-visual {
  position: relative;
  z-index: 1;
}
.step-mockup, .step-extract, .step-report {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.mock-msg {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.mock-msg:last-child { margin-bottom: 0; }
.mock-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.mock-bubble {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.extract-input {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  text-align: center;
}
.extract-arrow {
  text-align: center;
  padding: 0.8rem 0;
  color: var(--accent);
  animation: bounce-arrow 2s ease-in-out infinite;
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.extract-facts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.extract-fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.8rem;
  background: var(--bg-soft);
  border-radius: 8px;
}
.ef-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  min-width: 80px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ef-value {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}
.ef-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  overflow: hidden;
}
.ef-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--green));
  border-radius: 3px;
}
.ef-pct {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
}

/* Report mockup */
.report-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.report-logo {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
.report-title {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}
.report-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.report-table {
  display: flex;
  flex-direction: column;
}
.report-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.report-row:last-child { border-bottom: none; }
.report-row-head {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.report-row span:first-child { color: var(--text-secondary); }
.report-done { color: var(--green) !important; font-weight: 600; }
.report-progress { color: var(--amber) !important; font-weight: 600; }

/* ═══════════════════════════════════════════
   WHATSAPP DEMO
   ═══════════════════════════════════════════ */
.wa-demo {
  padding: 6rem 0;
  background: var(--bg);
}
.wa-demo-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: center;
}
.wa-phone {
  border-radius: 36px;
  background: #111b21;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 0 0 2px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
}
.wa-phone-notch {
  width: 120px;
  height: 24px;
  background: #111b21;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #1f2c34;
}
.wa-header-back {
  display: flex;
  align-items: center;
}
.wa-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A7AF8, #3b9bff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  overflow: hidden;
}
.wa-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.wa-header-info {
  flex: 1;
}
.wa-header-name {
  color: #e9edef;
  font-weight: 600;
  font-size: 15px;
}
.wa-header-status {
  color: #8696a0;
  font-size: 12px;
}
.wa-chat {
  background: #0b141a;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 16px 12px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 480px;
  overflow-y: auto;
}
.wa-date-badge {
  text-align: center;
  margin-bottom: 8px;
}
.wa-date-badge {
  display: inline-block;
  background: #1d2b33;
  color: #8696a0;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 6px;
  align-self: center;
}
.wa-msg {
  display: flex;
  margin-bottom: 2px;
}
.wa-msg-out {
  justify-content: flex-end;
}
.wa-msg-in {
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
}
.wa-bubble {
  max-width: 85%;
  padding: 6px 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  position: relative;
  word-break: break-word;
}
.wa-bubble-out {
  background: #005c4b;
  color: #e9edef;
  border-radius: 8px 2px 8px 8px;
}
.wa-bubble-in {
  background: #1f2c34;
  color: #e9edef;
  border-radius: 2px 8px 8px 8px;
}
.wa-bubble-success {
  border-left: 3px solid #25D366;
}
/* WhatsApp interactive buttons */
.wa-buttons {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 85%;
  margin-top: 1px;
}
.wa-btn-interactive {
  background: #1f2c34;
  color: #53bdeb;
  border: none;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: default;
  border-radius: 8px;
  font-family: var(--font);
  border-top: 1px solid rgba(134,150,160,0.15);
}
.wa-btn-interactive:first-child {
  border-top: none;
}
.wa-btn-selected {
  background: #005c4b;
  color: #e9edef;
  border-radius: 8px;
}
.wa-time {
  float: right;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  margin-left: 8px;
  margin-top: 4px;
}
.wa-bubble-location {
  padding-top: 0;
}
.wa-location-map {
  background: linear-gradient(135deg, #0d3320, #1a4a35);
  border-radius: 6px 0 6px 6px;
  padding: 16px;
  margin: -6px -10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #1f2c34;
}
.wa-input-field {
  flex: 1;
  background: #2a3942;
  border-radius: 20px;
  padding: 8px 16px;
  color: #8696a0;
  font-size: 14px;
}
.wa-input-mic {
  width: 40px;
  height: 40px;
  background: #00a884;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-input-mic svg {
  stroke: #fff;
}

/* Features list */
.wa-demo-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.wa-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.wa-feature-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.wa-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.wa-feature-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   SUPERVISOR BOT DEMO
   ═══════════════════════════════════════════ */
.wa-demo-sup {
  background: var(--bg-soft);
}
.wa-demo-layout-reverse {
  grid-template-columns: 1fr 380px;
}

/* ═══════════════════════════════════════════
   LIVE DASHBOARD / MAP
   ═══════════════════════════════════════════ */
.live-dashboard {
  padding: 6rem 0;
  background: var(--bg);
}
.dash-preview {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.dash-topbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.dash-stat {
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.dash-stat:last-child { border-right: none; }
.dash-stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.dash-stat-blue { color: var(--accent); }
.dash-stat-purple { color: var(--purple); }
.dash-stat-green { color: var(--green); }
.dash-stat-amber { color: var(--amber); }
.dash-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dash-body {
  display: grid;
  grid-template-columns: 1fr 300px;
}
.dash-map {
  padding: 1rem;
  position: relative;
  border-right: 1px solid var(--border);
}
.dash-map-bg {
  position: relative;
  background: #f8fafc;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
}
.dash-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Geofence circles */
.dash-geofence {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(26,122,248,0.25);
  background: rgba(26,122,248,0.04);
  transform: translate(-50%,-50%);
  pointer-events: none;
}
/* Pins */
.dash-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%,-50%);
  cursor: default;
  z-index: 2;
}
.dash-pin-sup {
  background: var(--purple);
  box-shadow: 0 2px 8px rgba(139,92,246,0.4);
  width: 36px;
  height: 36px;
  z-index: 3;
}
.dash-pin-worker {
  background: var(--accent);
  box-shadow: 0 2px 6px rgba(26,122,248,0.3);
  width: 26px;
  height: 26px;
}
.dash-pin-alert {
  background: var(--red);
  box-shadow: 0 2px 8px rgba(220,38,38,0.4);
  animation: alertPulse 2s ease-in-out infinite;
}
/* Pulsing effect for supervisor pins */
.dash-pin-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(139,92,246,0.3);
  animation: pinPulse 2.5s ease-out infinite;
}
@keyframes pinPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes alertPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.15); }
}
/* Pin tooltips */
.dash-pin-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.dash-pin-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1e293b;
}
.dash-pin-tooltip-alert {
  background: var(--red);
}
.dash-pin-tooltip-alert::after {
  border-top-color: var(--red);
}
.dash-pin:hover .dash-pin-tooltip {
  opacity: 1;
}
/* Map legend */
.dash-map-legend {
  display: flex;
  gap: 1.25rem;
  padding: 0.75rem 0 0;
  justify-content: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.legend-dot-sup { background: var(--purple); }
.legend-dot-worker { background: var(--accent); }
.legend-dot-alert { background: var(--red); }
.legend-dot-geo {
  background: transparent;
  border: 2px dashed rgba(26,122,248,0.5);
}
/* Activity feed */
.dash-feed {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 400px;
  overflow-y: auto;
}
.dash-feed-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.dash-feed-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.dash-feed-item:last-child { border-bottom: none; }
.dash-feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.dash-feed-dot-green { background: var(--green); }
.dash-feed-dot-blue { background: var(--accent); }
.dash-feed-dot-amber { background: var(--amber); }
.dash-feed-dot-purple { background: var(--purple); }
.dash-feed-dot-red { background: var(--red); }
.dash-feed-text {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.4;
}
.dash-feed-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════
   SECTORS
   ═══════════════════════════════════════════ */
.sectors {
  padding: 6rem 0;
  background: var(--bg);
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.sector-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.sector-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.sector-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.sector-icon svg { width: 26px; height: 26px; }
.sector-icon-amber { background: var(--amber-dim); color: var(--amber); }
.sector-icon-green { background: var(--green-dim); color: var(--green); }
.sector-icon-red { background: var(--red-dim); color: var(--red); }
.sector-icon-teal { background: var(--teal-dim); color: var(--teal); }
.sector-icon-purple { background: var(--purple-dim); color: var(--purple); }
.sector-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.sector-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.sectors-more {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.cta {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #eef2ff 100%);
  overflow: hidden;
}
.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
}
.cta-mascota {
  width: 160px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 8px 20px rgba(26,122,248,0.15));
  animation: mascota-float 5s ease-in-out infinite;
}
.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}
.cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: #25D366;
  color: #fff;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
  transition: all 0.3s;
}
.btn-cta:hover {
  background: #20bd5a;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  transform: translateY(-2px);
}
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand {
  max-width: 280px;
}
.footer-logo {
  height: 36px;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 4rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   FLOATING WHATSAPP
   ═══════════════════════════════════════════ */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
  animation: fab-bounce 2s ease-in-out infinite 3s;
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
@keyframes fab-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Nav mobile download link */
.nav-link-app {
  display: none;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .hero-mascota { width: 340px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-nav-outline { display: none; }
  .nav-link-app {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: var(--accent);
    color: #fff !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    justify-content: center;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
    box-shadow: var(--shadow-md);
  }

  .hero { padding: 7rem 0 3rem; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-logo { height: 60px; }
  .hero h1 { font-size: 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-mascota { width: 280px; }
  .float-card-1, .float-card-2, .float-card-3 { display: none; }

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

  .features-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 1.5rem; }
  .step-reverse .step-content { order: 1; }
  .step-reverse .step-visual { order: 2; }
  .step-number { font-size: 4rem; }

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

  .wa-demo-layout, .wa-demo-layout-reverse { grid-template-columns: 1fr; gap: 2rem; }
  .wa-phone { max-width: 380px; margin: 0 auto; }

  .dash-topbar { grid-template-columns: repeat(2, 1fr); }
  .dash-body { grid-template-columns: 1fr; }
  .dash-map { border-right: none; border-bottom: 1px solid var(--border); }
  .dash-feed { max-height: none; }

  .cta h2 { font-size: 2rem; }
  .cta-actions { flex-direction: column; align-items: center; }

  .footer-inner { flex-direction: column; }
  .footer-links { gap: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero h1 { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .sectors-grid { grid-template-columns: 1fr; }
  .hero-mascota { width: 220px; }
  .dash-topbar { grid-template-columns: 1fr 1fr; }
  .dash-stat { padding: 0.75rem 1rem; }
  .dash-stat-number { font-size: 1.5rem; }
  .dash-map-legend { flex-wrap: wrap; gap: 0.75rem; }
}
