/* ENLAXOS — global.css — Shared styles: variables, reset, nav, footer, buttons */

:root {
  --black: #020204;
  --surface: #080810;
  --surface-2: #0c0c16;
  --border: #12121f;
  --border-hover: #1e1e33;
  --cyan: #00e5ff;
  --cyan-dim: rgba(0,229,255,0.12);
  --cyan-glow: rgba(0,229,255,0.06);
  --white: #f0f0f8;
  --muted: #9090b0;
  --text: #c8c8d8;
  --radius-card: 18px;
  --radius-pill: 999px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
  will-change: transform;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px clamp(24px, 8vw, 160px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2,2,4,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
}

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

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

.logo .x {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0,229,255,0.6);
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  background: var(--cyan);
  border: 1px solid var(--cyan);
  color: #020204 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,2,4,0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--cyan); }
.nav-mobile .nav-mobile-cta {
  font-size: 20px;
  color: #020204;
  background: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 14px 36px;
  border-radius: var(--radius-pill);
}

/* BUTTONS */
.btn-primary {
  background: var(--cyan);
  color: #020204;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-whatsapp {
  background: var(--cyan);
  color: #000;
}
.btn-whatsapp:hover { opacity: 0.88; }

.btn-secondary {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

/* SECTION LABEL */
.section-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  margin-bottom: 24px;
}

/* FLOATING WHATSAPP */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  width: 56px; height: 56px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,229,255,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0,229,255,0.7);
  animation: wa-pulse 2.5s ease-out infinite;
  pointer-events: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(0,229,255,0.5);
}
.wa-float:hover::before { animation: none; }
.wa-float svg { width: 28px; height: 28px; color: #000; }
.wa-float-tooltip {
  position: absolute;
  right: 68px;
  background: var(--surface);
  border: 1px solid rgba(0,229,255,0.2);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 56px clamp(24px, 8vw, 160px) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.footer-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
}

.footer-logo .x { color: var(--cyan); }

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-info a, .footer-info span {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-info a:hover { color: var(--cyan); }

.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-socials a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-glow);
}
.footer-socials svg { width: 18px; height: 18px; }

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

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

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* RESPONSIVE — shared */
@media (max-width: 360px) {
  nav { padding: 12px 16px; }
  .logo-img { height: 32px; }
}

@media (max-width: 768px) {
  nav { padding: 12px 24px; backdrop-filter: none; background: rgba(2,2,4,0.97); }
  .nav-links { display: none; }
  .nav-right .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .logo-img { height: 38px; }
  .wa-float { bottom: 24px; right: 20px; }
  body::before { display: none; }
  footer { padding: 40px 24px 24px; gap: 24px; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
  .footer-info { align-items: center; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
}
