/* ═══════════════════════════════════════════════════════════
   NEXATECH — style.css
   Colors: #00C8FF (cyan) · #1B3EB0 (blue) · #9333EA (purple)
   Font: Syne (display) + Outfit (body)
═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --cyan:        #00C8FF;
  --cyan-dim:    rgba(0,200,255,0.15);
  --blue:        #1B3EB0;
  --purple:      #9333EA;
  --purple-mid:  #7C3AED;
  --purple-dim:  rgba(147,51,234,0.15);
  --pink:        #D946EF;
  --bg:          #060616;
  --bg2:         #0C0C24;
  --surface:     rgba(255,255,255,0.04);
  --surface-h:   rgba(255,255,255,0.07);
  --border:      rgba(147,51,234,0.2);
  --border-c:    rgba(0,200,255,0.2);
  --text:        #F0EFFF;
  --text-muted:  #8A8AAE;
  --success:     #34D399;
  --grad:        linear-gradient(135deg, var(--cyan), var(--purple));
  --grad-soft:   linear-gradient(135deg, rgba(0,200,255,0.8), rgba(147,51,234,0.8));
  --shadow-p:    0 0 40px rgba(147,51,234,0.25);
  --shadow-c:    0 0 40px rgba(0,200,255,0.2);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  0.22s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse 70% 50% at 15% 0%,   rgba(147,51,234,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 100%, rgba(0,200,255,0.10) 0%, transparent 50%);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Cursor Glow ───────────────────────────────────────── */
.cursor-glow {
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,51,234,0.08) 0%, transparent 70%);
  position: fixed;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: left 0.12s ease, top 0.12s ease;
  z-index: 0;
}

/* ── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* ── Gradient Text ─────────────────────────────────────── */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(6,6,22,0.85);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(147,51,234,0.15);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; }

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.logo-nexa { color: var(--text-muted); }
.logo-tech { color: var(--purple); }

/* Nav links */
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface);
}

/* Login button */
.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--purple-mid), var(--blue));
  border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
  white-space: nowrap;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.5);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 28px 80px;
  position: relative;
  overflow: hidden;
}

/* Background */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: floatOrb 10s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px; height: 500px;
  background: rgba(147,51,234,0.15);
  top: -100px; left: -80px;
}

.orb-2 {
  width: 400px; height: 400px;
  background: rgba(0,200,255,0.10);
  bottom: -60px; right: -60px;
  animation-delay: 4s;
}

.orb-3 {
  width: 280px; height: 280px;
  background: rgba(27,62,176,0.15);
  top: 50%; left: 40%;
  animation-delay: 7s;
}

@keyframes floatOrb {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-40px) scale(1.1); }
}

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(147,51,234,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,51,234,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 80%);
}

/* Hero layout */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 2500px;
  margin: 0 auto;
  align-items: center;
}

.hero-content { grid-column: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(147,51,234,0.12);
  border: 1px solid rgba(147,51,234,0.3);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: #C4B5FD;
  margin-bottom: 24px;
  animation: fadeSlideDown 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.7s 0.15s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.7s 0.25s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
  animation: fadeSlideUp 0.7s 0.35s cubic-bezier(0.16,1,0.3,1) both;
  flex-wrap: wrap;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  animation: fadeSlideUp 0.7s 0.45s cubic-bezier(0.16,1,0.3,1) both;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 28px;
  width: fit-content;
  backdrop-filter: blur(12px);
}

.stat-item { text-align: center; padding: 0 28px; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 30px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Dashboard mock ──────────────────────────────────── */
.hero-visual {
  animation: fadeSlideLeft 0.8s 0.4s cubic-bezier(0.16,1,0.3,1) both;
}

.dashboard-mock {
  background: rgba(12,12,36,0.8);
  border: 1px solid rgba(147,51,234,0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-p), 0 40px 80px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
}

.mock-bar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(147,51,234,0.12);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-dot.r { background: #FF5F57; }
.mock-dot.y { background: #FEBC2E; }
.mock-dot.g { background: #28C840; }

.mock-url {
  margin-left: 8px;
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 3px 12px;
  border-radius: 6px;
}

.mock-body { display: flex; height: 300px; }

.mock-sidebar {
  width: 60px;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(147,51,234,0.1);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-logo-sm {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  margin-bottom: 8px;
}

.mock-nav-item {
  height: 32px;
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
}

.mock-nav-item.active-nav {
  background: rgba(147,51,234,0.2);
  border: 1px solid rgba(147,51,234,0.3);
}

.mock-main { flex: 1; padding: 16px; }

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mock-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-glow-purple { border-color: rgba(147,51,234,0.3); box-shadow: 0 0 16px rgba(147,51,234,0.12); }
.card-glow-cyan   { border-color: rgba(0,200,255,0.25); box-shadow: 0 0 16px rgba(0,200,255,0.1); }

.mock-card-line {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.mock-card-line.sm { width: 60%; }

.mock-chart { height: 100px; }

.mock-bar-chart {
  height: 100%;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.bar-col {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--purple), var(--cyan));
  border-radius: 4px 4px 0 0;
  opacity: 0.6;
  animation: growBar 1s 1s ease both;
  transform-origin: bottom;
}

@keyframes growBar {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* ── Botones globales ──────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--purple-mid), var(--blue));
  border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(124,58,237,0.35);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(124,58,237,0.55);
}

.btn-primary.lg { padding: 16px 36px; font-size: 16px; }
.btn-primary.w100 { width: 100%; justify-content: center; margin-top: 4px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--text);
  background: var(--purple-dim);
}

/* ── Animations ────────────────────────────────────────── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* data-aos */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos][data-aos-delay="80"]  { transition-delay: 0.08s; }
[data-aos][data-aos-delay="100"] { transition-delay: 0.10s; }
[data-aos][data-aos-delay="160"] { transition-delay: 0.16s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.20s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.30s; }
[data-aos][data-aos-delay="400"] { transition-delay: 0.40s; }

[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

[data-aos="fade-left"] { transform: translateX(24px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

[data-aos="fade-down"] { transform: translateY(-16px); }
[data-aos="fade-down"].aos-animate { transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════════════════ */
.features, .planes, .contacto {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--purple-dim);
  border: 1px solid rgba(147,51,234,0.3);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #C4B5FD;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════ */
.features { background: var(--bg2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(147,51,234,0.4);
  box-shadow: var(--shadow-p);
}

.feature-card:hover::before { opacity: 1; }

.feature-card.featured {
  border-color: rgba(147,51,234,0.35);
  background: rgba(147,51,234,0.07);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.feature-icon.cyan   { background: rgba(0,200,255,0.12); color: var(--cyan); border: 1px solid rgba(0,200,255,0.2); }
.feature-icon.purple { background: var(--purple-dim);   color: #C4B5FD;     border: 1px solid rgba(147,51,234,0.25); }
.feature-icon.pink   { background: rgba(217,70,239,0.1); color: #F0ABFC;    border: 1px solid rgba(217,70,239,0.2); }
.feature-icon.blue   { background: rgba(27,62,176,0.15); color: #93C5FD;    border: 1px solid rgba(27,62,176,0.25); }

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 3px 10px;
  background: rgba(217,70,239,0.15);
  border: 1px solid rgba(217,70,239,0.3);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #F0ABFC;
}

/* ══════════════════════════════════════════════════════════
   PLANES
══════════════════════════════════════════════════════════ */
.toggle-billing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.bill-opt {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bill-opt.active { color: var(--text); }

.toggle-switch {
  width: 48px; height: 26px;
  background: var(--purple-dim);
  border: 1px solid rgba(147,51,234,0.3);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
}

.toggle-switch.on .toggle-thumb {
  transform: translateX(22px);
  background: var(--purple);
}

.save-badge {
  padding: 2px 8px;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.plan-card:hover { transform: translateY(-6px); }

.plan-card.featured-plan {
  border-color: rgba(147,51,234,0.45);
  background: rgba(147,51,234,0.06);
  transform: scale(1.03);
  box-shadow: var(--shadow-p);
}

.plan-card.featured-plan:hover { transform: scale(1.03) translateY(-4px); }

.plan-glow {
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,51,234,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.plan-badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--purple-mid), var(--blue));
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.4px;
}

.plan-top { margin-bottom: 24px; }

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.plan-price {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  margin-bottom: 10px;
}

.price-currency {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--text-muted);
}

.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 52px;
  font-weight: 200;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 30px;
  margin-left: 4px;
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text);
}

.feat:last-child { border-bottom: none; }

.feat.no {
  color: rgba(138,138,174,0.45);
  text-decoration: line-through;
}

.feat::before {
  content: '✓';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.25);
  color: var(--success);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.feat.no::before {
  content: '✕';
  background: rgba(148,163,184,0.06);
  border-color: rgba(148,163,184,0.1);
  color: rgba(148,163,184,0.3);
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  margin-top: auto;
}

.plan-btn.primary {
  background: linear-gradient(135deg, var(--purple-mid), var(--blue));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

.plan-btn.primary:hover {
  box-shadow: 0 8px 30px rgba(124,58,237,0.55);
  transform: translateY(-2px);
}

.plan-btn.outline {
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.plan-btn.outline:hover {
  border-color: var(--purple);
  color: var(--text);
  background: var(--purple-dim);
}

/* ══════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════ */
.cta-band {
  padding: 100px 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(147,51,234,0.1), rgba(0,200,255,0.05));
  border-top: 1px solid rgba(147,51,234,0.15);
  border-bottom: 1px solid rgba(147,51,234,0.15);
}

.cta-orb {
  position: absolute;
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,51,234,0.18), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ══════════════════════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════════════════════ */
.contacto { background: var(--bg2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item span {
  font-size: 14px;
  color: var(--text-muted);
}

/* Contact form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(147,51,234,0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(138,138,174,0.5); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(147,51,234,0.18);
}

.form-field select option { background: #0C0C24; }

.form-success {
  display: none;
  text-align: center;
  padding: 12px;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: 10px;
  color: var(--success);
  font-size: 14px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  padding: 64px 28px 0;
  border-top: 1px solid rgba(147,51,234,0.12);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-brand p {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 8px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col strong {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 1160px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   LOGIN PAGE
══════════════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.login-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 920px;
  min-height: 580px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), var(--shadow-p);
  animation: fadeSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

/* Left panel */
.login-left {
  background: linear-gradient(135deg, rgba(147,51,234,0.25), rgba(27,62,176,0.2));
  border: 1px solid rgba(147,51,234,0.3);
  border-right: none;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 40% 60%, rgba(147,51,234,0.18), transparent 50%);
  pointer-events: none;
}

.login-left-logo {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

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

.login-left-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.login-left-content p {
  font-size: 15px;
  color: rgba(240,239,255,0.7);
  line-height: 1.65;
}

.login-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.login-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(240,239,255,0.75);
}

.login-perk::before {
  content: '✓';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.3);
  color: var(--success);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Right panel */
.login-right {
  background: rgba(12,12,36,0.95);
  border: 1px solid rgba(147,51,234,0.2);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(20px);
}

.login-form-title {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.login-form-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.login-form .form-field { gap: 7px; }

.login-form .form-field input {
  background: rgba(255,255,255,0.05);
}

.login-forgot {
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: -10px;
}

.login-forgot a {
  color: #C4B5FD;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-error {
  padding: 11px 16px;
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.25);
  border-radius: 10px;
  color: #FCA5A5;
  font-size: 13.5px;
  display: none;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  margin: 4px 0;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.login-register {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

.login-register a { color: #C4B5FD; }

/* ══════════════════════════════════════════════════════════
   DASHBOARD (PHP)
══════════════════════════════════════════════════════════ */
.dash-root {
  display: flex;
  min-height: 100vh;
}

.dash-sidebar {
  width: 248px;
  min-height: 100vh;
  background: rgba(12,12,36,0.9);
  border-right: 1px solid rgba(147,51,234,0.15);
  padding: 28px 16px;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  z-index: 150;
  transform: translateX(-100%);
}

.dash-sidebar.open {
  transform: translateX(0) !important;
}

.dash-sidebar-logo {
  padding: 0 12px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 20px;
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
  margin-bottom: 4px;
  border: 1px solid transparent;
}

.dash-nav a:hover {
  background: rgba(147,51,234,0.1);
  color: var(--text);
}

.dash-nav a.active {
  background: linear-gradient(135deg, rgba(147,51,234,0.2), rgba(0,200,255,0.07));
  border-color: rgba(147,51,234,0.3);
  color: #C4B5FD;
}

.dash-nav-icon { font-size: 16px; width: 20px; text-align: center; }

.dash-sidebar-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.dash-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  margin-bottom: 8px;
}

.dash-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.dash-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  text-align: left;
}

.dash-logout:hover { background: rgba(248,113,113,0.08); color: #FCA5A5; }

.dash-main {
  margin-left: 248px;
  flex: 1;
  padding: 40px 44px;
  min-height: 100vh;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.dash-page-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.dash-badges { display: flex; gap: 10px; }

.dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.badge-online  { background: rgba(52,211,153,0.1);  border: 1px solid rgba(52,211,153,0.3);  color: var(--success); }
.badge-plan    { background: var(--purple-dim);       border: 1px solid rgba(147,51,234,0.3); color: #C4B5FD; }
.badge-payu    { background: rgba(255,165,0,0.1);    border: 1px solid rgba(255,165,0,0.25); color: #FCD34D; }

/* Stats grid */
.dash-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 24px; }
.dash-grid-2 { display: grid; grid-template-columns: 1fr 1fr;      gap: 20px; margin-bottom: 24px; }

.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  transition: border-color var(--transition), background var(--transition);
}

.dash-card:hover {
  border-color: rgba(147,51,234,0.32);
  background: var(--surface-h);
}

.dash-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dash-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
}

.dash-stat-sub { font-size: 13px; color: var(--text-muted); }

.dash-progress-track {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 14px;
}

.dash-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
}

/* Table */
.dash-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dash-table th {
  text-align: left;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-table td { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: rgba(147,51,234,0.04); }

/* Plans dashboard */
.dash-plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 24px; }

.dash-plan-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.dash-plan-card:hover { transform: translateY(-4px); }
.dash-plan-card.current { border-color: rgba(147,51,234,0.4); }

.dash-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.dash-section-sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 22px; }

/* Payment card preview */
.pay-card-preview {
  background: linear-gradient(135deg, rgba(147,51,234,0.45), rgba(0,200,255,0.3));
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(147,51,234,0.3);
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pay-card-preview::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(0,200,255,0.18);
  filter: blur(40px);
}

/* Toggle */
.dash-toggle-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dash-toggle-row:last-child { border-bottom: none; }

.nx-toggle {
  width: 44px; height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  outline: none;
}
.nx-toggle.on { background: var(--purple-mid); }
.nx-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.nx-toggle.on::after { transform: translateX(20px); }

/* ── Fade in animation ─────────────────────────────────── */
.fade-in {
  animation: fadeSlideUp 0.45s ease both;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .planes-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan-card.featured-plan { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .dash-grid-3 { grid-template-columns: 1fr 1fr; }
  .dash-plans-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(6,6,22,0.95); flex-direction: column; padding: 16px 28px;
    border-bottom: 1px solid var(--border); backdrop-filter: blur(20px); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 100px; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .login-split { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .dash-sidebar { display: none; }
  .dash-main { margin-left: 0; padding: 24px 20px; }
  .dash-grid-3 { grid-template-columns: 1fr; }
  .dash-grid-2 { grid-template-columns: 1fr; }
  .stat-item { padding: 0 16px; }
  .hero-stats { flex-wrap: wrap; gap: 8px; padding: 16px 20px; }
}

.renewal-block {
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(147,51,234,0.15);
    border-radius: var(--radius-sm);
    padding: 9px 13px;
    margin: 10px 0 14px;
    font-size: 13px;
    animation: fadeSlideUp 0.3s ease;
  }
  .renewal-icon  { color: var(--purple); font-size: 13px; flex-shrink: 0; }
  .renewal-text  { color: var(--text-muted); }
  .renewal-label { color: var(--text); font-weight: 600; }
 
  .plan-btn { display: flex !important; align-items: center; justify-content: center; gap: 8px; }
  .plan-btn .fa-whatsapp { font-size: 16px; }

  