/* ============================================
   MELISA CISNEROS — LANDING PAGE
   Diseño: 3D Effects + Captología
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --violet: #6C5CE7;
  --violet-dark: #5A3FD4;
  --violet-light: #A29BFE;
  --violet-glow: rgba(108, 92, 231, 0.3);
  --terracota: #E8A87C;
  --terracota-light: #F5D6C6;
  --terracota-dark: #D4885E;
  --accent: #E17055;
  --dark: #1E1E2E;
  --dark-2: #2D2D3A;
  --text: #3D3D4A;
  --text-light: #6E6E82;
  --bg: #FDFBF7;
  --bg-alt: #F6F3F0;
  --white: #FFFFFF;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.12);
  --shadow: 0 20px 60px rgba(0,0,0,0.08);
  --shadow-3d: 0 30px 80px rgba(108,92,231,0.15);

  --font: 'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', serif;

  --radius: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- FIXED 3D BACKGROUND ---------- */
.bg-fixed {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}
#bgCanvas {
  width: 100%; height: 100%;
  display: block;
}
.bg-fixed-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10,10,20,0.3) 100%);
  pointer-events: none;
}
.site-wrapper {
  position: relative; z-index: 1;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 0.9375rem;
  padding: 14px 28px; border-radius: 50px;
  border: none; cursor: pointer; transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(108,92,231,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(108,92,231,0.45);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn--sm { padding: 10px 20px; font-size: 0.8125rem; }
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn svg { flex-shrink: 0; }

/* ---------- RUTA HIGHLIGHT ---------- */
.ruta-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, var(--violet), var(--terracota));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}
.ruta-word::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--terracota));
  border-radius: 2px;
  opacity: 0.4;
}

/* ---------- SECTION COMMON ---------- */
.section__tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 16px;
  background: rgba(108,92,231,0.1); padding: 6px 16px; border-radius: 50px;
}
.section__tag--light {
  background: rgba(255,255,255,0.15); color: var(--white);
}
.section__header { text-align: center; margin-bottom: 60px; }
.section__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800; line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.section__desc {
  font-size: 1.1rem; color: var(--text-light); line-height: 1.7;
  max-width: 620px; margin: 16px auto 0;
}

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

/* ---------- REVEAL ANIMATION ---------- */
/* Base reveal */
[data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal="left"] {
  opacity: 0; transform: translateX(-60px) rotateY(-5deg);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal="right"] {
  opacity: 0; transform: translateX(60px) rotateY(5deg);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal="up"] {
  opacity: 0; transform: translateY(60px) scale(0.95);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].revealed,
[data-reveal="left"].revealed,
[data-reveal="right"].revealed,
[data-reveal="up"].revealed {
  opacity: 1; transform: translateX(0) translateY(0) rotateY(0) scale(1);
}
/* Staggered delays */
[data-reveal].revealed:nth-child(2),
[data-reveal="left"].revealed:nth-child(2),
[data-reveal="right"].revealed:nth-child(2),
[data-reveal="up"].revealed:nth-child(2) { transition-delay: 0.1s; }
[data-reveal].revealed:nth-child(3),
[data-reveal="left"].revealed:nth-child(3),
[data-reveal="right"].revealed:nth-child(3),
[data-reveal="up"].revealed:nth-child(3) { transition-delay: 0.2s; }
[data-reveal].revealed:nth-child(4),
[data-reveal="left"].revealed:nth-child(4),
[data-reveal="right"].revealed:nth-child(4),
[data-reveal="up"].revealed:nth-child(4) { transition-delay: 0.3s; }
[data-reveal].revealed:nth-child(5),
[data-reveal="left"].revealed:nth-child(5),
[data-reveal="right"].revealed:nth-child(5),
[data-reveal="up"].revealed:nth-child(5) { transition-delay: 0.4s; }

/* ---------- HEADER ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease);
}
.header.scrolled {
  background: rgba(253,251,247,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0,0,0,0.06);
  padding: 10px 0;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
}
.header__logo img { height: 43px; width: auto; }
.header__nav { display: flex; gap: 32px; }
.nav__link {
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  position: relative; padding: 4px 0; transition: color 0.3s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--violet);
  transition: width 0.3s var(--ease); border-radius: 2px;
}
.nav__link:hover { color: var(--violet); }
.nav__link:hover::after { width: 100%; }
.header__cta { flex-shrink: 0; }
.header__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.header__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: flex-start; position: relative;
  background: rgba(26,26,46,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,46,0.12) 0%,
    transparent 40%,
    rgba(108,92,231,0.06) 70%,
    rgba(26,26,46,0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero__content {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 8vh 24px 40px;
  min-height: 100vh;
}
.hero__main {
  display: flex; flex-direction: column;
  justify-content: center;
}
.hero__badge {
  font-size: 0.8rem; font-weight: 600;
  color: var(--terracota); margin-bottom: 24px;
  background: rgba(232,168,124,0.12);
  backdrop-filter: blur(8px);
  padding: 8px 18px; border-radius: 50px;
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content;
  border: 1px solid rgba(232,168,124,0.15);
}
.hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--terracota);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero__title {
  font-weight: 900; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero__title-line {
  display: block;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--white);
}
.hero__title-line--accent {
  background: linear-gradient(135deg, var(--violet-light), var(--terracota));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 520px; line-height: 1.7;
  margin-bottom: 32px;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px;
}
.hero__btn { min-width: 210px; justify-content: center; font-size: 0.9rem; }
.hero__trusted {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
}
.trusted__avatars {
  display: flex; align-items: center;
}
.trusted__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; color: var(--white);
  border: 2px solid var(--dark);
}
.hero__trusted strong { color: rgba(255,255,255,0.7); }

/* ---- Hero Visual (Photo + Floating Cards) ---- */
.hero__visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
  perspective: 1200px;
}
.hero__photo-frame {
  position: relative;
  width: 340px; height: 420px;
  border-radius: 20px;
  overflow: hidden;
  transform: rotateY(-2deg) rotateX(2deg);
  transition: transform 0.8s var(--ease);
  box-shadow: 0 30px 80px rgba(108,92,231,0.2);
}
.hero__photo-frame:hover {
  transform: rotateY(0deg) rotateX(0deg);
}
.hero__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.hero__photo-frame:hover .hero__photo {
  transform: scale(1.04);
}
.hero__photo-glow {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(108,92,231,0.25) 100%
  );
  pointer-events: none;
}
.hero__photo-ring {
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}
/* Floating cards */
.hero__floating-card {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(30,30,46,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.78rem; font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  pointer-events: none;
}
.hero__floating-card svg {
  color: var(--violet-light);
  flex-shrink: 0;
}
.hero__floating-card--1 {
  top: 8%; right: -10%;
  animation: floatCard 4s ease-in-out infinite;
}
.hero__floating-card--2 {
  bottom: 12%; left: -10%;
  animation: floatCard 5s ease-in-out infinite 1s;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 3;
}
.scroll__mouse {
  width: 22px; height: 34px; border-radius: 11px;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll__wheel {
  width: 3px; height: 7px; border-radius: 3px;
  background: rgba(255,255,255,0.5);
  animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ---------- PAIN POINTS ---------- */
.pain {
  background: rgba(253,251,247,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
/* Background ambiance - floating glow orbs */
.pain::before, .pain::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.pain::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,92,231,0.06), transparent 70%);
  top: -150px; right: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}
.pain::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,168,124,0.05), transparent 70%);
  bottom: -100px; left: -100px;
  animation: orbFloat 15s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}
.pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-bottom: 48px;
}
.pain__card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.6s var(--ease);
  perspective: 800px;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.pain__card::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  border-radius: inherit;
  pointer-events: none;
}
/* Unique emotional gradients per pain type */
.pain__card[data-pain="separacion"]::before {
  background: linear-gradient(145deg, rgba(232,168,124,0.08), rgba(108,92,231,0.06));
}
.pain__card[data-pain="ansiedad"]::before {
  background: linear-gradient(145deg, rgba(108,92,231,0.08), rgba(162,155,254,0.06));
}
.pain__card[data-pain="burnout"]::before {
  background: linear-gradient(145deg, rgba(225,112,85,0.08), rgba(30,30,46,0.06));
}
.pain__card[data-pain="identidad"]::before {
  background: linear-gradient(145deg, rgba(232,168,124,0.08), rgba(255,255,255,0.06));
}
.pain__card:hover::before { opacity: 1; }
.pain__card:hover {
  transform: translateY(-8px) rotateX(2deg) scale(1.01);
  box-shadow: var(--shadow-3d);
}
/* Unique border colors on hover */
.pain__card[data-pain="separacion"]:hover { border-color: rgba(232,168,124,0.3); }
.pain__card[data-pain="ansiedad"]:hover { border-color: rgba(108,92,231,0.3); }
.pain__card[data-pain="burnout"]:hover { border-color: rgba(225,112,85,0.3); }
.pain__card[data-pain="identidad"]:hover { border-color: rgba(232,168,124,0.3); }

.pain__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(108,92,231,0.1), rgba(232,168,124,0.1));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--violet);
  transition: all 0.5s var(--ease);
  position: relative;
  z-index: 1;
}
.pain__card:hover .pain__icon {
  transform: scale(1.1) rotate(-5deg);
}
/* Icon colors per type on hover */
.pain__card[data-pain="separacion"]:hover .pain__icon {
  background: linear-gradient(135deg, #E8A87C, #D4885E);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,168,124,0.35);
}
.pain__card[data-pain="ansiedad"]:hover .pain__icon {
  background: linear-gradient(135deg, #6C5CE7, #5A3FD4);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,92,231,0.35);
}
.pain__card[data-pain="burnout"]:hover .pain__icon {
  background: linear-gradient(135deg, #E17055, #D35400);
  color: #fff;
  box-shadow: 0 4px 20px rgba(225,112,85,0.35);
}
.pain__card[data-pain="identidad"]:hover .pain__icon {
  background: linear-gradient(135deg, #E8A87C, #C29B70);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,168,124,0.35);
}
/* Animate SVG icons on hover */
.pain__icon svg { transition: transform 0.5s var(--ease); }
.pain__card[data-pain="separacion"]:hover .pain__icon svg {
  animation: iconShatter 0.6s var(--ease);
}
.pain__card[data-pain="ansiedad"]:hover .pain__icon svg {
  animation: iconShake 0.5s var(--ease) infinite;
}
.pain__card[data-pain="burnout"]:hover .pain__icon svg {
  animation: iconDrop 0.6s var(--ease);
}
.pain__card[data-pain="identidad"]:hover .pain__icon svg {
  animation: iconFade 0.8s var(--ease);
}
@keyframes iconShatter {
  0% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.3) rotate(15deg); }
  60% { transform: scale(0.9) rotate(-10deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes iconShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px) rotate(-2deg); }
  40% { transform: translateX(3px) rotate(2deg); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}
@keyframes iconDrop {
  0% { transform: translateY(0); opacity: 1; }
  40% { transform: translateY(10px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes iconFade {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.pain__title {
  font-size: 1.1rem; font-weight: 700; color: var(--dark);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.pain__emotion {
  font-family: var(--font-display);
  font-size: 0.95rem; font-style: italic;
  color: var(--violet-light);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  transition: color 0.4s var(--ease);
}
.pain__card[data-pain="separacion"]:hover .pain__emotion { color: #E8A87C; }
.pain__card[data-pain="ansiedad"]:hover .pain__emotion { color: #A29BFE; }
.pain__card[data-pain="burnout"]:hover .pain__emotion { color: #E17055; }
.pain__card[data-pain="identidad"]:hover .pain__emotion { color: #C29B70; }
.pain__text {
  font-size: 0.9rem; color: var(--text-light); line-height: 1.65;
  position: relative;
  z-index: 1;
}
.pain__cta { text-align: center; }
.pain__cta p {
  font-size: 1.1rem; color: var(--text-light); margin-bottom: 16px;
}

/* ---------- ROUTES (3D CARDS) ---------- */
.routes {
  background: rgba(246,243,240,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  perspective: 1200px;
}
.routes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.route__card {
  height: 420px; perspective: 1000px;
  cursor: pointer;
}
.route__card-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.8s var(--ease);
  transform-style: preserve-3d;
}
.route__card:hover .route__card-inner {
  transform: rotateY(180deg);
}
.route__card-front, .route__card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.route__card-front {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow);
}
.route__card-back {
  background: linear-gradient(145deg, var(--violet), var(--violet-dark));
  color: var(--white);
  transform: rotateY(180deg);
  justify-content: space-between;
}
.route__number {
  font-size: 3rem; font-weight: 900;
  color: rgba(108,92,231,0.06);
  line-height: 1; margin-bottom: 8px;
  transition: color 0.4s;
}
.route__name {
  font-size: 1.35rem; font-weight: 800; color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.route__for {
  font-size: 0.85rem; color: var(--text-light);
  margin-bottom: 16px; line-height: 1.5;
}
.route__features {
  display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap;
}
.route__features span {
  font-size: 0.75rem; font-weight: 600; padding: 4px 12px;
  border-radius: 50px;
  background: rgba(108,92,231,0.08);
  color: var(--violet);
}
.route__promise {
  font-size: 0.9rem; color: var(--text); line-height: 1.6;
  flex: 1;
  border-top: 1px solid rgba(0,0,0,0.06); padding-top: 16px;
}
.route__card-back h4 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 16px;
}
.route__phases {
  list-style: decimal; padding-left: 20px; flex: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.route__phases li {
  font-size: 0.9rem; opacity: 0.9;
  padding-left: 4px;
}
.route__phases li::marker { color: var(--terracota); font-weight: 700; }
.route__cta { align-self: flex-start; margin-top: 8px;
  background: var(--white); color: var(--violet) !important;
  box-shadow: none !important;
}
.route__cta:hover { background: var(--terracota-light); transform: translateY(-2px); }

/* ---------- QUIZ ---------- */
.quiz {
  background: rgba(26,26,46,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.quiz__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,46,0.15) 0%,
    transparent 30%,
    transparent 70%,
    rgba(26,26,46,0.15) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.quiz__container { position: relative; z-index: 2; }
.quiz .section__title { color: var(--white); }
.quiz .section__desc { color: rgba(255,255,255,0.6); }
.quiz__box {
  max-width: 640px; margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  backdrop-filter: blur(10px);
}
.quiz__progress {
  height: 4px; background: rgba(255,255,255,0.1);
  border-radius: 4px; margin-bottom: 8px; position: relative;
}
.quiz__progress-bar {
  height: 100%; background: linear-gradient(90deg, var(--violet-light), var(--terracota));
  border-radius: 4px; transition: width 0.5s var(--ease);
  width: 25%;
}
.quiz__progress-text {
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  margin-bottom: 24px; display: block; text-align: right;
}
.quiz__steps { position: relative; min-height: 340px; }
.quiz__step {
  display: none;
  animation: quizFadeIn 0.5s var(--ease);
}
.quiz__step.active { display: block; }
@keyframes quizFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.quiz__question {
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 24px; line-height: 1.4;
}
.quiz__options {
  display: flex; flex-direction: column; gap: 12px;
}
.quiz__option {
  text-align: left; padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; color: var(--white);
  font-family: var(--font); font-size: 0.95rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.quiz__option:hover {
  background: rgba(108,92,231,0.2);
  border-color: var(--violet-light);
  transform: translateX(4px);
}
.quiz__option.selected {
  background: linear-gradient(135deg, rgba(108,92,231,0.3), rgba(232,168,124,0.15));
  border-color: var(--violet-light);
  box-shadow: 0 0 20px rgba(108,92,231,0.15);
}
/* Quiz Result */
.quiz__result {
  display: none; text-align: center;
  animation: quizFadeIn 0.6s var(--ease);
}
.quiz__result.show { display: block; }
.quiz__result-icon {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--violet-light), var(--terracota));
  display: flex; align-items: center; justify-content: center;
}
.quiz__result-icon::after {
  content: '✦'; font-size: 2rem; color: var(--white);
}
.quiz__result-title {
  font-size: 1.6rem; font-weight: 800; margin-bottom: 12px;
}
.quiz__result-desc {
  font-size: 1rem; color: rgba(255,255,255,0.7);
  margin-bottom: 12px; line-height: 1.6;
}
.quiz__result-msg {
  font-size: 0.9rem; color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.quiz__result-cta { margin-bottom: 12px; }
.quiz__reset {
  background: none; border: none; color: rgba(255,255,255,0.4);
  font-family: var(--font); font-size: 0.85rem; cursor: pointer;
  text-decoration: underline; transition: color 0.3s;
}
.quiz__reset:hover { color: var(--terracota); }

/* ---------- EMPRESAS ---------- */
.empresas {
  background: rgba(253,251,247,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.empresas__orbe {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.05), transparent 70%);
  top: 20%; right: -15%;
  pointer-events: none;
  animation: orbFloat 18s ease-in-out infinite;
}

/* ---- Stats / B2B Pain Points ---- */
.empresas__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  position: relative; z-index: 1;
}
.empresa__stat {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(108,92,231,0.08);
  transition: all 0.4s var(--ease);
}
.empresa__stat:hover {
  transform: translateY(-4px);
  border-color: rgba(108,92,231,0.2);
  box-shadow: 0 10px 30px rgba(108,92,231,0.08);
}
.stat__num {
  display: block;
  font-size: 2.2rem; font-weight: 900;
  background: linear-gradient(135deg, var(--violet), var(--terracota));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1; margin-bottom: 6px;
}
.stat__label {
  display: block;
  font-size: 0.85rem; color: var(--text); font-weight: 500;
  line-height: 1.4;
}
.stat__source {
  display: block;
  font-size: 0.65rem; color: var(--text-light); margin-top: 8px;
  letter-spacing: 0.04em;
}

/* ---- Levels Journey ---- */
.empresas__levels {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  position: relative; z-index: 1;
}
.level__card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  transition: all 0.5s var(--ease);
  overflow: hidden;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
}
.level__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet-light), var(--terracota));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.level__card:hover::before { transform: scaleX(1); }
.level__card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-3d);
}
.level__badge {
  display: inline-block;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(108,92,231,0.08);
  color: var(--violet);
  padding: 3px 10px; border-radius: 50px;
  margin-bottom: 12px;
}
.level__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(108,92,231,0.08), rgba(232,168,124,0.08));
  display: flex; align-items: center; justify-content: center;
  color: var(--violet);
  margin-bottom: 14px;
  transition: all 0.4s var(--ease);
}
.level__card:hover .level__icon {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: var(--white);
  transform: scale(1.08) rotate(-5deg);
}
.level__num {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 6px;
}
.level__title {
  font-size: 1.15rem; font-weight: 700; color: var(--dark);
  margin-bottom: 6px;
}
.level__meta {
  font-size: 0.78rem; color: var(--violet); font-weight: 600;
  margin-bottom: 14px;
}
.level__topics {
  display: flex; flex-direction: column; gap: 5px;
  margin-bottom: 14px;
}
.level__topics li {
  font-size: 0.82rem; color: var(--text-light);
  padding-left: 16px; position: relative;
}
.level__topics li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--terracota);
}
.level__goal {
  font-size: 0.78rem; color: var(--text); font-style: italic;
  border-top: 1px solid rgba(0,0,0,0.04); padding-top: 10px;
}
/* Connector arrows between level cards */
.level__connector {
  display: flex; align-items: center; justify-content: center;
  width: 40px; flex-shrink: 0;
  color: var(--violet-light);
  opacity: 0.4;
  transition: opacity 0.3s;
}
.level__connector svg { width: 28px; height: 28px; }

/* ---- CTA Box ---- */
.empresas__cta-box {
  text-align: center;
  background: rgba(30,30,46,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  color: var(--white);
  position: relative; z-index: 1;
}
.cta-box__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--terracota);
}
.empresas__cta-box h3 {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 12px;
  line-height: 1.3;
}
.empresas__cta-box p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px; max-width: 480px; margin-inline: auto;
  font-size: 0.95rem;
}

/* ---------- ABOUT ---------- */
.about { background: rgba(246,243,240,0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about__image { position: relative; perspective: 800px; }
.about__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
  box-shadow: var(--shadow-3d);
}
.about__image-frame:hover {
  transform: rotateY(0deg) rotateX(0deg);
}
.about__image-frame img {
  width: 100%; height: 500px; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.about__image-frame:hover img { transform: scale(1.03); }
.about__image-deco {
  position: absolute; top: -10px; right: -10px;
  width: 100%; height: 100%;
  border: 2px solid var(--terracota);
  border-radius: var(--radius-lg); z-index: -1;
  opacity: 0.3;
}
.about__name {
  font-size: 2.2rem; font-weight: 800; color: var(--dark);
  margin-bottom: 4px; letter-spacing: -0.02em;
}
.about__title {
  font-size: 0.95rem; color: var(--violet); font-weight: 600;
  margin-bottom: 20px;
}
.about__text {
  font-size: 1rem; color: var(--text-light); line-height: 1.7;
  margin-bottom: 16px;
}
.about__creds {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 28px;
}
.cred {
  text-align: center; padding: 16px;
  background: var(--white); border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
}
.cred__num {
  display: block; font-size: 1.6rem; font-weight: 800;
  color: var(--violet);
}
.cred__label {
  font-size: 0.75rem; color: var(--text-light);
}

/* ---------- FINAL CTA ---------- */
.cta-final {
  background: rgba(26,26,46,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}
.cta-final__box {
  max-width: 680px; margin: 0 auto;
}
.cta-final__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: 16px;
}
.cta-final__desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.7);
  line-height: 1.7; margin-bottom: 28px;
}
.cta-final__benefits {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px; margin-bottom: 32px;
}
.cta-final__benefit {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500;
}
.cta-final__benefit svg { color: var(--terracota); flex-shrink: 0; }
.cta-final__btn {
  font-size: 1.1rem; padding: 18px 44px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 25px rgba(37,211,102,0.35);
}
.cta-final__btn:hover {
  box-shadow: 0 8px 35px rgba(37,211,102,0.5);
  transform: translateY(-3px) scale(1.02);
}
.cta-final__disclaimer {
  margin-top: 20px;
  font-size: 0.85rem; color: rgba(255,255,255,0.35);
}
.cta-final__disclaimer a {
  color: var(--terracota); text-decoration: underline;
}

/* ---------- FOOTER ---------- */
.footer {
  background: rgba(30,30,46,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 40px;
}
.footer__brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.6; }
.footer__links h4, .footer__contact h4 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}
.footer__links a, .footer__contact a {
  display: block; font-size: 0.9rem;
  margin-bottom: 10px; transition: color 0.3s;
}
.footer__links a:hover, .footer__contact a:hover { color: var(--terracota); }
.footer__contact p { font-size: 0.9rem; line-height: 1.6; margin-top: 10px; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
  color: rgba(255,255,255,0.5);
}
.footer__social a:hover {
  background: var(--violet); color: var(--white);
  transform: translateY(-3px);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
}
.footer__brand-name {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.5);
}

/* ---------- FLOATING WHATSAPP ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
  transition: all 0.3s var(--ease);
  animation: whatsappPulse 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.55); }
}
@media (max-width: 768px) {
  .whatsapp-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hero__content { grid-template-columns: 1fr; text-align: center; padding: 6vh 24px 40px; }
  .hero__main { align-items: center; }
  .hero__badge { margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__trusted { justify-content: center; }
  .hero__photo-frame { width: 260px; height: 320px; }
  .hero__floating-card--1 { right: 0; top: 2%; }
  .hero__floating-card--2 { left: 0; bottom: 5%; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__image { max-width: 400px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header__nav, .header__cta { display: none; }
  .header__toggle { display: flex; }
  .header__nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 20px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .header__nav.open .nav__link { font-size: 1rem; }
  .hero__content { gap: 30px; padding: 4vh 24px 40px; }
  .hero__photo-frame { width: 220px; height: 280px; }
  .hero__floating-card { font-size: 0.7rem; padding: 8px 12px; }
  .hero__floating-card--1 { right: -5%; }
  .hero__floating-card--2 { left: -5%; }
  .hero__ctas { flex-direction: column; }
  .hero__btn { width: 100%; }
  .hero__scroll { display: none; }
  section { padding: 70px 0; }
  .routes__grid { grid-template-columns: 1fr; }
  .route__card { height: 380px; }
  .empresas__stats { grid-template-columns: 1fr; }
  .empresas__levels { flex-direction: column; align-items: center; }
  .level__card { max-width: 100%; }
  .level__connector { width: auto; padding: 8px 0; transform: rotate(90deg); }
  .about__image-frame img { height: 360px; }
  .about__creds { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cred { padding: 12px 8px; }
  .cred__num { font-size: 1.3rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .quiz__box { padding: 28px 20px; }
  .cta-final__benefits { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .hero__content { padding: 2vh 20px 0; transform: translateY(-5vh); }
  .hero__photo-frame { width: 180px; height: 230px; }
  .hero__floating-card { display: none; }
  .hero__trusted { font-size: 0.7rem; }
  .route__card { height: 360px; }
  .route__card-front, .route__card-back { padding: 24px 20px; }
  .about__creds { grid-template-columns: 1fr; }
}

/* ============================================
   NOVA CHAT WIDGET — Floating Chat Bubble
   ============================================ */

.nova-chat {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ---------- Bubble Card ---------- */
.nova-chat__bubble {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 18px;
  padding: 14px 40px 14px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  max-width: 320px;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: bottom right;
}
.nova-chat__bubble.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Close button */
.nova-chat__close {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  opacity: 0.5;
}
.nova-chat__close:hover {
  opacity: 1;
  background: var(--bg-alt);
}

/* ---------- Avatar ---------- */
.nova-chat__avatar {
  position: relative;
  flex-shrink: 0;
}
.nova-chat__avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(108,92,231,0.25);
}
.nova-chat__avatar-img svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Dot indicator ---------- */
.nova-chat__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--white);
  position: absolute;
  bottom: -1px;
  right: -1px;
}
.nova-chat__dot--pulse {
  animation: novaPulse 2s ease-in-out infinite;
}
@keyframes novaPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34,197,94,0);
    opacity: 0.7;
  }
}

/* ---------- Text ---------- */
.nova-chat__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.nova-chat__name {
  font-size: 0.85rem;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nova-chat__msg {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
}
.nova-chat__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: #22c55e;
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nova-chat__status .nova-chat__dot {
  position: static;
  width: 6px;
  height: 6px;
  border: none;
  flex-shrink: 0;
}

/* ---------- Floating Button ---------- */
.nova-chat__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C5CE7, #5A3FD4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 24px rgba(108,92,231,0.4);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  text-decoration: none;
}
.nova-chat__btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 36px rgba(108,92,231,0.5);
}
.nova-chat__btn:active {
  transform: scale(0.95);
}

/* Icon swap: when bubble is open, show X instead of WhatsApp */
.nova-chat__btn-icon { display: block; }
.nova-chat__btn-close { display: none; }
.nova-chat__btn.active .nova-chat__btn-icon { display: none; }
.nova-chat__btn.active .nova-chat__btn-close { display: block; }

/* Button glow ring */
.nova-chat__btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C5CE7, #A29BFE);
  opacity: 0.3;
  animation: novaRing 3s ease-in-out infinite;
  z-index: -1;
}
@keyframes novaRing {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.12); opacity: 0.1; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .nova-chat {
    bottom: 16px; right: 16px;
    gap: 10px;
  }
  .nova-chat__btn {
    width: 50px;
    height: 50px;
  }
  .nova-chat__btn svg {
    width: 22px;
    height: 22px;
  }
  .nova-chat__bubble {
    padding: 12px 36px 12px 14px;
    max-width: 280px;
  }
  .nova-chat__avatar-img {
    width: 42px;
    height: 42px;
  }
  .nova-chat__name { font-size: 0.8rem; }
  .nova-chat__msg { font-size: 0.73rem; white-space: normal; }
}

@media (max-width: 480px) {
  .nova-chat__bubble {
    max-width: 250px;
    padding: 10px 32px 10px 12px;
  }
  .nova-chat__msg { font-size: 0.7rem; }
}
