/* ═══════════════════════════════════════════════════════════
   CHATBOT DEMO — style.css  v2.0
   Premium upgraded UI — distinct cards, avatars, lead progress,
   smooth transitions, improved mobile layout.
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties (Design Tokens) ─── */
:root {
  /* Neutral palette */
  --clr-bg:          #080a10;
  --clr-surface:     #10131c;
  --clr-surface-2:   #171b27;
  --clr-surface-3:   #1e2336;
  --clr-border:      rgba(255,255,255,0.07);
  --clr-border-mid:  rgba(255,255,255,0.12);
  --clr-border-hi:   rgba(255,255,255,0.18);
  --clr-text:        #dde1f0;
  --clr-text-mid:    #8892a8;
  --clr-text-dim:    #50566e;
  --clr-white:       #ffffff;

  /* Per-business accents — switched via body[data-biz] */
  --accent-h: 208;
  --accent-s: 82%;
  --accent-l: 58%;
  --accent:        hsl(var(--accent-h), var(--accent-s), var(--accent-l));
  --accent-dark:   hsl(var(--accent-h), 70%, 38%);
  --accent-light:  hsl(var(--accent-h), 80%, 72%);
  --accent-2:      hsl(calc(var(--accent-h) + 18), 78%, 50%);
  --accent-glow:   hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.22);
  --accent-subtle: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.10);

  /* Per-business card colors (set as individual variables) */
  --card-colegio-h: 208; /* blue */
  --card-aqualife-h: 186; /* teal */
  --card-hacienda-h: 38;  /* gold */

  /* Chat bubbles */
  --bubble-bot-bg:   #1a1f30;
  --bubble-user-bg:  var(--accent);

  /* Sizing */
  --radius-sm:   8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --chat-height: 480px;

  /* Typography */
  --font-body:    'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition:  all 0.28s var(--ease-smooth);
  --transition-slow: all 0.5s var(--ease-smooth);
}

/* ─── Per-Business Theme Overrides ─── */
body[data-biz="colegio"] {
  --accent-h: 208; --accent-s: 80%; --accent-l: 58%;
}
body[data-biz="aqualife"] {
  --accent-h: 186; --accent-s: 72%; --accent-l: 44%;
}
body[data-biz="hacienda"] {
  --accent-h: 38;  --accent-s: 72%; --accent-l: 54%;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { opacity: 0.85; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 10, 16, 0.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { font-size: 1.5rem; line-height: 1; }
.brand-name { display: block; font-weight: 700; font-size: 1rem; color: var(--clr-white); letter-spacing: -0.02em; }
.brand-tag  { display: block; font-size: 0.68rem; color: var(--clr-text-mid); font-weight: 400; }

.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--clr-text-mid); font-size: 0.875rem; font-weight: 500;
  padding: 6px 14px; border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-link:hover { color: var(--clr-white); background: var(--clr-surface-2); opacity: 1; }
.nav-btn {
  background: var(--accent); color: #fff;
  font-size: 0.875rem; font-weight: 600; padding: 8px 20px;
  border-radius: var(--radius-sm); transition: var(--transition);
  box-shadow: 0 0 20px var(--accent-glow); margin-left: 8px;
}
.nav-btn:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

/* Hamburger for mobile */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--clr-text-mid); border-radius: 2px; transition: var(--transition);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: 136px 0 90px;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.shape { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12; transition: background 1.2s ease; }
.shape-1 { width: 700px; height: 700px; background: var(--accent); top: -280px; right: -200px; }
.shape-2 { width: 450px; height: 450px; background: var(--accent-2); bottom: -80px; left: -120px; }
.shape-3 { width: 320px; height: 320px; background: hsl(260, 65%, 58%); top: 45%; left: 42%; transform: translate(-50%,-50%); }

.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.055); border: 1px solid var(--clr-border-mid);
  border-radius: 100px; padding: 6px 18px; font-size: 0.78rem;
  color: var(--clr-text-mid); margin-bottom: 28px; backdrop-filter: blur(12px);
  letter-spacing: 0.02em;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.035em;
  color: var(--clr-white); margin-bottom: 22px;
}
.gradient-text {
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem; color: var(--clr-text-mid); max-width: 540px; margin-bottom: 38px; line-height: 1.7;
}
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 13px 28px;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.925rem;
  transition: var(--transition); cursor: pointer; letter-spacing: -0.01em;
}
.btn-primary  { background: var(--accent); color: #fff; box-shadow: 0 4px 28px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 38px var(--accent-glow); color: #fff; }
.btn-ghost    { background: rgba(255,255,255,0.05); border: 1px solid var(--clr-border-mid); color: var(--clr-text); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); color: var(--clr-white); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 4px 22px rgba(37,211,102,0.28); }
.btn-whatsapp:hover { transform: translateY(-2px); color: #fff; }
.btn-email    { background: rgba(255,255,255,0.06); border: 1px solid var(--clr-border-mid); color: var(--clr-text); }
.btn-email:hover { background: rgba(255,255,255,0.11); color: var(--clr-white); }

/* ─── Stats ─── */
.hero-stats { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.stat { text-align: left; }
.stat-num  { display: block; font-size: 1.9rem; font-weight: 800; color: var(--clr-white); line-height: 1; letter-spacing: -0.045em; }
.stat-label{ font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--clr-text-mid); }
.stat-divider { width: 1px; height: 38px; background: var(--clr-border-mid); }

/* ═══════════════════════════════════════════
   DEMOS SECTION
═══════════════════════════════════════════ */
.demos-section { padding: 80px 0 120px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.7rem); font-family: var(--font-display);
  font-weight: 700; color: var(--clr-white); letter-spacing: -0.03em; margin-bottom: 12px;
}
.section-subtitle { color: var(--clr-text-mid); font-size: 0.98rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* Section eyebrow label */
.section-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 12px;
}

/* ─── Business Cards — Distinct visual identity per client ─── */
.business-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }

.biz-card {
  position: relative;
  display: flex; flex-direction: column; gap: 0;
  padding: 0;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth), border-color 0.28s var(--ease-smooth);
  overflow: hidden; cursor: pointer;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: 0 16px 56px rgba(0,0,0,0.5); border-color: var(--clr-border-mid); }
.biz-card.active { border-color: var(--biz-accent, var(--accent)); box-shadow: 0 0 0 1px var(--biz-accent, var(--accent)), 0 16px 56px var(--biz-glow, var(--accent-glow)); }

/* Color accent top strip per card */
.biz-card-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--biz-accent), var(--biz-accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.biz-card.active .biz-card-stripe { opacity: 1; }
.biz-card:hover .biz-card-stripe { opacity: 0.5; }

/* Card inner content */
.biz-card-inner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 24px 24px 20px;
  flex: 1;
}

/* Avatar — Initials circle with per-business color */
.biz-avatar {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
  background: var(--biz-subtle, var(--accent-subtle));
  border: 1px solid var(--biz-border, rgba(255,255,255,0.1));
  transition: var(--transition);
}
.biz-card:hover .biz-avatar,
.biz-card.active .biz-avatar {
  box-shadow: 0 0 20px var(--biz-glow, var(--accent-glow));
}

.biz-card-body { flex: 1; }
.biz-card-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--biz-accent, var(--accent)); margin-bottom: 7px;
}
.biz-card-name { font-size: 1.05rem; font-weight: 700; color: var(--clr-white); line-height: 1.25; margin-bottom: 8px; }
.biz-card-desc { font-size: 0.81rem; color: var(--clr-text-mid); line-height: 1.55; }

.biz-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px 16px; gap: 8px;
  border-top: 1px solid var(--clr-border);
}
.biz-card-label-active {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--biz-accent, var(--accent));
  opacity: 0; transition: opacity 0.25s ease;
}
.biz-card.active .biz-card-label-active { opacity: 1; }
.biz-card-arrow {
  font-size: 1.1rem; color: var(--clr-text-dim);
  transition: var(--transition); margin-left: auto;
}
.biz-card:hover .biz-card-arrow, .biz-card.active .biz-card-arrow { color: var(--biz-accent, var(--accent)); transform: translateX(3px); }

/* Per-card color tokens */
#card-colegio { --biz-accent: hsl(208, 80%, 58%); --biz-accent-2: hsl(222, 75%, 52%); --biz-glow: hsla(208,80%,58%,0.22); --biz-subtle: hsla(208,80%,58%,0.09); --biz-border: hsla(208,80%,58%,0.2); }
#card-aqualife{ --biz-accent: hsl(186, 72%, 44%); --biz-accent-2: hsl(200, 70%, 40%); --biz-glow: hsla(186,72%,44%,0.22); --biz-subtle: hsla(186,72%,44%,0.09); --biz-border: hsla(186,72%,44%,0.2); }
#card-hacienda{ --biz-accent: hsl(38, 72%, 54%);  --biz-accent-2: hsl(24, 75%, 50%);  --biz-glow: hsla(38,72%,54%,0.22);  --biz-subtle: hsla(38,72%,54%,0.09);  --biz-border: hsla(38,72%,54%,0.2); }

/* ─── Chat Wrapper ─── */
.chat-wrapper {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-mid); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 32px 90px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.04);
  transition: box-shadow 0.5s ease, opacity 0.35s ease, transform 0.35s ease;
}
.chat-wrapper:hover {
  box-shadow: 0 40px 110px rgba(0,0,0,0.7), 0 0 70px var(--accent-glow), 0 0 0 1px rgba(255,255,255,0.06);
}
/* Fade-out/in on business switch */
.chat-wrapper.switching {
  opacity: 0; transform: translateY(6px) scale(0.99);
  pointer-events: none;
}

/* ─── Chat Header ─── */
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  background: var(--clr-surface-2);
  border-bottom: 1px solid var(--clr-border);
  transition: background 0.5s ease;
}
.chat-header-left { display: flex; align-items: center; gap: 14px; }

/* Chat avatar — larger, with glowing ring */
.chat-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  transition: background 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 0 0 3px var(--accent-subtle), 0 0 20px var(--accent-glow);
  position: relative;
}

.chat-biz-name { display: block; font-weight: 700; font-size: 0.95rem; color: var(--clr-white); }
.chat-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.76rem; color: var(--clr-text-mid);
}
.chat-biz-tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); background: var(--accent-subtle);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 100px;
  padding: 2px 9px; margin-left: 6px;
  transition: color 0.5s ease, background 0.5s ease;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 7px #22c55e;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.header-action-btn {
  font-size: 0.78rem; color: var(--clr-text-mid); padding: 6px 12px;
  border-radius: var(--radius-sm); border: 1px solid var(--clr-border); transition: var(--transition);
}
.header-action-btn:hover { color: var(--clr-white); border-color: var(--clr-border-mid); background: rgba(255,255,255,0.05); }

/* ─── Chat Messages ─── */
.chat-messages {
  height: var(--chat-height); overflow-y: auto;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--clr-border-mid); border-radius: 2px; }

/* ─── Message Bubbles ─── */
.message {
  display: flex; align-items: flex-end; gap: 9px;
  animation: msg-in 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  max-width: 82%;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.message.bot  { align-self: flex-start; }
.message.user { align-self: flex-end; flex-direction: row-reverse; }

/* Message icon — round with gradient */
.msg-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-glow); transition: background 0.5s ease;
}
.message.user .msg-icon {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: none;
}

.msg-bubble {
  padding: 11px 15px; border-radius: var(--radius-md);
  font-size: 0.9rem; line-height: 1.58; max-width: 100%; word-break: break-word;
}
.message.bot .msg-bubble {
  background: var(--bubble-bot-bg); border: 1px solid var(--clr-border);
  border-bottom-left-radius: 4px; color: var(--clr-text);
}
.message.user .msg-bubble {
  background: var(--accent); color: #fff;
  border-bottom-right-radius: 4px; box-shadow: 0 4px 18px var(--accent-glow);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

/* ─── Typing Indicator ─── */
.typing-indicator {
  display: flex; align-items: flex-end; gap: 9px;
  align-self: flex-start; animation: msg-in 0.2s ease both;
}
.typing-dots {
  background: var(--bubble-bot-bg); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); border-bottom-left-radius: 4px;
  padding: 14px 17px; display: flex; gap: 5px; align-items: center;
}
.typing-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--clr-text-dim); animation: typing-bounce 1.3s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-7px); opacity: 1; }
}

/* ─── Lead Capture Progress Bar ─── */
.lead-progress-bar {
  padding: 10px 22px 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--clr-border);
  animation: fade-in 0.3s ease;
}
.lead-progress-bar.visible { display: flex; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.lead-progress-header {
  display: flex; align-items: center; justify-content: space-between;
}
.lead-progress-label {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent);
}
.lead-progress-step { font-size: 0.72rem; color: var(--clr-text-dim); }

.lead-progress-track {
  height: 3px; background: var(--clr-border-mid); border-radius: 2px; overflow: hidden;
}
.lead-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Quick Replies — Below input ─── */
.quick-replies-wrap {
  padding: 12px 20px 0;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-surface-2);
}
.quick-replies-label {
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--clr-text-dim); margin-bottom: 8px;
}
.quick-replies-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  min-height: 0; transition: var(--transition);
  padding-bottom: 12px;
}

.quick-reply-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--clr-border-mid);
  color: var(--clr-text); font-size: 0.8rem; font-weight: 500;
  transition: var(--transition); cursor: pointer; white-space: nowrap;
  animation: qr-in 0.25s ease both;
}
@keyframes qr-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.quick-reply-btn:nth-child(2) { animation-delay: 0.06s; }
.quick-reply-btn:nth-child(3) { animation-delay: 0.12s; }
.quick-reply-btn:nth-child(4) { animation-delay: 0.18s; }
.quick-reply-btn:nth-child(5) { animation-delay: 0.24s; }
.quick-reply-btn:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: translateY(-2px); box-shadow: 0 4px 14px var(--accent-glow);
}

/* ─── Input Area ─── */
.chat-input-area {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-surface-2);
}
.chat-input-wrapper {
  display: flex; align-items: flex-end; gap: 10px;
  background: var(--clr-bg); border: 1px solid var(--clr-border-mid);
  border-radius: var(--radius-md); padding: 10px 10px 10px 16px; transition: var(--transition);
}
.chat-input-wrapper:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.chat-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--clr-text); font-family: var(--font-body); font-size: 0.9rem;
  line-height: 1.5; resize: none; max-height: 120px;
}
.chat-input::placeholder { color: var(--clr-text-dim); }
.send-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: var(--transition); box-shadow: 0 2px 14px var(--accent-glow);
}
.send-btn:hover { transform: scale(1.08); }
.send-btn:active { transform: scale(0.95); }
.input-disclaimer { font-size: 0.71rem; color: var(--clr-text-dim); text-align: center; margin-top: 10px; }

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.how-section {
  padding: 80px 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.how-steps { display: flex; align-items: stretch; gap: 16px; margin-top: 48px; }
.how-step {
  flex: 1; background: var(--clr-surface-2);
  border: 1px solid var(--clr-border); border-radius: var(--radius-lg);
  padding: 32px 28px; position: relative; transition: var(--transition);
}
.how-step:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px var(--accent-glow); }
.how-step-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.how-step-icon { font-size: 2rem; margin-bottom: 14px; }
.how-step h3 { font-size: 1.05rem; font-weight: 700; color: var(--clr-white); margin-bottom: 10px; }
.how-step p { font-size: 0.875rem; color: var(--clr-text-mid); line-height: 1.65; }
.how-step-arrow { font-size: 1.5rem; color: var(--clr-text-dim); flex-shrink: 0; align-self: center; }

/* ═══════════════════════════════════════════
   FASE 2
═══════════════════════════════════════════ */
.phase2-section { padding: 100px 0; }
.phase2-header { text-align: center; margin-bottom: 56px; }
.phase2-badge {
  display: inline-block; background: rgba(255,255,255,0.05);
  border: 1px solid var(--clr-border-mid); border-radius: 100px;
  padding: 6px 18px; font-size: 0.78rem; color: var(--clr-text-mid); margin-bottom: 16px;
}
.phase2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.phase2-card {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 28px; transition: var(--transition);
}
.phase2-card:hover { border-color: var(--clr-border-mid); transform: translateY(-4px); box-shadow: 0 16px 52px rgba(0,0,0,0.4); }
.phase2-card-icon { font-size: 2rem; margin-bottom: 14px; }
.phase2-card h3 { font-size: 1rem; font-weight: 700; color: var(--clr-white); margin-bottom: 10px; }
.phase2-card p { font-size: 0.85rem; color: var(--clr-text-mid); line-height: 1.65; margin-bottom: 16px; }
.phase2-tag {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); background: var(--accent-subtle);
  border: 1px solid var(--clr-border); border-radius: var(--radius-sm);
  padding: 4px 10px; display: inline-block;
}
.phase2-timeline {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl); padding: 40px 48px;
}
.phase2-timeline h3 { font-size: 1.1rem; font-weight: 700; color: var(--clr-white); margin-bottom: 32px; }
.timeline-items { display: flex; align-items: center; gap: 0; flex-wrap: wrap; row-gap: 16px; }
.timeline-item { display: flex; align-items: center; gap: 12px; }
.timeline-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--clr-surface-2); border: 2px solid var(--clr-border-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--clr-text-mid); flex-shrink: 0;
}
.timeline-dot.t-done { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 18px var(--accent-glow); }
.timeline-content strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--clr-white); }
.timeline-content span { font-size: 0.78rem; color: var(--clr-text-mid); }
.timeline-line { flex: 1; height: 2px; min-width: 16px; background: var(--clr-border-mid); margin: 0 8px; }

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section { padding: 80px 0; background: var(--clr-surface); border-top: 1px solid var(--clr-border); }
.cta-box {
  position: relative; text-align: center;
  background: linear-gradient(135deg, var(--clr-surface-2), var(--clr-surface));
  border: 1px solid var(--clr-border-mid); border-radius: var(--radius-xl);
  padding: 68px 48px; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none; transition: background 0.5s ease;
}
.cta-eyebrow {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 16px; position: relative; display: block;
}
.cta-box h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; color: var(--clr-white); margin-bottom: 16px; position: relative; }
.cta-box > p { color: var(--clr-text-mid); font-size: 1rem; max-width: 500px; margin: 0 auto 28px; position: relative; line-height: 1.7; }
.cta-features {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 32px; position: relative;
}
.cta-feature {
  font-size: 0.82rem; font-weight: 600; color: var(--clr-text-mid);
  display: flex; align-items: center; gap: 6px;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-note { margin-top: 20px; font-size: 0.8rem; color: var(--clr-text-dim); position: relative; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer { padding: 48px 0; border-top: 1px solid var(--clr-border); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; }

/* Professional demo disclaimer */
.footer-demo-note {
  max-width: 640px; background: rgba(255,200,0,0.04);
  border: 1px solid rgba(255,200,0,0.16); border-radius: var(--radius-md);
  padding: 18px 24px; text-align: left;
}
.footer-demo-label {
  font-size: 0.8rem; font-weight: 700; color: rgba(255,200,50,0.85);
  margin-bottom: 8px; letter-spacing: 0.01em;
}
.footer-demo-text {
  font-size: 0.8rem; color: var(--clr-text-dim); line-height: 1.7;
}
.footer-demo-text strong { color: var(--clr-text-mid); }
.footer-copy { font-size: 0.76rem; color: var(--clr-text-dim); }

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet
═══════════════════════════════════════════ */
@media (max-width: 920px) {
  .business-cards { grid-template-columns: 1fr; gap: 12px; }
  .biz-card { flex-direction: row; }
  .biz-card-stripe { width: 4px; height: auto; }
  .biz-card-inner { flex-direction: row; align-items: center; gap: 14px; padding: 16px 20px; }
  .biz-card-footer { padding: 12px 20px; }

  .how-steps { flex-direction: column; }
  .how-step-arrow { transform: rotate(90deg); align-self: center; }

  .phase2-grid { grid-template-columns: 1fr 1fr; }

  .timeline-items { flex-direction: column; align-items: flex-start; }
  .timeline-line { width: 2px; height: 20px; min-width: unset; margin: 0 17px; }

  .header-nav .nav-link { display: none; }
  .phase2-timeline { padding: 28px 24px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile
═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero { padding: 100px 0 56px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-stats { gap: 18px; }
  .stat-num { font-size: 1.5rem; }

  .demos-section { padding: 56px 0 80px; }

  .biz-card-inner { flex-direction: column; align-items: flex-start; }
  .biz-card-stripe { width: 100%; height: 4px; }

  .chat-messages { height: 340px; }

  .phase2-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 20px; }

  .quick-replies-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
  .quick-replies-bar::-webkit-scrollbar { height: 2px; }
  .quick-replies-bar::-webkit-scrollbar-thumb { background: var(--clr-border-mid); }

  .hero-cta-group { flex-direction: column; gap: 10px; }
  .btn { width: 100%; justify-content: center; }

  .section-title { font-size: 1.8rem; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .how-steps { gap: 12px; }
  .how-step { padding: 22px 18px; }
}
