/* ==========================================================================
   TUIA — Design System & Styles
   Tucuju Intelligence Automation
   Inspirado na estética cyber-moderna corporativa (Cobalt Blue & Slate Navy)
   ========================================================================== */

:root {
  --bg-dark: #0a0f1d;
  --bg-card: #111a2e;
  --bg-card-hover: #17233d;
  --bg-card-active: rgba(37, 99, 235, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-mint: rgba(37, 99, 235, 0.3);
  --border-mint-active: #2563eb;
  --border-brand: rgba(37, 99, 235, 0.35);

  --brand-primary: #2563eb;
  --brand-hover: #3b82f6;
  --brand-glow: rgba(37, 99, 235, 0.35);
  --brand-dim: rgba(37, 99, 235, 0.12);

  --mint-primary: #2563eb;
  --mint-hover: #3b82f6;
  --mint-glow: rgba(37, 99, 235, 0.35);
  --mint-dim: rgba(37, 99, 235, 0.12);
  --accent-cyan: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.3);

  --text-white: #ffffff;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --text-mint: #38bdf8;

  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --info: #38bdf8;
  --info-bg: rgba(56, 189, 248, 0.15);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}


/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-icon-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: block;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-name-row {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  line-height: 1;
}

.brand-name-row .b-tu {
  color: #ffffff;
}

.brand-name-row .b-ia {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.brand-acronym-row {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #cbd5e1;
  margin-top: 3px;
  white-space: nowrap;
}

.logo-svg {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-github {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ==========================================================================
   Buttons & Micro-Components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--brand-glow);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 6px 26px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.badge-crit {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.badge-high {
  background: rgba(245, 158, 11, 0.2);
  color: #fde047;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.badge-med {
  background: rgba(56, 189, 248, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(56, 189, 248, 0.45);
}

.badge-edital, .badge-gov {
  background: var(--brand-dim);
  color: var(--accent-cyan);
  border: 1px solid var(--border-brand);
  font-weight: 700;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 60px 0 65px;
}

.hero-grid-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* ==========================================================================
   Status Beacons & Badges (Next-Gen Cyber Effects)
   ========================================================================== */

/* 1. Radar Beacon de Alta Precisão (Vector ripple sem manchas) */
.status-beacon {
  position: relative;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan), 0 0 14px rgba(56, 189, 248, 0.7);
  z-index: 2;
}

.status-beacon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent-cyan);
  animation: beaconRipple 2.2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes beaconRipple {
  0% {
    transform: scale(0.6);
    opacity: 0.95;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* 2. Hero Badge - Cyber Glass & Shimmer Beam */
.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(17, 26, 46, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease-out;
  overflow: hidden;
  text-decoration: none;
  cursor: default;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.hero-badge:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 
    0 6px 24px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* Feixe Dinâmico de Luz (Shimmer Sheen) */
.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(56, 189, 248, 0.08) 35%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(56, 189, 248, 0.08) 65%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: badgeShimmer 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes badgeShimmer {
  0%, 25% {
    left: -150%;
  }
  65%, 100% {
    left: 200%;
  }
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  line-height: 1;
}

.hero-badge-text {
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 500;
  color: #e2e8f0;
  letter-spacing: -0.01em;
}

.badge-arrow {
  color: var(--accent-cyan);
  margin-left: 2px;
  transition: transform var(--transition-fast);
}

.hero-badge:hover .badge-arrow {
  transform: translateX(3px);
}

/* Efeito Alternativo: Border Beam Laser */
.hero-badge.effect-beam {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-badge.effect-beam::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 280deg,
    rgba(0, 245, 160, 0.6) 330deg,
    #ffffff 360deg
  );
  animation: rotateBeam 3.5s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.hero-badge.effect-beam > * {
  position: relative;
  z-index: 2;
}

.hero-badge.effect-beam::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: #0d1518;
  border-radius: inherit;
  z-index: 1;
}

@keyframes rotateBeam {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Efeito Alternativo: HUD Tático Militar */
.hero-badge.effect-hud {
  background: rgba(0, 245, 160, 0.05);
  border: 1px solid rgba(0, 245, 160, 0.35);
  border-left-width: 3px;
  border-left-color: var(--mint-primary);
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 245, 160, 0.08);
}

.hero-badge.effect-hud::before {
  display: none;
}

.hero-badge.effect-hud .badge-tag {
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.highlight-text {
  color: var(--accent-cyan);
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(37, 99, 235, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 32px;
}

.hero-subtitle strong {
  color: var(--text-white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.feature-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Fundo Atmosférico e Canvas 3D do TUIA (Automação e Ciberdefesa)
   ========================================================================== */
.cyber-ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(ellipse 75% 55% at 75% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 65% 50% at 20% 70%, rgba(56, 189, 248, 0.08) 0%, transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(17, 26, 46, 0.4) 0%, #0a0f1d 100%);
  pointer-events: none;
  z-index: -2;
}

.ambient-3d-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

/* ==========================================================================
   Hero Right: Attack Surface Telemetry HUD
   ========================================================================== */
.hero-right-telemetry {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.telemetry-card {
  width: 100%;
  max-width: 480px;
  background: rgba(17, 26, 46, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(37, 99, 235, 0.12);
  position: relative;
}

.tc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.tc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tc-badge-text {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #bae6fd;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tc-target {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 600;
}

.tc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.tc-stat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}

.tc-stat-val {
  font-family: var(--font-mono);
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin-bottom: 3px;
}

.tc-stat-lbl {
  font-size: 0.74rem;
  color: #94a3b8;
  display: block;
  line-height: 1.25;
}

.tc-crit { color: #f87171 !important; }

.tc-terminal {
  background: #080d1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.term-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #cbd5e1;
  word-break: break-word;
}

.term-line.term-alert {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.term-ok { color: var(--accent-cyan); font-weight: 700; flex-shrink: 0; }
.term-warn { color: #f87171; font-weight: 700; flex-shrink: 0; }
.term-ai { color: #38bdf8; font-weight: 700; flex-shrink: 0; }

.tc-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.tc-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #94a3b8;
}

.tc-hint svg {
  color: var(--accent-cyan);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.chip-accent {
  background: var(--brand-dim);
  border-color: var(--border-brand);
  color: var(--accent-cyan);
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================================================
   Seção EASM 3D (Superfície de Ataque Externa & Palco 3D Dedicado)
   ========================================================================== */
.easm-section {
  padding: 70px 0 85px;
  position: relative;
}

.easm-stage-wrapper {
  background: rgba(17, 26, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(37, 99, 235, 0.12);
  transition: border-color var(--transition-smooth);
}

.easm-stage-wrapper:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.easm-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 14px;
}

.easm-stage-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.esh-title {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.esh-sep {
  color: var(--border-brand);
}

.esh-target {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.easm-stage-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stage-ctrl-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stage-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.stage-ctrl-btn.active {
  background: rgba(37, 99, 235, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.35);
}

.easm-canvas-box {
  position: relative;
  width: 100%;
  height: 560px;
  background: radial-gradient(circle at 50% 50%, #111a2e 0%, #0a0f1d 100%);
  cursor: grab;
  overflow: hidden;
}

.easm-canvas-box:active {
  cursor: grabbing;
}

.easm-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.easm-overlay-hud {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  flex-wrap: wrap;
  gap: 10px;
}

.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 16, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #cbd5e1;
}

.hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-primary);
  box-shadow: 0 0 8px var(--mint-primary);
}

.hud-dot--crit {
  background: #f87171;
  box-shadow: 0 0 8px #f87171;
  animation: pulseCrit 1.5s infinite;
}

@keyframes pulseCrit {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hud-chip--hint {
  color: #94a3b8;
  font-size: 0.75rem;
}

.easm-stage-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(8, 13, 15, 0.95);
  border-top: 1px solid var(--border-subtle);
}

.esf-item {
  padding: 16px 20px;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}

.esf-item:last-child {
  border-right: none;
}

.esf-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

.esf-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
}

/* ==========================================================================
   Interactive Demo Dashboard (Show, Don't Tell)
   ========================================================================== */
.demo-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(10, 16, 18, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.dash-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.dash-target {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  color: #cbd5e1;
}

.dash-target strong {
  color: var(--text-white);
  font-weight: 700;
}

.dash-badge-status {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-dim);
  border: 1px solid var(--border-brand);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dash-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #f87171;
}

.metric-lbl {
  font-size: 0.86rem;
  color: #cbd5e1;
  font-weight: 500;
}

.text-mint {
  color: var(--accent-cyan) !important;
}

/* Dashboard Grid Layout */
.dash-grid {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  min-height: 520px;
  width: 100%;
}

/* Findings Left Pane */
.findings-pane {
  border-right: 1px solid var(--border-subtle);
  background: rgba(13, 20, 36, 0.6);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}

.pane-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  gap: 4px;
}

.pane-title span {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.pane-title small {
  font-size: 0.84rem;
  color: #94a3b8;
  font-weight: 500;
}

.findings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.finding-card {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.finding-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(4px);
}

.finding-card.active {
  background: rgba(37, 99, 235, 0.12);
  border-color: #2563eb;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.2);
}

.fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.fc-date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.fc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 10px;
}

.fc-meta code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: #7dd3fc;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.micro-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

/* AI Report Right Pane */
.ai-report-pane {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 14px;
}

.ai-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-cyan);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ai-pulse {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: var(--brand-dim);
  border: 1px solid var(--border-brand);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.ai-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.report-section {
  margin-bottom: 26px;
  min-width: 0;
}

.report-section h5 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.report-exec-text {
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.75;
  padding: 16px 20px;
  background: rgba(37, 99, 235, 0.08);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.report-tech-box {
  background: #080d1a;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #93c5fd;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: auto;
}

.report-tech-box pre {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.report-lgpd-box {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.report-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #f8fafc;
  font-weight: 500;
  min-width: 0;
}

.report-steps li span:last-child {
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  flex: 1;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 20px;
  gap: 12px;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--brand-dim);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Governança, Conformidade & Soberania Box
   ========================================================================== */
.edital-box, .gov-box {
  background: linear-gradient(145deg, rgba(17, 26, 46, 0.95), rgba(11, 18, 34, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.edital-box::before, .gov-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.edital-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.edital-left h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 16px 0;
}

.edital-left p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.edital-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.edital-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-white);
}

.edital-checklist svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.institution-card {
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
}

.inst-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inst-header h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 6px 0 14px;
}

.institution-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.framework-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.framework-chips span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   CTA Final & Footer
   ========================================================================== */
.cta-section {
  padding: 70px 0 90px;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.footer {
  border-top: 1px solid var(--border-subtle);
  background: #070c18;
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 14px;
  display: inline-block;
}

.footer-logo .logo-svg {
  height: 38px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

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

.footer-links h5 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* 3D Card Hover Effects */
.finding-card, .feature-card, .institution-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
  transform-style: preserve-3d;
}

.finding-card:hover {
  transform: perspective(800px) translateY(-3px) rotateX(2deg);
}

.feature-card:hover {
  transform: perspective(800px) translateY(-4px) rotateX(2deg);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  .hero-left {
    align-items: center;
    text-align: center;
  }
  .hero-actions, .feature-chips {
    justify-content: center;
  }
  .canvas-3d-wrapper {
    max-width: 400px;
    margin: 10px auto 0;
  }
  .hud-badge-top {
    left: 0;
  }
  .hud-badge-bottom {
    right: 0;
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .findings-pane {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .edital-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .header {
    height: 70px;
  }
  .hero-section {
    padding: 40px 0 35px;
  }
  .canvas-3d-wrapper {
    max-width: 320px;
  }
  .edital-box {
    padding: 28px;
  }
  .footer-links {
    gap: 30px;
  }
  .easm-canvas-box {
    height: 420px;
  }
}
