/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    #ffffff,
    #cfd2d6,
    #b9bec7,
    #bfc4ce
  );
  background-size: 300% 300%;
  animation: diagonalGradient 12s ease infinite;
  color: #1a1a1a;
  overflow-x: hidden;
}

@keyframes diagonalGradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Animaciones base */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 60px);
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  /* Fondo blanco con sombra suave en lugar de transparencia */
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
}
.logo img{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  /* Fondo blanco con sombra suave en lugar de transparencia */
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
}
nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #000;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #000;
}

nav a:hover::after {
  width: 100%;
}

/* Layout principal */
.container {
    margin-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  padding: clamp(40px, 8vw, 120px);
  align-items: center;
  justify-content: center;
}

/* Columna izquierda */
.left {
  flex: 1 1 380px;
  max-width: 520px;
  animation: fadeUp 0.8s ease forwards;
}

.left h1 {
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: 3px;
  color: #111;
}

.left p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0,0,0,0.7);
}

/* Acciones */
.actions {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.btn {
  padding: 14px 40px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  /* Botón principal oscuro para contraste en fondo blanco */
  background: linear-gradient(135deg, #2d3436, #000000);
  color: #fff;
  font-size: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.btn.outline {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  color: #000;
}

/* Columna derecha */
.right {
  flex: 1 1 420px;
  display: flex;
  justify-content: center;
  animation: fadeUp 1s ease forwards;
}

/* Terminal */
.terminal {
  width: 100%;
  max-width: 560px;
  min-height: 500px;
  background: linear-gradient(180deg, #1b1f26, #111319);
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
  animation: float 6s ease-in-out infinite;

  display: flex;
  flex-direction: column;
}

/* Botones tipo macOS */
.terminal::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 20px;
  width: 48px;
  height: 10px;
  background:
    radial-gradient(circle at 5px 5px, #ff5f56 4px, transparent 5px),
    radial-gradient(circle at 21px 5px, #ffbd2e 4px, transparent 5px),
    radial-gradient(circle at 37px 5px, #27c93f 4px, transparent 5px);
}

/* Texto */
.terminal pre {
  margin-top: 40px; /* más espacio debajo de los botones */
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: #d9d9d9;
  white-space: pre-line;
}


/* Cursor */
.terminal pre::after {
  content: "▌";
  color: #d9d9d9; /* mismo color que texto */
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Control de versiones */
#terminal-text-mobile {
  display: none;
}

@media (max-width: 768px) {
  #terminal-text-desktop {
    display: none;
  }

  #terminal-text-mobile {
    display: block;
  }
}


/* Ajuste para pantallas muy pequeñas */
@media (max-width: 420px) {
  .actions {
    justify-content: center;
  }

  .left h1 {
    font-size: clamp(36px, 6vw, 56px);
    letter-spacing: 3px;
    color: #111;
    text-align: center;
  }
}

/* =======================
   PRICING SECTION
======================= */
.pricing {
  position: relative;
  padding: clamp(80px, 10vw, 160px) clamp(24px, 6vw, 110px);
  background: linear-gradient(180deg, #535c5f 0%, #353c3f 100%);
  color: #ffffff;
  overflow: hidden;
}

/* Profundidad ambiental clara */
.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,100,255,0.03), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(0,50,255,0.02), transparent 60%);
  pointer-events: none;
}

.pricing h2 {
  position: relative;
  font-size: clamp(30px, 5vw, 42px);
  margin-bottom: 80px;
  text-align: center;
  letter-spacing: 1px;
  color: #fafafa;
}

/* =======================
   PLANS GRID
======================= */
.plans {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  justify-content: center;
  align-items: stretch;
}

/* =======================
   BASE CARD
======================= */
.plan {
  position: relative;
  flex: 1 1 260px;
  max-width: 330px;
  background: rgba(255,255,255,0.8);
  border-radius: 22px;
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(0,0,0,0.03);

  /* 🔥 AÑADIDO */
  display: flex;
  flex-direction: column;
}


.plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px rgba(0,0,0,0.1);
}

.plan h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #000;
}

.price {
  font-size: 15px;
  margin-bottom: 26px;
  color: rgba(0,0,0,0.6);
}

/* Lista base */
.plan ul {
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0,0,0,0.7);
}
.plan ul {
  flex-grow: 1;
}

.plan ul li {
  margin-bottom: 14px;
}

/* =======================
   VIP CARD (DOMINANTE)
======================= */
.plan.highlight {
  transform: scale(1.05);
  background: linear-gradient(
    160deg,
    #ffffff 0%,
    #fcfcfc 45%,
    #f2f2f2 100%
  );
  box-shadow:
    0 40px 80px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 1);
  overflow: hidden;
}

/* Aura externa clara */
.plan.highlight::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: linear-gradient(
    120deg,
    rgba(0, 120, 255, 0.1),
    rgba(0, 80, 255, 0.05),
    transparent 65%
  );
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
}

/* Borde energético (dorado/naranja mantenido para VIP) */
.plan.highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(201, 143, 35, 0.8),
    rgba(141, 68, 0, 0.25),
    rgba(163, 89, 55, 0.8)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Elevar contenido */
.plan.highlight * {
  position: relative;
  z-index: 1;
}

/* Texto VIP */
.plan.highlight h3 {
  font-size: 23px;
  letter-spacing: 0.8px;
  color: #000;
}

.plan.highlight .price {
  font-size: 17px;
  font-weight: 600;
  color: #0056b3;
}

/* Lista VIP */
.plan.highlight ul li::before {
  content: "◆";
  color: #d4af37;
  margin-right: 10px;
}

/* Hover VIP */
.plan.highlight:hover {
  transform: translateY(-14px) scale(1.08);
}
.plan .btn-select {
  margin-top: auto;
}

/* Badge recomendado */
.plan .badge {
  position: absolute;
  top: 18px;
  right: -38px;
  transform: rotate(35deg);
  background: linear-gradient(135deg, #ff8902, #d36f12);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 44px;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(211,111,18,0.2);
}

/* =======================
   LISTAS DE BENEFICIOS
======================= */

.plan ul {
  margin-top: 10px;
}

.plan ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 2px;
  line-height: 1.6;
}

.plan ul li::before {
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.plan ul li {
  font-size: 14px;
  color: rgba(0,0,0,0.8);
}

/* =======================
   JERARQUÍA VISUAL
======================= */

.plan h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 36px;
  height: 2px;
  background: rgba(0,0,0,0.1);
}

.plan .price {
  font-weight: 500;
}

/* =======================
   VIP – EMPUJE FINAL
======================= */

.plan.highlight ul li {
  color: #333;
}

.plan.highlight ul li:not(:last-child) {
  margin-bottom: 14px;
}

.plan.highlight:hover ul li {
  text-shadow: 0 0 12px rgba(0,0,0,0.05);
}

.plan.highlight .badge {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 2px;
}

/* =======================
   MICRO-DETALLES
======================= */

.plan:hover ul li {
  transform: translateX(2px);
  transition: transform 0.25s ease;
}

@media (hover: none) {
  .plan:hover ul li {
    transform: none;
  }
}

/* =======================
   ROMBOS ESTILO VIP PARA TODOS LOS PLANES (LUMINOSOS)
======================= */

.plan::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: linear-gradient(
    120deg,
    rgba(0,100,255,0.05),
    rgba(0,50,255,0.02),
    transparent 65%
  );
  filter: blur(28px);
  opacity: 0.35;
  z-index: 0;
  border-radius: 20px;
}

.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.1)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.plan * {
  position: relative;
  z-index: 1;
}
/* ===============================
   VIP PRODUCT SECTION · LIGHT PRO
================================= */

.luna-product.vip {
  width: 100%;
  padding: 6rem 5vw;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
  color: #0f172a;
}

/* ===============================
   HEADER
================================= */

.luna-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4.5rem;
}

.luna-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 87, 255, 0.1);
  color: #003ea6;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.luna-header h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: #0b0f19;
}

.luna-header p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.75;
}

/* ===============================
   FEATURE GRID
================================= */

.luna-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4.5rem;
}

.luna-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 2.2rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.35s ease;
}

.luna-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  border-color: rgba(0, 87, 255, 0.25);
}

.luna-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.luna-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}

.luna-card p {
  color: #475569;
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ===============================
   VIP BLOCKS
================================= */

.vip-block {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 2.8rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
}

/* ===============================
   FLOW SECTION
================================= */

.luna-flow h3 {
  margin-bottom: 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #0b0f19;
}

.luna-flow ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  list-style: none;
  counter-reset: step;
  padding: 0;
}

.luna-flow li {
  counter-increment: step;
  padding: 1.2rem 1.3rem;
  border-radius: 14px;
  background: #eef2f7;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e293b;
  transition: background 0.25s ease, transform 0.25s ease;
}

.luna-flow li:hover {
  background: #e2e8f0;
  transform: translateY(-3px);
}

.luna-flow li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: #0057ff;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8rem;
}

/* ===============================
   LIMITS / PARAMETERS
================================= */

.luna-limits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.luna-limits h4 {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
}

.luna-limits ul {
  list-style: none;
  padding: 0;
}

.luna-limits li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: #334155;
}

.luna-limits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0057ff;
}


/* FOOTER (MODO CLARO) */
.site-footer {
  background: #1f1f1f;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 60px 40px 20px;
  color: #ffffff;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  color: #afafaf;
}

.footer-brand .logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: none;
}

.footer-section h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #f7f7f7;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  font-size: 0.85rem;
  margin-bottom: 8px;
  opacity: 1;
}

.footer-section a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  text-decoration: none;
  color: #000;
}

.partners li {
  font-weight: 500;
  color: #afafaf;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
.btn-select {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #2d2f36;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-select:hover {
  transform: translateY(-2px);
  background: #3a3d46;
}

.btn-select.primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.btn-select.primary:hover {
  background: linear-gradient(135deg, #4338ca, #4f46e5);
}

.btn-select.corporate-btn {
  background: linear-gradient(135deg, #111827, #1f2937);
}

.btn-select.corporate-btn:hover {
  background: linear-gradient(135deg, #000000, #111827);
}
