/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ContactSphere AI — Subpage shared styles
   (importado por /seguridad, /changelog, /roadmap)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #040c1e;
  --s0:       rgba(255,255,255,.03);
  --s1:       rgba(255,255,255,.055);
  --s2:       rgba(255,255,255,.09);
  --cyan:     #00c8ff;
  --cyan-dim: rgba(0,200,255,.12);
  --pink:     #d946ef;
  --pink-dim: rgba(217,70,239,.12);
  --blue:     #2563eb;
  --green:    #10b981;
  --green-dim:rgba(16,185,129,.15);
  --amber:    #f59e0b;
  --amber-dim:rgba(245,158,11,.15);
  --white:    #eef4ff;
  --muted:    #6b7fa3;
  --muted2:   #4a5a7a;
  --border:   rgba(255,255,255,.065);
  --cborder:  rgba(0,200,255,.22);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 30px 30px;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
}

a { text-decoration: none; color: inherit; }
img { display: block; }

/* ── NAV (idéntico al landing) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  padding: 0 24px;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
nav.hidden { transform: translateY(-110%); }
.nav-wrap {
  max-width: 1180px; margin: 12px auto 0;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 60px;
}
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-ctas { display: flex; align-items: center; gap: 10px; }
.btn-nav-ghost {
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: 8px; border: none; background: none;
  cursor: pointer; transition: color .2s, background .2s;
}
.btn-nav-ghost:hover { color: var(--white); background: var(--s1); }
.btn-nav-cta {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: #fff; font-size: 14px; font-weight: 700;
  padding: 8px 20px; border-radius: 8px; border: none; cursor: pointer;
  box-shadow: 0 0 20px rgba(0,200,255,.25), 0 2px 8px rgba(0,0,0,.3);
  transition: transform .2s, box-shadow .2s;
}
.btn-nav-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 32px rgba(0,200,255,.4), 0 4px 16px rgba(0,0,0,.4);
}
@media(max-width:768px) { .nav-links { display: none; } }

/* ── PAGE HEADER ── */
.page-head {
  max-width: 880px;
  margin: 0 auto;
  padding: 140px 24px 40px;
  position: relative; z-index: 1;
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,200,255,.08); border: 1px solid rgba(0,200,255,.25);
  color: var(--cyan); font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 22px;
}
.page-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
}
.page-head h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; margin-bottom: 18px;
}
.page-head .lede {
  font-size: 18px; color: var(--muted); max-width: 640px;
}
.grad-cyan-pink {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--pink) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── PAGE BODY ── */
.page-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 24px 100px;
  position: relative; z-index: 1;
}

/* ── Cards & sections ── */
.card {
  background: var(--s0);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  margin-bottom: 18px;
}
.card h2 {
  font-size: 22px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.card h2 .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--cyan-dim);
  color: var(--cyan);
}
.card h3 { font-size: 16px; margin: 18px 0 8px; color: var(--white); }
.card p { color: var(--muted); margin-bottom: 10px; }
.card ul { padding-left: 0; list-style: none; }
.card li {
  color: var(--muted); padding: 6px 0 6px 26px; position: relative;
}
.card li::before {
  content: '✓'; color: var(--cyan); font-weight: 700;
  position: absolute; left: 0; top: 6px;
}
.card .ko::before { content: '✗'; color: var(--muted2); }
.card a { color: var(--cyan); border-bottom: 1px solid rgba(0,200,255,.3); }
.card a:hover { color: var(--white); border-bottom-color: var(--cyan); }
.card code {
  background: rgba(0,200,255,.08); color: var(--cyan);
  padding: 2px 6px; border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
}

.section-title {
  font-size: 13px; color: var(--muted2); text-transform: uppercase;
  letter-spacing: .14em; margin: 32px 0 14px;
  font-weight: 700;
}

/* ── Pill / badge ── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
}
.pill-cyan  { background: var(--cyan-dim);  color: var(--cyan); }
.pill-green { background: var(--green-dim); color: var(--green); }
.pill-amber { background: var(--amber-dim); color: var(--amber); }
.pill-pink  { background: var(--pink-dim);  color: var(--pink); }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.18);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
@media(max-width:768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
.footer-brand p { color: var(--muted); font-size: 14px; margin: 12px 0; max-width: 320px; }
.footer-brand img { height: 30px; opacity: .8; }
.footer-valtic { margin-top: 14px; opacity: .55; }
.footer-valtic img { height: 24px; }
.footer-col h4 {
  font-size: 12px; color: var(--white); text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 14px; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1180px; margin: 40px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: var(--muted2);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--muted2); transition: color .2s; }
.footer-legal a:hover { color: var(--cyan); }
