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

:root {
  --bg-main: #020617;
  --bg-alt: #03091c;
  --accent: #0A6CFF;
  --accent-soft: rgba(10, 108, 255, 0.2);
  --danger: #ff4b5c;
  --text-main: #f9fbff;
  --text-muted: #9ba4c6;
  --glass-bg: rgba(10, 16, 40, 0.88);
  --border-glass: rgba(255, 255, 255, 0.07);
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 26px 60px rgba(0, 0, 0, 0.75);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #061736 0, #020617 55%, #000 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

/* Container y secciones */
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-alt {
  padding: 90px 0;
  background: radial-gradient(circle at top, #050b1f 0, #020617 60%);
}

.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 2.5vw, 2.4rem);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.section-lead {
  max-width: 650px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* HEADER */
.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.97),
    rgba(2, 6, 23, 0.82)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.header-logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.nav-menu {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4af2ff, #0A6CFF);
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.nav-menu a:hover {
  color: var(--text-main);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--text-main);
  font-size: 1.1rem;
  padding: 4px 10px;
}

/* HERO */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(10,108,255,0.4), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(91, 222, 255, 0.3), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

/* Orbit / grid futurista */
.hero-bg-orbit {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 999px;
  border: 1px solid rgba(99, 179, 255, 0.3);
  top: -200px;
  right: -150px;
  filter: blur(0.4px);
  opacity: 0.5;
  animation: orbitRotate 32s linear infinite;
}

.hero-bg-grid {
  position: absolute;
  inset: 40% -40% 0;
  background-image: linear-gradient(
      rgba(148, 163, 184, 0.11) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(148, 163, 184, 0.11) 1px,
      transparent 1px
    );
  background-size: 46px 46px;
  opacity: 0.25;
  mix-blend-mode: soft-light;
}

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

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
  z-index: 1;
}

/* HERO LEFT */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(2, 8, 30, 0.85);
  border: 1px solid rgba(102, 178, 255, 0.65);
  color: #c5dcff;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.2rem, 3.2vw, 2.9rem);
  line-height: 1.12;
  margin: 0 0 12px;
}

.hero-title-highlight {
  display: block;
  background: linear-gradient(90deg, #4af2ff, #0A6CFF, #9f8bff);
  -webkit-background-clip: text;
  color: transparent;
  margin-top: 4px;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 580px;
  margin-bottom: 26px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.15s ease-out;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, #4af2ff, #0A6CFF);
  color: white;
  box-shadow: 0 0 22px rgba(10, 108, 255, 0.85);
}

.btn-primary:hover {
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 0 30px rgba(10, 108, 255, 1);
}

.btn-ghost {
  background: rgba(3, 10, 32, 0.96);
  border: 1px solid rgba(122, 151, 255, 0.65);
  color: #d0dbff;
}

.btn-ghost:hover {
  background: rgba(11, 26, 63, 0.98);
}

.btn-help {
  display: inline-flex;
  margin-top: 8px;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(110deg, #ff7d8f, #ff9966);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 125, 143, 0.9);
}

.btn-help:hover {
  transform: translateY(-1px);
}

.btn.full {
  width: 100%;
}

.hero-note {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.8rem;
  color: #b4c3ff;
  margin-bottom: 14px;
}

.hero-help-box {
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background: rgba(4, 11, 33, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* HERO RIGHT */
.hero-right {
  display: flex;
  justify-content: flex-end;
}

.glass-card {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px);
}

.hero-card {
  padding: 20px 22px 18px;
  width: 100%;
  max-width: 380px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(74, 242, 255, 0.16), transparent 65%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #b4c3ff;
  margin-bottom: 12px;
}

.hero-mockups {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

/* Marcos de teléfono */
.phone-frame {
  width: 50%;
  border-radius: 26px;
  padding: 6px;
  background: radial-gradient(circle at 30% 0, rgba(255,255,255,0.18), rgba(15,23,42,1));
  box-shadow: 0 18px 40px rgba(0,0,0,0.9);
  position: relative;
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}

.phone-frame img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.phone-dark {
  transform: translateY(12px);
}

.hero-card-foot {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Tarjetas generales */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.feature-card {
  padding: 24px 22px;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SEGURIDAD */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

/* seguridad mantiene padding tipografía; el look lo da .advanced-card */
.security-card {
  padding: 24px 22px;
}

.security-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.security-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.security-note {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #ffd9a8;
}

.link-inline {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.86rem;
  color: #7ec5ff;
  text-decoration: none;
}

.link-inline:hover {
  text-decoration: underline;
}

/* --- CYBER NEON SKANO SUPREMO (aplicado a .advanced-card) --- */

.advanced-card {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: rgba(10, 20, 40, 0.45);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 160, 255, 0.25);
  box-shadow:
      0 0 22px rgba(0, 160, 255, 0.10),
      inset 0 0 20px rgba(0, 120, 255, 0.08),
      0 12px 40px rgba(0, 0, 0, 0.7);
  transition: 0.35s ease;
  overflow: hidden;
}

/* BORDE LUMINOSO ANIMADO */
.advanced-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(120deg,
      rgba(0, 150, 255, 0.8),
      rgba(0, 220, 255, 0.15),
      rgba(0, 150, 255, 0.8)
  );
  mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: borderScan 4s linear infinite;
  opacity: 0.55;
}

@keyframes borderScan {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* EFECTO DE HOVER (GLITCH SUAVE + GLOW) */
.advanced-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
      0 0 30px rgba(0, 160, 255, 0.25),
      inset 0 0 25px rgba(0, 120, 255, 0.14),
      0 18px 60px rgba(0, 0, 0, 0.85);
}

/* ICONO FUTURISTA */
.icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(0, 140, 255, 0.1);
  border: 1px solid rgba(0, 160, 255, 0.35);
  box-shadow:
      0 0 12px rgba(0, 160, 255, 0.4),
      inset 0 0 18px rgba(0, 160, 255, 0.25);
}

.icon {
  font-size: 28px;
  filter: drop-shadow(0 0 6px rgba(0, 190, 255, 0.6));
}

/* TITULOS DENTRO DE LAS TARJETAS ADVANCED */
.advanced-card h3 {
  color: #e7f3ff;
  margin-bottom: 8px;
  font-size: 20px;
  text-shadow: 0 0 10px rgba(0, 160, 255, 0.4);
}

/* TEXTO */
.advanced-card p {
  color: #b8c7db;
  font-size: 15px;
  line-height: 1.45;
}

.advanced-card .mini {
  opacity: 0.75;
  font-size: 14px;
}

/* LINK NEÓN */
.neon-text {
  color: #1faaff;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(0, 170, 255, 0.6);
}

/* APP */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.app-card {
  padding: 22px 20px 18px;
  text-align: center;
}

.app-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* DOCUMENTOS */
.doc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.doc-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.doc-list li {
  margin-bottom: 6px;
}

.doc-help-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* PLANES */
.plans-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  margin-top: 32px;
}

.plan-card {
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(10,108,255,0.26), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 999px;
  border: 1px solid rgba(122,151,255,0.7);
  color: #c5d1ff;
  margin-bottom: 10px;
}

.badge-blue {
  border-color: rgba(45, 205, 255, 0.9);
  color: #bff2ff;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 6px 0 12px;
}

.price span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-list li {
  margin-bottom: 6px;
}

.empresa-precios {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* RECOMPENSAS */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.reward-card {
  padding: 24px 18px;
  text-align: center;
  position: relative;
}

.reward-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.reward-bronze::before {
  background-image:
    linear-gradient(var(--glass-bg), var(--glass-bg)),
    linear-gradient(135deg, #f97316, #fde68a);
}
.reward-silver::before {
  background-image:
    linear-gradient(var(--glass-bg), var(--glass-bg)),
    linear-gradient(135deg, #e5e7eb, #9ca3af);
}
.reward-gold::before {
  background-image:
    linear-gradient(var(--glass-bg), var(--glass-bg)),
    linear-gradient(135deg, #facc15, #f97316);
}
.reward-elite::before {
  background-image:
    linear-gradient(var(--glass-bg), var(--glass-bg)),
    linear-gradient(135deg, #6366f1, #22d3ee);
}

.reward-card h3 {
  margin-bottom: 8px;
}

.hallazgos {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.monto {
  font-size: 1.15rem;
  font-weight: 700;
}

/* CONTACTO */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 32px;
}

.contact-form,
.contact-info {
  padding: 24px 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.field input,
.field textarea {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(2, 6, 24, 0.96);
  color: var(--text-main);
  font-size: 0.9rem;
  padding: 9px 11px;
  outline: none;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(10,108,255,0.8);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FOOTER */
.footer {
  padding: 30px 0 36px;
  background: #01030b;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 6px;
}

.footer-slogan {
  font-size: 0.9rem;
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 0.75rem;
  color: #5e6687;
}

/* ANIMACIONES DE ENTRADA */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    justify-content: flex-start;
  }

  .features-grid,
  .security-grid,
  .app-grid,
  .rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-menu {
    position: absolute;
    inset: 56px 0 auto 0;
    padding: 10px 4%;
    background: rgba(1, 4, 16, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: none;
    flex-direction: column;
    gap: 12px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 70px;
  }

  .features-grid,
  .security-grid,
  .app-grid,
  .rewards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-bg-orbit {
    right: -260px;
    top: -260px;
  }
}
