/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* TIPOGRAFÍA */
body {
  font-family: system-ui, -apple-system, sans-serif;
  background-color: #f9fafb;
  color: #111827;
  line-height: 1.6;
}

/* CONTENEDOR */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* NAVBAR */
nav {
  background: white;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
  border-bottom: 1px solid #e5e7eb;
}

nav a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

nav a:hover {
  color: #2563eb;
}

/* HERO */
.hero {
  padding: 60px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  color: #1e3a8a;
}

.hero p {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #6b7280;
}

/* BOTONES */
.btn {
  display: inline-block;
  margin-top: 20px;
  background: #2563eb;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #1d4ed8;
}

/* SECCIONES */
.section {
  padding: 60px 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
}

/* TARJETAS */
.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

/* FORMULARIO */
form {
  max-width: 500px;
  margin: auto;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
}

button {
  width: 100%;
  margin-top: 15px;
  background: #2563eb;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #111827;
  color: #9ca3af;
  margin-top: 40px;
}

.btn-wsp:hover {
  background-color: #1ebe5d;
}

li {
  list-style: none;
  /* opcional: quita el punto */
}

.btn-wsp {
  display: inline-flex;
  /* 🔥 esto alinea en fila */
  align-items: center;
  gap: 8px;

  background-color: #25D366;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;

  white-space: nowrap;
  /* 🔥 evita salto de línea */
}

.icono-wsp {
  width: 14px;
  height: 14px;
  display: block;
  /* 🔥 evita comportamiento raro */
}

<style>

/* ─── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0d14;
  --bg2: #0f1320;
  --bg3: #141826;
  --card: #161c2e;
  --border: rgba(255, 255, 255, .07);
  --primary: #3b82f6;
  --primary2: #6366f1;
  --accent: #06b6d4;
  --green: #10b981;
  --text: #e2e8f0;
  --muted: #64748b;
  --radius: 14px;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  /* theme-sensitive tokens */
  --nav-scrolled-bg: rgba(10, 13, 20, .88);
  --mobile-menu-bg: rgba(10, 13, 20, .97);
  --nav-link-color: #94a3b8;
  --nav-hover-bg: rgba(255, 255, 255, .06);
  --tint-sm: rgba(255, 255, 255, .04);
  --tint-md: rgba(255, 255, 255, .07);
  --tint-lg: rgba(255, 255, 255, .10);
  --shadow-card: 0 40px 80px rgba(0, 0, 0, .5);
  --grid-line: rgba(59, 130, 246, .04);
}

html[data-theme="light"] {
  --bg: #f8fafc;
  --bg2: #f1f5f9;
  --bg3: #e8edf5;
  --card: #ffffff;
  --border: rgba(0, 0, 0, .09);
  --text: #0f172a;
  --muted: #64748b;
  --nav-scrolled-bg: rgba(248, 250, 252, .92);
  --mobile-menu-bg: rgba(248, 250, 252, .98);
  --nav-link-color: #475569;
  --nav-hover-bg: rgba(0, 0, 0, .05);
  --tint-sm: rgba(0, 0, 0, .04);
  --tint-md: rgba(0, 0, 0, .06);
  --tint-lg: rgba(0, 0, 0, .09);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, .12);
  --grid-line: rgba(59, 130, 246, .07);
}

html[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(59, 130, 246, .10) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(99, 102, 241, .07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(6, 182, 212, .06) 0%, transparent 55%);
}

html[data-theme="light"] nav.scrolled {
  background: var(--nav-scrolled-bg);
}

html[data-theme="light"] .footer-col ul li a {
  color: #94a3b8;
}

html[data-theme="light"] .footer-col ul li a:hover {
  color: var(--primary);
}

html[data-theme="light"] .footer-bottom p {
  color: #94a3b8;
}

html[data-theme="light"] .logo-item {
  color: #94a3b8;
}

html[data-theme="light"] .screen-topbar {
  background: rgba(0, 0, 0, .03);
}

html[data-theme="light"] .loc-empty {
  background: rgba(0, 0, 0, .04) !important;
  border-color: rgba(0, 0, 0, .1) !important;
}

html[data-theme="light"] .mock-bar-track {
  background: rgba(0, 0, 0, .07);
}

html[data-theme="light"] .typing-dots span {
  background: var(--primary);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Utility ─────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(59, 130, 246, .12);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, .25);
  margin-bottom: 18px;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-top: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Nav ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
  padding: 0;
}

nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: var(--nav-link-color);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--nav-hover-bg);
}

.nav-cta {
  padding: 8px 20px !important;
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* ─── Theme toggle ─────────────────────────────────────────── */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--tint-sm);
  color: var(--nav-link-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--nav-hover-bg);
  color: var(--text);
  border-color: var(--primary);
}

.theme-toggle svg {
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .2s;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

html[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--mobile-menu-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 99;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  color: var(--nav-link-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--primary);
}

/* ─── Hero ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(59, 130, 246, .13) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(99, 102, 241, .1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(6, 182, 212, .07) 0%, transparent 55%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 20px 0 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(59, 130, 246, .4);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, .35);
}

.btn-ghost {
  background: var(--tint-md);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--tint-lg);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.stat-card {
  background: var(--tint-sm);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-mock {
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-title {
  font-size: .8rem;
  color: var(--muted);
  margin-left: 6px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.mock-card {
  background: rgba(59, 130, 246, .08);
  border: 1px solid rgba(59, 130, 246, .15);
  border-radius: 10px;
  padding: 14px;
}

.mock-card-label {
  font-size: .7rem;
  color: var(--muted);
}

.mock-card-val {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

.mock-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mock-bar-label {
  font-size: .72rem;
  color: var(--muted);
  width: 60px;
  flex-shrink: 0;
}

.mock-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  overflow: hidden;
}

.mock-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.mock-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  margin-top: 4px;
}

.tag-green {
  background: rgba(16, 185, 129, .15);
  color: var(--green);
}

.tag-blue {
  background: rgba(59, 130, 246, .15);
  color: var(--primary);
}

.floating-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}

.pill-1 {
  top: -20px;
  right: -20px;
}

.pill-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 1.5s;
  color: var(--primary);
  background: rgba(59, 130, 246, .12);
  border-color: rgba(59, 130, 246, .25);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

/* ─── Logos / Clientes ─────────────────────────────────────── */
#logos {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-label {
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.01em;
  opacity: .5;
  transition: var(--transition);
}

.logo-item:hover {
  opacity: 1;
  color: var(--muted);
}

.logo-item svg {
  width: 22px;
  height: 22px;
}

/* ─── Services ─────────────────────────────────────────────── */
#services {
  padding: 100px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-sub {
  margin: 12px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--card-color, rgba(59, 130, 246, .06)), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border, rgba(59, 130, 246, .3));
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

.service-tag {
  margin-top: 18px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.service-tag::after {
  content: '→';
  transition: var(--transition);
}

.service-card:hover .service-tag::after {
  transform: translateX(4px);
}

/* ─── Products ─────────────────────────────────────────────── */
#products {
  padding: 100px 0;
  background: var(--bg2);
}

.products-header {
  text-align: center;
  margin-bottom: 70px;
}

.products-header .section-sub {
  margin: 12px auto 0;
}

.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}

.product-feature:last-child {
  margin-bottom: 0;
}

.product-feature.reverse {
  direction: rtl;
}

.product-feature.reverse>* {
  direction: ltr;
}

.product-text .badge {
  margin-bottom: 14px;
}

.product-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.product-text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: #94a3b8;
}

.feature-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7.5' stroke='%2310b981' stroke-opacity='.4'/%3E%3Cpath d='M5 8l2.5 2.5L11 5.5' stroke='%2310b981' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

/* product visuals */
.product-visual {
  position: relative;
}

.product-screen {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
}

.screen-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
}

.screen-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.screen-title {
  font-size: .72rem;
  color: var(--muted);
  margin-left: 6px;
}

.screen-body {
  padding: 20px;
}

/* WMS visual */
.wms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wms-loc {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 700;
  border: 1px solid;
}

.loc-available {
  background: rgba(16, 185, 129, .1);
  border-color: rgba(16, 185, 129, .25);
  color: var(--green);
}

.loc-occupied {
  background: rgba(59, 130, 246, .1);
  border-color: rgba(59, 130, 246, .25);
  color: var(--primary);
}

.loc-reserved {
  background: rgba(245, 158, 11, .1);
  border-color: rgba(245, 158, 11, .25);
  color: #f59e0b;
}

.loc-empty {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .06);
  color: var(--muted);
}

.wms-legend {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  color: var(--muted);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

/* Payroll visual */
.payslip {
  background: var(--tint-sm);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.payslip-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.payslip-name {
  font-size: .85rem;
  font-weight: 700;
}

.payslip-period {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 2px;
}

.payslip-total {
  text-align: right;
}

.payslip-total-label {
  font-size: .65rem;
  color: var(--muted);
}

.payslip-total-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
}

.payslip-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  font-size: .78rem;
}

.payslip-row:last-child {
  border-bottom: none;
}

.payslip-row span:first-child {
  color: var(--muted);
}

.payslip-row span:last-child {
  font-weight: 600;
}

.payslip-row.deduct span:last-child {
  color: #ef4444;
}

.payslip-row.total span {
  font-weight: 700;
  font-size: .85rem;
}

.payslip-row.total span:last-child {
  color: var(--green);
}

/* AI visual */
.chat-window {
  padding: 4px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  align-items: flex-end;
}

.chat-msg.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar-ai {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}

.avatar-user {
  background: rgba(255, 255, 255, .1);
}

.chat-bubble {
  max-width: 220px;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: .78rem;
  line-height: 1.55;
}

.bubble-ai {
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(59, 130, 246, .2);
  border-bottom-left-radius: 4px;
}

.bubble-user {
  background: var(--tint-md);
  border: 1px solid var(--border);
  border-bottom-right-radius: 4px;
}

.typing-dots {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
}

.typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .4;
  animation: typing 1.2s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: .2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes typing {

  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: .4
  }

  40% {
    transform: translateY(-5px);
    opacity: 1
  }
}

/* ─── DB / Tech ─────────────────────────────────────────────── */
#tech {
  padding: 100px 0;
}

.tech-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.tech-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: var(--transition);
}

.tech-feat:hover {
  border-color: rgba(59, 130, 246, .25);
  transform: translateX(4px);
}

.tech-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.tech-feat-title {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.tech-feat-desc {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.6;
}

/* db visual */
.db-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.db-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: var(--transition);
  cursor: default;
}

.db-card:hover {
  border-color: rgba(59, 130, 246, .3);
  transform: translateY(-3px);
}

.db-logo {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.db-name {
  font-size: .95rem;
  font-weight: 700;
}

.db-desc {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.55;
}

.db-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.db-tag {
  font-size: .65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(59, 130, 246, .1);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, .15);
}

.db-card.full {
  grid-column: 1 / -1;
}

/* ─── Pricing / CTA ────────────────────────────────────────── */
#cta {
  padding: 100px 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner .section-title {
  margin-bottom: 16px;
}

.cta-inner .section-sub {
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #1ea855;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .3);
}

/* ─── Contact ──────────────────────────────────────────────── */
#contact {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}

.contact-info {
  padding-top: 8px;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-info p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

.contact-items {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 130, 246, .1);
  border: 1px solid rgba(59, 130, 246, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-item-label {
  font-size: .8rem;
  color: var(--muted);
}

.contact-item-val {
  font-size: .92rem;
  font-weight: 600;
}

/* form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
  letter-spacing: .01em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--tint-sm);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: .9rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.field select {
  cursor: pointer;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: rgba(59, 130, 246, .05);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #475569;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, .3);
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.form-success h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted);
  font-size: .9rem;
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand .logo {
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h5 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #64748b;
  text-decoration: none;
  font-size: .87rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .82rem;
  color: var(--muted);
}

/* ─── Scroll animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 40px;
    display: none;
  }

  .product-feature,
  .product-feature.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .tech-inner {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1;
  }

  .db-visual {
    grid-template-columns: 1fr;
  }

  .db-card.full {
    grid-column: 1;
  }
}