/* TextiA.eu — LIGHT theme · paleta WhatsApp */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Light surfaces */
  --bg-0: #FFFFFF;
  --bg-1: #F7FAF8;
  --bg-2: #F0F6F2;
  --bg-card: #FFFFFF;
  --bg-chat-beige: #ECE5DD;     /* WhatsApp chat backdrop beige */
  --bg-chat-bubble-out: #DCF8C6; /* outgoing green bubble */
  --bg-chat-bubble-in: #FFFFFF;
  --border: #E6ECE8;
  --border-strong: #D9E2DD;

  /* Text */
  --text-0: #0B141B;            /* WhatsApp dark text */
  --text-1: #3B4A54;
  --text-2: #667781;
  --text-3: #8696A0;

  /* WhatsApp greens */
  --green-50: #F0FAF4;
  --green-100: #DCF8C6;
  --green-200: #B8E994;
  --green-300: #7FD68A;
  --green-400: #25D366;          /* WA brand */
  --green-500: #128C7E;          /* WA teal */
  --green-600: #075E54;          /* WA deep */
  --green-700: #054C44;
  --green-accent: #25D366;

  /* Subtle violet for AI accent (used sparingly) */
  --violet-50: #F5F3FF;
  --violet-300: #C4B5FD;
  --violet-500: #7C3AED;

  /* Gold (sparingly) */
  --gold: #C9A45A;

  /* Type */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;

  /* Shadow tokens */
  --shadow-sm: 0 1px 2px rgba(11,20,27,0.04), 0 0 0 1px rgba(11,20,27,0.04);
  --shadow-md: 0 6px 20px -6px rgba(11,20,27,0.08), 0 0 0 1px rgba(11,20,27,0.04);
  --shadow-lg: 0 24px 60px -20px rgba(11,20,27,0.18), 0 0 0 1px rgba(11,20,27,0.04);
  --shadow-green: 0 12px 32px -10px rgba(37,211,102,0.40);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-sans);
  font-feature-settings: 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ----------------- Layout ----------------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--green-500);
  padding: 6px 14px;
  background: var(--green-50);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: 999px;
}
.eyebrow svg { width: 14px; height: 14px; }

.section-title {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-0);
  margin: 18px 0 14px;
  text-wrap: balance;
}
.section-title .grad {
  color: var(--green-400);
}

.section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto;
  text-wrap: pretty;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

section {
  position: relative;
  padding: 110px 0;
}

/* ----------------- Buttons ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-400);
  color: white;
  border-color: var(--green-400);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: #1FBA59;
  border-color: #1FBA59;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -12px rgba(37,211,102,0.55);
}

.btn-ghost {
  background: white;
  color: var(--text-0);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--green-50);
  border-color: var(--green-300);
  color: var(--green-600);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 12px;
}

/* ----------------- Animations ----------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.40); }
  50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

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

@keyframes typewriter-caret {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes ring-expand {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes msg-travel {
  0%   { transform: translate(var(--from-x), var(--from-y)) scale(0.8); opacity: 0; }
  10%  { opacity: 1; }
  45%  { transform: translate(0, 0) scale(1); opacity: 1; }
  55%  { transform: translate(0, 0) scale(1); opacity: 1; }
  90%  { transform: translate(var(--to-x), var(--to-y)) scale(0.8); opacity: 1; }
  100% { transform: translate(var(--to-x), var(--to-y)) scale(0.6); opacity: 0; }
}

@keyframes line-flow {
  0%   { stroke-dashoffset: 100; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blob-shift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-20px, 14px) scale(1.05); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------- NAV ----------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: all 0.25s ease;
}
.nav.scrolled {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
}
.nav-links a {
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--green-500); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--green-500);
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--green-400);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 12px -2px rgba(37,211,102,0.5);
}
.logo .ai {
  color: var(--green-400);
}

/* ----------------- HERO (image #2 style) ----------------- */
.hero {
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,211,102,0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  top: 100px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(18,140,126,0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.hero-h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 22px 0 22px;
  color: var(--text-0);
  text-wrap: balance;
}
.hero-h1 .grad {
  color: var(--green-400);
  display: inline-block;
  position: relative;
}
.hero-h1 .grad::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: rgba(37,211,102,0.15);
  z-index: -1;
  border-radius: 2px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  color: var(--text-2);
  flex-wrap: wrap;
}
.hero-trust .item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust .item .ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--green-50);
  color: var(--green-500);
  display: grid; place-items: center;
}

/* App preview frame */
.app-preview {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #FAFBFB;
  border-bottom: 1px solid var(--border);
}
.app-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.app-bar .dot.r { background: #FF5F57; }
.app-bar .dot.y { background: #FEBC2E; }
.app-bar .dot.g { background: #28C840; }
.app-bar .url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  background: white;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* ----------------- AI Demo box ----------------- */
.ai-demo {
  background: var(--bg-chat-beige);
  border-radius: var(--r-xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.3) 0%, transparent 50%);
  background-color: #ECE5DD;
}
.ai-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11,20,27,0.06);
}
.ai-msg {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  animation: fadeInUp 0.5s ease both;
}
.ai-msg.bot { justify-content: flex-end; }
.ai-bubble {
  padding: 8px 12px 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 75%;
  box-shadow: 0 1px 1px rgba(11,20,27,0.08);
  position: relative;
}
.ai-msg.user .ai-bubble {
  background: var(--bg-chat-bubble-in);
  color: var(--text-0);
  border-top-left-radius: 0;
}
.ai-msg.user .ai-bubble::before {
  content: '';
  position: absolute;
  top: 0; left: -8px;
  width: 0; height: 0;
  border: 8px solid transparent;
  border-top-color: white;
  border-right-color: white;
}
.ai-msg.bot .ai-bubble {
  background: var(--bg-chat-bubble-out);
  color: var(--text-0);
  border-top-right-radius: 0;
}
.ai-msg.bot .ai-bubble::before {
  content: '';
  position: absolute;
  top: 0; right: -8px;
  width: 0; height: 0;
  border: 8px solid transparent;
  border-top-color: var(--bg-chat-bubble-out);
  border-left-color: var(--bg-chat-bubble-out);
}
.ai-meta {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}
.typing-dots {
  display: inline-flex;
  gap: 4px;
}
.typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  animation: float 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.30s; }

.ai-caret::after {
  content: '|';
  margin-left: 1px;
  color: var(--green-500);
  animation: typewriter-caret 1s steps(2) infinite;
}

/* ----------------- Brain stage (now in dedicated section) ----------------- */
.brain-section {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(37,211,102,0.10), transparent 70%),
    linear-gradient(180deg, var(--bg-1) 0%, white 100%);
  overflow: hidden;
}
.brain-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.brain-stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.brain-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(37,211,102,0.20);
}
.brain-orbit.r1 { inset: 8%; }
.brain-orbit.r2 { inset: 22%; border-style: dotted; border-color: rgba(18,140,126,0.18); }

.brain-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, var(--green-300) 0%, var(--green-400) 60%, var(--green-500) 100%);
  display: grid;
  place-items: center;
  border: 2px solid white;
  box-shadow:
    0 0 60px 10px rgba(37,211,102,0.30),
    0 0 0 8px rgba(37,211,102,0.08),
    0 24px 60px -16px rgba(37,211,102,0.40);
  animation: pulse-glow 3s ease-in-out infinite;
}
.brain-core::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(37,211,102,0.5), transparent 30%, transparent 60%, rgba(18,140,126,0.5), transparent 90%);
  animation: spin-slow 7s linear infinite;
  filter: blur(10px);
  opacity: 0.7;
  z-index: -1;
}
.brain-svg {
  width: 56%;
  height: 56%;
  color: white;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.brain-ring {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.30);
  animation: ring-expand 3s ease-out infinite;
  pointer-events: none;
}
.brain-ring.d1 { animation-delay: 0s; }
.brain-ring.d2 { animation-delay: 1s; }
.brain-ring.d3 { animation-delay: 2s; }

.brain-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.brain-lines path {
  fill: none;
  stroke-width: 1.4;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
}

/* Channel chips orbiting */
.channel-chip {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 18px;
  background: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -10px rgba(11,20,27,0.16), 0 0 0 1px rgba(11,20,27,0.04);
  animation: float 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.channel-chip img,
.channel-chip svg {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.channel-chip .label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Floating message bubbles */
.msg-bubble {
  position: absolute;
  top: 50%; left: 50%;
  background: white;
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 12px;
  color: var(--text-0);
  white-space: nowrap;
  box-shadow: 0 6px 18px -4px rgba(11,20,27,0.18), 0 0 0 1px rgba(11,20,27,0.04);
  animation: msg-travel 6s ease-in-out infinite;
}
.msg-bubble.reply {
  background: var(--bg-chat-bubble-out);
  color: var(--text-0);
}
.msg-bubble .src {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.brain-info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  max-width: 360px;
  margin-top: 22px;
}
.brain-info-card .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brain-info-card .label { font-size: 11px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.brain-info-card .val { font-size: 18px; font-weight: 700; color: var(--text-0); }

/* ----------------- Channels (real logos) ----------------- */
.channels-section {
  background: white;
}
.channels-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.channel-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 1px 2px rgba(11,20,27,0.03);
}
.channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
}
.channel-logo-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-50);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.channel-logo-wrap img,
.channel-logo-wrap svg {
  width: 30px; height: 30px;
  object-fit: contain;
}
.channel-name { font-size: 14px; font-weight: 600; color: var(--text-0); }
.channel-desc { font-size: 12px; color: var(--text-2); line-height: 1.4; }

/* ----------------- Team alignment section ----------------- */
.team-section {
  background: var(--bg-1);
}
.team-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.team-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #E8F0EC, #F4F8F6);
}

.team-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.team-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.team-feature .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.team-feature .ic svg { width: 18px; height: 18px; }
.team-feature .text {
  font-size: 16px;
  color: var(--text-0);
  font-weight: 500;
  line-height: 1.5;
}

/* Stats strip below team */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat-cell {
  padding: 26px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-cell:last-child { border-right: none; }
.stat-cell .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.stat-cell .label { font-size: 12px; color: var(--text-2); }
.stat-cell .val { font-size: 18px; font-weight: 700; color: var(--text-0); letter-spacing: -0.02em; }

/* ----------------- Features grid ----------------- */
.features-section { background: white; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: white;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.feature-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-50);
  color: var(--green-500);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text-0);
}
.feature-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}

/* ----------------- Pricing ----------------- */
.pricing-section { background: var(--bg-1); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.price-card {
  padding: 36px 28px 32px;
  border-radius: var(--r-lg);
  background: white;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  background: white;
  border: 2px solid var(--green-400);
  box-shadow: 0 24px 60px -16px rgba(37,211,102,0.30);
  transform: translateY(-8px);
}
.price-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-400);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.price-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.price-card.featured .price-name { color: var(--green-500); }
.price-desc { color: var(--text-2); font-size: 14px; min-height: 44px; margin-bottom: 18px; line-height: 1.5; }
.price-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-0);
  margin-bottom: 4px;
}
.price-amount .currency { font-size: 22px; vertical-align: super; margin-right: 2px; color: var(--text-2); font-weight: 600; }
.price-amount .period { font-size: 14px; color: var(--text-2); font-weight: 500; }
.price-setup {
  font-size: 12px;
  color: var(--green-500);
  font-weight: 600;
  margin-bottom: 22px;
  background: var(--green-50);
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}
.price-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-1);
  padding: 7px 0;
}
.price-features svg { color: var(--green-400); flex-shrink: 0; margin-top: 2px; }

.pricing-disclaimer {
  text-align: center;
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-2);
}
.pricing-disclaimer b { color: var(--text-0); }

/* ----------------- Testimonials ----------------- */
.testimonials-section { background: white; }
.testimonials-network {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 64px;
  min-height: 380px;
}
.testimonial-bubble {
  position: absolute;
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 16px 32px -10px rgba(11,20,27,0.18);
  background: linear-gradient(135deg, #DCF8C6, #E8F4D9);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 24px;
  color: var(--green-500);
  animation: float 5s ease-in-out infinite;
}
.testimonial-bubble::after {
  content: '';
  position: absolute;
  bottom: 6px; right: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-400);
  border: 2px solid white;
}
.testimonials-bg-blob {
  position: absolute;
  inset: 50px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(37,211,102,0.10), transparent 70%);
  z-index: 0;
  animation: blob-shift 8s ease-in-out infinite;
}
.dot-deco {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--green-300);
}
.dot-deco.filled { background: var(--green-300); }

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.testimonial-quote {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-0);
  margin-bottom: 18px;
}
.testimonial-quote::before {
  content: '"';
  font-size: 36px;
  color: var(--green-300);
  font-weight: 700;
  line-height: 0;
  display: block;
  height: 16px;
}
.testimonial-author {
  display: flex;
  gap: 12px;
  align-items: center;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text-0); }
.testimonial-role { font-size: 12px; color: var(--text-2); }

/* Big stats below testimonials */
.big-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.big-stat-num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--green-500);
  line-height: 1;
}
.big-stat-label {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 8px;
  line-height: 1.45;
  max-width: 240px;
}

/* ----------------- Contact ----------------- */
.contact-section {
  background: linear-gradient(180deg, white, var(--bg-1));
}
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,211,102,0.10), transparent 60%);
  pointer-events: none;
}
.contact-info { position: relative; z-index: 1; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-detail .label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.contact-detail .val { font-size: 16px; color: var(--text-0); font-weight: 500; margin-top: 2px; }
.contact-detail .val a:hover { color: var(--green-500); }

.contact-form { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-0);
  background: white;
  transition: all 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.15);
}
.form-field textarea { resize: vertical; min-height: 100px; font-family: inherit; }

/* ----------------- Footer ----------------- */
.footer {
  padding: 70px 0 36px;
  background: white;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h5 {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 14px;
  font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; }
.footer a { color: var(--text-1); font-size: 14px; transition: color 0.15s ease; }
.footer a:hover { color: var(--green-500); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}

/* ----------------- Responsive ----------------- */
@media (max-width: 960px) {
  section { padding: 70px 0; }
  .hero { padding-top: 110px; }
  .hero-grid, .brain-grid, .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .brain-stage { max-width: 440px; }
  .channels-row { grid-template-columns: repeat(4, 1fr); }
  .features-grid, .pricing-grid, .testimonial-cards, .big-stats { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .price-card.featured { transform: none; }
  .contact-card { grid-template-columns: 1fr; padding: 36px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .channels-row { grid-template-columns: repeat(3, 1fr); }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* ==================== AJUSTES TEXTIA v2 ==================== */

/* Hero más amplio: dar más peso al panel derecho con la captura real */
.hero-grid { grid-template-columns: 0.85fr 1.2fr; gap: 48px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* App preview real (imagen) — mantiene el "browser bar" arriba */
.app-preview-real {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(11,20,27,0.18), 0 0 0 1px rgba(11,20,27,0.05);
  background: #fff;
}
.app-preview-real img { display: block; width: 100%; }

/* Foto del equipo real (sustituye el mock de iniciales) */
.team-faces-real img {
  box-shadow: 0 30px 60px -20px rgba(11,20,27,0.20);
}

/* ====== FEATURES — etiquetas con animación staggered + interior beige WhatsApp ====== */
.feature-card {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-chat-beige) 140%);
  border: 1px solid rgba(11,20,27,0.08);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}
.reveal.in .feature-card { animation: featureIn 0.7s cubic-bezier(.2,.8,.2,1) forwards; }
.reveal.in .feature-card:nth-child(1) { animation-delay: 0.05s; }
.reveal.in .feature-card:nth-child(2) { animation-delay: 0.18s; }
.reveal.in .feature-card:nth-child(3) { animation-delay: 0.31s; }
.reveal.in .feature-card:nth-child(4) { animation-delay: 0.44s; }
.reveal.in .feature-card:nth-child(5) { animation-delay: 0.57s; }
.reveal.in .feature-card:nth-child(6) { animation-delay: 0.70s; }
@keyframes featureIn {
  0%   { opacity: 0; transform: translateY(28px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(280px 200px at -10% 110%, rgba(37,211,102,0.08), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -16px rgba(11,20,27,0.18); border-color: var(--green-300); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  background: linear-gradient(135deg, var(--green-50), #DCF8C6);
  transition: transform .35s var(--ease, cubic-bezier(.2,.8,.2,1));
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-4deg); }

/* ====== PRICING — interior beige WhatsApp + hover más vivo ====== */
.price-card {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-chat-beige) 130%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .3s;
  position: relative;
  overflow: hidden;
}
.price-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, transparent 30%, rgba(37,211,102,0.18) 50%, transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  border-radius: inherit;
}
.price-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px -20px rgba(37,211,102,0.25), 0 12px 28px -10px rgba(11,20,27,0.15);
  border-color: var(--green-400);
}
.price-card:hover::after { opacity: 1; }
.price-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #DCF8C6 130%);
}
.price-card.featured:hover {
  transform: translateY(-14px) scale(1.04);
  box-shadow: 0 36px 70px -22px rgba(37,211,102,0.40), 0 14px 32px -10px rgba(11,20,27,0.20);
}
.price-amount { transition: transform .35s ease; }
.price-card:hover .price-amount { transform: scale(1.06); }

/* ====== MACBOOK MOCKUP ====== */
.laptop-showcase { padding: 80px 0; }
.macbook { max-width: 1100px; margin: 60px auto 0; position: relative; }
.macbook-screen {
  background: #1d1f24;
  border-radius: 18px 18px 4px 4px;
  padding: 22px 22px 18px;
  box-shadow: 0 40px 80px -30px rgba(11,20,27,0.40), 0 0 0 1.5px rgba(11,20,27,0.10) inset;
  position: relative;
}
.macbook-bezel {
  position: relative;
  height: 14px;
  margin-bottom: 6px;
}
.macbook-camera {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 6px; height: 6px;
  background: #2a2c33;
  border-radius: 50%;
  transform: translateX(-50%);
}
.macbook-screen img {
  display: block; width: 100%; height: auto;
  border-radius: 6px;
  background: #fff;
}
.macbook-base {
  height: 16px;
  background: linear-gradient(180deg, #c8cdd3, #9aa1a9);
  border-radius: 0 0 22px 22px;
  position: relative;
  margin: 0 -22px;
  box-shadow: 0 8px 16px -6px rgba(11,20,27,0.25);
}
.macbook-base::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(180deg, #6b7280, transparent);
}
.macbook-notch {
  position: absolute;
  left: 50%; top: 0;
  width: 110px; height: 7px;
  background: #5a5f66;
  border-radius: 0 0 8px 8px;
  transform: translateX(-50%);
}

/* Soft glow detrás del macbook con tono WhatsApp */
.macbook::before {
  content: '';
  position: absolute;
  inset: -10% -5% 10% -5%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(37,211,102,0.16), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

@media (max-width: 760px) {
  .macbook-screen { padding: 14px 14px 12px; }
  .macbook-base { margin: 0 -14px; }
}

/* ==================== AJUSTES TEXTIA v3 ==================== */

/* Container más ancho — hero menos apretujado */
.container { max-width: 1380px; padding-left: 32px; padding-right: 32px; }

/* Hero: dar más equilibrio entre texto e imagen + permitir más texto sin saltos */
.hero-grid {
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
}
.hero-h1 { font-size: clamp(40px, 4.6vw, 64px); }
.hero-sub { max-width: 600px; font-size: 17px; }
@media (max-width: 980px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ====== TEAM SECTION — foto chica derecha, texto izquierda con animación ====== */
.team-grid {
  /* En móvil orden natural: texto arriba, foto abajo. En desktop: texto izq, foto der */
  align-items: stretch;
}
.team-grid-reverse {
  grid-template-columns: 1fr 0.85fr;
}
@media (max-width: 980px) {
  .team-grid-reverse { grid-template-columns: 1fr; }
}

.team-copy { display: flex; flex-direction: column; justify-content: center; }

/* Imagen chica con glow lateral (queda integrada con el fondo) */
.team-img {
  background: transparent !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  box-shadow: none !important;
}
.team-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}
.team-photo-glow {
  position: absolute;
  inset: -10% -15% -10% -15%;
  background:
    radial-gradient(45% 55% at 50% 50%, rgba(37,211,102,0.18), transparent 75%),
    radial-gradient(35% 45% at 30% 65%, rgba(127,214,138,0.14), transparent 80%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}
.team-photo-wrap img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  /* PNG con fondo transparente — sin marco rectangular.
     drop-shadow respeta la silueta de la chica, no dibuja un rectángulo. */
  filter: drop-shadow(0 22px 30px rgba(11,20,27,0.22))
          drop-shadow(0 6px 10px rgba(11,20,27,0.10));
}

/* Animación staggered del texto + features */
.reveal.in .team-anim-1,
.reveal.in .team-anim-2,
.reveal.in .team-anim-3,
.reveal.in .team-anim-feature {
  animation: teamFadeUp 0.7s cubic-bezier(.2,.8,.2,1) both;
}
.reveal.in .team-anim-1 { animation-delay: 0.05s; }
.reveal.in .team-anim-2 { animation-delay: 0.18s; }
.reveal.in .team-anim-3 { animation-delay: 0.32s; }
/* team-anim-feature toma su delay inline desde el JSX */
.team-anim-1, .team-anim-2, .team-anim-3, .team-anim-feature { opacity: 0; }

@keyframes teamFadeUp {
  0%   { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Sutil efecto hover en cada feature de la lista */
.team-feature {
  padding: 10px 12px;
  border-radius: 10px;
  transition: background .25s ease, transform .25s ease;
}
.team-feature:hover {
  background: rgba(37,211,102,0.06);
  transform: translateX(4px);
}

/* ==================== AJUSTES TEXTIA v4 — chica con decor animado ==================== */

.team-photo-wrap {
  max-width: 520px;
}

/* Sin sombra rectangular: el PNG tiene fondo transparente */
.team-photo-wrap img.team-photo-img {
  position: relative;
  z-index: 2;
}

/* Capa decorativa detrás de la chica */
.team-photo-deco {
  position: absolute;
  inset: -8% -12% -8% -12%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

/* Orbs flotantes con tonos WhatsApp */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  animation: orbFloat 9s ease-in-out infinite;
}
.orb-1 { width: 90px;  height: 90px;  left:  4%; top:  8%; background: radial-gradient(circle, rgba(37,211,102,0.55), transparent 70%); animation-delay: 0s; }
.orb-2 { width: 140px; height: 140px; left: 78%; top: 14%; background: radial-gradient(circle, rgba(127,214,138,0.50), transparent 70%); animation-delay: 1.2s; }
.orb-3 { width: 110px; height: 110px; left: -4%; top: 64%; background: radial-gradient(circle, rgba(220,248,198,0.85), transparent 70%); animation-delay: 2.4s; }
.orb-4 { width: 70px;  height: 70px;  left: 88%; top: 70%; background: radial-gradient(circle, rgba(37,211,102,0.45), transparent 70%); animation-delay: 3.6s; }
.orb-5 { width: 50px;  height: 50px;  left: 50%; top: 92%; background: radial-gradient(circle, rgba(18,140,126,0.45), transparent 70%); animation-delay: 4.8s; }

@keyframes orbFloat {
  0%   { transform: translate(0, 0)     scale(1);    opacity: 0.85; }
  25%  { transform: translate(8px, -10px) scale(1.05); opacity: 1;    }
  50%  { transform: translate(-6px, 6px)  scale(0.95); opacity: 0.7;  }
  75%  { transform: translate(10px, 8px)  scale(1.02); opacity: 0.95; }
  100% { transform: translate(0, 0)     scale(1);    opacity: 0.85; }
}

/* Líneas curvas conectivas (dash animado) */
.deco-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.65;
}
.deco-paths path {
  fill: none;
  stroke: var(--green-300);
  stroke-width: 0.4;
  stroke-dasharray: 3 4;
  stroke-linecap: round;
  animation: dashMove 14s linear infinite;
}
.deco-paths path:nth-child(2) { animation-duration: 18s; animation-direction: reverse; opacity: 0.7; }
.deco-paths path:nth-child(3) { animation-duration: 22s; opacity: 0.5; }

@keyframes dashMove {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 60; }
}

/* Burbujas de chat decorativas */
.chat-bubble {
  position: absolute;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: white;
  display: grid; place-items: center;
  color: var(--green-500);
  box-shadow: 0 8px 18px -6px rgba(11,20,27,0.18), 0 0 0 1px rgba(37,211,102,0.18);
  animation: bubbleFloat 7s ease-in-out infinite;
  z-index: 1;
}
.chat-bubble svg { width: 20px; height: 20px; }
.cb-1 { left: -2%;  top: 30%; animation-delay: 0s;   }
.cb-2 { left: 90%;  top: 42%; animation-delay: 2s;   width: 38px; height: 38px; color: var(--green-400); }
.cb-3 { left: 86%;  top: 12%; animation-delay: 4s;   width: 34px; height: 34px; color: #128C7E; }

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}

/* Halo principal: amplio y suave detrás de todo */
.team-photo-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(37,211,102,0.15), transparent 70%),
    radial-gradient(35% 45% at 30% 60%, rgba(127,214,138,0.10), transparent 80%);
  filter: blur(40px);
  z-index: 0;
}

/* En móvil reducir el alcance de la deco para no salirse */
@media (max-width: 980px) {
  .team-photo-deco { inset: -6% -8% -6% -8%; }
  .chat-bubble { display: none; }
  .orb-2, .orb-4 { display: none; }
}
