:root {
  --bg: #0f1223;
  --card: #161a2f;
  --text: #e6e9f5;
  --muted: #a9b1d6;
  --accent: #6ae1ff;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: linear-gradient(120deg, #0d0f1a 0%, #0f1223 40%, #121638 100%);
  color: var(--text);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(22, 26, 47, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #6ae1ff, #3ab3ff 60%, #1f7bd9 100%);
  box-shadow: 0 0 12px #3ab3ff;
}
.nav-links {
display: flex;
gap: 18px;
}
.nav-links a {
color: var(--text);
text-decoration: none;
padding: 8px 10px;
border-radius: 8px;
}
.nav-links a:hover {
background: rgba(255, 255, 255, 0.06);
}



.container {
max-width: 1100px;
margin: 0 auto;
padding: 28px 20px;
}
.subtitle {
text-align: center;
font-size: 1.6rem;
font-weight: 700;
margin: 26px auto;
}
.subtitle span {
background: linear-gradient(90deg, #6ae1ff, #9b7bff);
-webkit-background-clip: text;
color: transparent;
}

/* Card */
.content-card {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 24px;
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.10);
border-radius: 16px;
padding: 22px;
}
.description h2 {
margin: 0 0 6px;
}
.description p {
color: var(--muted);
line-height: 1.55;
}
.cta {
margin-top: 12px;
display: inline-block;
background: linear-gradient(90deg, #386cff, #6ae1ff);
color: #0b0e1a;
font-weight: 700;
text-decoration: none;
border-radius: 12px;
padding: 10px 14px;
}
.cta:hover {
box-shadow: 0 6px 16px rgba(56,108,255,0.35);
}
.image-wrap img {
width: 100%;
border-radius: 14px;
}

/* Responsivo */
@media (max-width: 860px) {
.content-card {
    grid-template-columns: 1fr;
}
.subtitle { font-size: 1.4rem; }
}

/* Contenedor alternativo (segundo bloque) */
#contenido4 {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Estado visible */
#contenido4.visible {
opacity: 1;
transform: translateY(0);
}

/* Estado oculto */
#contenido4.hidden {
display: none;
}

/* También aplicamos las mismas reglas al primero para que ambos tengan transición */
#contenido3 {
opacity: 1;
transform: translateY(0);
transition: opacity 0.6s ease, transform 0.6s ease;
}

#contenido3.hidden {
display: none;
opacity: 0;
transform: translateY(20px);
}