/* ============================================================
   MONEY FLOW — Landing Experience CSS
   ============================================================ */

/* ── GLOBALS ── */
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #F8F8F8;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

#cursorTrail {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(212,175,55,0.4);
  filter: blur(4px);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}

#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── ENTRY SCREEN ── */
.entry-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(45,10,79,0.3) 0%, #000 100%);
  transition: opacity 0.7s, transform 0.7s;
}

.entry-screen.imploding {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.entry-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(75,29,122,0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(75,29,122,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}

.entry-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent);
  animation: scan 6s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { top: -10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(212,175,55,0.3);
  pointer-events: none;
}
.corner-tl { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.corner-tr { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.corner-br { bottom: 20px; right: 20px; border-left: none; border-top: none; }

.entry-hud-bar {
  position: absolute;
  top: 30px;
  display: flex;
  gap: 24px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
}

.hud-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.hud-green { background: #2ECC71; box-shadow: 0 0 6px #2ECC71; }
.hud-gold { background: #D4AF37; box-shadow: 0 0 6px #D4AF37; }

.entry-logo {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.entry-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.15);
}
.ring-1 { animation: pulse 3s infinite; }
.ring-2 { animation: pulse 3s infinite 1s; }
.ring-3 { animation: pulse 3s infinite 2s; }

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

.entry-content {
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entry-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(212,175,55,0.8);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.entry-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.entry-title-gold {
  font-weight: 700;
  background: linear-gradient(135deg, #D4AF37, #F2D27A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.entry-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  min-height: 24px;
  margin-bottom: 48px;
}
.entry-subtitle::after {
  content: '|';
  margin-left: 4px;
  animation: blink 1s infinite;
}
.entry-subtitle.typed-done::after {
  display: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.enter-btn {
  position: relative;
  background: rgba(45,10,79,0.4);
  border: 1px solid rgba(212,175,55,0.4);
  padding: 16px 40px;
  border-radius: 4px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.enter-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.2), transparent);
  transition: 0.5s;
}

.enter-btn:hover {
  background: rgba(75,29,122,0.6);
  border-color: #D4AF37;
  box-shadow: 0 0 24px rgba(212,175,55,0.2);
  transform: translateY(-2px);
}

.enter-btn:hover::before {
  left: 100%;
}

.enter-btn-icon { color: #D4AF37; font-size: 1.2rem; }
.enter-btn-arrow { transition: transform 0.3s; }
.enter-btn:hover .enter-btn-arrow { transform: translateX(6px); }

.entry-links {
  margin-top: 32px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  display: flex;
  gap: 16px;
}

.entry-links a {
  transition: color 0.3s;
}
.entry-links a:hover {
  color: #D4AF37;
}

.entry-metrics {
  position: absolute;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.entry-metric {
  text-align: center;
}

.entry-metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #F2D27A;
  margin-bottom: 4px;
}

.entry-metric-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

.entry-metric-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.1);
}

/* ── MAIN INTERFACE ── */
.main-interface {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.main-interface.hidden {
  display: none;
}

.network-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.sys-header {
  height: 70px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.sys-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sys-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sys-logo-text span {
  font-weight: 300;
  color: #D4AF37;
}

.sys-nav {
  display: flex;
  gap: 32px;
}

.sys-nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  transition: color 0.3s;
}

.sys-nav-link:hover {
  color: #fff;
}

.sys-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sys-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}

.sys-status-dot {
  width: 8px;
  height: 8px;
  background: #2ECC71;
  border-radius: 50%;
  box-shadow: 0 0 8px #2ECC71;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.sys-btn-outline {
  font-size: 0.8rem;
  padding: 8px 16px;
  border: 1px solid rgba(212,175,55,0.4);
  color: #D4AF37;
  border-radius: 4px;
  transition: all 0.3s;
}

.sys-btn-outline:hover {
  background: rgba(212,175,55,0.1);
  border-color: #D4AF37;
}

.sys-btn-gold {
  font-size: 0.8rem;
  padding: 8px 16px;
  background: linear-gradient(135deg, #D4AF37, #F2D27A);
  color: #000;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
}

.sys-btn-gold:hover {
  box-shadow: 0 0 16px rgba(212,175,55,0.4);
  transform: translateY(-1px);
}

/* ── SIGN-IN GATE ── */
.signin-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, transform 0.5s;
}
.signin-gate.hidden { display: none; }
.signin-gate.gate-exit { opacity: 0; transform: scale(0.96); pointer-events: none; }
.signin-gate-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(45,10,79,0.5) 0%, rgba(0,0,0,0.95) 100%);
  backdrop-filter: blur(20px);
}
.signin-box {
  position: relative;
  z-index: 2;
  width: 380px;
  background: rgba(15,15,22,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.signin-logo { margin-bottom: 24px; }
.signin-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.signin-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
}
.signin-error {
  font-size: 0.8rem;
  color: #E74C3C;
  margin-bottom: 12px;
  min-height: 20px;
}
.signin-field {
  text-align: left;
  margin-bottom: 20px;
}
.signin-field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.signin-field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.signin-field input:focus {
  outline: none;
  border-color: rgba(212,175,55,0.5);
}
.signin-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #4B1D7A, #2D0A4F);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 24px;
}
.signin-submit:hover {
  box-shadow: 0 0 24px rgba(212,175,55,0.2);
  border-color: #D4AF37;
  transform: translateY(-1px);
}
.signin-alt {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.signin-alt a {
  color: #D4AF37;
  margin-left: 8px;
  transition: color 0.3s;
}
.signin-alt a:hover { color: #F2D27A; }

/* ── USER GREETING ── */
.sys-user-greeting {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

/* ── FULL-WIDTH CENTER LAYOUT ── */
.sys-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow-y: auto;
  position: relative;
}

.dash-widget {
  background: rgba(20,20,30,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.dash-widget-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.dash-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dash-dot-gold { background: #D4AF37; box-shadow: 0 0 4px #D4AF37; }
.dash-dot-green { background: #2ECC71; box-shadow: 0 0 4px #2ECC71; }
.dash-dot-blue { background: #3498DB; box-shadow: 0 0 4px #3498DB; }

/* Tax Progress */
.dash-progress-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}
.dash-progress-ring svg { width: 100%; height: 100%; }
.dash-progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dash-progress-pct {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #D4AF37;
  line-height: 1;
}
.dash-progress-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-top: 4px;
}

.dash-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.dash-bar-value { color: #D4AF37; }
.dash-bar-track {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.dash-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #D4AF37, #F2D27A);
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
}

/* AI Status */
.ai-status-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.ai-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(75,29,122,0.4);
  border: 1px solid rgba(107,63,160,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #D4AF37;
}
.ai-name { font-weight: 600; margin-bottom: 2px; }
.ai-ready { font-size: 0.75rem; color: #2ECC71; }
.ai-pulse-ring {
  margin-left: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #6B3FA0;
  animation: pulseRing 2s infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.ai-capabilities {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-cap {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-cap-dot {
  width: 4px; height: 4px; background: rgba(212,175,55,0.6); border-radius: 50%;
}

/* Calendar */
.cal-month {
  text-align: center;
  font-weight: 600;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.8);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}
.cal-day-hdr {
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.cal-slot {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.cal-slot.cal-available {
  background: rgba(52,152,219,0.1);
  border-color: rgba(52,152,219,0.3);
  color: #fff;
  cursor: pointer;
}
.cal-slot.cal-available:hover {
  background: rgba(52,152,219,0.3);
  transform: translateY(-2px);
}
.cal-slot.booked {
  opacity: 0.3;
  text-decoration: line-through;
}
.cal-book-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 10px;
  background: rgba(52,152,219,0.1);
  color: #3498DB;
  border: 1px solid rgba(52,152,219,0.3);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s;
}
.cal-book-btn:hover {
  background: rgba(52,152,219,0.2);
}

/* Document Upload */
.doc-upload-area {
  border: 1px dashed rgba(212,175,55,0.3);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  background: rgba(212,175,55,0.02);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.doc-upload-icon { font-size: 2rem; margin-bottom: 12px; }
.doc-upload-text { font-size: 0.85rem; color: #fff; margin-bottom: 4px; }
.doc-upload-sub { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.doc-upload-sub a { color: #D4AF37; text-decoration: underline; }
.doc-scan-line {
  position: absolute;
  left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
  animation: docScan 3s linear infinite;
}
@keyframes docScan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.doc-stats {
  display: flex;
  justify-content: space-between;
}
.doc-stat {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.doc-stat-num {
  color: #fff;
  font-weight: 600;
}

/* Activity Feed */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.5s;
  position: relative;
}
.activity-item.act-visible {
  opacity: 1;
  transform: translateX(0);
}
.act-icon { font-size: 1.1rem; }
.act-body { flex: 1; }
.act-text { font-size: 0.8rem; color: rgba(255,255,255,0.8); margin-bottom: 4px; line-height: 1.3; }
.act-time { font-size: 0.7rem; color: rgba(255,255,255,0.3); }
.act-dot {
  position: absolute;
  left: -20px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Quick Links */
.quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.quick-link:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
  transform: translateX(4px);
}
.ql-arrow {
  margin-left: auto;
  color: rgba(255,255,255,0.3);
}

/* ── CENTER MAIN ── */
.sys-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.path-header {
  text-align: center;
  margin-bottom: 48px;
}
.path-header-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #D4AF37;
  padding: 4px 12px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 99px;
  margin-bottom: 20px;
  background: rgba(212,175,55,0.05);
}
.path-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 16px;
}
.path-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 400px;
  margin: 0 auto;
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 900px;
}

.path-card {
  position: relative;
  background: rgba(20,20,30,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 30px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

.path-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(212,175,55,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.path-card-border {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  transition: border-color 0.4s;
}

.path-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(30,30,45,0.8);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.path-card:hover .path-card-glow { opacity: 1; }
.path-card:hover .path-card-border { border-color: rgba(255,255,255,0.15); }

.path-card-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  transition: transform 0.3s;
}
.path-card:hover .path-card-icon { transform: scale(1.1); }

.path-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.path-card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.path-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.path-card-tags span {
  font-size: 0.65rem;
  padding: 4px 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: rgba(255,255,255,0.6);
}

.path-card-arrow {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.2);
  transition: all 0.3s;
}
.path-card:hover .path-card-arrow {
  color: #fff;
  transform: translateX(4px);
}

.card-dim {
  opacity: 0.3;
  transform: scale(0.95);
  pointer-events: none;
}
.card-selected {
  transform: scale(1.05);
  z-index: 10;
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 0 40px rgba(212,175,55,0.2);
}

/* ── WORKFLOW PANEL ── */
.workflow-panel {
  position: absolute;
  inset: 24px;
  background: rgba(15,15,22,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
.workflow-panel.workflow-open {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.workflow-content {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wf-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.wf-icon {
  width: 60px; height: 60px;
  border-radius: 12px;
  border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.wf-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.wf-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.wf-close {
  margin-left: auto;
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}
.wf-close:hover { color: #fff; }

.wf-body {
  display: flex;
  gap: 60px;
  flex: 1;
}

.wf-steps, .wf-tools { flex: 1; }

.wf-section-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.wf-step {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  opacity: 0;
  transform: translateX(-10px);
  animation: slideIn 0.5s forwards;
}
@keyframes slideIn { to { opacity: 1; transform: translateX(0); } }

.wf-step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  padding-right: 16px;
  border-right: 1px solid;
}
.wf-step-text {
  flex: 1;
  font-size: 0.95rem;
}
.wf-step-dot {
  width: 8px; height: 8px; border-radius: 50%;
}

.wf-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  animation: slideUp 0.5s forwards;
}
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.wf-tool-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}
.wf-tool-status {
  margin-left: auto;
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: #2ECC71;
}

.wf-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.wf-btn-primary {
  padding: 16px 32px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: transform 0.3s, box-shadow 0.3s;
}
.wf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.wf-btn-secondary {
  padding: 16px 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  transition: all 0.3s;
}
.wf-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ── AI ASSISTANT ── */
.assistant-bubble {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.assistant-bubble.assistant-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.assistant-tooltip {
  background: rgba(20,20,30,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.4s;
  pointer-events: none;
}
.assistant-tooltip.tooltip-show {
  opacity: 1;
  transform: translateX(0);
}

.assistant-toggle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4B1D7A, #2D0A4F);
  border: 2px solid #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(75,29,122,0.4);
  transition: transform 0.3s;
}
.assistant-toggle:hover {
  transform: scale(1.05);
}

.assistant-avatar {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #D4AF37;
}

.assistant-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
  animation: spin 6s linear infinite;
}
.assistant-ring::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  background: #D4AF37;
  border-radius: 50%;
  box-shadow: 0 0 10px #D4AF37;
}
@keyframes spin { to { transform: rotate(360deg); } }

.assistant-panel {
  position: fixed;
  bottom: 120px;
  right: 40px;
  width: 360px;
  height: 500px;
  background: rgba(15,15,22,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(107,63,160,0.4);
  border-radius: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.assistant-panel.assistant-panel-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.assistant-panel-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.assistant-panel-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ap-avatar {
  width: 36px; height: 36px;
  background: rgba(75,29,122,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #D4AF37;
}
.ap-name { font-weight: 600; font-size: 0.95rem; }
.ap-status { font-size: 0.7rem; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 6px; }
.ap-dot { width: 6px; height: 6px; background: #2ECC71; border-radius: 50%; box-shadow: 0 0 6px #2ECC71;}
.ap-close { background: none; border: none; color: rgba(255,255,255,0.5); cursor: pointer; transition: color 0.3s; }
.ap-close:hover { color: #fff; }

.chat-log {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}
.chat-visible { opacity: 1; transform: translateY(0); }
.chat-avatar {
  width: 28px; height: 28px; border-radius: 50%; background: #4B1D7A;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #D4AF37; flex-shrink: 0;
}
.chat-bubble {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 85%;
}
.chat-assistant .chat-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-top-left-radius: 4px;
}
.chat-user { flex-direction: row-reverse; }
.chat-user .chat-bubble {
  background: rgba(75,29,122,0.4);
  border: 1px solid rgba(107,63,160,0.5);
  border-top-right-radius: 4px;
}

.chat-typing .chat-bubble {
  display: flex; gap: 4px; align-items: center; height: 20px; padding: 12px;
}
.typing-dots span {
  width: 6px; height: 6px; background: rgba(255,255,255,0.4); border-radius: 50%;
  animation: typing 1.4s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.chat-input-row {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 12px;
}
.chat-input {
  flex: 1;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.9rem;
}
.chat-input:focus {
  outline: none;
  border-color: rgba(212,175,55,0.5);
}
.chat-send {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: #4B1D7A;
  border: 1px solid #6B3FA0;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.chat-send:hover {
  background: #6B3FA0;
}

/* ── ASSEMBLY ANIMATIONS ── */
.main-interface.assembling [data-panel] {
  opacity: 0;
  transform: translateY(20px);
}

.main-interface.assembled [data-panel] {
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
}

.panel-assembled {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.yamassee-watermark {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.yamassee-watermark:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(20, 20, 30, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* ── PATH CARD ENHANCEMENTS ── */
.path-card-step {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(212,175,55,0.6);
  margin-bottom: 12px;
}
.path-card-cta {
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #D4AF37;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.path-card:hover .path-card-cta { gap: 14px; }
.path-card:hover .path-card-cta span { transform: translateX(4px); }
.path-card-cta span { transition: transform 0.3s; }

/* ── QUICK ACTION BAR ── */
.quick-bar {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.qbar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
}
.qbar-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,175,55,0.3);
  color: #fff;
  transform: translateY(-2px);
}
.qbar-icon { font-size: 1rem; }

/* ── BOTTOM STATUS STRIP ── */
.sys-bottom-strip {
  height: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  background: rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}
.strip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.strip-dot-green { background: #2ECC71; box-shadow: 0 0 4px #2ECC71; }
.strip-dot-gold { background: #D4AF37; box-shadow: 0 0 4px #D4AF37; }
.strip-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.08);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .sys-nav { display: none; }
  .path-grid { grid-template-columns: 1fr; max-width: 400px; }
  .sys-center { padding: 24px; }
  .path-title { font-size: 1.8rem; }
  .quick-bar { flex-direction: column; }
  .signin-box { width: 90%; padding: 32px 24px; }
  .entry-title { font-size: 2.2rem; }
  .entry-metrics { gap: 20px; }
  .sys-bottom-strip { flex-wrap: wrap; height: auto; padding: 10px; gap: 10px; }
}
