/* css/style.css */

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

body {
  font-family: "Manrope", sans-serif;
}
.font-mono {
  font-family: "JetBrains Mono", monospace;
}

/* --- GLASSMORPHISM (Light Mode Only) --- */
.glass-panel {
  background: rgba(255, 255, 255, 100);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(203, 213, 225, 0.6); /* Slate-300 */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* --- SVG DIAGRAM COLORS (Optimized for White Background) --- */
.flow-line {
  stroke-dasharray: 8;
  animation: dash 0.8s linear infinite;
  opacity: 1;
  stroke: #0284c7; /* Sky-600 - High Visibility */
  filter: drop-shadow(0 0 2px rgba(2, 132, 199, 0.3));
}

.node-box {
  fill: #f8fafc; /* Slate-50 */
  stroke: #94a3b8;
  stroke-width: 2;
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.node-box:hover {
  stroke: #0284c7;
  filter: drop-shadow(0 0 8px rgba(2, 132, 199, 0.2));
  cursor: pointer;
}

.label-text {
  fill: #334155;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}
.title-text {
  fill: #0f172a;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}
.sub-text {
  fill: #64748b;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
}
.connector {
  stroke: #cbd5e1;
  stroke-width: 2;
}
.rokka-node {
  stroke: #0ea5e9;
  fill: #e0f2fe;
}

@keyframes dash {
  to {
    stroke-dashoffset: -16;
  }
}

/* --- UTILITIES --- */
.brand-glow {
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}
.accordion-content {
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.accordion-content.active {
  max-height: 1000px;
  opacity: 1;
}
.rotate-180 {
  transform: rotate(180deg);
}
.perspective-1000 {
  perspective: 1000px;
}
