:root {
  --bg: #030712;
  --panel: rgba(8, 14, 26, 0.7);
  --border: rgba(0, 255, 179, 0.35);
  --green: #41ffb1;
  --blue: #35a8ff;
  --white: #e9f7ff;
  --muted: #9fb3c8;
  --shadow: 0 0 30px rgba(0, 255, 179, 0.25), 0 0 60px rgba(53, 168, 255, 0.2);
  --radius: 16px;
  --glass: blur(14px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(65, 255, 177, 0.08), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(53, 168, 255, 0.12), transparent 25%),
              var(--bg);
  color: var(--white);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding-top: 130px;
}

a { color: inherit; text-decoration: none; }

.background-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.glow-blob {
  position: fixed;
  filter: blur(120px);
  opacity: 0.5;
  z-index: 0;
  animation: float 12s ease-in-out infinite alternate;
}

.blob-a { width: 520px; height: 520px; background: rgba(65, 255, 177, 0.22); top: -80px; left: -120px; }
.blob-b { width: 480px; height: 480px; background: rgba(53, 168, 255, 0.24); bottom: -120px; right: -100px; animation-duration: 14s; }

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}

.topbar {
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 27px 5vw;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(65, 255, 177, 0.25);
  left: 0;
  right: 0;
}
.logo { width: 200px; height: 130px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(65, 255, 177, 0.6)); }
.brand-title { font-weight: 700; letter-spacing: 0.5px; }
.brand-sub { font-size: 12px; color: var(--muted); }

.logo-wrap {
  position: absolute;
  left: 5vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.nav { display: flex; align-items: center; gap: 18px; padding-left: 220px; }
.nav-links { list-style: none; display: flex; gap: 16px; padding: 0; margin: 0; align-items: center; }
.nav a { padding: 10px 14px; border-radius: 999px; color: var(--muted); transition: 0.25s ease; border: 1px solid transparent; }
.nav a:hover, .nav a.active { color: var(--white); border-color: rgba(53,168,255,0.35); box-shadow: 0 0 12px rgba(53,168,255,0.45); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 26px; height: 2px; background: var(--white); box-shadow: 0 0 8px rgba(65, 255, 177, 0.6); }

main { position: relative; z-index: 1; padding: 10px 5vw 80px; flex: 1; }

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: center; padding: 60px 0; }
.hero h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.1; margin: 12px 0 16px; }
.hero .lede { max-width: 720px; color: var(--muted); margin-bottom: 24px; }

.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--blue); font-family: 'Share Tech Mono', monospace; }
.glow-text { color: var(--green); text-shadow: var(--shadow); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid rgba(53,168,255,0.4);
  color: var(--white);
  cursor: pointer;
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(65,255,177,0.2), rgba(53,168,255,0.2));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn:hover::after { opacity: 1; }
.btn.primary { background: linear-gradient(120deg, rgba(65,255,177,0.22), rgba(53,168,255,0.35)); box-shadow: var(--shadow); border-color: rgba(65,255,177,0.4); }
.btn.ghost { background: rgba(255,255,255,0.02); }
.btn.full { width: 100%; }
.btn.sent { background: linear-gradient(120deg, rgba(65,255,177,0.35), rgba(53,168,255,0.45)); }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 14px; }
.metric-number { display: block; font-size: 32px; font-weight: 700; color: var(--green); }
.metric-label { color: var(--muted); font-size: 14px; }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-image { width: 100%; max-width: 400px; height: auto; border-radius: 16px; box-shadow: 0 0 30px rgba(65, 255, 177, 0.25), 0 0 60px rgba(53, 168, 255, 0.2); }
.orbit { position: relative; width: 260px; height: 260px; display: grid; place-items: center; }
.core-glow { width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(65,255,177,0.85), rgba(53,168,255,0.4)); box-shadow: 0 0 30px rgba(65,255,177,0.6), 0 0 80px rgba(53,168,255,0.4); animation: pulse 3.5s ease-in-out infinite; }
.ring { position: absolute; border: 1px dashed rgba(255,255,255,0.25); border-radius: 50%; animation: spin 18s linear infinite; }
.ring-1 { width: 190px; height: 190px; }
.ring-2 { width: 230px; height: 230px; animation-duration: 22s; }
.ring-3 { width: 260px; height: 260px; animation-duration: 28s; border-style: solid; opacity: 0.4; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(0.96); opacity: 0.9; } 50% { transform: scale(1.03); opacity: 1; } }

.panel { margin-top: 20px; width: min(320px, 90vw); background: var(--panel); border: 1px solid rgba(65,255,177,0.3); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); backdrop-filter: var(--glass); }
.panel-title { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.pulse-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.pulse-row:first-of-type { border-top: none; }
.pulse { color: var(--green); font-weight: 700; }
.chip { background: rgba(53,168,255,0.15); color: var(--white); padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(53,168,255,0.35); font-size: 12px; }

.section { padding: 60px 0; position: relative; }
.section.alt { background: rgba(255,255,255,0.02); border: 1px solid rgba(65,255,177,0.12); border-radius: 20px; padding: 50px 4vw; box-shadow: 0 0 40px rgba(0,0,0,0.35); }
.section-header { margin-bottom: 28px; max-width: 760px; }
.section-header h2 { margin: 8px 0; font-size: clamp(28px, 3vw, 40px); }
.section-lede { color: var(--muted); max-width: 640px; }

.spot { padding: 40px 0 10px; }
.spot-head { margin-bottom: 18px; max-width: 820px; }
.spot-head h2 { margin: 8px 0; font-size: clamp(26px, 3vw, 38px); }
.spot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.spot-grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.spot-card { position: relative; overflow: hidden; }
.stat-row { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.stat { font-weight: 800; letter-spacing: 0.2px; color: var(--white); }
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

.viz { padding: 20px 0 0; }
.viz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.chart-card { position: relative; overflow: hidden; }
.chart-title { margin: 0 0 10px; font-size: 16px; }
.compare { display: grid; gap: 8px; margin-top: 10px; }
.compare-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); }
.compare-row strong { font-size: 18px; }
.tag { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.save-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 999px; border: 1px solid rgba(65,255,177,0.35); background: rgba(65,255,177,0.10); color: var(--white); font-weight: 700; }
.save-pill .pct { color: var(--green); }

.donut { width: 170px; height: 170px; display: grid; place-items: center; margin: 8px auto 0; }
.donut svg { width: 170px; height: 170px; transform: rotate(-90deg); }
.donut .bg { stroke: rgba(255,255,255,0.10); }
.donut .fg { stroke: var(--green); filter: drop-shadow(0 0 10px rgba(65,255,177,0.45)); stroke-linecap: round; animation: draw 1.2s ease-out both; }
.donut text { font-family: 'Share Tech Mono', monospace; fill: var(--white); font-size: 16px; transform: rotate(90deg); transform-origin: 50% 50%; }

@keyframes draw {
  from { stroke-dashoffset: var(--dash); }
  to { stroke-dashoffset: var(--offset); }
}

.bars { display: grid; gap: 10px; margin-top: 6px; }
.bar { display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; gap: 10px; }
.bar .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.bar .value { text-align: right; font-weight: 800; }
.bar .track { height: 12px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.bar .fill { height: 100%; width: var(--w); background: linear-gradient(90deg, rgba(65,255,177,0.95), rgba(65,255,177,0.35)); box-shadow: 0 0 16px rgba(65,255,177,0.85); border-radius: 999px; animation: grow 1.1s ease-out both; }

@keyframes grow {
  from { transform: scaleX(0.12); transform-origin: 0 50%; }
  to { transform: scaleX(1); transform-origin: 0 50%; }
}

.page-comunidades .donut .fg { stroke: var(--blue); filter: drop-shadow(0 0 10px rgba(53,168,255,0.45)); }
.page-empresas .bar .fill { background: linear-gradient(90deg, rgba(65,255,177,0.95), rgba(65,255,177,0.35)); }

@keyframes shimmer {
  0% { transform: translateX(-30%) skewX(-12deg); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateX(140%) skewX(-12deg); opacity: 0; }
}

@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.page-inicio .spot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(53,168,255,0.16), transparent 55%);
  pointer-events: none;
}
.page-inicio .spot-card::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -40%;
  width: 40%;
  height: 140%;
  background: linear-gradient(120deg, transparent, rgba(65,255,177,0.18), transparent);
  animation: shimmer 4.2s ease-in-out infinite;
  pointer-events: none;
}

.page-hogar .spot-card { border-color: rgba(65,255,177,0.45); }
.page-hogar .spot-card:hover { transform: translateY(-2px); }
.page-hogar .spot-card { animation: bob 4.6s ease-in-out infinite alternate; }

.page-comunidades .spot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent 55%);
  pointer-events: none;
}
.page-comunidades .spot-card { border-style: dashed; border-color: rgba(53,168,255,0.35); }

.page-empresas .spot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(65,255,177,0.12), transparent 55%);
  pointer-events: none;
}
.page-empresas .spot-card { border-color: rgba(53,168,255,0.35); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass);
}
.card h3 { margin-top: 4px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0 0 10px; }
.card ul { padding-left: 18px; margin: 8px 0 0; color: var(--muted); }
.card ul li { margin-bottom: 6px; }
.card.highlight { border-color: rgba(65,255,177,0.55); box-shadow: 0 0 30px rgba(65,255,177,0.25); }

.badges, .chips, .contact-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { background: rgba(65,255,177,0.12); color: var(--green); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(65,255,177,0.4); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.chips .chip { background: rgba(53,168,255,0.12); border-color: rgba(53,168,255,0.4); }

.progress { background: rgba(255,255,255,0.05); border-radius: 999px; height: 10px; overflow: hidden; border: 1px solid rgba(65,255,177,0.3); margin-top: 10px; }
.progress-bar { height: 100%; background: linear-gradient(90deg, rgba(65,255,177,0.95), rgba(65,255,177,0.35)); box-shadow: 0 0 16px rgba(65,255,177,0.85); }
.hint { color: var(--muted); font-size: 13px; }

.timeline .steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 14px 12px; border: 1px dashed rgba(255,255,255,0.1); border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.step-number { font-family: 'Share Tech Mono', monospace; color: var(--blue); font-size: 18px; }

.contact { margin-top: 20px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 600px; margin: 0 auto; }
.form label { display: grid; gap: 6px; margin-bottom: 12px; font-weight: 600; }
.checkbox-label { display: flex !important; align-items: flex-start; gap: 8px; font-weight: 400 !important; font-size: 14px; line-height: 1.4; }
.checkbox-label input[type="checkbox"] { margin: 0; width: auto; }
.link { color: var(--green); text-decoration: underline; }
.link:hover { color: var(--blue); }
input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(65,255,177,0.3);
  border-radius: 12px;
  padding: 12px 12px;
  color: var(--white);
  font-family: inherit;
  transition: 0.2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(53,168,255,0.55); box-shadow: 0 0 10px rgba(53,168,255,0.35); }
textarea { resize: vertical; }

.footer {
  padding: 8px 5vw;
  border-top: 1px solid rgba(65,255,177,0.2);
  color: var(--muted);
  background: rgba(3,7,18,0.8);
  backdrop-filter: blur(12px);
  margin-top: auto;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
}
.footer-section {
  flex: 1;
}
.footer-section:first-child {
  text-align: left;
}
.footer-section:last-child {
  text-align: right;
}
.footer-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(65, 255, 177, 0.6));
  opacity: 0.8;
}
.footer-section h4 {
  color: var(--white);
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}
.footer-section p {
  margin: 2px 0;
  line-height: 1.3;
  font-size: 13px;
}
.copyright {
  font-size: 12px;
  margin-top: 6px !important;
  opacity: 0.8;
}
.footer a { color: var(--green); font-weight: 600; text-decoration: none; }
.footer a:hover { color: var(--blue); }

@media (max-width: 900px) {
  .nav-links { position: absolute; top: 70px; right: 5vw; flex-direction: column; background: rgba(3,7,18,0.9); padding: 14px; border-radius: 12px; border: 1px solid rgba(65,255,177,0.25); display: none; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }
}

@media (max-width: 640px) {
  .topbar { padding: 12px 16px; }
  main { padding: 20px 16px 60px; }
  .hero { padding-top: 20px; }
  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-section:first-child,
  .footer-section:last-child {
    text-align: center;
  }
}
