/* raem.ai — общая оболочка страниц потока (как тёмный hero на главной, без изменения index.html) */

.flow-page-root {
  min-height: 100vh;
  font-family: 'Google Sans', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: #050508;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
}

.flow-page-grid {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.flow-page-radial {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    rgba(96, 165, 250, 0.15) 0%,
    rgba(139, 92, 246, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.flow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.flow-blob-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
  animation: flow-blob-drift 14s ease-in-out infinite;
}

.flow-blob-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  animation: flow-blob-drift 18s ease-in-out infinite reverse;
}

.flow-blob-3 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(236, 72, 153, 0.06) 0%, transparent 70%);
  animation: flow-blob-center 20s ease-in-out infinite 4s;
}

@keyframes flow-blob-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}

@keyframes flow-blob-center {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.06); }
}

/* Стеклянная панель как mockup на главной */
.flow-glass-panel {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.5);
}

.flow-z-main {
  position: relative;
  z-index: 10;
}
