/* JAML CODE — estilos compartidos de artículos del blog */

:root {
  --bg: #080c10; --surface: #0e1520; --accent: #00e5ff;
  --accent2: #7b61ff; --accent3: #ff4d6d;
  --text: #e8edf5; --muted: #6a7a92;
  --border: rgba(0,229,255,0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body { background: transparent; color: var(--text); font-family: 'DM Sans', sans-serif; font-weight: 300; overflow-x: hidden; min-height: 100vh; }
body::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}
#universe { position: fixed; inset: 0; z-index: -1; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5vw;
  background: rgba(8,12,16,0.85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav ul a { text-decoration: none; color: var(--muted); font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
nav ul a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #000; border: none; padding: 0.6rem 1.4rem;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
  transition: background 0.2s, transform 0.15s; text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: #fff; transform: scale(1.03); }
@media(max-width:768px){ nav ul { display: none; } }

/* ARTICLE LAYOUT */
.article-wrap {
  max-width: 760px; margin: 0 auto;
  padding: 9rem 5vw 6rem;
  position: relative; z-index: 1;
}

/* BREADCRUMB */
.breadcrumb {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0.1em; margin-bottom: 2.5rem;
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ARTICLE HEADER */
.article-cat {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 1rem; display: block;
}
.article-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1;
  margin-bottom: 1.5rem;
}
.article-title span { color: var(--accent); }
.article-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 2.5rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--muted);
}
.meta-item { display: flex; align-items: center; gap: 0.4rem; }

/* ARTICLE CONTENT */
.article-body { line-height: 1.8; font-size: 1rem; }
.article-body p { margin-bottom: 1.5rem; color: #c8d4e4; }
.article-body h2 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.5rem; margin: 2.5rem 0 1rem;
  color: var(--text);
}
.article-body h2::before {
  content: '// '; color: var(--accent); font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
}
.article-body h3 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.15rem; margin: 2rem 0 0.8rem;
  color: var(--text);
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem; margin-bottom: 1.5rem; color: #c8d4e4;
}
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body strong { color: var(--text); font-weight: 500; }
.article-body a { color: var(--accent); text-decoration: none; }
.article-body a:hover { text-decoration: underline; }

/* CALLOUT BOX */
.callout {
  background: rgba(0,229,255,0.04); border: 1px solid rgba(0,229,255,0.15);
  border-left: 3px solid var(--accent);
  padding: 1.2rem 1.5rem; margin: 2rem 0; border-radius: 0 4px 4px 0;
}
.callout p { margin-bottom: 0; color: var(--text); }
.callout-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 0.5rem; display: block;
}

/* TABLA */
.price-table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
}
.table-scroll { overflow-x: auto; margin: 1.5rem 0 2rem; }
.table-scroll .price-table { margin: 0; }
.price-table th {
  background: rgba(0,229,255,0.06); padding: 0.75rem 1rem;
  text-align: left; font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.price-table td {
  padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04);
  color: #c8d4e4;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: rgba(255,255,255,0.02); }
.price-highlight { color: var(--accent); font-weight: 500; }

/* DIVIDER */
.article-divider {
  border: none; border-top: 1px solid var(--border); margin: 2.5rem 0;
}

/* CTA BOTTOM */
.article-cta {
  background: var(--surface); border: 1px solid var(--border);
  padding: 2.5rem; margin-top: 3rem; text-align: center;
}
.article-cta .cta-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 1rem; display: block;
}
.article-cta h3 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.6rem; margin-bottom: 0.8rem;
}
.article-cta p { color: var(--muted); margin-bottom: 1.8rem; }
.btn-cta {
  background: var(--accent); color: #000; border: none;
  padding: 0.9rem 2.2rem; font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.88rem; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-cta:hover { background: #fff; transform: translateY(-2px); }

/* BACK LINK */
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--muted); text-decoration: none; font-size: 0.88rem;
  transition: color 0.2s; margin-bottom: 3rem;
  font-family: 'JetBrains Mono', monospace;
}
.back-link:hover { color: var(--accent); }

/* ARTÍCULOS RELACIONADOS */
.related { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.related-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 1.2rem; display: block;
}
.related-links { display: flex; flex-direction: column; gap: 0.7rem; }
.related-links a {
  color: #c8d4e4; text-decoration: none; font-size: 0.95rem;
  transition: color 0.2s; display: flex; gap: 0.6rem; align-items: baseline;
}
.related-links a::before { content: '→'; color: var(--accent); flex-shrink: 0; }
.related-links a:hover { color: var(--accent); }
