/* ==========================================================================
   DeiBackup Web — Sistema de Diseño Dei Labs (Minimalismo Técnico de Alta Precisión)
   Dark-Mode First | Gama protagonista Azul Cobalto (#2563EB) y Cian (#06B6D4)
   ========================================================================== */

:root {
  /* Paleta oficial Dei Labs — protagonista DeiBackup */
  --bg-base: #0B0F19;
  --bg-surface: #131B2E;
  --bg-surface-elevated: #172238;
  --bg-input: #0E1422;
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-hover: rgba(148, 163, 184, 0.24);

  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --accent: #06B6D4;
  --emerald: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --emerald-border: rgba(16, 185, 129, 0.35);
  --cobalt-soft: rgba(37, 99, 235, 0.16);
  --cyan-soft: rgba(6, 182, 212, 0.14);
  --danger: #EF4444;
  --danger-soft: rgba(239, 68, 68, 0.14);
  --danger-border: rgba(239, 68, 68, 0.35);

  --text-main: #F8FAFC;
  --text-soft: #CBD5E1;
  --text-muted: #94A3B8;

  /* Degradados DeiBackup */
  --gradient-brand: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --gradient-brand-text: linear-gradient(95deg, #60A5FA 0%, #06B6D4 100%);

  /* Tipografías (Google Fonts) */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  /* Alias semánticos */
  --bg: var(--bg-base);
  --card: var(--bg-surface);
  --border: var(--border-subtle);
  --text: var(--text-main);
  --success: var(--emerald);
  --success-bg: var(--emerald-soft);
  --success-border: var(--emerald-border);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --max-w: 1140px;
  --header-height: 74px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  color-scheme: dark;
}

body {
  margin: 0;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--text-main);
}

a { color: #38BDF8; text-decoration: none; transition: color 0.18s ease; }
a:hover { color: #67E8F9; text-decoration: underline; }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background-color: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 6px;
  padding: 1px 6px;
  color: #67E8F9;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Cabecera / Navbar unificada (Glassmorphism Dei Labs) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  background-color: rgba(11, 15, 25, 0.94);
  border-bottom-color: var(--border-hover);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--text-main); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-base);
  border: 1px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 4px 14px -4px rgba(37, 99, 235, 0.45);
  flex-shrink: 0;
  transition: transform 0.28s var(--ease), border-color 0.28s ease;
}
.brand:hover .brand-mark {
  transform: scale(1.06);
  border-color: rgba(6, 182, 212, 0.55);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.brand-wordmark { display: inline-flex; align-items: baseline; line-height: 1; }
.brand-dei { color: #F8FAFC; }
.brand-backup { color: #2563EB; }

.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a {
  position: relative;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text-main); text-decoration: none; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

.header-actions { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Interruptor ES / EN (alineado con Dei Labs y DeiPass) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  background-color: rgba(19, 27, 46, 0.9);
  border: 1px solid var(--border-subtle);
}
.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.lang-btn:hover:not(.is-active) { color: var(--text-main); }
.lang-btn.is-active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.7);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.menu-toggle:hover { border-color: var(--primary); background-color: var(--bg-surface-elevated); }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 18px;
  border-top: 1px solid var(--border-subtle);
  background-color: rgba(11, 15, 25, 0.98);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
}
.mobile-nav a:hover { background-color: rgba(37, 99, 235, 0.14); color: var(--text-main); text-decoration: none; }

/* ---------- Botones ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:hover svg.bounce { transform: translateY(2px); }

.btn-primary {
  background: var(--gradient-brand);
  border-color: rgba(56, 189, 248, 0.35);
  color: #FFFFFF;
  box-shadow: 0 6px 20px -4px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease);
  pointer-events: none;
}
.btn-primary:hover {
  color: #FFFFFF;
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.62), 0 0 22px -6px rgba(6, 182, 212, 0.45);
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-secondary {
  background-color: var(--bg-surface);
  border-color: var(--border-hover);
  color: var(--text-main);
}
.btn-secondary:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.55), 0 0 0 1px rgba(6, 182, 212, 0.22);
}

.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 72px;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(62% 55% at 50% 0%, rgba(37, 99, 235, 0.24) 0%, rgba(6, 182, 212, 0.08) 42%, rgba(11, 15, 25, 0) 76%),
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  background-position: center top;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.48;
  pointer-events: none;
  animation: float-orb 15s ease-in-out infinite;
}
.orb-1 { width: 340px; height: 340px; left: -90px; top: 30px; background: rgba(37, 99, 235, 0.34); }
.orb-2 { width: 300px; height: 300px; right: -70px; top: 110px; background: rgba(6, 182, 212, 0.22); animation-delay: -5s; }

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(22px, -24px); }
}

.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }

.hero-brand-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background-color: var(--cobalt-soft);
  border: 1px solid rgba(37, 99, 235, 0.38);
  color: #60A5FA;
  margin-bottom: 18px;
}
.hero-brand-bar .pill { margin-bottom: 0; }
.pill-success { background-color: var(--emerald-soft); border-color: var(--emerald-border); color: #34D399; }
.pill-cyan { background-color: var(--cyan-soft); border-color: rgba(6, 182, 212, 0.35); color: #22D3EE; }
.pill-muted { background-color: rgba(148, 163, 184, 0.1); border-color: var(--border-hover); color: var(--text-muted); }

.deilabs-origin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background-color: rgba(19, 27, 46, 0.85);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.deilabs-origin:hover {
  text-decoration: none;
  border-color: rgba(6, 182, 212, 0.45);
  color: var(--text-main);
}
.deilabs-origin strong { color: var(--accent); font-weight: 600; }

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  animation: pulse-dot 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.text-gradient {
  background: linear-gradient(95deg, #2563EB 0%, #38BDF8 48%, #06B6D4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 7s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub { margin: 0 auto 28px; max-width: 680px; font-size: 17px; color: var(--text-muted); line-height: 1.7; }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 22px; }

/* Badges técnicos en JetBrains Mono */
.hero-specs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: rgba(19, 27, 46, 0.85);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}
.tech-badge--accent {
  border-color: rgba(6, 182, 212, 0.32);
  color: #22D3EE;
  background-color: rgba(6, 182, 212, 0.08);
}

.hero-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 26px; }

.sha-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
  padding: 14px 18px;
  background-color: rgba(19, 27, 46, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  text-align: left;
  transition: border-color 0.2s ease;
}
.sha-box:hover { border-color: rgba(6, 182, 212, 0.38); }
.sha-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.sha-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: transparent;
  border: none;
  padding: 0;
  word-break: break-all;
}

/* Aviso desplegable discreto de Windows SmartScreen y verificación SHA-256 */
.smartscreen-notice {
  max-width: 780px;
  margin: 12px auto 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  text-align: left;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.smartscreen-notice:hover,
.smartscreen-notice[open] {
  border-color: rgba(6, 182, 212, 0.38);
}
.smartscreen-notice summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.smartscreen-notice summary::-webkit-details-marker { display: none; }
.smartscreen-notice summary:hover { color: var(--text-primary); }
.smartscreen-notice-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.smartscreen-notice-head svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}
.smartscreen-notice summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
  flex-shrink: 0;
}
.smartscreen-notice[open] summary::after { content: "−"; }
.smartscreen-body {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
}
.smartscreen-body p { margin: 0 0 8px; }
.smartscreen-body p:last-child { margin-bottom: 0; }
.smartscreen-hash {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  word-break: break-all;
}

/* ---------- Tarjetas que se giran (usuario / técnico) ---------- */
.flip-intro { margin: 44px 0 16px; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.flip-intro svg { width: 16px; height: 16px; color: var(--accent); }

.flip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: left; }

.flip-card {
  perspective: 1000px;
  display: block;
  width: 100%;
  height: 224px;
  padding: 0;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.flip-card:hover { transform: translateY(-5px); }
.flip-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }

.flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
}
.flip-card.is-flipped .flip-inner { transform: rotateY(180deg); }

.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.flip-front {
  background-color: var(--bg-surface);
  transition: border-color 0.25s ease, box-shadow 0.3s ease;
}
.flip-card:hover .flip-front {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.6), 0 0 30px rgba(37, 99, 235, 0.18);
}

.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #13233F 0%, #0E172A 100%);
  border-color: rgba(6, 182, 212, 0.45);
}

.flip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cobalt-soft);
  border: 1px solid rgba(37, 99, 235, 0.38);
  color: var(--accent);
  margin-bottom: 14px;
  transition: transform 0.35s var(--ease), background-color 0.3s ease;
}
.flip-icon svg { width: 22px; height: 22px; }
.flip-card:hover .flip-icon { transform: scale(1.08) rotate(-4deg); background: rgba(6, 182, 212, 0.18); }

.flip-title {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 6px;
}
.flip-text { display: block; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.flip-more { margin-top: auto; font-size: 12px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }

.flip-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--cyan-soft);
  border: 1px solid rgba(6, 182, 212, 0.32);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}
.flip-back .flip-title { font-family: var(--font-mono); font-size: 13.5px; color: #E0F2FE; }
.flip-back .flip-text { color: #A8C1D8; font-size: 12.5px; }

/* ---------- Secciones ---------- */
.section { padding: 80px 0; border-bottom: 1px solid var(--border-subtle); scroll-margin-top: var(--header-height); }
.section-alt { background-color: rgba(19, 27, 46, 0.32); }

.section-header { max-width: 740px; margin: 0 auto 46px; text-align: center; }
.section-header h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.025em; }
.section-header p { margin: 0; color: var(--text-muted); font-size: 15.5px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Efecto foco sutil */
.spot { position: relative; overflow: hidden; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(6, 182, 212, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(2, 6, 23, 0.55);
}
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0 0 12px; color: var(--text-muted); font-size: 14.5px; }
.card p:last-child { margin-bottom: 0; }

.feature-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-soft); }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 18px;
}
.feature-list strong { color: var(--text-main); }

/* ---------- Escaparate de capturas ---------- */
.showcase { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.showcase-tabs { display: grid; gap: 10px; }

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  font-family: inherit;
  color: var(--text-muted);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background-color 0.25s ease, color 0.2s ease, box-shadow 0.3s ease;
}
.showcase-tab:hover { transform: translateX(4px); border-color: var(--border-hover); color: var(--text-main); }
.showcase-tab.is-active {
  color: var(--text-main);
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(19, 27, 46, 0.96) 100%);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.2);
  transform: translateX(6px);
}
.tab-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  transition: background 0.25s ease, color 0.25s ease;
}
.showcase-tab.is-active .tab-num { background: var(--gradient-brand); color: #FFFFFF; }
.tab-text { display: block; min-width: 0; }
.tab-text strong { display: block; font-size: 14.5px; line-height: 1.3; }
.tab-text small { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }

.showcase-stage { min-width: 0; }
.showcase-panel { margin: 0; }
.showcase-panel.is-active { animation: panel-in 0.45s var(--ease); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.988); }
  to { opacity: 1; transform: none; }
}

.window-frame {
  border-radius: 14px;
  border: 1px solid var(--border-hover);
  background-color: #080C15;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.68), 0 0 60px rgba(37, 99, 235, 0.12);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: linear-gradient(180deg, #172238 0%, #131B2E 100%);
  border-bottom: 1px solid var(--border-subtle);
}
.window-dot { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.window-dot:nth-child(1) { background: #F87171; }
.window-dot:nth-child(2) { background: #FBBF24; }
.window-dot:nth-child(3) { background: #10B981; }
.window-title { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); font-weight: 500; }

.window-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 16px;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(37, 99, 235, 0.1), transparent 70%),
    #080C15;
}
.window-body img { display: block; max-width: 100%; max-height: 520px; width: auto; height: auto; border-radius: 8px; }

.showcase-caption { margin: 16px 4px 0; font-size: 14px; color: var(--text-muted); }
.showcase-caption strong { color: var(--text-main); }

/* ---------- Confianza ---------- */
.trust-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.trust-item h3 { margin: 0 0 8px; font-size: 17px; }
.trust-item p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ---------- Bloques de llamada a la acción (FAQ / Contacto) ---------- */
.cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 30px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.cta-card:hover {
  border-color: rgba(6, 182, 212, 0.48);
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(2, 6, 23, 0.55);
}
.cta-card h3 { margin: 6px 0 0; font-size: 20px; }
.cta-card p { margin: 0 0 14px; color: var(--text-muted); font-size: 14.5px; }
.cta-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cobalt-soft);
  border: 1px solid rgba(37, 99, 235, 0.38);
  color: var(--accent);
}
.cta-icon svg { width: 24px; height: 24px; }

/* ---------- Versiones ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }

.release-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.25s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.release-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.release-card.is-current {
  border: 1px solid transparent;
  background:
    linear-gradient(#152036, #131B2E) padding-box,
    linear-gradient(100deg, #2563EB, #06B6D4, #2563EB) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: border-flow 6s linear infinite;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.2);
}
@keyframes border-flow {
  0% { background-position: 0 0, 0% 0; }
  100% { background-position: 0 0, 300% 0; }
}

.release-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.release-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 17px; font-weight: 700; }
.release-title .pill { margin-bottom: 0; }
.release-date { font-size: 12.5px; color: var(--text-muted); }
.release-notes { margin: 0; padding-left: 18px; color: var(--text-soft); font-size: 14px; display: grid; gap: 6px; }

/* ---------- Requisitos ---------- */
.req-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; margin: 0 auto; }
.req-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
}
.req-item:hover { border-color: rgba(6, 182, 212, 0.4); transform: translateY(-3px); }
.req-item strong { display: block; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 5px; }
.req-item span { font-size: 14px; color: var(--text-soft); }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero {
  position: relative;
  padding: 64px 0 42px;
  text-align: center;
  background-image:
    radial-gradient(55% 90% at 50% 0%, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.06) 45%, rgba(11, 15, 25, 0) 78%),
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  background-position: center top;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -0.03em; line-height: 1.15; }
.page-hero p { margin: 0 auto; max-width: 620px; color: var(--text-muted); font-size: 16px; }
.page-main { padding: 48px 0 84px; }

/* ---------- FAQ ---------- */
.faq-toolbar { max-width: 860px; margin: 0 auto 28px; display: grid; gap: 16px; }

.search-box { position: relative; }
.search-box svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.search-input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-input::placeholder { color: #64748B; }
.search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.chip:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--accent); background-color: var(--cobalt-soft); color: #FFFFFF; }

.faq-group { max-width: 860px; margin: 0 auto 36px; scroll-margin-top: 90px; }
.faq-group h2 { display: flex; align-items: center; gap: 11px; margin: 0 0 14px; font-size: 20px; letter-spacing: -0.015em; }
.faq-group h2 .g-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cobalt-soft);
  border: 1px solid rgba(37, 99, 235, 0.38);
  color: var(--accent);
}
.faq-group h2 .g-icon svg { width: 18px; height: 18px; }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s var(--ease);
}
.faq-item:hover { border-color: var(--border-hover); transform: translateX(3px); }
.faq-item[open] { border-color: rgba(6, 182, 212, 0.45); background-color: var(--bg-surface-elevated); transform: none; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cobalt-soft);
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; background: var(--gradient-brand); color: #FFFFFF; transform: rotate(180deg); }

.faq-answer { padding: 14px 20px 20px; color: var(--text-soft); font-size: 14.5px; border-top: 1px solid var(--border-subtle); animation: panel-in 0.32s var(--ease); }
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }

.faq-empty { max-width: 860px; margin: 0 auto 28px; padding: 36px 20px; text-align: center; color: var(--text-muted); border: 1px dashed var(--border-hover); border-radius: var(--radius); }

/* ---------- Contacto (alineado con Dei Labs / DeiPass en gama azul/cian) ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: start; max-width: 1040px; margin: 0 auto; }

.info-stack { display: grid; gap: 16px; }
.info-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.info-card:hover { border-color: rgba(6, 182, 212, 0.45); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(2, 6, 23, 0.5); }
.info-card .cta-icon { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; }
.info-card .cta-icon svg { width: 20px; height: 20px; }
.info-card h3 { margin: 0 0 4px; font-size: 15.5px; }
.info-card p { margin: 0; font-size: 13.5px; color: var(--text-muted); }

.form-card {
  position: relative;
  padding: 36px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--bg-surface), #0F1729) padding-box,
    linear-gradient(135deg, rgba(37, 99, 235, 0.65), rgba(6, 182, 212, 0.4), rgba(148, 163, 184, 0.15)) border-box;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.6), 0 0 70px rgba(37, 99, 235, 0.12);
}
.form-card h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.02em; }
.form-card .form-lead { margin: 0 0 26px; font-size: 14.5px; color: var(--text-muted); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.field { position: relative; margin-bottom: 18px; }
.field .form-control {
  width: 100%;
  padding: 22px 14px 8px;
  background-color: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field .form-control::placeholder { color: transparent; }
.field .form-control:hover { border-color: var(--border-hover); }
.field .form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16); background-color: #0C1425; }
.field textarea.form-control { min-height: 150px; resize: vertical; padding-top: 26px; }
.field label {
  position: absolute;
  left: 15px; top: 15px;
  font-size: 14.5px;
  color: #64748B;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.2s var(--ease), color 0.2s ease;
}
.field .form-control:focus + label,
.field .form-control:not(:placeholder-shown) + label { transform: translateY(-9px) scale(0.76); color: var(--accent); }
.field .char-count { position: absolute; right: 12px; bottom: 9px; font-family: var(--font-mono); font-size: 11px; color: #64748B; pointer-events: none; }

.group-label { display: block; margin: 4px 0 10px; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.topic-chip { position: relative; }
.topic-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.topic-chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-input);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}
.topic-chip:hover span { border-color: var(--border-hover); transform: translateY(-2px); }
.topic-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.topic-chip input:checked + span {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(6, 182, 212, 0.2));
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; font-size: 13px; color: var(--text-muted); cursor: pointer; }
.form-check input[type="checkbox"] { margin-top: 3px; accent-color: var(--primary); width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-note { font-size: 12px; color: #64748B; }

.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 500; display: none; }
.form-status.is-visible { display: block; animation: panel-in 0.3s var(--ease); }
.form-status.is-ok { background-color: var(--emerald-soft); border: 1px solid var(--emerald-border); color: #34D399; }
.form-status.is-error { background-color: var(--danger-soft); border: 1px solid var(--danger-border); color: #FCA5A5; }

.form-success { display: none; text-align: center; padding: 30px 10px 14px; }
.form-card.is-sent .form-body { display: none; }
.form-card.is-sent .form-success { display: block; animation: panel-in 0.5s var(--ease); }
.success-check {
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse-dot 2.4s infinite;
}
.success-check svg { width: 38px; height: 38px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw-check 0.7s 0.2s var(--ease) forwards; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.form-success h2 { margin: 0 0 8px; }
.form-success p { margin: 0 0 22px; color: var(--text-muted); font-size: 14.5px; }

/* ---------- Precios: Gratis vs PRO (#pro) ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pricing-section {
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(60% 55% at 50% 0%, rgba(37, 99, 235, 0.16) 0%, rgba(11, 15, 25, 0) 72%);
}
.pricing-section .container { position: relative; z-index: 1; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 30px 28px 26px;
  transition: border-color 0.25s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.price-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.6);
}

.pc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pc-head h3 { margin: 0 0 2px; font-size: 21px; letter-spacing: -0.015em; color: var(--text-main); }
.pc-tagline { margin: 0; font-size: 13.5px; color: var(--text-muted); }

.pc-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border-hover);
  color: var(--text-soft);
}
.pc-icon svg { width: 22px; height: 22px; }
.pc-icon-pro {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28) 0%, rgba(6, 182, 212, 0.22) 100%);
  border-color: rgba(6, 182, 212, 0.5);
  color: var(--accent);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.28);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
  border-radius: 12px;
  background-color: rgba(11, 15, 25, 0.65);
  border: 1px solid var(--border-subtle);
}
.price-amount { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--text-main); }
.price-old { font-size: 19px; font-weight: 600; color: #64748B; text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 2px; }
.price-save {
  padding: 3px 9px;
  border-radius: 999px;
  background-color: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: #34D399;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.price-unit { flex-basis: 100%; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

.pf-group { margin-bottom: 18px; }
.pf-group-fill { flex: 1; margin-bottom: 24px; }
.pf-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
}

.pf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pf-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--text-soft);
}
.pf-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 18px;
}
.pf-list li.is-limit::before {
  content: "•";
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-muted);
  font-size: 14px;
}
.pf-list-pro li::before {
  background: var(--cobalt-soft);
  color: var(--accent);
}
.pf-list-pro li.is-base::before {
  background: var(--emerald-soft);
  color: var(--emerald);
}
.pf-text { flex: 1; min-width: 0; }
.pf-list strong { color: var(--text-main); }

.pf-tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.pf-tag-limit {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid var(--border-hover);
  color: var(--text-soft);
}
.pf-tag-new {
  background: var(--cyan-soft);
  border: 1px solid rgba(6, 182, 212, 0.42);
  color: #67E8F9;
}

.price-card-pro {
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, #16233E 0%, #10192D 100%) padding-box,
    linear-gradient(100deg, #2563EB, #06B6D4, #2563EB) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: border-flow 6s linear infinite;
  box-shadow: 0 24px 58px rgba(37, 99, 235, 0.25), 0 0 0 1px rgba(37, 99, 235, 0.16);
  padding-top: 38px;
}
.price-card-pro.spot { overflow: visible; }
.price-card-pro.spot::before { border-radius: inherit; }
.price-card-pro:hover { border-color: transparent; box-shadow: 0 28px 66px rgba(37, 99, 235, 0.36); }
.price-card-pro .price-row {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(11, 15, 25, 0.78) 100%);
  border-color: rgba(6, 182, 212, 0.34);
}
.price-card-pro .price-amount {
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--gradient-brand);
  border: 1px solid rgba(103, 232, 249, 0.55);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

.price-trust { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); text-align: center; }

.trust-row {
  list-style: none;
  max-width: 980px;
  margin: 28px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}
.trust-chip:hover { border-color: rgba(6, 182, 212, 0.45); transform: translateY(-2px); }
.tc-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cobalt-soft);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--accent);
}
.tc-icon svg { width: 18px; height: 18px; }
.trust-chip strong { display: block; font-size: 13px; color: var(--text-main); line-height: 1.25; }
.trust-chip small { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

.pricing-foot { margin: 24px 0 0; text-align: center; font-size: 14px; color: var(--text-muted); }

/* ---------- Volver arriba ---------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 45;
  width: 44px; height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  background-color: rgba(19, 27, 46, 0.94);
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease), border-color 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.back-to-top svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 10px 28px rgba(37, 99, 235, 0.38); }
.back-to-top:hover svg { transform: translateY(-3px); }

/* ---------- Páginas legales ---------- */
.legal-main { padding: 48px 0 72px; }
.legal-article {
  max-width: 840px;
  margin: 0 auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px;
}
.legal-article h1 { margin: 0 0 8px; font-size: 30px; }
.legal-meta { color: var(--text-muted); font-family: var(--font-mono); font-size: 12.5px; margin-bottom: 28px; }
.legal-article h2 { margin: 28px 0 10px; font-size: 18px; color: var(--accent); }
.legal-article p, .legal-article li { font-size: 14.5px; color: var(--text-soft); }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.legal-table th { color: var(--text-main); background-color: rgba(11, 15, 25, 0.65); font-family: var(--font-display); }
.legal-table td { color: var(--text-soft); }

/* ---------- Pie unificado Dei Labs / DeiPass ---------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-color: #080B13;
  padding: 64px 0 36px;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  max-width: 370px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.footer-brand-logo:hover { text-decoration: none; }

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-tagline {
  margin: 16px 0 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-deilabs-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background-color: rgba(19, 27, 46, 0.72);
  border: 1px solid var(--border-hover);
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s var(--ease);
}
.footer-deilabs-pill:hover {
  text-decoration: none;
  border-color: rgba(6, 182, 212, 0.55);
  background-color: rgba(19, 27, 46, 0.98);
  color: var(--text-main);
  transform: translateY(-1px);
}
.footer-deilabs-pill strong {
  color: #06B6D4;
  font-weight: 600;
}
.footer-deilabs-pill .pill-arrow {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 68px;
}

.footer-col-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--text-soft);
  transition: color 0.18s ease;
}
.footer-col a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-copy a {
  color: var(--text-main);
  font-weight: 500;
}
.footer-copy a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.6);
}

/* ---------- Responsive ---------- */
@media (min-width: 901px) {
  .price-trust { min-height: 36px; }
  .mobile-nav { display: none !important; }
}

@media (max-width: 1060px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13.5px; }
}

@media (max-width: 1000px) {
  .flip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase { grid-template-columns: 1fr; }
  .showcase-tabs { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 6px; scroll-snap-type: x proximity; }
  .showcase-tab { width: auto; min-width: 230px; flex-shrink: 0; scroll-snap-align: start; }
  .showcase-tab:hover, .showcase-tab.is-active { transform: none; }
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .trust-banner, .req-grid, .cta-grid, .contact-layout { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; gap: 36px; }
  .price-card-pro { order: -1; }
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .legal-article { padding: 24px 20px; }
  .form-card { padding: 26px 20px; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-links { gap: 40px; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .flip-grid { grid-template-columns: 1fr; }
  .flip-card { height: 204px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .hero { padding: 58px 0 52px; }
  .btn-lg { width: 100%; }
  .price-card { padding: 26px 20px 22px; }
  .price-card-pro { padding-top: 38px; }
  .price-amount { font-size: 34px; }
  .price-badge { font-size: 10px; padding: 6px 12px; }
  .trust-row { grid-template-columns: 1fr; }
  .header-actions .btn-primary { display: none; }
}

/* Accesibilidad: respetar movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Tarjetas enlazadas: mantener colores de texto */
a.cta-card, a.info-card { color: inherit; text-decoration: none; }
a.cta-card:hover, a.info-card:hover { color: inherit; text-decoration: none; }
a.cta-card h3, a.info-card h3 { color: var(--text-main); }
