/* VASMA Design System - Robgeni Hub */
:root {
  --bg-dark: #0B0F19;
  --bg-card: rgba(30, 41, 59, 0.4);
  --primary-blue: #1B75BB;
  --primary-orange: #F6921E;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --glass-border: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(27, 117, 187, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(246, 146, 30, 0.15), transparent 25%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background: rgba(11, 15, 25, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.brand-logo { height: 40px; display: flex; align-items: center; gap: 1rem; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.5px;}
.brand-logo img { height: 100%; border-radius: 4px;}
.nav-links { flex-grow: 1; display:flex; justify-content:flex-end; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; margin-left: 2.5rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-orange); }

/* Orbital Hero Layout */
.hero-orbital {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 850px;
}
.hero-text { flex: 1; max-width: 500px; padding-right: 2rem; z-index: 10; }
.badge {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 50px; background: rgba(27, 117, 187, 0.2);
  color: var(--primary-blue); border: 1px solid rgba(27, 117, 187, 0.3); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2rem;
}
.hero-text h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; background: linear-gradient(to bottom right, #ffffff, #64748b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { font-size: 1.25rem; color: var(--text-muted); line-height: 1.6; }
.module-tagline-display {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1.5rem;
  opacity: 0.7;
  transition: all 0.4s ease;
  min-height: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  transform: translateY(5px);
}

/* Orbital Container */
.orb-container {
  position: relative; width: 800px; height: 800px; flex-shrink: 0; transform: scale(1);
}

.orb-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

.orb-ring { stroke: rgba(27, 117, 187, 0.3); stroke-width: 1; stroke-dasharray: 4, 8; }
.orb-ring-outer { stroke: rgba(27, 117, 187, 0.1); stroke-width: 1; stroke-dasharray: 2, 6; }

/* Network Web between nodes (Pentagon) */
.web-path {
  fill: none;
  stroke: rgba(27, 117, 187, 0.3);
  stroke-width: 2;
}
.web-neuron {
  fill: none;
  stroke: var(--primary-orange);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 10, 365.84;
  animation: web-travel 4s linear infinite;
}
@keyframes web-travel {
  from { stroke-dashoffset: 375.84; }
  to { stroke-dashoffset: 0; }
}

/* Static Signal Path (solid line) */
.signal-path {
  stroke: rgba(27, 117, 187, 0.4);
  stroke-width: 3;
}

/* Moving Neurons over Path */
.neuron-dot {
  stroke: var(--primary-orange);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 10, 1000;
  animation: neuron-travel linear infinite;
}

@keyframes neuron-travel {
  0% { stroke-dashoffset: -30; opacity: 0; }
  10% { stroke-dashoffset: -50; opacity: 1; }
  40% { opacity: 1; }
  50% { stroke-dashoffset: -260; opacity: 0; }
  60% { stroke-dashoffset: -260; opacity: 1; }
  90% { opacity: 1; }
  100% { stroke-dashoffset: -30; opacity: 0; }
}

/* Center Node (RobGeni Core) */
.center-node {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  z-index: 10;
  display: flex; justify-content: center; align-items: center;
}
.center-node::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 4px solid var(--primary-blue);
  box-shadow: 0 0 50px rgba(27, 117, 187, 0.6);
  z-index: 1;
}
.center-node img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: contrast(1.8) brightness(0.75);
  -webkit-mask-image: radial-gradient(circle at center, black 55%, transparent 71%);
  mask-image: radial-gradient(circle at center, black 55%, transparent 71%);
  z-index: 2;
  transform: scale(1.25);
  transition: transform 0.5s ease;
}
.center-node:hover img {
  transform: scale(1.2);
}

.pulse-effect::after { animation: pulse-glow 5s ease-in-out infinite; }
@keyframes pulse-glow {
  0% { box-shadow: 0 0 30px rgba(27, 117, 187, 0.5); border-color: var(--primary-blue); }
  50% { box-shadow: 0 0 80px rgba(27, 117, 187, 0.9), 0 0 100px rgba(246, 146, 30, 0.4); border-color: var(--primary-orange); }
  100% { box-shadow: 0 0 30px rgba(27, 117, 187, 0.5); border-color: var(--primary-blue);}
}

/* Orbit Nodes */
.orbit-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 130px; height: 130px;
  margin: -65px 0 0 -65px;
  z-index: 5;
  cursor: pointer;
}

@keyframes chaos-1 {
  0%   { transform: rotate(270deg) translateX(320px) rotate(-270deg) translate(0, 0); }
  33%  { transform: rotate(270deg) translateX(320px) rotate(-270deg) translate(-20px, 15px); }
  66%  { transform: rotate(270deg) translateX(320px) rotate(-270deg) translate(10px, -20px); }
  100% { transform: rotate(270deg) translateX(320px) rotate(-270deg) translate(0, 0); }
}
@keyframes chaos-2 {
  0%   { transform: rotate(342deg) translateX(320px) rotate(-342deg) translate(0, 0); }
  33%  { transform: rotate(342deg) translateX(320px) rotate(-342deg) translate(15px, 20px); }
  66%  { transform: rotate(342deg) translateX(320px) rotate(-342deg) translate(-25px, -10px); }
  100% { transform: rotate(342deg) translateX(320px) rotate(-342deg) translate(0, 0); }
}
@keyframes chaos-3 {
  0%   { transform: rotate(54deg) translateX(320px) rotate(-54deg) translate(0, 0); }
  33%  { transform: rotate(54deg) translateX(320px) rotate(-54deg) translate(-10px, -25px); }
  66%  { transform: rotate(54deg) translateX(320px) rotate(-54deg) translate(20px, 15px); }
  100% { transform: rotate(54deg) translateX(320px) rotate(-54deg) translate(0, 0); }
}
@keyframes chaos-4 {
  0%   { transform: rotate(126deg) translateX(320px) rotate(-126deg) translate(0, 0); }
  33%  { transform: rotate(126deg) translateX(320px) rotate(-126deg) translate(20px, -20px); }
  66%  { transform: rotate(126deg) translateX(320px) rotate(-126deg) translate(-15px, 10px); }
  100% { transform: rotate(126deg) translateX(320px) rotate(-126deg) translate(0, 0); }
}
@keyframes chaos-5 {
  0%   { transform: rotate(198deg) translateX(320px) rotate(-198deg) translate(0, 0); }
  33%  { transform: rotate(198deg) translateX(320px) rotate(-198deg) translate(-15px, 25px); }
  66%  { transform: rotate(198deg) translateX(320px) rotate(-198deg) translate(25px, -15px); }
  100% { transform: rotate(198deg) translateX(320px) rotate(-198deg) translate(0, 0); }
}

.node-1 { animation: chaos-1 12s ease-in-out infinite alternate; }
.node-2 { animation: chaos-2 15s ease-in-out infinite alternate; }
.node-3 { animation: chaos-3 10s ease-in-out infinite alternate; }
.node-4 { animation: chaos-4 14s ease-in-out infinite alternate; }
.node-5 { animation: chaos-5 11s ease-in-out infinite alternate; }

.orbit-node img {
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  object-fit: cover;
  background: var(--bg-card);
}
.orbit-node:hover img {
  transform: scale(1.2) translateY(-5px);
  box-shadow: 0 10px 40px rgba(246, 146, 30, 0.9);
  border-color: var(--primary-orange);
}
.node-label {
  position: absolute;
  bottom: -45px; left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 15, 25, 0.9);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border: 1px solid var(--glass-border);
  color: #fff;
  opacity: 0; pointer-events: none;
  transition: all 0.3s ease;
}
.orbit-node:hover .node-label {
  opacity: 1;
  color: var(--primary-orange);
  border-color: var(--primary-orange);
  bottom: -50px;
  box-shadow: 0 5px 15px rgba(246, 146, 30, 0.3);
}

.ecosystem { padding: 2rem 2rem 8rem; max-width: 1200px; margin: 0 auto; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.module-card {
  background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: 16px; padding: 3rem 2rem;
  backdrop-filter: blur(20px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.module-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange)); opacity: 0; transition: opacity 0.3s ease; }
.module-card:hover { transform: translateY(-8px); border-color: rgba(246, 146, 30, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(27, 117, 187, 0.15); }
.module-card:hover::before { opacity: 1; }
.module-icon { width: 90px; height: 90px; border-radius: 16px; margin-bottom: 2rem; object-fit: cover; box-shadow: 0 10px 20px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); transition: transform 0.5s ease; }
.module-card:hover .module-icon { transform: scale(1.05) translateY(-5px); }
.module-card h3 { font-size: 1.7rem; margin-bottom: 1rem; color: #fff; font-weight: 700; }
.module-card p { color: var(--text-muted); line-height: 1.6; font-size: 1.05rem; }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
.floating { animation: float 6s ease-in-out infinite; }
