@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --black: #020408;
  --dark: #080d14;
  --card: #0c1420;
  --border: rgba(255,255,255,0.07);
  --accent: #00e5ff;
  --accent2: #7b61ff;
  --accent3: #00ff94;
  --text: #e8edf5;
  --muted: #6b7a93;
  --white: #ffffff;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ── CURSOR ── */
.cursor {
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.1s;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,229,255,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: all 0.15s ease;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(2,4,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white); text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 400;
  color: var(--muted); text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after { content: '▾'; font-size: 0.7rem; }
.dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  min-width: 220px;
  opacity: 0; pointer-events: none;
  transition: all 0.25s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem; color: var(--muted);
  transition: all 0.2s;
}
.dropdown-menu a:hover { background: rgba(255,255,255,0.04); color: var(--white); }
.dropdown-menu a span { font-size: 1rem; }

.nav-cta {
  padding: 10px 22px;
  background: var(--accent);
  color: var(--black) !important;
  font-weight: 600 !important;
  border-radius: 6px;
  font-size: 0.85rem !important;
  transition: all 0.3s !important;
}
.nav-cta:hover { background: white !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 160px 5% 100px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(0,229,255,0.05) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 80%, rgba(123,97,255,0.04) 0%, transparent 60%);
}
.grid-overlay {
  position: absolute; inset: 0; z-index: 0; opacity: 0.25;
  background-image: linear-gradient(rgba(0,229,255,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,229,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }

/* ── SECTION SHARED ── */
section { padding: 90px 5%; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  margin-bottom: 14px;
}
.section-tag::before { content: ''; display: block; width: 20px; height: 1px; background: var(--accent); }

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--white); line-height: 1.1; margin-bottom: 14px;
}
.section-sub {
  color: var(--muted); font-size: 1rem;
  line-height: 1.7; font-weight: 300; max-width: 520px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  background: var(--accent); color: var(--black);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.9rem;
  border-radius: 8px; text-decoration: none; border: none; cursor: none;
  transition: all 0.3s; box-shadow: 0 0 24px rgba(0,229,255,0.2);
}
.btn-primary:hover { background: white; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,229,255,0.3); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; background: transparent; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 0.9rem;
  border-radius: 8px; text-decoration: none; border: 1px solid var(--border); cursor: none;
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }

/* ── CARDS ── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: rgba(0,229,255,0.15); transform: translateY(-4px); }

/* ── BADGE ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 500;
  color: var(--accent); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(1.4);} }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 5% 28px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 44px;
}
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; font-weight: 300; margin-top: 12px; }
.footer-col h5 {
  font-family: 'Syne', sans-serif; font-size: 0.8rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: var(--muted); text-decoration: none; font-weight: 300; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.78rem; color: var(--muted); font-weight: 300; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px; border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: all 0.3s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ── WHATSAPP BUTTON ── */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
  animation: waBounce 2s ease-in-out 3s infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: white; }
@keyframes waBounce { 0%,100%{transform:scale(1);} 50%{transform:scale(1.08);} }
.wa-tooltip {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-size: 0.78rem; font-weight: 500;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.whatsapp-btn:hover .wa-tooltip { opacity: 1; }

/* ── LIVE CHAT ── */
.livechat-btn {
  position: fixed; bottom: 92px; right: 28px; z-index: 500;
  width: 54px; height: 54px;
  background: var(--accent2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(123,97,255,0.4);
  transition: all 0.3s;
  border: none;
}
.livechat-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(123,97,255,0.6); }
.livechat-btn svg { width: 24px; height: 24px; fill: white; }
.chat-badge {
  position: absolute; top: -2px; right: -2px;
  width: 14px; height: 14px; background: #ff4d6d;
  border-radius: 50%; border: 2px solid var(--black);
  animation: pulse 2s infinite;
}
.chat-window {
  position: fixed; bottom: 160px; right: 28px; z-index: 500;
  width: 320px; background: var(--card);
  border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: none; flex-direction: column;
  animation: chatIn 0.3s ease;
}
.chat-window.open { display: flex; }
@keyframes chatIn { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
.chat-header {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  padding: 16px 18px;
  display: flex; align-items: center; gap: 10px;
}
.chat-avatar {
  width: 36px; height: 36px; background: rgba(255,255,255,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.chat-header-info h4 { font-family: 'Syne',sans-serif; font-size: 0.9rem; font-weight: 700; color: white; }
.chat-header-info p { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.chat-online { width: 8px; height: 8px; background: var(--accent3); border-radius: 50%; }
.chat-close { margin-left: auto; background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; line-height: 1; }
.chat-messages { padding: 16px; flex: 1; min-height: 150px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem; line-height: 1.5;
}
.chat-msg.bot { background: rgba(255,255,255,0.06); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--accent2); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input-row {
  display: flex; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 12px;
  color: var(--text); font-family: 'DM Sans',sans-serif; font-size: 0.82rem;
  outline: none;
}
.chat-input:focus { border-color: var(--accent2); }
.chat-send {
  width: 36px; height: 36px; background: var(--accent2);
  border: none; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.3s; flex-shrink: 0;
}
.chat-send:hover { background: var(--accent); }
.chat-send svg { width: 16px; height: 16px; fill: white; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE NAV ── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--dark); border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 16px 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 5%; width: 100%; }
  .dropdown-menu { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 20px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
