/* PrestaShield — base styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  --bg: #fafaf7;
  --bg-2: #f3f2ec;
  --bg-3: #ebeae3;
  --fg: #0f1115;
  --fg-2: #2a2d33;
  --fg-3: #5b5f68;
  --fg-4: #8a8e98;
  --line: #e3e1d8;
  --line-2: #d3d1c6;
  --card: #ffffff;
  --accent: oklch(0.66 0.16 155);
  --accent-soft: oklch(0.94 0.05 155);
  --accent-ink: oklch(0.32 0.10 155);
  --critical: oklch(0.58 0.22 25);
  --critical-soft: oklch(0.94 0.05 25);
  --warning: oklch(0.74 0.16 75);
  --warning-soft: oklch(0.95 0.06 80);
  --info: oklch(0.62 0.13 235);
  --info-soft: oklch(0.94 0.05 235);
  --radius: 10px;
  --radius-lg: 14px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 0 rgba(15,17,21,0.04), 0 1px 2px rgba(15,17,21,0.04);
  --shadow-md: 0 1px 0 rgba(15,17,21,0.04), 0 4px 16px rgba(15,17,21,0.06);
  --container: 1240px;
  --pad-y: 96px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

[data-theme="dark"]{
  --bg: #0c0d10;
  --bg-2: #131418;
  --bg-3: #1a1c21;
  --fg: #f3f2ec;
  --fg-2: #d8d6cd;
  --fg-3: #9b9ea7;
  --fg-4: #6a6d76;
  --line: #23252b;
  --line-2: #2e3037;
  --card: #15171c;
  --accent: oklch(0.78 0.18 155);
  --accent-soft: oklch(0.28 0.08 155);
  --accent-ink: oklch(0.92 0.14 155);
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
  font-size: 16px;
  line-height: 1.55;
}
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }

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

/* Typography */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}
.eyebrow .dot{
  display: inline-block; width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; margin-right: 8px; vertical-align: 2px;
}
h1,h2,h3,h4{ font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1{ font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
h2{ font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
h3{ font-size: 20px; line-height: 1.3; }
p{ margin: 0; color: var(--fg-2); text-wrap: pretty; }
.lead{ font-size: 19px; color: var(--fg-2); line-height: 1.55; max-width: 56ch; }
.mono{ font-family: var(--font-mono); }

/* Buttons */
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 8px;
  font-weight: 500; font-size: 14.5px; letter-spacing: -0.005em;
  border: 1px solid transparent; transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--fg); color: var(--bg); }
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15,17,21,0.18); }
.btn-accent{ background: var(--accent); color: #07140d; border-color: color-mix(in oklch, var(--accent) 70%, #000 30%); }
.btn-accent:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.btn-secondary{ background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-secondary:hover{ background: var(--bg-2); }
.btn-ghost{ background: transparent; color: var(--fg-2); border-color: transparent; }
.btn-ghost:hover{ color: var(--fg); }
.btn-sm{ height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg{ height: 52px; padding: 0 22px; font-size: 15.5px; }

/* Pill / badge */
.pill{
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--fg-2);
}
.pill .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.kbd{
  font-family: var(--font-mono); font-size: 11px;
  padding: 2px 6px; border-radius: 4px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--fg-3);
}

/* Section frame */
section{ padding: var(--pad-y) 0; position: relative; }
.section-tight{ padding: 56px 0; }
.divider{ height: 1px; background: var(--line); width: 100%; }

/* Cards */
.card{
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px;
}
.card-flat{ background: transparent; border: 1px solid var(--line); }

@media (max-width: 900px){
  :root{ --pad-y: 64px; }
}

/* Dark section override */
.dark{
  background: #0c0d10; color: #f3f2ec;
  --bg: #0c0d10; --bg-2: #131418; --bg-3: #1a1c21;
  --fg: #f3f2ec; --fg-2: #d8d6cd; --fg-3: #9b9ea7; --fg-4: #6a6d76;
  --line: #23252b; --line-2: #2e3037; --card: #15171c;
  --accent: oklch(0.78 0.18 155);
}

/* Logo */
.logo{ display: inline-flex; align-items: center; gap: 0; height: 26px; }
.logo img{ height: 100%; width: auto; display: block; }


/* Anim */
@keyframes pulseRing{
  0%{ box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 50%, transparent); }
  100%{ box-shadow: 0 0 0 14px color-mix(in oklch, var(--accent) 0%, transparent); }
}
@keyframes blink{ 50%{ opacity: 0.2; } }
@keyframes slideUp{
  from{ opacity:0; transform: translateY(8px); }
  to{ opacity:1; transform: translateY(0); }
}
.fade-in{ animation: slideUp .4s ease both; }

/* Scrollbar (subtle) */
::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-thumb{ background: var(--line-2); border-radius: 999px; }
::-webkit-scrollbar-track{ background: transparent; }

/* Severity */
.sev{
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.sev-critical{ background: var(--critical-soft); color: var(--critical); }
.sev-warning{ background: var(--warning-soft); color: oklch(0.5 0.13 75); }
.sev-info{ background: var(--info-soft); color: var(--info); }
.sev-ok{ background: var(--accent-soft); color: var(--accent-ink); }

[data-theme="dark"] .sev-critical{ background: color-mix(in oklch, var(--critical) 18%, transparent); color: oklch(0.78 0.16 25); }
[data-theme="dark"] .sev-warning{ background: color-mix(in oklch, var(--warning) 18%, transparent); color: oklch(0.85 0.15 80); }
[data-theme="dark"] .sev-info{ background: color-mix(in oklch, var(--info) 18%, transparent); color: oklch(0.78 0.13 235); }
[data-theme="dark"] .sev-ok{ background: color-mix(in oklch, var(--accent) 18%, transparent); color: oklch(0.85 0.16 155); }

/* Hairline number marker */
.num{
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-2);
}

/* ── Layout helpers (columnas no estándar + responsive complejo) ── */
.l-2col-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.l-2col-features {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.l-3col-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.l-3col-scan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.l-4col-pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
}
.l-footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.l-scanner-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.l-scanner-teaser .scanner-teaser-visual { width: 340px; }

@media (max-width: 900px) {
  .l-2col-hero, .l-2col-features { grid-template-columns: 1fr; gap: 40px; }
  .l-3col-pillars, .l-3col-scan { grid-template-columns: 1fr; }
  .l-footer { grid-template-columns: 1fr 1fr; gap: 32px; }
  .l-scanner-teaser { grid-template-columns: 1fr; }
  .l-scanner-teaser .scanner-teaser-visual { display: none; }
  .l-4col-pricing { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .l-footer { grid-template-columns: 1fr; }
  .l-4col-pricing { grid-template-columns: 1fr; }
  .l-3col-pillars, .l-3col-scan { grid-template-columns: 1fr; }
}

/* Mobile misc */
@media (max-width: 768px) {
  .lead { font-size: 17px; }
  .btn-lg { height: 46px; padding: 0 18px; font-size: 14.5px; }
}
