File size: 6,237 Bytes
035ec20
 
 
6e94481
adfa6d0
6e94481
 
 
 
adfa6d0
6e94481
 
 
 
adfa6d0
 
035ec20
adfa6d0
6e94481
 
adfa6d0
035ec20
 
 
 
6e94481
adfa6d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6e94481
 
adfa6d0
 
035ec20
6e94481
 
adfa6d0
035ec20
adfa6d0
 
 
 
 
 
 
 
 
 
6e94481
 
035ec20
adfa6d0
035ec20
 
 
 
6e94481
 
adfa6d0
035ec20
6e94481
035ec20
6e94481
 
035ec20
adfa6d0
 
6e94481
 
035ec20
 
6e94481
 
 
035ec20
6e94481
 
035ec20
6e94481
 
39e9c8d
035ec20
 
adfa6d0
 
6e94481
 
035ec20
 
 
adfa6d0
 
035ec20
 
 
 
 
 
6e94481
 
035ec20
adfa6d0
 
39e9c8d
 
035ec20
 
 
adfa6d0
035ec20
adfa6d0
 
 
 
 
 
035ec20
 
adfa6d0
 
 
 
 
 
 
 
 
 
 
035ec20
39e9c8d
 
 
 
035ec20
adfa6d0
035ec20
 
 
adfa6d0
 
 
 
 
39e9c8d
 
035ec20
adfa6d0
035ec20
 
 
 
39e9c8d
6e94481
adfa6d0
 
 
 
6e94481
adfa6d0
035ec20
 
adfa6d0
 
035ec20
adfa6d0
035ec20
adfa6d0
035ec20
 
 
39e9c8d
035ec20
adfa6d0
035ec20
 
adfa6d0
 
 
 
035ec20
 
 
 
 
adfa6d0
 
035ec20
 
39e9c8d
035ec20
adfa6d0
 
39e9c8d
f217b15
44bc537
 
 
 
 
 
 
 
f217b15
8f56afb
f217b15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
/* CognitiveBrainScene.css - "Thinking Screen" Aesthetic */

.brain-viewport {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
}

.brain-core {
  position: relative;
  width: 380px;
  height: 380px;
  z-index: 10;
  transition: transform 0.5s ease;
}

/* ── Exclusive Layer Stacking ── */
.brain-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98);
  transition: 
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
  pointer-events: none;
  filter: contrast(1.1);
}

.brain-layer.active {
  opacity: 1;
  transform: scale(1);
}

/* Ensure only ONE layer is ever visible (The Swap) */
.brain-layer.base.active {
  z-index: 1;
}

.brain-layer.region.active {
  z-index: 2;
  opacity: 1 !important;
}

/* If a region is active, hide the base entirely to avoid overlapping/ghosting */
.brain-viewport:has(.brain-layer.region.active) .brain-layer.base {
  opacity: 0 !important;
}

.brain-layer.base.active {
  /* Clean slate for multiply blend */
}

.brain-layer.region.active {
  /* Clean slate for multiply blend */
}

/* ── Layer 1: Ambient Motion (Breathing) ── */
.ambient-breath {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.04) 0%, transparent 75%);
  animation: breathing 8s infinite ease-in-out;
  pointer-events: none;
  z-index: -1;
}

@keyframes breathing {
  0%, 100% { transform: scale(0.96); opacity: 0.3; }
  50% { transform: scale(1.04); opacity: 0.5; }
}

/* ── Layer 2: Cognitive Signals (Floating Labels) ── */
.neural-signals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.signal-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.2;
  transition: all 0.6s ease;
  filter: grayscale(1) blur(0.5px);
}

.signal-node.active {
  opacity: 1;
  filter: grayscale(0) blur(0);
  transform: scale(1.1) translateX(10px);
  transition: all 0.1s ease-out;
}

.signal-node.hot {
  opacity: 1;
  filter: grayscale(0) blur(0);
  animation: signal-hot-throb 1.5s infinite ease-in-out;
}

@keyframes signal-hot-throb {
  0%, 100% { transform: scale(1.1) translateX(10px); filter: brightness(1); }
  50% { transform: scale(1.15) translateX(15px); filter: brightness(1.3); }
}

.signal-dot {
  width: 10px;
  height: 10px;
  background-color: #d1d5db;
  border-radius: 50%;
  box-shadow: none;
  transition: all 0.6s ease;
}

.signal-node.active .signal-dot {
  transition: all 0.1s ease-out;
}

/* ── Active Color Mapping ── */
.signal-node.active.prefrontal .signal-dot { background-color: #f59e0b; box-shadow: 0 0 15px rgba(245, 158, 11, 0.8); }
.signal-node.active.parietal .signal-dot { background-color: #ff6b35; box-shadow: 0 0 15px rgba(255, 107, 53, 0.8); }
.signal-node.active.temporal .signal-dot { background-color: #10b981; box-shadow: 0 0 15px rgba(16, 185, 129, 0.8); }
.signal-node.active.thalamus-label .signal-dot { background-color: #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.8); }

.signal-node.active.prefrontal strong { color: #f59e0b; }
.signal-node.active.parietal strong { color: #ff6b35; }
.signal-node.active.temporal strong { color: #10b981; }
.signal-node.active.thalamus-label strong { color: #3b82f6; }

.signal-copy {
  display: flex;
  flex-direction: column;
}

.signal-copy strong {
  font-size: 0.7rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.1;
  transition: color 0.6s ease;
}

.signal-node.active strong {
  transition: color 0.1s ease-out;
}

.signal-copy span {
  font-size: 0.6rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.prefrontal { top: 5%; left: -60px; }
.parietal { top: 5%; right: -60px; flex-direction: row-reverse; text-align: right; }
.temporal { bottom: 10%; left: -60px; }
.thalamus-label { bottom: 10%; right: -60px; flex-direction: row-reverse; text-align: right; }

/* ── State Glow Hubs (Subtle Ambient Backglow) ── */
.glow-hub {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  z-index: 0;
}

.glow-hub.visible {
  opacity: 0.25;
}

.prefrontal-glow { top: 0%; left: 5%; background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%); }
.parietal-glow { top: 0%; right: 5%; background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%); }
.temporal-glow { bottom: 5%; left: 15%; background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%); }
.thalamus-glow { top: 15%; left: 25%; background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%); }

/* ── Listening/Responding Shimmer ── */
.listening-particles {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.03) 0%, transparent 85%);
  animation: brain-shimmer 3s infinite alternate;
  z-index: 5;
}

@keyframes brain-shimmer {
  from { opacity: 0.1; transform: scale(1); }
  to { opacity: 0.3; transform: scale(1.05); }
}

@media (max-width: 768px) {
  .brain-core {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/* ── Mobile Responsive Overrides for iPhone 14 ── */
@media (max-width: 480px) {
  .brain-core {
    width: 240px !important;
    height: 240px !important;
    margin: 0 auto;
  }
  
  .signal-node {
    gap: 8px !important;
  }
  
  /* Bring offsets inward so they fit cleanly within the 390px iPhone 14 viewport */
  .prefrontal { top: -10px !important; left: -20px !important; }
  .parietal { top: -10px !important; right: -20px !important; }
  .temporal { bottom: 10px !important; left: -20px !important; }
  .thalamus-label { bottom: 10px !important; right: -20px !important; }
  
  .signal-copy strong {
    font-size: 0.58rem !important;
  }
  
  .signal-copy span {
    font-size: 0.48rem !important;
  }
  
  .glow-hub {
    width: 260px !important;
    height: 260px !important;
  }
}