/* ============================================
   CONECTA360 — Estilos personalizados
   ============================================ */

/* Variables de color */
:root {
  --navy:  #0A0F1E;
  --cyan:  #00D4FF;
  --orange:#FF6B2C;
}

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

body {
  background: var(--navy);
  color: #F1F5F9;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
}

/* Texto con gradiente */
.grad {
  background: linear-gradient(90deg, #00D4FF, #FF6B2C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Botón primario */
.btn-p {
  background: linear-gradient(90deg, #00D4FF, #00AACC);
  transition: all .2s ease;
  display: inline-block;
  text-decoration: none;
  color: #0A0F1E;
  font-weight: 700;
}
.btn-p:hover {
  opacity: .88;
  transform: scale(1.03);
}

/* Card con efecto vidrio */
.glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animación fade-up */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fu { opacity: 0; }
.fu.visible { animation: fadeUp .65s ease forwards; }

/* Pulsación botón WhatsApp */
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  50%       { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}
.wa-pulse { animation: pulse-wa 2.5s infinite; }

/* Nav fija */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10,15,30,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.nav-links { display: none; gap: 2rem; list-style: none; }
.nav-links a { color: #CBD5E1; text-decoration: none; font-size: .875rem; transition: color .2s; }
.nav-links a:hover { color: #fff; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-cta {
  padding: .625rem 1.25rem;
  border-radius: 9999px;
  font-size: .875rem;
  text-decoration: none;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.25rem 4rem;
}
.hero-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 768px) { .hero-inner { grid-template-columns: 1fr 1fr; } }
.hero-badge {
  display: inline-block;
  background: rgba(0,212,255,.1);
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(0,212,255,.2);
  margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.15; margin-bottom: 1.5rem; }
.hero p  { color: #CBD5E1; font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; max-width: 480px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-btns a { padding: 1rem 2rem; border-radius: 9999px; font-size: 1rem; text-align: center; }
.btn-outline {
  border: 1px solid rgba(0,212,255,.5);
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  transition: background .2s;
}
.btn-outline:hover { background: rgba(0,212,255,.1); }
.hero-note { color: #64748B; font-size: .875rem; }
.hero-mockup {
  display: none;
  border-radius: 1.5rem;
  height: 24rem;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: .875rem;
}
@media (min-width: 768px) { .hero-mockup { display: flex; } }

/* Logos */
.logos-band {
  padding: 2.5rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  text-align: center;
}
.logos-band p { color: #64748B; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.5rem; }
.logos-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; opacity: .3; }
.logos-list span { font-size: 1.25rem; font-weight: 700; color: #94A3B8; }

/* Secciones genéricas */
section { padding: 6rem 1.25rem; }
.section-inner { max-width: 1152px; margin: 0 auto; }
.section-title { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; text-align: center; margin-bottom: 1rem; }
.section-sub  { color: #94A3B8; text-align: center; max-width: 560px; margin: 0 auto 4rem; line-height: 1.7; }

/* Beneficios */
.cards-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3,1fr); } }
.card { border-radius: 1rem; padding: 2rem; }
.card-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; }
.card p  { color: #94A3B8; font-size: .875rem; line-height: 1.7; }
.card-highlight { border-color: rgba(0,212,255,.25) !important; }

/* Proceso */
.proceso-bg { background: rgba(255,255,255,.015); }
.steps { display: grid; gap: 2rem; text-align: left; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4,1fr); } }
.step-num { font-size: 3.5rem; font-weight: 700; color: rgba(0,212,255,.15); display: block; }
.step h3  { font-weight: 700; margin: .5rem 0 .35rem; }
.step p   { color: #94A3B8; font-size: .875rem; }

/* Testimonios */
.testi-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3,1fr); } }
.testi-card { border-radius: 1rem; padding: 2rem; }
.stars { color: var(--orange); font-size: 1.1rem; margin-bottom: 1rem; }
.testi-card blockquote { color: #CBD5E1; font-size: .875rem; line-height: 1.7; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}
.testi-author cite  { font-weight: 600; font-size: .875rem; font-style: normal; display: block; }
.testi-author small { color: #64748B; font-size: .75rem; }

/* Precios */
.precios-bg { background: rgba(255,255,255,.015); }
.plans { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(3,1fr); } }
.plan { border-radius: 1rem; padding: 2rem; position: relative; }
.plan-featured {
  background: linear-gradient(180deg,rgba(0,212,255,.1),transparent);
  border: 1px solid rgba(0,212,255,.4);
}
.plan-badge {
  position: absolute; top: -1rem;
  left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: #0A0F1E;
  font-size: .7rem; font-weight: 700;
  padding: .25rem 1rem; border-radius: 9999px;
  white-space: nowrap;
}
.plan h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.plan-price { font-size: 2.5rem; font-weight: 700; margin-bottom: .25rem; }
.plan-price span { font-size: 1rem; font-weight: 400; color: #94A3B8; }
.plan-period { color: #64748B; font-size: .75rem; margin-bottom: 1.5rem; }
.plan ul { list-style: none; font-size: .875rem; color: #CBD5E1; margin-bottom: 2rem; }
.plan ul li { padding: .3rem 0; }
.plan-btn {
  display: block; text-align: center;
  padding: .75rem; border-radius: 9999px;
  font-size: .875rem; font-weight: 600;
  text-decoration: none; transition: all .2s;
}
.plan-btn-outline { border: 1px solid rgba(0,212,255,.4); color: var(--cyan); }
.plan-btn-outline:hover { background: rgba(0,212,255,.1); }

/* Formulario */
.form-section { text-align: center; }
.form-wrap { max-width: 540px; margin: 0 auto; }
form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
form input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
  font-family: 'Inter', sans-serif;
}
form input::placeholder { color: #64748B; }
form input:focus { border-color: var(--cyan); }
.form-note { color: #475569; font-size: .75rem; margin-top: .75rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  background: #25D366; width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  transition: transform .2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 1.75rem; height: 1.75rem; fill: white; }

/* Footer */
footer {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: #475569;
  font-size: .875rem;
}
footer .footer-logo { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; display: block; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1rem; font-size: .75rem; }
.footer-links a { color: #475569; text-decoration: none; }
.footer-links a:hover { color: #94A3B8; }
