/* ══════════════════════════════════════════
   WhatsApp AI — styles.css
   ══════════════════════════════════════════ */

:root {
  --green: #25D366;
  --green-light: #128C7E;
  --blue: #25D366;
  --blue-dark: #075E54;
  --purple: #25D366;
  --bg: #040806;
  --bg2: #08120d;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(37, 211, 102, 0.15);
  --text: #f0f4f2;
  --muted: #8b9992;
  --card-bg: rgba(6, 12, 9, 0.7);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h2, h3, h4, h5, h6 {
  font-family: 'Fustat', sans-serif;
  color: var(--text);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Animated mesh background ── */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(37,211,102,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 85% 75%, rgba(0,132,255,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124,58,237,0.03) 0%, transparent 70%),
    var(--bg);
  animation: meshShift 12s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* Grid overlay */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.content { position: relative; z-index: 1; }

/* ── Liquid Glass Navbar ── */
.liquid-nav-wrapper {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
}

.liquid-navbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0px 1px 1px 0px rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 12px 24px;
  width: max-content;
  max-width: 90vw;
}

.liquid-navbar .brand {
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.nav-links-liquid {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-liquid a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links-liquid a:hover {
  color: var(--green);
}

@media (max-width: 768px) {
  .nav-links-liquid {
    display: none;
  }
}

.btn-signup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--green);
  text-decoration: none;
  background: rgba(37, 211, 102, 0.1);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--green);
  transition: background 0.2s, color 0.2s;
}

.btn-signup:hover {
  background: var(--green);
  color: #000;
}

/* ══════════════════════════════════════════
   HERO — SUPERCONSCIOUS STYLE
   ══════════════════════════════════════════ */
#liquid-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #020a05;
  isolation: isolate;
}

/* ── Canvas partículas (encima del fondo, debajo del contenido) ── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ── Orb video: blob verde animado centrado de fondo ── */
.hero-orb-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.0);
  width: 680px;
  max-width: 90%;
  mix-blend-mode: screen;
  /* El video es morado (~270°). Verde = 120°. Rotamos 210° para llegar a verde */
  filter: hue-rotate(210deg) saturate(160%) brightness(0.9);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .hero-orb-video {
    width: 400px;
    max-width: 100%;
  }
}

/* ── Titulo mega full-width centrado ── */
.hero-title-block {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 120px 2rem 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-mega-title {
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 1.0;
  letter-spacing: -3px;
  color: #fff;
  margin: 0 0 1rem 0;
  text-shadow: 0 0 80px rgba(37,211,102,0.15);
}

.hero-green {
  color: var(--green);
  text-shadow: 0 0 40px rgba(37,211,102,0.5);
}

.hero-mega-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
  letter-spacing: -0.3px;
}

/* ── Teléfono centrado ── */
.hero-phone-center {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex: 1;
  width: 100%;
  padding-bottom: 80px;
  margin-top: -20px;
}

/* ── Phone mockup ── */
.phone-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatPhone 5s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.phone-mockup-img {
  width: auto;
  height: clamp(360px, 55vh, 520px);
  object-fit: contain;
  filter:
    drop-shadow(0 40px 80px rgba(37,211,102,0.25))
    drop-shadow(0 0 120px rgba(37,211,102,0.12));
  position: relative;
  z-index: 2;
}

.phone-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(37,211,102,0.4) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
  50%       { opacity: 0.9; transform: translateX(-50%) scaleX(1.2); }
}

/* ── CTA pill abajo-derecha (estilo Superconscious) ── */
.hero-cta-pill {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  max-width: 340px;
}

.hero-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-cta-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.hero-cta-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(37,211,102,0.4);
  flex-shrink: 0;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(37,211,102,0.6);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero-title-block { padding-top: 100px; }
  .hero-mega-title { letter-spacing: -1.5px; }
  .hero-phone-center { padding-bottom: 120px; }
  .phone-mockup-img { height: clamp(280px, 45vh, 380px); }
  .hero-cta-pill { bottom: 20px; right: 16px; left: 16px; max-width: none; }
  .hero-orb-video { width: 600px; transform: translate(-50%, -44%) scale(1.4); }
}

/* Botones generales (fuera del hero) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--green);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--green);
  box-shadow: 0 0 20px rgba(37,211,102,0.25);
  transition: all 0.3s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(37,211,102,0.4); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); background: rgba(37,211,102,0.05); transform: translateY(-2px); }


/* ── Marquee ── */
.marquee-section {
  padding: 2rem 0;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.015);
  position: relative;
}
.marquee-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.marquee-track { display: flex; gap: 3rem; animation: marquee 25s linear infinite; width: max-content; }
.marquee-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  /* Fondo blanco suave para logos con contenido claro/oscuro */
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  padding: 6px 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.marquee-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 18px rgba(37,211,102,0.25);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Fallback logos */
.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  background: var(--glass);
}
.logo-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ── Integrations grid ── */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.25rem;
  align-items: center;
}
.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 0.75rem;
  /* Fondo blanco suave para que todos los logos sean visibles */
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: default;
  aspect-ratio: 1;
}
.integration-item:hover {
  transform: translateY(-4px);
  border-color: rgba(37,211,102,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.integration-item img {
  height: 44px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  /* Sin filtros: mostrar el logo tal cual */
  filter: none;
  transition: transform 0.3s;
}
.integration-item:hover img {
  transform: scale(1.1);
}
/* ─ WhatsApp: card destacada ─ */
.integration-item--featured {
  background: rgba(37,211,102,0.08);
  border: 1.5px solid rgba(37,211,102,0.5);
  box-shadow: 0 0 28px rgba(37,211,102,0.18), inset 0 0 20px rgba(37,211,102,0.04);
  position: relative;
}
.integration-item--featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(37,211,102,0.25), transparent 60%);
  pointer-events: none;
}
.integration-item--featured img {
  height: 56px;
  filter: grayscale(0) brightness(1) drop-shadow(0 0 10px rgba(37,211,102,0.5));
}
.integration-item--featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(37,211,102,0.35), inset 0 0 24px rgba(37,211,102,0.06);
}
.integration-item--featured:hover img {
  filter: grayscale(0) brightness(1.1) drop-shadow(0 0 16px rgba(37,211,102,0.7));
}

/* ── Section wrapper ── */
section { padding: 6rem 1.5rem; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
h2 {
  font-family: 'Fustat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}
.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
}

/* ── Cards grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

/* ══════════════════════════════════════════
   SERVICES — SCATTERED LAYOUT (Superconscious style)
   ══════════════════════════════════════════ */

/* Section container */
.services-scattered-section {
  position: relative;
  padding: 5rem 1.5rem 6rem;
  overflow: hidden;
}

/* Watermark giant text in background */
.services-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Fustat', sans-serif;
  font-weight: 700;
  font-size: clamp(5rem, 15vw, 12rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(37, 211, 102, 0.08);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  letter-spacing: -4px;
}

/* Inner wrapper */
.services-inner {
  position: relative;
  z-index: 2;
}

/* Header small tag */
.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Scattered grid: 3 columns, each card at different vertical offset */
.services-float-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

/* Staggered vertical offsets — el efecto "flotante orgánico" */
.sc-card--1 { margin-top: 0;   transform: rotate(-1.2deg); }
.sc-card--2 { margin-top: 60px; transform: rotate(0.5deg); }
.sc-card--3 { margin-top: 20px; transform: rotate(-0.5deg); }

/* Compact card styling */
.sc-card {
  padding: 1.5rem;
  gap: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.sc-card .card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.sc-card .card-title {
  font-size: 1.1rem;
}

.sc-card .card-desc {
  font-size: 0.85rem;
  line-height: 1.55;
}

.sc-card .card-features {
  gap: 0.4rem;
}

.sc-card .card-features li {
  font-size: 0.82rem;
}

/* Hover: levanta y quita la rotación */
.sc-card:hover {
  transform: translateY(-8px) rotate(0deg) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(37,211,102,0.2);
}

/* Responsive: 2 cols en tablet */
@media (max-width: 900px) {
  .services-float-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sc-card--1 { margin-top: 0;    transform: rotate(-0.8deg); }
  .sc-card--2 { margin-top: 30px; transform: rotate(0.5deg); }
  .sc-card--3 { margin-top: 0;    grid-column: span 2; transform: rotate(-0.3deg); }
  .services-watermark { font-size: clamp(3rem, 10vw, 7rem); }
}

/* Responsive: 1 col en móvil */
@media (max-width: 600px) {
  .services-float-grid {
    grid-template-columns: 1fr;
  }
  .sc-card--1,
  .sc-card--2,
  .sc-card--3 {
    margin-top: 0;
    transform: none;
    grid-column: span 1;
  }
  .sc-card:hover { transform: translateY(-4px) !important; }
  .services-watermark { display: none; }
}


/* 3D tilt card */
.service-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  backdrop-filter: blur(20px);
  transition: transform 0.15s ease, box-shadow 0.3s;
  cursor: default;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(37,211,102,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(37,211,102,0.15); }

.card-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.card-icon-wrap.green  { background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.2); }
.card-icon-wrap.blue   { background: rgba(79,142,247,0.12); border: 1px solid rgba(79,142,247,0.2); }
.card-icon-wrap.purple { background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.2); }

.card-title {
  font-family: 'Fustat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.card-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.65; flex: 1; }
.card-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: var(--muted);
}
.card-features li::before { content: '✦'; color: var(--green); font-size: 0.6rem; }

/* Glowing demo button — estilo WhatsApp card */
.btn-demo {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  width: 100%;
  margin-top: auto;
  font-family: 'Poppins', sans-serif;
  /* Featured card style */
  background: rgba(37,211,102,0.07);
  color: var(--green);
  border: 1.5px solid rgba(37,211,102,0.45);
  box-shadow:
    0 0 18px rgba(37,211,102,0.14),
    inset 0 0 14px rgba(37,211,102,0.04);
}
/* Corner gradient highlight */
.btn-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,211,102,0.18) 0%, transparent 55%);
  pointer-events: none;
}
/* Shimmer sweep */
.btn-demo::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
  animation: shimmer 3s infinite;
}
.btn-demo:hover {
  background: rgba(37,211,102,0.14);
  border-color: rgba(37,211,102,0.75);
  box-shadow:
    0 0 32px rgba(37,211,102,0.32),
    inset 0 0 22px rgba(37,211,102,0.08);
  transform: translateY(-2px);
  color: #fff;
}
/* Remove old per-color overrides (all demos are now WA-green) */
.btn-demo.green-demo  {}
.btn-demo.blue-demo   {}
.btn-demo.purple-demo {}

/* ── Benefits ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.benefit-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  backdrop-filter: blur(12px);
  transition: transform 0.2s, border-color 0.2s;
}
.benefit-card:hover { transform: translateY(-4px); border-color: rgba(79,142,247,0.3); }
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
}
.benefit-title { font-weight: 700; font-size: 1.05rem; }
.benefit-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ── Testimonials ── */
#testimonials { background: rgba(0,0,0,0.01); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(16px);
  position: relative;
  transition: transform 0.2s;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(37,211,102,0.1);
  line-height: 1;
}
.stars { color: #facc15; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-text { color: var(--text); font-size: 0.95rem; line-height: 1.65; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  font-size: 1rem;
}
.author-name { font-weight: 700; font-size: 0.93rem; }
.author-role { font-size: 0.8rem; color: var(--muted); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; max-width: 800px; }
.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(37,211,102,0.25); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  user-select: none;
  gap: 1rem;
}
.faq-question:hover { color: var(--green); }
.faq-chevron { transition: transform 0.3s; flex-shrink: 0; color: var(--muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--green); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 1.5rem 1.25rem; }

/* ── Contact Form ── */
#contact { background: rgba(0,0,0,0.01); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}
.contact-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(37,211,102,0.2);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  transition: all 0.2s;
  margin-bottom: 0.75rem;
}
.contact-link:hover { background: rgba(37,211,102,0.08); box-shadow: 0 0 16px rgba(37,211,102,0.2); }

form {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.12);
}
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg2); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  
  /* Match .btn-demo card style */
  background: rgba(37,211,102,0.07);
  color: var(--green);
  border: 1.5px solid rgba(37,211,102,0.45);
  box-shadow:
    0 0 18px rgba(37,211,102,0.14),
    inset 0 0 14px rgba(37,211,102,0.04);
}
.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,211,102,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.form-submit::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
  animation: shimmer 3s infinite;
}
.form-submit:hover {
  background: rgba(37,211,102,0.14);
  border-color: rgba(37,211,102,0.75);
  box-shadow:
    0 0 32px rgba(37,211,102,0.32),
    inset 0 0 22px rgba(37,211,102,0.08);
  transform: translateY(-2px);
  color: #fff;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--green);
  font-weight: 600;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 0.5rem; }

/* ── Footer ── */
footer {
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }
.footer-bottom { color: var(--muted); font-size: 0.8rem; margin-top: 0.5rem; }
.footer-bottom a { color: var(--blue); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* Footer logo (CamonDigital) */
.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(1.1);
  transition: opacity 0.2s;
}
.footer-logo:hover { opacity: 1; }
.footer-powered-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(1) brightness(1.5);
  transition: opacity 0.2s, filter 0.2s;
}
.footer-powered-logo:hover img {
  opacity: 0.9;
  filter: grayscale(0) brightness(1);
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── CTA Banner ── */
.cta-banner {
  text-align: center;
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, rgba(37,211,102,0.06), rgba(79,142,247,0.06));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.cta-banner h2 { max-width: 600px; margin: 0 auto 0.8rem; }
.cta-banner p { color: var(--muted); max-width: 500px; margin: 0 auto 2rem; }

/* ── Neon divider ── */
.neon-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), var(--blue), transparent);
  max-width: 400px;
  margin: 0 auto;
  opacity: 0.4;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .integrations-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(5,8,16,0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    z-index: 99;
  }
  }
  .nav-links.open a { font-size: 1rem; }
  .hamburger { display: block; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}

/* ══════════════════════════════════════════
   Scroll Effects + Design Upgrades
   Inspirado en Superconscious
   ══════════════════════════════════════════ */

/* ── Navbar slide-in cuando pasa a fixed ── */
@keyframes navSlideIn {
  from { opacity: 0; transform: translateY(-14px) translateX(-50%); }
  to   { opacity: 1; transform: translateY(0)     translateX(-50%); }
}

/* Centrar navbar al hacer fixed */
.liquid-nav-wrapper {
  left: 50%;
  transform: translateX(-50%);
  width: auto;
}

/* ── Serif italic accent (como Superconscious) ── */
.hero-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: var(--green);
  font-size: inherit;
}

/* ══════════════════════════════════════════
   PHONE MOCKUP HERO
   ══════════════════════════════════════════ */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.phone-mockup-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatPhone 5s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

.phone-mockup-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(37, 211, 102, 0.20))
          drop-shadow(0 0 80px rgba(37, 211, 102, 0.10));
  position: relative;
  z-index: 2;
}

/* Glow debajo del teléfono */
.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(37,211,102,0.35) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleX(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scaleX(1.15); }
}

/* ── Floating pills decorativas ── */
.hero-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.pill-1 {
  top: 12%;
  left: -10%;
  color: var(--green);
  border-color: rgba(37,211,102,0.25);
  background: rgba(37,211,102,0.07);
  animation: floatPill1 6s ease-in-out infinite;
}

.pill-2 {
  bottom: 25%;
  left: -15%;
  animation: floatPill2 7s ease-in-out infinite 1s;
}

.pill-3 {
  top: 22%;
  right: -5%;
  animation: floatPill3 5.5s ease-in-out infinite 0.5s;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pillBlink 2s ease-in-out infinite;
}

@keyframes pillBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

@keyframes floatPill1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}
@keyframes floatPill2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50%       { transform: translateY(-14px) rotate(-1deg); }
}
@keyframes floatPill3 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%       { transform: translateY(-8px) rotate(-2deg); }
}

/* ── Mobile: pills y phone ── */
@media (max-width: 768px) {
  .hero-pill { display: none; }
  .phone-mockup-img { max-width: 200px; }
  .hero-visual { min-height: 280px; }
}

/* ══════════════════════════════════════════
   BENEFITS — BENTO GRID (como Superconscious)
   ══════════════════════════════════════════ */
.benefits-grid.benefits-stagger {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}

/* Card grande (primera, ocupa columna ancha) */
.benefits-stagger .stagger-card:nth-child(1) {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(37,211,102,0.07), rgba(37,211,102,0.02));
  border-color: rgba(37,211,102,0.2);
}
.benefits-stagger .stagger-card:nth-child(4) {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(79,142,247,0.07), rgba(79,142,247,0.02));
  border-color: rgba(79,142,247,0.2);
}

@media (max-width: 900px) {
  .benefits-grid.benefits-stagger {
    grid-template-columns: 1fr 1fr;
  }
  .benefits-stagger .stagger-card:nth-child(1),
  .benefits-stagger .stagger-card:nth-child(4) {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .benefits-grid.benefits-stagger {
    grid-template-columns: 1fr;
  }
  .benefits-stagger .stagger-card:nth-child(1),
  .benefits-stagger .stagger-card:nth-child(4) {
    grid-column: span 1;
  }
}

/* ── GPU hints para elementos animados ── */
.hero-title-split,
.hero-blur-reveal,
.section-heading,
.section-blur-reveal,
.stagger-card,
.service-card,
.integration-item,
.faq-item,
.cta-banner,
.phone-mockup-wrap {
  will-change: transform, opacity;
}

/* ── word-span generado por JS ── */
.word-span {
  display: inline-block;
  will-change: transform, opacity;
}

/* ── Mobile: reducir impacto de blur ── */
@media (max-width: 768px) {
  .hero-content { will-change: auto; }
  .section-blur-reveal { filter: none !important; }
  .phone-mockup-wrap { animation: none; }
}

/* ── prefers-reduced-motion: todo visible sin animaciones ── */
@media (prefers-reduced-motion: reduce) {
  .hero-title-split,
  .hero-blur-reveal,
  .section-heading,
  .section-blur-reveal,
  .stagger-card,
  .service-card,
  .integration-item,
  .faq-item,
  .cta-banner,
  .phone-mockup-wrap,
  .hero-pill,
  .phone-glow {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}


