/* ===================== Subpage shared components ===================== */

/* Subpage hero (compact version of main hero) */
.sub-hero {
  position: relative;
  padding: 170px 0 100px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.sub-hero .container { position: relative; z-index: 2; max-width: 980px; }
.sub-hero h1 {
  font-size: clamp(40px, 6vw, 78px);
  margin: 22px auto 22px;
  max-width: 900px;
}
.sub-hero .lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  max-width: 680px; margin: 0 auto 36px;
}
.sub-hero .hero-ctas { justify-content: center; }
.sub-hero #particles { z-index: 0; }
.sub-hero .hero-grid,
.sub-hero .hero-glow { z-index: 0; }
.sub-hero .breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted-2);
  margin-bottom: 22px;
}
.sub-hero .breadcrumb a { color: var(--muted); transition: color .2s; }
.sub-hero .breadcrumb a:hover { color: var(--red-light); }
.sub-hero .breadcrumb .sep { opacity: 0.5; }
.sub-hero .hero-icon {
  width: 96px; height: 96px; border-radius: 24px;
  display: grid; place-items: center; margin: 0 auto 28px;
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.18), rgba(255, 45, 45, 0.04));
  border: 1px solid rgba(255, 45, 45, 0.3);
  color: var(--red);
  box-shadow: 0 20px 50px rgba(255, 45, 45, 0.15);
  animation: floatY 4s ease-in-out infinite;
}
.sub-hero .hero-icon svg { width: 46px; height: 46px; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Section wrapper */
.sec { padding: 100px 0; }
.sec-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Tilt card base — JS applies the transform */
.tilt-card {
  transition: transform .15s ease-out, box-shadow .3s ease, border-color .3s ease;
  transform-style: preserve-3d;
}
.tilt-card > * { transform: translateZ(20px); }

/* Generic feature card (used widely) */
.feat-grid { display: grid; gap: 22px; }
.feat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.feat-card:hover {
  border-color: var(--red);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 45, 45, 0.25);
}
.feat-card .feat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 45, 45, 0.1);
  border: 1px solid rgba(255, 45, 45, 0.25);
  color: var(--red);
  margin-bottom: 20px;
  font-size: 24px;
}
.feat-card .feat-icon svg { width: 24px; height: 24px; }
.feat-card h3 { color: #fff; margin-bottom: 10px; font-size: 18px; }
.feat-card p { color: var(--muted); font-size: 14.5px; }
.feat-card .feat-cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-weight: 600; font-size: 14px;
  margin-top: 18px; transition: gap .2s;
}
.feat-card .feat-cta:hover { gap: 12px; color: var(--red-light); }
.feat-card .badge-price {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 45, 45, 0.12);
  color: var(--red-light);
  border: 1px solid rgba(255, 45, 45, 0.3);
  margin: 10px 0;
}

/* Process steps with animated red line */
.process {
  position: relative;
  display: grid; gap: 22px;
}
.process.steps-4 { grid-template-columns: repeat(4, 1fr); }
.process.steps-3 { grid-template-columns: repeat(3, 1fr); }
.process-track {
  position: absolute; top: 36px; left: 8%; right: 8%; height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}
.process-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  box-shadow: 0 0 12px rgba(255, 45, 45, 0.6);
  transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
}
.process-step {
  position: relative; z-index: 1;
  text-align: center; padding: 0 14px;
}
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  background: var(--surface);
  border: 2px solid var(--border);
  font-size: 26px; font-weight: 700; color: #fff;
  position: relative;
  transition: border-color .3s, color .3s, transform .3s;
}
.step-num::before {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px solid transparent;
  transition: border-color .3s;
}
.process-step.active .step-num {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 30px rgba(255, 45, 45, 0.4);
  transform: scale(1.05);
}
.process-step.active .step-num::before { border-color: rgba(255, 45, 45, 0.3); }
.process-step h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 13.5px; }

/* SLA bars */
.sla-table {
  display: grid; gap: 14px;
  max-width: 880px; margin: 0 auto;
}
.sla-row {
  display: grid;
  grid-template-columns: 140px 1fr 120px;
  align-items: center; gap: 24px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .25s;
}
.sla-row:hover { border-color: rgba(255, 45, 45, 0.4); }
.sla-prio {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
}
.sla-prio .pdot { width: 10px; height: 10px; border-radius: 50%; }
.sla-bar-wrap {
  height: 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden; position: relative;
}
.sla-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  border-radius: 999px;
  transition: width 1.6s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 0 12px rgba(255, 45, 45, 0.5);
}
.sla-time { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: #fff; text-align: right; }
.sla-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Threat cards (danger styling) */
.threat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s, border-color .3s;
}
.threat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.threat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 45, 0.5);
}
.threat-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(255, 45, 45, 0.12);
  border: 1px solid rgba(255, 45, 45, 0.35);
  color: var(--red);
  font-size: 28px;
  margin-bottom: 18px;
}
.threat-card h3 { color: #fff; margin-bottom: 10px; font-size: 18px; }
.threat-card p { color: var(--muted); font-size: 14.5px; }

/* Stat number row used in subpages */
.sub-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.sub-stats .stat-num { font-size: clamp(36px, 4.5vw, 56px); }

/* Pricing cards */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 45, 45, 0.4);
}
.price-card.popular {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(255, 45, 45, 0.06), var(--surface) 30%);
  box-shadow: 0 20px 60px rgba(255, 45, 45, 0.2), 0 0 0 1px rgba(255, 45, 45, 0.3);
}
.price-card .pop-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(255, 45, 45, 0.4);
}
.price-name { font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red-light); margin-bottom: 12px; font-weight: 600; }
.price-amount { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.price-amount small { font-size: 14px; font-weight: 400; color: var(--muted); }
.price-card ul.price-list {
  display: grid; gap: 12px; margin: 28px 0;
  font-size: 14px; flex: 1;
}
.price-card ul.price-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255, 255, 255, 0.85);
}
.price-card ul.price-list li::before {
  content: '✓'; color: var(--red);
  font-weight: 700; flex-shrink: 0;
}
.price-card .btn { width: 100%; }

/* Checks list (animated) */
.checks-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px;
  max-width: 880px; margin: 0 auto;
}
.checks-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: rgba(255, 255, 255, 0.92);
  padding: 10px 0;
}
.check-icon {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 45, 45, 0.12);
  border: 1px solid rgba(255, 45, 45, 0.4);
  color: var(--red);
  font-weight: 700; font-size: 12px;
  opacity: 0; transform: scale(0.6);
  transition: opacity .4s, transform .4s;
}
.checks-list.in .check-icon { opacity: 1; transform: scale(1); }
.checks-list li:nth-child(1) .check-icon { transition-delay: .05s; }
.checks-list li:nth-child(2) .check-icon { transition-delay: .1s; }
.checks-list li:nth-child(3) .check-icon { transition-delay: .15s; }
.checks-list li:nth-child(4) .check-icon { transition-delay: .2s; }
.checks-list li:nth-child(5) .check-icon { transition-delay: .25s; }
.checks-list li:nth-child(6) .check-icon { transition-delay: .3s; }
.checks-list li:nth-child(7) .check-icon { transition-delay: .35s; }
.checks-list li:nth-child(8) .check-icon { transition-delay: .4s; }

/* Use case cards */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.use-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.use-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 45, 45, 0.2);
}
.use-emoji { font-size: 36px; margin-bottom: 16px; }
.use-card h3 { color: #fff; margin-bottom: 10px; }
.use-card p { color: var(--muted); font-size: 14.5px; }
.use-result {
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(255, 45, 45, 0.08);
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  font-size: 14px; color: var(--red-light);
  font-weight: 600;
}

/* Levels (support tiers) */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.level-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform .3s, box-shadow .3s;
}
.level-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.level-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.2em;
  color: var(--red-light); margin-bottom: 8px;
}
.level-card h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.level-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.level-time {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #fff;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 45, 45, 0.12);
  border: 1px solid rgba(255, 45, 45, 0.3);
}

/* Brand cards */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: all .3s;
  cursor: default;
}
.brand-card .b-name {
  font-size: 22px; font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  transition: color .3s;
  letter-spacing: 0.02em;
}
.brand-card .b-desc {
  margin-top: 10px;
  font-size: 13px; color: var(--muted);
  opacity: 0; max-height: 0;
  transition: opacity .3s, max-height .3s, margin-top .3s;
  overflow: hidden;
}
.brand-card:hover {
  border-color: var(--red);
  background: rgba(255, 45, 45, 0.05);
}
.brand-card:hover .b-name { color: var(--red); }
.brand-card:hover .b-desc { opacity: 1; max-height: 60px; }

/* Course card extras */
.course-meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 12px 0 16px;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
}
.tag.duration { color: var(--red-light); border-color: rgba(255, 45, 45, 0.3); background: rgba(255, 45, 45, 0.08); }
.tag.level-basic { color: #4ade80; border-color: rgba(74, 222, 128, 0.3); }
.tag.level-inter { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }
.tag.level-adv { color: #ff8080; border-color: rgba(255, 128, 128, 0.3); }

/* CTA banner */
.cta-banner {
  position: relative;
  padding: 70px 0;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner.dark {
  background: linear-gradient(135deg, #2a0808, #0a0a0a);
  border-top: 1px solid rgba(255, 45, 45, 0.2);
  border-bottom: 1px solid rgba(255, 45, 45, 0.2);
}
.cta-banner.red {
  background: linear-gradient(135deg, var(--red), #c91f1f);
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  pointer-events: none;
}
.cta-banner .container {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(28px, 3.4vw, 40px); max-width: 700px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); margin-top: 10px; font-size: 16px; }
.cta-banner.red .btn-primary {
  background: #fff; color: var(--red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.cta-banner.red .btn-primary:hover { background: rgba(255, 255, 255, 0.95); transform: translateY(-2px); }

/* Two-col grid (text + side) */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

/* Channels card extras */
.channel-card { text-align: center; }
.channel-card .feat-icon { margin-left: auto; margin-right: auto; }
.channel-card .channel-val { font-weight: 600; color: #fff; margin-top: 6px; font-size: 15px; }

/* Phase card (transformacion proceso) */
.phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* Threat stats highlight */
.threat-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  text-align: center;
}
.threat-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 20px;
}
.threat-stat .ts-big {
  font-size: clamp(38px, 4.5vw, 56px); font-weight: 800;
  color: var(--red);
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 45, 45, 0.3);
}
.threat-stat .ts-lbl-2 {
  margin-top: 12px;
  color: var(--muted); font-size: 14px;
}

/* Code rain (ciberseguridad hero) */
.code-rain {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  color: rgba(255, 45, 45, 0.4);
  font-size: 13px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.code-col {
  position: absolute; top: -200px;
  white-space: pre;
  line-height: 1.4;
  animation: codeFall linear infinite;
}
@keyframes codeFall {
  to { transform: translateY(120vh); }
}

/* Camera live badge */
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  color: var(--red);
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 45, 45, 0.1);
  border: 1px solid rgba(255, 45, 45, 0.4);
  margin-bottom: 18px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(255, 45, 45, 0); }
}

/* Audience columns */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .3s, transform .3s;
}
.aud-card:hover { border-color: var(--red); transform: translateY(-4px); }
.aud-icon { font-size: 36px; margin-bottom: 16px; }
.aud-card h3 { color: #fff; margin-bottom: 16px; }
.aud-card ul { display: grid; gap: 10px; }
.aud-card ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: rgba(255, 255, 255, 0.85);
}
.aud-card ul li::before { content: '✓'; color: var(--red); font-weight: 700; }

/* ===== Scene / preview frames (polished mockup placeholders) ===== */
.preview-sec { padding: 100px 0; }
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.preview-text .eyebrow { margin-bottom: 18px; }
.preview-text h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }
.preview-text p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 22px;
}
.preview-text ul {
  display: grid; gap: 12px;
  margin-bottom: 26px;
}
.preview-text ul li {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}
.preview-text ul li::before {
  content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 45, 45, 0.12);
  border: 1px solid rgba(255, 45, 45, 0.4);
  font-size: 12px;
}
.scene-frame {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 45, 45, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: #0f0f0f;
}
.scene-frame::before, .scene-frame::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--red); z-index: 5;
}
.scene-frame::before { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.scene-frame::after { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.scene-frame .frame-corners-b::before,
.scene-frame .frame-corners-b::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--red); z-index: 5;
}
.scene-frame .frame-corners-b::before { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.scene-frame .frame-corners-b::after { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.scene-hud {
  position: absolute; z-index: 4;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 45, 45, 0.4);
  border-radius: 6px; color: #fff;
}
.scene-hud.top-left  { top: 18px; left: 50px; }
.scene-hud.top-right { top: 18px; right: 50px; }
.scene-hud.bot-left  { bottom: 18px; left: 50px; }
.scene-hud.bot-right { bottom: 18px; right: 50px; }
.scene-hud.center    { top: 18px; left: 50%; transform: translateX(-50%); color: var(--red); }
.scene-hud .blink {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); margin-right: 6px;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.scene-frame svg { display: block; width: 100%; height: 100%; }

/* Camera grid scene (2x2 feeds) */
.cam-grid {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: #FF2D2D;
  padding: 0;
}
.cam-feed {
  position: relative;
  background: linear-gradient(180deg, #0a0a0a, #1a0a0a);
  overflow: hidden;
}
.cam-feed::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 4px);
  pointer-events: none;
}
.cam-feed .feed-label {
  position: absolute; top: 8px; left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 600;
  color: #fff; letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.6);
  padding: 3px 6px; border-radius: 3px;
  z-index: 2;
}
.cam-feed .feed-rec {
  position: absolute; top: 8px; right: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--red); font-weight: 700;
  display: flex; align-items: center; gap: 4px;
  z-index: 2;
}
.cam-feed .feed-rec::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); animation: blink 1.2s infinite;
}
.cam-feed .feed-time {
  position: absolute; bottom: 6px; right: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: rgba(255, 255, 255, 0.7);
}

/* Server rack scene */
.rack-svg .rack-led {
  animation: rackBlink 1.5s ease-in-out infinite;
}
.rack-svg .rack-led:nth-child(odd) { animation-delay: 0.3s; }
.rack-svg .rack-led:nth-child(3n) { animation-delay: 0.7s; }
@keyframes rackBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Terminal scene */
.term-line {
  opacity: 0;
  animation: termType .4s ease-out forwards;
}
@keyframes termType {
  to { opacity: 1; }
}
.term-cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--red);
  vertical-align: text-bottom;
  animation: cursorBlink 1s steps(2) infinite;
}
@keyframes cursorBlink {
  50% { opacity: 0; }
}

@media (max-width: 900px) {
  .preview-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .feat-grid.cols-2, .feat-grid.cols-3, .feat-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .process.steps-4, .process.steps-3, .phase-grid { grid-template-columns: 1fr 1fr; }
  .process-track { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .levels, .use-grid, .aud-grid, .brand-grid { grid-template-columns: 1fr; }
  .threat-stats { grid-template-columns: 1fr 1fr; }
  .sub-stats { grid-template-columns: 1fr 1fr; }
  .checks-list { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .sla-row { grid-template-columns: 1fr; gap: 10px; }
  .sla-time { text-align: left; }
  .cta-banner .container { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .feat-grid.cols-2, .feat-grid.cols-3, .feat-grid.cols-4 { grid-template-columns: 1fr; }
  .process.steps-4, .process.steps-3, .phase-grid { grid-template-columns: 1fr; }
  .threat-stats, .sub-stats { grid-template-columns: 1fr 1fr; }
}
