/* Packages */
.packages .cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.packages .card { padding: 24px; }
.packages .plan-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.packages .price { font-weight: 800; font-family: 'Orbitron', sans-serif; color: var(--neon); text-shadow: 0 0 10px rgba(49,255,166,.4); }
.packages .price span { font-size: 14px; opacity: .8; margin-right: 4px; }
/* =============================
   NexusWeb - Neon Futurista Pro
   ============================= */
:root {
  --bg: #0a0b10;
  --bg-2: #0f111a;
  --text: #e6f1ff;
  --muted: #9aa8bd;
  --primary: #00e5ff;
  --accent: #9d4edd;
  --neon: #31ffa6;
  --danger: #ff3b6b;
  --glass: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.5);
  --container: 1200px;
  --nav-h: 70px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1000px 600px at 20% -10%, rgba(0,229,255,0.15), transparent 60%),
              radial-gradient(800px 500px at 110% 10%, rgba(157,78,221,0.15), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg-2));
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilidades */
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.hero, .section { scroll-margin-top: var(--nav-h); }
.section-title { font-family: 'Orbitron', sans-serif; font-weight: 800; letter-spacing: .5px; font-size: clamp(28px, 5vw, 40px); margin: 0 0 8px; }
.section-subtitle { color: var(--muted); margin: 0 0 32px; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; border: 1px solid var(--border); color: var(--bg); background: linear-gradient(180deg, var(--primary), #00b8d4); text-decoration: none; font-weight: 700; box-shadow: 0 8px 30px rgba(0,229,255,.25); transition: transform .15s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,229,255,.35); }
.btn:active { transform: translateY(0); }
.btn-ghost { color: var(--text); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid var(--border); box-shadow: none; }
.btn-sm { padding: 10px 14px; font-size: 14px; border-radius: 10px; }

/* Partículas */
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* Cursor personalizado */
.cursor, .cursor-follower { position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; z-index: 9999; }
.cursor { width: 6px; height: 6px; background: var(--primary); box-shadow: 0 0 12px var(--primary), 0 0 24px var(--primary); mix-blend-mode: screen; }
.cursor-follower { width: 24px; height: 24px; border: 2px solid rgba(0,229,255,.6); filter: drop-shadow(0 0 8px rgba(0,229,255,.6)); transition: transform .1s ease; transform: translate(-50%, -50%); }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; backdrop-filter: blur(8px); background: linear-gradient(180deg, rgba(10,11,16,0.85), rgba(10,11,16,0.6)); border-bottom: 1px solid var(--border); overflow: visible; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 36px); letter-spacing: .5px; color: var(--text); text-decoration: none; }
.brand span { color: var(--primary); text-shadow: 0 0 10px rgba(0,229,255,.6); }
.brand-logo { display: block; height: 36px; width: auto; object-fit: contain; filter: drop-shadow(0 0 6px rgba(0,0,0,.25)); transform: scale(4); transform-origin: left center; }
.links { display: flex; align-items: center; gap: 18px; }
.links a { color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.links a:hover { background: rgba(255,255,255,0.04); border-color: var(--border); }
.hamburger { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--text); transition: transform .2s ease, opacity .2s ease; }

/* Hero */
.hero { position: relative; z-index: 1; padding: 220px 0 180px; }
.hero-inner { text-align: center; }
.eyebrow { color: var(--neon); text-transform: uppercase; font-weight: 700; letter-spacing: .2em; font-size: 12px; margin-bottom: 12px; text-shadow: 0 0 10px rgba(49,255,166,.6); }
.title { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: clamp(36px, 7vw, 64px); line-height: 1.1; margin: 0 0 32px; }
.subtitle { color: var(--muted); max-width: 820px; margin: 0 auto 48px; }
.cta { display: flex; gap: 16px; justify-content: center; margin: 16px 0 40px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 48px; }
.metric { background: var(--glass); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.metric strong { font-size: 28px; color: var(--neon); text-shadow: 0 0 10px rgba(49,255,166,.5); }
.metric span { display: block; color: var(--muted); font-size: 13px; }

/* Glitch effect */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; overflow: hidden; color: var(--text); }
.glitch::before { left: 2px; text-shadow: -2px 0 var(--primary); animation: glitchTop 2.5s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: 2px 0 var(--accent); animation: glitchBottom 3s infinite linear alternate-reverse; }
@keyframes glitchTop { 0% { clip-path: inset(0 0 85% 0); } 20% { clip-path: inset(0 0 70% 0); } 40% { clip-path: inset(0 0 60% 0); } 60% { clip-path: inset(0 0 75% 0); } 80% { clip-path: inset(0 0 65% 0); } 100% { clip-path: inset(0 0 80% 0); } }
@keyframes glitchBottom { 0% { clip-path: inset(85% 0 0 0); } 20% { clip-path: inset(70% 0 0 0); } 40% { clip-path: inset(60% 0 0 0); } 60% { clip-path: inset(75% 0 0 0); } 80% { clip-path: inset(65% 0 0 0); } 100% { clip-path: inset(80% 0 0 0); } }

/* Services */
.services .cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: -2px; background: radial-gradient(300px 120px at var(--mx, 50%) var(--my, 50%), rgba(0,229,255,.15), transparent 60%); pointer-events: none; transition: background .2s ease; }
.card .icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(180deg, rgba(0,229,255,.2), rgba(0,229,255,.05)); border: 1px solid var(--primary); color: var(--primary); box-shadow: 0 10px 30px rgba(0,229,255,.25); margin-bottom: 12px; }
.card h3 { margin: 6px 0 8px; font-size: 20px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.card li { margin: 6px 0; }

/* Portfolio */
.portfolio .grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.work { display: block; text-decoration: none; color: inherit; }
.work-inner { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: #0a0a0a; box-shadow: var(--shadow); }
.work-inner img { width: 100%; height: 240px; object-fit: cover; filter: saturate(1.1) contrast(1.05); transition: transform .6s ease; display: block; }
.work-meta { position: absolute; inset: auto 0 0 0; padding: 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.65)); }
.work-meta h3 { margin: 0 0 4px; font-size: 18px; }
.work:hover img { transform: scale(1.06); }

/* Reviews */
.reviews .cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.reviews .cards { transition: opacity .5s ease; }
.reviews .cards.is-fading { opacity: 0; }
.review { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.review { transition: transform .4s ease, opacity .4s ease; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.review-author { font-weight: 700; }
.review-stars { color: #ffcc00; }
.review-text { color: var(--muted); margin: 8px 0 0; }

/* CTA Band */
.cta-band { padding: 40px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(90deg, rgba(157,78,221,.2), rgba(0,229,255,.2)); border: 1px solid var(--border); border-radius: 16px; padding: 22px 28px; box-shadow: var(--shadow); }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.bullets { list-style: none; padding: 0; margin: 18px 0 0; color: var(--muted); }
.bullets li { margin: 10px 0; }
.bullets i { color: var(--neon); margin-right: 8px; text-shadow: 0 0 8px rgba(49,255,166,.6); }
.contact-form { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--muted); font-size: 14px; }
input, select, textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(0,0,0,.35); color: var(--text); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,229,255,.15); }
.form-status { margin-top: 10px; font-size: 14px; color: var(--neon); min-height: 20px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 22px 0; background: rgba(0,0,0,.2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer .brand { color: var(--muted); }
.footer .brand span { color: var(--primary); }
.socials { display: flex; gap: 12px; }
.socials a { color: var(--muted); background: rgba(255,255,255,.06); border: 1px solid var(--border); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.socials a:hover { color: var(--text); border-color: var(--primary); box-shadow: 0 0 18px rgba(0,229,255,.25); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #0a0b10;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37,211,102,.35);
  border: 1px solid rgba(255,255,255,.18);
  z-index: 60;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.whatsapp-float i { font-size: 26px; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 36px rgba(37,211,102,.5); filter: brightness(1.05); }
.whatsapp-float:active { transform: translateY(0) scale(0.98); }

/* Responsive */
@media (max-width: 1024px) {
  .services .cards, .portfolio .grid, .packages .cards, .reviews .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-inner { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; gap: 10px; }
}
@media (max-width: 700px) {
  .links { display: none; }
  .hamburger { display: block; }
  .brand-logo { height: 32px; transform: scale(3.6); }
  .metrics { grid-template-columns: 1fr; }
  .services .cards, .portfolio .grid, .packages .cards, .reviews .cards { grid-template-columns: 1fr; }
}

/* Mobile menu */
@media (max-width: 700px) {
  .navbar.open .links { display: grid; position: absolute; top: 58px; left: 0; right: 0; background: rgba(10,11,16,.95); border-bottom: 1px solid var(--border); padding: 12px; gap: 6px; }
  .navbar.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar.open .hamburger span:nth-child(2) { opacity: 0; }
  .navbar.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
