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

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

:root {
  /* Strict User Design Tokens */
  --bg-dark: #050814;
  --bg-card: #0c1322;
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(0, 229, 255, 0.3);
  
  --cyan-neon: #00e5ff;
  --pink-neon: #e20098;
  --purple-neon: #7000ff;
  
  --text-white: #ffffff;
  --text-sub: #8b9bb4;
  --text-dim: #64748b;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   DYNAMIC ANIMATED GLOW BLOBS & BACKGROUND (Fundo Dinâmico Animado)
   ========================================================================== */
.dynamic-glow-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}

.blob-1 {
  top: -10%;
  left: 10%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(112, 0, 255, 0.10) 50%, transparent 70%);
  animation: floatBlob1 18s ease-in-out infinite alternate;
}

.blob-2 {
  top: 35%;
  right: -5%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(226, 0, 152, 0.15) 0%, rgba(112, 0, 255, 0.10) 50%, transparent 70%);
  animation: floatBlob2 20s ease-in-out infinite alternate;
}

.blob-3 {
  bottom: -10%;
  left: 25%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(226, 0, 152, 0.12) 50%, transparent 70%);
  animation: floatBlob3 16s ease-in-out infinite alternate;
}

@keyframes floatBlob1 {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(70px, 50px) scale(1.12); }
  100% { transform: translate(-40px, 90px) scale(0.92); }
}

@keyframes floatBlob2 {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(-80px, -60px) scale(1.15); }
  100% { transform: translate(30px, 50px) scale(0.95); }
}

@keyframes floatBlob3 {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(60px, -50px) scale(1.1); }
  100% { transform: translate(-50px, -30px) scale(0.9); }
}

/* Cyber Grid Overlay (Discreto Premium) */
.cyber-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 85%);
  animation: cyberGridDrift 50s linear infinite;
}

@keyframes cyberGridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 64px 64px; }
}

/* Laser Rays & Top Aurora (Discreto Premium) */
.page-aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.aurora-top-right {
  position: absolute;
  top: -120px;
  right: -50px;
  width: 850px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.28) 0%, rgba(112, 0, 255, 0.3) 45%, rgba(226, 0, 152, 0.25) 75%, transparent 90%);
  filter: blur(85px);
  transform: rotate(-15deg);
  animation: auroraBreathe 14s ease-in-out infinite alternate;
}

@keyframes auroraBreathe {
  0% {
    opacity: 0.72;
    transform: rotate(-15deg) scale(0.98) translateY(0);
  }
  50% {
    opacity: 0.98;
    transform: rotate(-13deg) scale(1.05) translateY(-12px);
  }
  100% {
    opacity: 0.8;
    transform: rotate(-16deg) scale(0.96) translateY(8px);
  }
}

.laser-ray-mid {
  position: absolute;
  top: 38%;
  right: -80px;
  width: 750px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.85) 45%, rgba(0, 180, 255, 0.4), transparent);
  box-shadow: 0 0 20px 2px rgba(0, 229, 255, 0.8), 0 0 45px 5px rgba(0, 180, 255, 0.4);
  transform: rotate(-30deg);
  animation: laserShimmer1 9s ease-in-out infinite alternate;
}

@keyframes laserShimmer1 {
  0% {
    opacity: 0.6;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
    transform: rotate(-30deg) translateX(0px);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.95));
    transform: rotate(-30deg) translateX(-25px);
  }
  100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.6));
    transform: rotate(-30deg) translateX(15px);
  }
}

.laser-ray-bottom {
  position: absolute;
  bottom: 18%;
  right: -80px;
  width: 700px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.85), rgba(226, 0, 152, 0.55), transparent);
  box-shadow: 0 0 20px 2px rgba(0, 229, 255, 0.8), 0 0 45px 5px rgba(226, 0, 152, 0.4);
  transform: rotate(-30deg);
  animation: laserShimmer2 12s ease-in-out infinite alternate;
}

@keyframes laserShimmer2 {
  0% {
    opacity: 0.55;
    filter: drop-shadow(0 0 8px rgba(226, 0, 152, 0.5));
    transform: rotate(-30deg) translateX(0px);
  }
  50% {
    opacity: 0.95;
    filter: drop-shadow(0 0 20px rgba(226, 0, 152, 0.9));
    transform: rotate(-30deg) translateX(30px);
  }
  100% {
    opacity: 0.65;
    filter: drop-shadow(0 0 12px rgba(226, 0, 152, 0.6));
    transform: rotate(-30deg) translateX(-18px);
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER & NAVBAR (Exatamente igual ao mockup)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(5, 8, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.02);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: var(--pink-neon);
}

/* Seletor de Idioma: PT em botão rosa, EN em outline */
.lang-pill-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-pill-item {
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
  text-decoration: none;
  transition: var(--transition);
}

.lang-pill-item.active {
  background: var(--pink-neon);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(226, 0, 152, 0.5);
}

.nav-login-btn {
  margin-left: 12px;
  padding: 8px 18px;
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nav-login-btn {
    margin-left: 8px;
    padding: 6px 12px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   BUTTONS (Rigoroso: Rosa #e20098, Cantos 8px, Sombra Neon 0 4px 15px)
   ========================================================================== */
.btn-cta-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background-color: #e20098;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(226, 0, 152, 0.3);
  transition: all 0.3s ease;
}

.btn-cta-pink:hover {
  background-color: #f70aab;
  box-shadow: 0 6px 25px rgba(226, 0, 152, 0.55);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--bg-card);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  cursor: pointer;
  transition: var(--transition);
}

.btn-cta-outline:hover {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
  color: #fff;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-neon);
  margin-bottom: 12px;
}

.section-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-neon);
  animation: badgeDotPulse 2s ease-in-out infinite alternate;
}

@keyframes badgeDotPulse {
  0% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 12px var(--cyan-neon);
  }
}

.text-cyan { color: var(--cyan-neon); }
.text-pink { color: var(--pink-neon); }
.text-purple { color: var(--purple-neon); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 130px;
  padding-bottom: 50px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: center;
}

.hero-content {
  max-width: 500px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* 90-degree linear text gradient transitioning from Cyan to Purple to Pink */
.hero-title-gradient {
  background: linear-gradient(90deg, #00e5ff 0%, #7000ff 50%, #e20098 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  color: var(--text-sub);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ==========================================================================
   DASHBOARD 3D ISOMETRIC / PERSPECTIVE (Fiel ao mockup)
   ========================================================================== */
.hero-dashboard-wrap {
  position: relative;
  perspective: 1200px;
}

.dashboard-aurora-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 95%;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.28) 0%, rgba(255, 0, 127, 0.22) 50%, transparent 75%);
  filter: blur(55px);
  z-index: 0;
  pointer-events: none;
  animation: dashAuroraBreathe 9s ease-in-out infinite alternate;
}

@keyframes dashAuroraBreathe {
  0% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Atmospheric Sentinel IntrudeRaven Mascot on Top/Behind 3D Dashboard (Enlarged & Majestic) */
.hero-raven-backdrop {
  position: absolute;
  top: -110px;
  right: -50px;
  width: 640px;
  height: 440px;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
  opacity: 0.98;
  filter: drop-shadow(0 0 45px rgba(112, 0, 255, 0.8)) drop-shadow(0 0 20px rgba(0, 229, 255, 0.5));
  transition: opacity 0.5s ease, transform 0.5s ease;
  animation: heroRavenHover 8s ease-in-out infinite;
}

@keyframes heroRavenHover {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

.hero-raven-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
  filter: contrast(1.1) brightness(1.08);
}

.hero-dashboard-wrap:hover .hero-raven-backdrop {
  opacity: 1;
  transform: translateY(-15px) scale(1.04);
}

.dashboard-window {
  position: relative;
  z-index: 1;
  width: 78%;
  margin-top: 40px;
  background: rgba(9, 14, 28, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 
    0 35px 80px -15px rgba(0, 0, 0, 0.95), 
    0 0 45px rgba(0, 229, 255, 0.25),
    inset 0 1px 1px rgba(0, 229, 255, 0.4);
  overflow: hidden;
  transform: rotateY(-14deg) rotateX(8deg) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  display: block;
  line-height: 0;
}

.dashboard-window:hover {
  transform: rotateY(0deg) rotateX(0deg) translateZ(0);
  box-shadow: 
    0 40px 90px -10px rgba(0, 0, 0, 0.95), 
    0 0 60px rgba(0, 229, 255, 0.45);
}

.dashboard-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-md) - 1px);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Subtle Specular Glare across the 3D window */
.dashboard-glass-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(0, 229, 255, 0.04) 25%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.dashboard-window:hover .dashboard-glass-glare {
  opacity: 0.5;
}

.dash-sidebar {
  background: #060914;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-brand-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.dash-menu-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
}

.dash-menu-btn.active {
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan-neon);
}

.dash-main {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-top-metrics-row {
  display: grid;
  grid-template-columns: 115px 1fr 140px;
  gap: 12px;
  align-items: center;
}

.dash-gauge-box {
  background: rgba(13, 20, 39, 0.85);
  border: 1px solid rgba(255, 0, 127, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}

.dash-gauge-title {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.dash-gauge-circle {
  width: 68px;
  height: 68px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-gauge-circle svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.dash-gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 6;
}

.dash-gauge-bar {
  fill: none;
  stroke: #ff007f;
  stroke-width: 6;
  stroke-dasharray: 188;
  stroke-dashoffset: 30;
  stroke-linecap: round;
}

.dash-gauge-val {
  position: absolute;
  text-align: center;
}

.dash-gauge-val strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  display: block;
}

.dash-gauge-val span {
  font-size: 0.58rem;
  color: #64748b;
}

.dash-risk-tag {
  font-size: 0.62rem;
  font-weight: 700;
  color: #ff3366;
  text-transform: uppercase;
  margin-top: 4px;
}

.dash-center-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-kpis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.dash-kpi-cell {
  background: rgba(13, 20, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 6px 4px;
  text-align: center;
}

.dash-kpi-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.dash-kpi-name {
  font-size: 0.58rem;
  color: #94a3b8;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-sparkline-box {
  background: rgba(13, 20, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 6px 8px;
}

.dash-sparkline-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: #64748b;
  margin-bottom: 2px;
}

.dash-sparkline-svg {
  width: 100%;
  height: 28px;
}

.dash-severity-box {
  background: rgba(13, 20, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.dash-sev-title {
  font-size: 0.62rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 6px;
}

.dash-sev-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.58rem;
}

.dash-sev-label {
  color: #cbd5e1;
  width: 38px;
}

.dash-sev-bar-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.dash-sev-bar {
  height: 100%;
  border-radius: 2px;
}

.dash-sev-num {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #64748b;
  width: 14px;
  text-align: right;
}

.dash-attack-path-panel {
  background: rgba(13, 20, 39, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.dash-ap-header {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan-neon);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.dash-ap-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-ap-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 90px;
  gap: 5px;
}

.dash-ap-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 20, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes apNodeFlash {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 20px var(--pink-neon), inset 0 0 10px var(--pink-neon);
  }
}

.dash-ap-node:nth-of-type(1) .dash-ap-circle { animation: apNodeFlash 5s ease-in-out infinite; animation-delay: 0s; }
.dash-ap-node:nth-of-type(2) .dash-ap-circle { animation: apNodeFlash 5s ease-in-out infinite; animation-delay: 1.25s; }
.dash-ap-node:nth-of-type(3) .dash-ap-circle { animation: apNodeFlash 5s ease-in-out infinite; animation-delay: 2.5s; }
.dash-ap-node:nth-of-type(4) .dash-ap-circle { animation: apNodeFlash 5s ease-in-out infinite; animation-delay: 3.75s; }

.dash-ap-circle.pink {
  border: 1.5px solid var(--pink-neon);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.35);
  color: var(--pink-neon);
}

.dash-ap-circle.cyan {
  border: 1.5px solid var(--cyan-neon);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
  color: var(--cyan-neon);
}

.dash-ap-text {
  font-size: 0.62rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.2;
}

.dash-ap-arrow {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  animation: apArrowGlow 5s ease-in-out infinite;
}

@keyframes apArrowGlow {
  0%, 100% { color: rgba(255, 255, 255, 0.2); }
  50% { color: var(--cyan-neon); text-shadow: 0 0 8px var(--cyan-neon); }
}

.dash-ap-arrow:nth-of-type(1) { animation-delay: 0.6s; }
.dash-ap-arrow:nth-of-type(2) { animation-delay: 1.85s; }
.dash-ap-arrow:nth-of-type(3) { animation-delay: 3.1s; }

/* ==========================================================================
   METRICS STRIP (Divider style under Hero)
   ========================================================================== */
.metrics-strip-row {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.metric-cell {
  position: relative;
}

.metric-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-big-num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.metric-sub-label {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 4px;
}

/* ==========================================================================
   GENERAL SECTION LAYOUTS
   ========================================================================== */
.section {
  padding: 75px 0;
  position: relative;
}

.section-header-wrap {
  margin-bottom: 40px;
}

.section-header-wrap.center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading-lg {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-desc-p {
  color: var(--text-sub);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   SECTION: O PROBLEMA
   ========================================================================== */
.problem-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.problem-compare-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-card-styled {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.compare-card-styled:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.12);
}

.compare-card-styled.trad {
  border-color: rgba(255, 75, 75, 0.25);
}
.compare-card-styled.trad:hover {
  border-color: rgba(255, 75, 75, 0.5);
  transform: translateY(-2px);
}

.compare-card-styled.intruder {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.08);
}
.compare-card-styled.intruder:hover {
  border-color: var(--cyan-neon);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.2);
}

.compare-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-items-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-items-ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.circle-icon-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  flex-shrink: 0;
}

.circle-icon-badge.red {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #ef4444;
}

.circle-icon-badge.cyan {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--cyan-neon);
  color: var(--cyan-neon);
}

/* ==========================================================================
   SECTION: COMO FUNCIONA (Pipeline Horizontal com Anéis Brilhantes)
   ========================================================================== */
.pipeline-chain-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 45px;
  position: relative;
}

.pipeline-node-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  gap: 10px;
}

.pipeline-circle-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(9, 14, 28, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

@keyframes pipelinePulseCyan {
  0%, 100% {
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
    border-color: var(--cyan-neon);
  }
  50% {
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.9), inset 0 0 14px rgba(0, 229, 255, 0.4);
    border-color: #ffffff;
    transform: scale(1.08);
  }
}

@keyframes pipelinePulsePink {
  0%, 100% {
    box-shadow: 0 0 14px rgba(226, 0, 152, 0.35);
    border-color: var(--pink-neon);
  }
  50% {
    box-shadow: 0 0 28px rgba(226, 0, 152, 0.9), inset 0 0 14px rgba(226, 0, 152, 0.4);
    border-color: #ffffff;
    transform: scale(1.08);
  }
}

.pipeline-node-item:nth-of-type(1) .pipeline-circle-ring { animation: pipelinePulseCyan 6s ease-in-out infinite; animation-delay: 0s; }
.pipeline-node-item:nth-of-type(2) .pipeline-circle-ring { animation: pipelinePulsePink 6s ease-in-out infinite; animation-delay: 1s; }
.pipeline-node-item:nth-of-type(3) .pipeline-circle-ring { animation: pipelinePulsePink 6s ease-in-out infinite; animation-delay: 2s; }
.pipeline-node-item:nth-of-type(4) .pipeline-circle-ring { animation: pipelinePulsePink 6s ease-in-out infinite; animation-delay: 3s; }
.pipeline-node-item:nth-of-type(5) .pipeline-circle-ring { animation: pipelinePulsePink 6s ease-in-out infinite; animation-delay: 4s; }
.pipeline-node-item:nth-of-type(6) .pipeline-circle-ring { animation: pipelinePulsePink 6s ease-in-out infinite; animation-delay: 5s; }

.pipeline-circle-ring.cyan {
  border: 1.5px solid var(--cyan-neon);
  color: var(--cyan-neon);
}

.pipeline-circle-ring.pink {
  border: 1.5px solid var(--pink-neon);
  color: var(--pink-neon);
}

.pipeline-node-item:hover .pipeline-circle-ring {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 0 30px var(--cyan-neon);
}

.pipeline-step-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 700;
}

.pipeline-step-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.3s ease;
}

.pipeline-node-item:hover .pipeline-step-name {
  color: var(--cyan-neon);
}

.pipeline-arrow-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.1rem;
  flex: 1;
  text-align: center;
  margin-bottom: 24px;
  animation: arrowGlowPulse 6s ease-in-out infinite;
}

@keyframes arrowGlowPulse {
  0%, 100% {
    color: rgba(255, 255, 255, 0.25);
    transform: translateX(0);
  }
  50% {
    color: var(--cyan-neon);
    transform: translateX(4px);
    text-shadow: 0 0 10px var(--cyan-neon);
  }
}

.pipeline-arrow-sep:nth-of-type(1) { animation-delay: 0.5s; }
.pipeline-arrow-sep:nth-of-type(2) { animation-delay: 1.5s; }
.pipeline-arrow-sep:nth-of-type(3) { animation-delay: 2.5s; }
.pipeline-arrow-sep:nth-of-type(4) { animation-delay: 3.5s; }
.pipeline-arrow-sep:nth-of-type(5) { animation-delay: 4.5s; }

/* ==========================================================================
   SECTION: CAPACIDADES (Grelha 3x2)
   ========================================================================== */
.capabilities-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: center;
}

.capabilities-cards-6grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cap-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  transition: all 0.3s ease;
}

.cap-card-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-card-hover);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.12);
}

.cap-icon-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--cyan-neon);
}

.cap-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.cap-card-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.45;
}

/* ==========================================================================
   SECTION: RELATÓRIOS
   ========================================================================== */
.reports-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 40px;
  align-items: center;
}

.reports-3cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.report-box-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.report-box-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-card-hover);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.15);
}

.report-box-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.report-box-target {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.report-box-target.cyan { color: var(--cyan-neon); }
.report-box-target.pink { color: var(--pink-neon); }

.report-bullets-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-bullets-ul li {
  font-size: 0.82rem;
  color: #cbd5e1;
  position: relative;
  padding-left: 12px;
}

.report-bullets-ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--cyan-neon);
}

/* ==========================================================================
   SECTION: O QUE DISTINGUE A INTRUDERAVEN (4 cards)
   ========================================================================== */
.differentiators-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.diff-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  transition: all 0.3s ease;
}

.diff-card-item:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.15);
}

.diff-icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.diff-card-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.diff-card-desc {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.48;
}

/* ==========================================================================
   SECTION: TECNOLOGIA EUROPEIA & PORTUGAL
   ========================================================================== */
.portugal-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
}

.portugal-features-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.portugal-feat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.3s ease;
}

.portugal-feat-box:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.12);
}

.portugal-feat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.portugal-feat-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.portugal-feat-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.45;
}

/* ==========================================================================
   SECTION: CONFORMIDADE
   ========================================================================== */
.compliance-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.compliance-box-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.compliance-box-item:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.2);
}

.compliance-icon-wrap {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-neon);
}

.compliance-title-lg {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.compliance-desc-txt {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.45;
}

/* ==========================================================================
   SECTION: TESTEMUNHOS
   ========================================================================== */
.testimonials-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.testimonial-card-box:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.12);
}

.quote-neon-mark {
  font-family: serif;
  font-size: 2.8rem;
  line-height: 0.8;
  color: var(--pink-neon);
  margin-bottom: 8px;
}

.quote-body-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.quote-author-info {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.quote-author-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.quote-author-company {
  font-size: 0.78rem;
  color: var(--cyan-neon);
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.final-cta-banner-pill {
  margin: 60px 0 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 45px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.final-cta-banner-pill:hover {
  border-color: var(--border-card-hover);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.1);
}

.final-cta-left {
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.final-cta-sub {
  color: var(--text-sub);
  font-size: 0.95rem;
}

.final-cta-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* IntrudeRaven Mascot Portrait in CTA Banner */
.final-cta-raven-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.final-cta-raven-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
  opacity: 0.90;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 18%, black 48%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 18%, black 48%);
  filter: contrast(1.1) brightness(1.05) drop-shadow(0 0 35px rgba(112, 0, 255, 0.75));
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.final-cta-banner-pill:hover .final-cta-raven-img {
  opacity: 1;
  transform: scale(1.04);
}

.cta-bee-emblem {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.45));
}

/* ==========================================================================
   FOOTER (Matching mockup)
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  background: #04060d;
}

.footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-admin-link {
  color: #475569;
  font-size: 0.72rem;
  text-decoration: none;
  margin-left: 16px;
}
.footer-admin-link:hover {
  color: var(--cyan-neon);
}

/* ==========================================================================
   MODAL: SOLICITAR DEMONSTRAÇÃO
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #0b1122;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 34px;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 229, 255, 0.2);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #fff;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--cyan-neon);
  box-shadow: 0 0 10px var(--cyan-glow);
  background: rgba(255, 255, 255, 0.07);
}

.form-alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: none;
}
.form-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #10b981;
  display: block;
}
.form-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #ef4444;
  display: block;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .problem-grid-layout {
    grid-template-columns: 1fr;
  }
  .capabilities-split-layout {
    grid-template-columns: 1fr;
  }
  .reports-split-layout {
    grid-template-columns: 1fr;
  }
  .portugal-split-layout {
    grid-template-columns: 1fr;
  }
  .differentiators-4grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compliance-4grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-raven-backdrop {
    top: -140px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 580px;
    height: 380px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-raven-backdrop {
    top: -100px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 260px;
    opacity: 0.95;
  }
  .dashboard-window {
    transform: rotateY(0deg) rotateX(0deg);
  }
  .metrics-strip-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .metric-cell:not(:last-child)::after {
    display: none;
  }
  .problem-compare-boxes {
    grid-template-columns: 1fr;
  }
  .pipeline-chain-flow {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .pipeline-arrow-sep {
    display: none;
  }
  .capabilities-cards-6grid {
    grid-template-columns: 1fr;
  }
  .reports-3cards-grid {
    grid-template-columns: 1fr;
  }
  .differentiators-4grid {
    grid-template-columns: 1fr;
  }
  .portugal-features-2x2 {
    grid-template-columns: 1fr;
  }
  .compliance-4grid {
    grid-template-columns: 1fr;
  }
  .testimonials-3grid {
    grid-template-columns: 1fr;
  }
  .final-cta-banner-pill {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }
  .final-cta-raven-bg {
    width: 100%;
    height: 100%;
    opacity: 0.4;
  }
  .final-cta-raven-img {
    object-position: 25% center;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .final-cta-right {
    flex-direction: column;
  }
  .footer-nav-row {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ==========================================================================
   INSIGHTS & NEWSLETTER SECTION
   ========================================================================== */
.articles-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.article-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.article-card-box:hover {
  transform: translateY(-2px);
  border-color: var(--border-card-hover);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.12);
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.article-badge-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan-neon);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.article-card-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.article-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.article-card-summary {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 18px;
}

.btn-read-article {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--pink-neon);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.btn-read-article:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Newsletter Subscription Box */
.newsletter-subscribe-box {
  background: linear-gradient(135deg, rgba(13, 20, 39, 0.95) 0%, rgba(20, 10, 32, 0.9) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.newsletter-subscribe-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.newsletter-subscribe-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.newsletter-form-inline {
  display: flex;
  gap: 10px;
}

.newsletter-input-email {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-input-email:focus {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

@media (max-width: 1024px) {
  .articles-3grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter-subscribe-box {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .articles-3grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form-inline {
    flex-direction: column;
  }
}

/* Article Card Cover & In-Text Images */
.article-card-cover {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: block;
}

.article-card-box:hover .article-card-cover {
  border-color: rgba(0, 229, 255, 0.4);
  transform: scale(1.02);
}

.article-modal-cover-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: block;
}

.article-body-figure {
  margin: 22px 0;
  text-align: center;
}

.article-body-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  display: block;
  margin: 0 auto;
}

.article-body-caption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-style: italic;
}

/* ==========================================================================
   SCROLL REVEAL & DYNAMIC ENTRANCE ANIMATIONS (Discreto Premium)
   ========================================================================== */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Interactive Hover on All Cards */
.cap-card-item,
.compare-card-styled,
.report-card-styled,
.diff-card-item,
.portugal-card-item,
.compliance-card-item,
.testimonial-card-item,
.article-card-box {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.cap-card-item:hover,
.report-card-styled:hover,
.diff-card-item:hover,
.portugal-card-item:hover,
.compliance-card-item:hover,
.testimonial-card-item:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 229, 255, 0.12);
}

.cap-card-item:hover svg,
.diff-card-item:hover svg,
.portugal-card-item:hover svg,
.compliance-card-item:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px var(--cyan-neon));
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Subtle breathing cyan pulse on "Com IntrudeRaven" solution card */
.compare-card-styled.intruder {
  animation: intruderBorderPulse 6s ease-in-out infinite alternate;
}

@keyframes intruderBorderPulse {
  0% {
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.08);
  }
  100% {
    border-color: rgba(0, 229, 255, 0.7);
    box-shadow: 0 12px 35px rgba(0, 229, 255, 0.22);
  }
}

/* Holographic Shimmer on Compliance Cards */
.compliance-card-item {
  position: relative;
  overflow: hidden;
}

.compliance-card-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 229, 255, 0.12) 50%,
    transparent 100%
  );
  transform: rotate(30deg);
  animation: compCardShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

.compliance-card-item:nth-of-type(2)::after { animation-delay: 2s; }
.compliance-card-item:nth-of-type(3)::after { animation-delay: 4s; }
.compliance-card-item:nth-of-type(4)::after { animation-delay: 6s; }

@keyframes compCardShimmer {
  0% { left: -100%; }
  25%, 100% { left: 200%; }
}

/* Metrics Big Number Hover Glow */
.metric-cell {
  transition: transform 0.3s ease;
}

.metric-cell:hover {
  transform: translateY(-3px);
}

.metric-cell:hover .metric-big-num {
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pipeline-circle-ring,
  .pipeline-arrow-sep,
  .compliance-card-item::after,
  .dash-ap-circle,
  .compare-card-styled.intruder {
    animation: none !important;
  }
}

