:root {
  --bg-dark: #020308;
  --bg-deep: #050510;
  --color-electric: #4A9EFF;
  --color-indigo: #6366F1;
  --color-violet: #8B5CF6;
  --color-cyan: #00D1FF;
  --color-magenta: #FF00E5;
  --color-text-body: rgba(255, 255, 255, 0.85);
  --color-text-header: #FFFFFF;
  --font-display: 'TASA Orbiter Display', 'Outfit', sans-serif;
  --font-body: 'Geist', 'Inter', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  
  --gradient-core: linear-gradient(180deg, var(--color-electric) 0%, var(--color-indigo) 50%, var(--color-violet) 100%);
  --gradient-horizon: linear-gradient(90deg, var(--color-electric) 0%, var(--color-indigo) 50%, var(--color-violet) 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--color-text-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: transparent;
  z-index: -5;
}

/* Background Systems */
/* Futuristic Background Elements */
.animated-nebulas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -4;
  overflow: visible;
  pointer-events: none;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: drift 40s infinite alternate ease-in-out;
}

.nebula-1 {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--color-indigo) 0%, transparent 70%);
  top: -20%;
  left: -15%;
  animation-delay: 0s;
}

.nebula-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--color-violet) 0%, transparent 70%);
  bottom: -25%;
  right: -15%;
  animation-delay: -10s;
}

.nebula-3 {
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, var(--color-cyan) 0%, transparent 70%);
  top: 30%;
  left: 40%;
  opacity: 0.15;
  animation-duration: 50s;
  animation-delay: -25s;
}

.nebula-4 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-magenta) 0%, transparent 70%);
  top: 70%;
  left: 10%;
  opacity: 0.1;
  filter: blur(120px);
  animation: drift 45s infinite alternate-reverse ease-in-out;
}

.circuit-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  pointer-events: none;
  opacity: 0.8;
}

.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -5;
  pointer-events: none;
  background: transparent;
  overflow: hidden;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, 15%) scale(1.1); }
  100% { transform: translate(-5%, 5%) scale(0.9); }
}

/* Drift stars mobile — combinam translate + scale + opacity num único keyframe
   (dois animations com transform se cancelam em Android antigo) */
@keyframes star-drift-1 {
  0%,100% { transform: translate(0,0) scale(1);   opacity: 0.3; }
  50%      { transform: translate(18px,-22px) scale(1.15); opacity: 0.85; }
}
@keyframes star-drift-2 {
  0%,100% { transform: translate(0,0) scale(1);   opacity: 0.4; }
  50%      { transform: translate(-20px,16px) scale(1.1);  opacity: 0.75; }
}
@keyframes star-drift-3 {
  0%,100% { transform: translate(0,0) scale(1);   opacity: 0.25; }
  50%      { transform: translate(24px,12px) scale(1.2);  opacity: 0.9; }
}
@keyframes star-drift-4 {
  0%,100% { transform: translate(0,0) scale(1);   opacity: 0.35; }
  50%      { transform: translate(-14px,-20px) scale(1.05); opacity: 0.7; }
}
@keyframes star-drift-5 {
  0%,100% { transform: translate(0,0) scale(1);   opacity: 0.45; }
  50%      { transform: translate(10px,26px) scale(1.15); opacity: 0.8; }
}
@keyframes star-drift-6 {
  0%,100% { transform: translate(0,0) scale(1);   opacity: 0.3; }
  50%      { transform: translate(-22px,8px) scale(1.1);  opacity: 0.65; }
}

/* Near stars — large movement, high opacity */
@keyframes star-drift-7 {
  0%,100% { transform: translate(0,0) scale(1);    opacity: 0.5; }
  50%      { transform: translate(42px,-38px) scale(1.3);  opacity: 0.95; }
}
@keyframes star-drift-8 {
  0%,100% { transform: translate(0,0) scale(1);    opacity: 0.45; }
  50%      { transform: translate(-48px,32px) scale(1.2);  opacity: 0.88; }
}
@keyframes star-drift-9 {
  0%,100% { transform: translate(0,0) scale(1);    opacity: 0.55; }
  50%      { transform: translate(35px,50px) scale(1.25); opacity: 0.92; }
}

/* Far stars — micro movement, low opacity */
@keyframes star-drift-10 {
  0%,100% { transform: translate(0,0) scale(1);    opacity: 0.12; }
  50%      { transform: translate(7px,-5px) scale(1.04);  opacity: 0.28; }
}
@keyframes star-drift-11 {
  0%,100% { transform: translate(0,0) scale(1);    opacity: 0.1; }
  50%      { transform: translate(-6px,8px) scale(1.06);  opacity: 0.22; }
}
@keyframes star-drift-12 {
  0%,100% { transform: translate(0,0) scale(1);    opacity: 0.15; }
  50%      { transform: translate(9px,6px) scale(1.03);   opacity: 0.32; }
}

.circuit-pattern {
  display: none;
}

/* Typography System */

.headline, h1, h2, h3, .nodex {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-text-header);
  letter-spacing: 0.1em;
}

.body-text, p {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-body);
}

.sys-label, .mono-label, .card-footer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(74, 158, 255, 0.7);
  text-transform: uppercase;
}

/* Navigation */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: transparent;
  transition: background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.navbar-scrolled {
  background: rgba(2, 3, 8, 0.88) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border-bottom: 1px solid rgba(74, 158, 255, 0.12);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.65);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: transparent;
  border: none;
  z-index: 200;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.nav-overlay.open { display: block; }

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-symbol {
  width: 40px;
  height: 46px;
  position: relative;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nodex {
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  color: #fff;
}

.ai {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--color-electric);
  letter-spacing: 0.8em;
  padding-left: 0.2rem;
  margin-top: 0.1rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.8rem 2.5rem;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-horizon);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-electric);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  padding: 0.8rem 2rem;
  cursor: pointer;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(74, 158, 255, 0.3);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  text-transform: uppercase;
  border-radius: 8px;
}

.btn-outline:hover {
  background: rgba(74, 158, 255, 0.1);
  border-color: var(--color-electric);
  box-shadow: 0 0 20px rgba(74, 158, 255, 0.2);
}

/* Sections & Structural Layout */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-nebula {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.05) 40%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 10;
}

.hero-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-hexagon {
  animation: float 8s ease-in-out infinite, rotate-slow 120s linear infinite;
  transform-origin: center;
}

.hero-hex-pathglow {
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
}

.hero-hex-pathtrail {
  animation: dash-move 60s linear infinite;
}

.node {
  animation: pulse-glow 3s infinite alternate;
}

.node-core {
  animation-duration: 2s;
  animation-direction: alternate-reverse;
}

.network-lines {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-lines 5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.network-lines-faint {
  opacity: 0.5;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sys-label {
  margin-bottom: 0.5rem;
}

.headline {
  font-size: 5.5rem;
  line-height: 0.95;
  margin: 0;
}

.gradient-text {
  background: var(--gradient-horizon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-animation {
  background-size: 200% auto;
  animation: gradient-shift 8s linear infinite;
}

.hero-right .body-text {
  font-size: 1.25rem;
  max-width: 600px;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.cta-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.pulse-btn {
  background: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-dark), var(--bg-dark)), var(--gradient-horizon);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.pulse-btn:hover {
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.6);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0.6;
}

.mouse-outline {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(74, 158, 255, 0.5);
  border-radius: 12px;
  position: relative;
}

.scroll-dot {
  width: 4px;
  height: 4px;
  background: var(--color-electric);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-ping 2s infinite;
}

/* Sections & Transitions */

.section-divider {
  display: none;
}

.trace-light {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 200px;
  background: linear-gradient(90deg, transparent, var(--color-electric), transparent);
  animation: trace-travel 8s linear infinite;
  box-shadow: 0 0 10px var(--color-electric);
}

.trace-reverse {
  animation-direction: reverse;
  animation-duration: 12s;
}

.panel-light {
  background: transparent;
  padding: 8rem 0;
  position: relative;
}

.panel-dark {
  background-color: transparent;
  padding: 8rem 0;
  position: relative;
}

.section-title {
  font-size: 3.5rem;
  margin-top: 0.5rem;
  line-height: 1;
}

.section-header {
  margin-bottom: 5rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.glass-card {
  background: rgba(10, 15, 30, 0.4);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(74, 158, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* Cyber-Rim Glow (O brilho que contorna o card) */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 24px;
  padding: 2px; /* Espessura da borda */
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.5), transparent, rgba(139, 92, 246, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

/* Internal Dynamic Shadow/Glow */
.card-glow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: -1;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 158, 255, 0.3);
  background: rgba(10, 15, 30, 0.55);
  box-shadow:
    0 20px 40px -8px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(74, 158, 255, 0.12);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover .card-glow {
  opacity: 1;
}

/* Card head — icon box + number badge */
.card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.2);
  color: #4A9EFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-accent-indigo .card-icon-box {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
  color: #6366F1;
}

.card-accent-violet .card-icon-box {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: #8B5CF6;
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.14);
  margin-left: auto;
}

.glass-card:hover .card-icon-box {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(74, 158, 255, 0.3);
}

.card-accent-indigo:hover .card-icon-box {
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
}

.card-accent-violet:hover .card-icon-box {
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.3);
}

.glass-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1.4;
}

.glass-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.glass-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.glass-card .card-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-weight: 500;
  position: relative;
}

/* Mini Scan-line effect on hover */
.glass-card:hover::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, transparent, var(--color-electric), transparent);
  animation: trace-travel 2s infinite linear;
  opacity: 0.5;
}

/* Network Section */
.network-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

/* ── Flow Visual (lado direito do Como Funciona) ── */
.flow-visual {
  background: rgba(8, 12, 24, 0.65);
  border: 1px solid rgba(74, 158, 255, 0.12);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.flow-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4A9EFF 30%, #6366F1 60%, #8B5CF6, transparent);
  opacity: 0.8;
}

/* Header */
.flow-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.flow-uptime {
  margin-left: auto;
  color: rgba(34, 197, 94, 0.7) !important;
}
.flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255,255,255,0.2);
}
.flow-dot.active {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Pipeline */
.flow-pipeline {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.flow-node-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}
.flow-node.active .flow-node-icon {
  background: rgba(74, 158, 255, 0.15);
  border-color: rgba(74, 158, 255, 0.45);
  color: #4A9EFF;
  box-shadow: 0 0 18px rgba(74, 158, 255, 0.25);
}
.flow-node span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
}
.flow-node.active span {
  color: rgba(74, 158, 255, 0.75);
}
.flow-connector {
  flex: 1;
  height: 1px;
  background: rgba(74,158,255,0.15);
  margin: 0 4px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.flow-connector::after {
  content: '';
  position: absolute;
  top: 0; left: -60%; width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74,158,255,0.9), transparent);
  animation: flow-travel 2.2s linear infinite;
}
@keyframes flow-travel {
  to { left: 160%; }
}

/* Stats */
.flow-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.flow-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 0.8rem 0.5rem;
  text-align: center;
}
.flow-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gradient-horizon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.flow-stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
  margin-top: 0.3rem;
}

/* Log */
.flow-log {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.flow-log-entry {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
  line-height: 1.5;
  padding: 0.45rem 0.75rem;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  border-left: 2px solid rgba(255,255,255,0.08);
}
.flow-log-entry.success {
  border-left-color: rgba(34, 197, 94, 0.35);
  color: rgba(255,255,255,0.45);
}
.flow-log-entry.typing {
  border-left-color: rgba(74, 158, 255, 0.5);
  color: rgba(74, 158, 255, 0.75);
  animation: blink-cursor 1.1s step-end infinite;
}
@keyframes blink-cursor {
  50% { opacity: 0.4; }
}

.network-info p {
  margin-top: 2rem;
  margin-bottom: 3rem;
  max-width: 500px;
  font-size: 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.stat-unit {
  font-size: 1.5rem;
  font-weight: 500;
  margin-left: 2px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.5);
}

.network-globe-placeholder {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulsing-circles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(74, 158, 255, 0.2);
}

.c1 { width: 200px; height: 200px; animation: orbit-pulse 4s linear infinite; }
.c2 { width: 350px; height: 350px; animation: orbit-pulse 8s linear infinite reverse; opacity: 0.5;}
.c3 { width: 500px; height: 500px; animation: orbit-pulse 12s linear infinite; opacity: 0.2;}

.globe-nodes {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Footer */

footer {
  padding: 4rem 0 2rem;
  background: transparent;
  border-top: 1px solid rgba(74, 158, 255, 0.1);
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.footer-links {
  display: flex;
  gap: 6rem;
}

.link-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-col a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.link-col a:hover {
  color: var(--color-electric);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.3);
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 4rem;
  padding-right: 4rem;
}

/* Keyframes */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes rotate-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0% { filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.4)); opacity: 0.8;}
  100% { filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8)); opacity: 1;}
}

@keyframes dash-move {
  to { stroke-dashoffset: -1000; }
}

@keyframes draw-lines {
  to { stroke-dashoffset: 0; }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes scroll-ping {
  0% { top: 6px; opacity: 1; }
  100% { top: 24px; opacity: 0; }
}

@keyframes trace-travel {
  0% { left: -200px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes orbit-pulse {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.05); border-color: rgba(139, 92, 246, 0.4); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

/* Shooting Star */
.shooting-star {
  position: fixed;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95) 40%, rgba(180,210,255,0.7) 70%, transparent);
  border-radius: 999px;
  z-index: -3;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(200,220,255,0.9));
  animation: shooting-star-move 0.9s ease-out forwards;
}

@keyframes shooting-star-move {
  0%   { opacity: 0;   transform: translateX(0) translateY(0) rotate(-35deg); }
  5%   { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { opacity: 0;   transform: translateX(550px) translateY(300px) rotate(-35deg); }
}

/* Active nav link */
.nav-links a.active {
  color: var(--color-electric);
}
.nav-links a.active::after {
  width: 100%;
}

/* Responsive */

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-action { display: none; }
  .navbar { padding: 1rem 1.5rem; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2rem 2.5rem;
    background: rgba(2, 3, 8, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(74, 158, 255, 0.15);
    border-radius: 0;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 150;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; padding: 0.25rem 0; }
}

@media (max-width: 1024px) {
  .hero-content, .network-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .flow-visual {
    margin-top: 0.5rem;
  }
  .flow-pipeline {
    justify-content: center;
  }
  .hero-left {
    order: -1;
  }
  .floating-hexagon {
    max-width: 250px;
  }
  .headline {
    font-size: 4rem;
  }
  .cta-wrapper {
    justify-content: center;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  body, .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 768px) {
  .headline {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .stat-val {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .headline {
    font-size: 2.1rem;
    letter-spacing: 0.04em;
    line-height: 1.05;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .stat-val {
    font-size: 1.8rem;
  }
  .stat-unit {
    font-size: 1.1rem;
  }
  .glass-card {
    padding: 1.5rem;
    border-radius: 16px;
  }
  .glass-card h3 {
    font-size: 0.95rem;
  }
  .glass-card p {
    font-size: 0.875rem;
  }
  .glass-card:hover {
    transform: none; /* desativa hover lift no touch */
  }
  .cards-grid {
    gap: 1rem;
  }
  .card-icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px; /* garante toque adequado */
    border-radius: 10px;
  }
}
