/* ==========================================================
   VARIABLES Y RESET
========================================================== */
:root {
  --bg: #04060f;
  --bg2: #080d1c;
  --bg3: #0c1225;
  --card: #0e1530;
  --border: #1a2545;
  --cyan: #00e5ff;
  --cyan2: #00b8d9;
  --lime: #a8ff3e;
  --text: #e8edf8;
  --muted: #7a8aaa;
  --accent: #ff4d6d;
  --gold: #ffc947;
  --radius: 12px;
  --radius-lg: 20px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================
   FONDO GLOBAL
========================================================== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-glow-top {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.17) 0%,
    transparent 70%
  );
  top: -300px;
  left: -200px;
}

.bg-glow-right {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.1) 0%,
    transparent 70%
  );
  top: 200px;
  right: -200px;
}

.bg-glow-bottom {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 14, 122, 0.5) 0%,
    transparent 70%
  );
  bottom: -200px;
  left: 30%;
}

/* ==========================================================
   WRAPPER PRINCIPAL
========================================================== */
#app {
  position: relative;
  z-index: 1;
}

/* ==========================================================
   NAVBAR
========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(4, 6, 15, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 1px 0 rgba(0, 229, 255, 0.05),
    0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 70px;
  /* ✅ Ancho garantizado */
  width: 100%;
  box-sizing: border-box;
  transition: height 0.3s ease;
}

.nav.scrolled .nav-inner {
  height: 62px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  /* ✅ No crece */
  flex: 0 0 auto;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan2), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0, 229, 255, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-logo:hover .logo-icon {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.55);
}

.logo-text {
  font-family: "Poiret One", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-text span {
  color: var(--cyan);
}

/* Links desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-links > li > a,
.nav-links > li > button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover {
  color: var(--text);
  background: rgba(26, 37, 69, 0.8);
}

.nav-links > li > a.active {
  color: var(--cyan);
}

.arrow {
  width: 14px;
  height: 14px;
  opacity: 0.55;
  transition:
    transform 0.25s ease,
    opacity 0.2s;
  flex-shrink: 0;
}

.nav-links > li.open > button .arrow,
.nav-links > li:hover > button .arrow {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  margin-top: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: rgba(0, 3, 60, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 8px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 229, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: rgba(0, 3, 60, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  transform: translateX(-50%) rotate(45deg);
}

.nav-links > li:hover .dropdown,
.nav-links > li.open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 400;
  transition:
    background 0.18s,
    color 0.18s;
}

.dropdown-item:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--text);
}

.dropdown-item:hover .di-icon {
  background: rgba(0, 229, 255, 0.25);
}

.di-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(0, 229, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background 0.18s;
}

.di-text strong {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
  margin-bottom: 2px;
}

.di-text span {
  font-size: 0.74rem;
  color: var(--muted);
}

.dropdown-divider {
  height: 1px;
  background: rgba(0, 229, 255, 0.05);
  margin: 6px 8px;
}

/* CTA nav */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-nav-ghost {
  padding: 8px 18px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-nav-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.btn-nav-primary {
  padding: 9px 22px;
  border-radius: 10px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.35);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-nav-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  border-radius: inherit;
}

.btn-nav-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.5);
}

/* ── Hamburguesa ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  gap: 5px;
  transition:
    background 0.2s,
    border-color 0.2s;
  flex-shrink: 0;
  flex-grow: 0;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    width 0.3s ease;
  pointer-events: none;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================
   MENÚ MÓVIL
========================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  padding: 90px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 14px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.05);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.mobile-link:hover,
.mobile-link-trigger.active-sub {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.2);
  color: var(--text);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0 4px 12px;
}

.mobile-submenu.open {
  display: flex;
}

.mobile-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition:
    background 0.18s,
    color 0.18s;
}

.mobile-submenu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.mobile-divider {
  height: 1px;
  background: rgba(26, 37, 69, 0.8);
  margin: 8px 0;
}

.mobile-cta-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.btn-mobile-ghost {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s;
}

.btn-mobile-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn-mobile-primary {
  display: block;
  text-align: center;
  padding: 15px;
  border-radius: 14px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.4);
  transition: all 0.2s;
}

.btn-mobile-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 229, 255, 0.55);
}

/* ==========================================================
   UTILIDADES COMUNES
========================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 100px;
  padding: 7px 18px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan2);
  margin-bottom: 20px;
}

.section-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.6s ease infinite;
  flex-shrink: 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: "Poiret One", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-header h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--cyan2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* Botones generales */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 12px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 229, 255, 0.55);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(0, 229, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
}

/* ==========================================================
   ANIMATIONS
========================================================== */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ==========================================================
   HERO
========================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 100px;
  padding: 7px 18px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan2);
  margin-bottom: 28px;
  animation: fadeDown 0.7s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.6s ease infinite;
  flex-shrink: 0;
}

.hero h1 {
  font-family: "Poiret One", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  animation: fadeDown 0.7s 0.1s ease both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--cyan2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
  animation: fadeDown 0.7s 0.2s ease both;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeDown 0.7s 0.3s ease both;
  margin-bottom: 44px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeDown 0.7s 0.4s ease both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.trust-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--cyan);
  flex-shrink: 0;
}

/* Visual decorativo del hero */
.hero-visual {
  animation: fadeUp 0.9s 0.3s ease both;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-server-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  position: relative;
  animation: floatCard 6s ease-in-out infinite;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.hero-server-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 255, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.server-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(26, 37, 69, 0.8);
}

.server-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 255, 0.2),
    rgba(0, 229, 255, 0.1)
  );
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.server-card-title {
  font-family: "Poiret One", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.server-card-sub {
  font-size: 0.76rem;
  color: var(--muted);
}

.server-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d45c;
  margin-left: auto;
  box-shadow: 0 0 10px rgba(34, 212, 92, 0.6);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

.server-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.metric-labels span:first-child {
  color: rgba(255, 255, 255, 0.6);
}
.metric-labels span:last-child {
  color: var(--cyan);
  font-weight: 600;
}

.metric-bar {
  height: 6px;
  background: rgba(26, 37, 69, 0.8);
  border-radius: 100px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--cyan2), var(--cyan));
}

.server-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.server-tag {
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Badges flotantes */
.float-badge {
  position: absolute;
  background: rgba(0, 3, 60, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.float-badge-tl {
  top: -20px;
  left: -30px;
  animation: floatCard 5s 1s ease-in-out infinite;
}

.float-badge-br {
  bottom: -18px;
  right: -24px;
  animation: floatCard 4.5s 0.5s ease-in-out infinite;
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.25);
}

/* ==========================================================
   BENEFICIOS
========================================================== */
.benefits-section {
  padding: 100px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 229, 255, 0.4),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.03);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.benefit-card h3 {
  font-family: "Poiret One", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================
   PLANES DESTACADOS
========================================================== */
.plans-section {
  padding: 100px 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.plan-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px 30px 38px;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.plan-card.featured {
  background: rgba(0, 229, 255, 0.05);
  border-color: var(--cyan);
  box-shadow:
    0 0 0 1px var(--cyan),
    0 20px 70px rgba(0, 229, 255, 0.15);
  transform: translateY(-10px);
}

.plan-card.featured:hover {
  transform: translateY(-18px);
  box-shadow:
    0 0 0 1px var(--cyan),
    0 36px 90px rgba(0, 229, 255, 0.25);
}

.plan-card.featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan2), var(--cyan), var(--cyan2));
  border-radius: 22px 22px 0 0;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cyan);
  color: var(--text);
  font-family: "Poiret One", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.plan-badge-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  font-family: "Poiret One", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.plan-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.featured .plan-icon {
  background: rgba(0, 229, 255, 0.12);
}

.plan-name {
  font-family: "Poiret One", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.plan-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.plan-price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-family: "Poiret One", sans-serif;
  margin-bottom: 4px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-currency {
  font-family: "Poiret One", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cyan);
}

.plan-amount {
  font-family: "Poiret One", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.featured .plan-amount {
  color: var(--cyan);
}

.plan-renewal {
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.plan-renewal strong {
  color: rgba(255, 255, 255, 0.5);
}

.plan-divider {
  height: 1px;
  background: rgba(26, 37, 69, 0.8);
  margin: 0 0 22px;
}

.featured .plan-divider {
  background: rgba(0, 229, 255, 0.2);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
}

.feat-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--cyan);
}

.featured .feat-check {
  background: rgba(0, 229, 255, 0.15);
}

.feat-val {
  font-weight: 600;
  color: var(--text);
}

.btn-plan-primary {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.35);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-plan-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 229, 255, 0.5);
}

.btn-plan-outline {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-plan-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

/* ==========================================================
   CARACTERÍSTICAS TÉCNICAS
========================================================== */
.tech-section {
  padding: 100px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

.tech-item:hover {
  background: rgba(0, 229, 255, 0.04);
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateX(4px);
}

.tech-item-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tech-item-body strong {
  display: block;
  font-family: "Poiret One", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.tech-item-body span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ==========================================================
   CONFIANZA
========================================================== */
.trust-section {
  padding: 100px 0;
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.trust-content h2 {
  font-family: "Poiret One", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.trust-content h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--cyan2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-content > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-list-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}

.trust-list-item strong {
  display: block;
  font-family: "Poiret One", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.trust-list-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.stat-card:hover {
  border-color: rgba(0, 229, 255, 0.25);
  transform: translateY(-4px);
}

.stat-card:first-child {
  grid-column: 1 / -1;
  background: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.2);
}

.stat-number {
  font-family: "Poiret One", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================
   FAQ
========================================================== */
.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item:has(.faq-a.open) {
  border-color: rgba(0, 229, 255, 0.25);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: "Poiret One", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.faq-q:hover {
  background: rgba(255, 255, 255, 0.03);
}
.faq-q.open {
  color: var(--cyan);
}

.faq-arrow {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background 0.2s;
}

.faq-q.open .faq-arrow {
  transform: rotate(180deg);
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
  padding: 0 24px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq-a.open {
  max-height: 320px;
  padding: 0 24px 22px;
}

/* ==========================================================
   CTA FINAL
========================================================== */
.cta-final {
  padding: 0 32px 100px;
}

.cta-final-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    #1a2545 0%,
    var(--cyan2) 50%,
    #3a6ea5 100%
  );
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.cta-final-inner h2 {
  font-family: "Poiret One", sans-serif;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  position: relative;
}

.cta-final-inner p {
  font-size: 1rem;
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
}

.cta-btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: 12px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--bg);
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.btn-cta-dark:hover {
  background: var(--bg2);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: 12px;
  font-family: "Poiret One", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan2);
  background: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: all 0.25s;
}

.btn-cta-white:hover {
  background: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.2);
}

/* ==========================================================
   FOOTER
========================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan2), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.footer-logo-text {
  font-family: "Poiret One", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.footer-logo-text span {
  color: var(--cyan);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ==========================================================
   RESPONSIVE — breakpoints unificados
   ✅ .hamburger sólo toca clases del nav dentro de @media
      y todas las propiedades críticas llevan !important.
========================================================== */

/* ── Breakpoint principal 980px ── */
@media (max-width: 980px) {
  /* NAV */
  .nav-links,
  .nav-cta,
  .btn-nav-ghost {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
  }

  .nav-inner {
    width: 100% !important;
    padding: 0 20px !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .nav-logo {
    flex: 0 0 auto !important;
    max-width: calc(100% - 60px) !important;
  }

  /* Hero */
  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    max-width: 100%;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }

  /* Secciones */
  .trust-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .plan-card.featured {
    transform: translateY(0);
  }

  .section-container {
    padding: 0 24px;
  }
  .section-header {
    margin-bottom: 44px;
  }
}

/* ── Tablet ── */
@media (max-width: 768px) {
  .trust-stats {
    grid-template-columns: 1fr 1fr;
  }
  .trust-stats .stat-card:first-child {
    grid-column: 1 / -1;
  }
}

/* ── Móvil ── */
@media (max-width: 600px) {
  .nav-inner {
    padding: 0 16px !important;
  }
  .logo-text {
    font-size: 1rem;
  }

  .hero {
    padding: 90px 16px 48px;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .cta-final {
    padding: 0 16px 60px;
  }
  .cta-final-inner {
    padding: 48px 24px;
  }
  .cta-btn-group {
    flex-direction: column;
    align-items: center;
  }
  .btn-cta-dark,
  .btn-cta-white {
    width: 100%;
    justify-content: center;
  }

  .footer {
    padding: 32px 20px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }

  .section-header {
    margin-bottom: 32px;
  }
}

/* ── Móvil pequeño ── */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.7rem;
  }
  .trust-stats {
    grid-template-columns: 1fr;
  }
}
