/* Full Control Welcome Experience */
:root {
  --fc-bg: #0a0f1a;
  --fc-card: #0f1726;
  --fc-blue: #00d4ff;
  --fc-blue-press: #00b8dd;
  --fc-text: #e6f0ff;
  --fc-muted: rgba(230, 240, 255, 0.72);
  --fc-border: rgba(255, 255, 255, 0.08);
  --fc-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.fc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 24px;
  backdrop-filter: blur(6px);
  animation: fc-fade-in 260ms ease-out;
}

.fc-overlay.hidden { display: none; }

.fc-card {
  width: min(560px, 100%);
  background: var(--fc-card);
  border: 1px solid var(--fc-border);
  border-radius: 18px;
  padding: 32px;
  color: var(--fc-text);
  box-shadow: var(--fc-shadow);
  transform: scale(0.98);
  animation: fc-scale-in 260ms ease-out;
}

.fc-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  letter-spacing: 0.2px;
}

.fc-card p {
  margin: 0 0 24px;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.5;
}

.fc-actions {
  display: grid;
  gap: 12px;
}

.fc-btn {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 160ms ease;
  text-align: center;
}

.fc-btn-primary {
  background: var(--fc-blue);
  color: #001b24;
  box-shadow: 0 10px 24px rgba(0, 212, 255, 0.3);
}

.fc-btn-primary:hover { background: #1bdcff; }
.fc-btn-primary:active { background: var(--fc-blue-press); transform: translateY(1px); }

.fc-btn-secondary {
  background: transparent;
  border-color: rgba(0, 212, 255, 0.5);
  color: var(--fc-blue);
}

.fc-btn-secondary:hover { background: rgba(0, 212, 255, 0.08); }

.fc-btn-tertiary {
  background: transparent;
  border-color: transparent;
  color: var(--fc-muted);
}

.fc-btn-tertiary:hover { color: #fff; }

.fc-tour {
  display: grid;
  gap: 16px;
}

.fc-tour-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--fc-border);
  padding: 18px;
  border-radius: 14px;
  display: grid;
  gap: 10px;
}

.fc-tour-icon { font-size: 22px; }
.fc-tour-title { font-weight: 600; font-size: 16px; }
.fc-tour-text { color: var(--fc-muted); font-size: 14px; }

.fc-tour-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 12px;
  flex-wrap: wrap;
}

.fc-dots { display: flex; gap: 6px; }
.fc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.fc-dot.active { background: var(--fc-blue); }

.fc-tour-nav {
  display: flex;
  gap: 10px;
}

.fc-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #101828;
  color: var(--fc-text);
  border: 1px solid var(--fc-border);
  padding: 16px;
  border-radius: 14px;
  width: min(360px, calc(100vw - 48px));
  box-shadow: var(--fc-shadow);
  z-index: 9999;
  animation: fc-slide-in 220ms ease-out;
}

.fc-toast h4 { margin: 0 0 8px; font-size: 15px; }
.fc-toast p { margin: 0 0 12px; color: var(--fc-muted); font-size: 13px; }
.fc-toast-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.fc-toast .fc-btn { padding: 8px 12px; font-size: 12px; border-radius: 10px; }

.fc-rick {
  position: fixed;
  right: 24px;
  bottom: 28px;
  background: rgba(8, 12, 20, 0.9);
  color: var(--fc-text);
  border: 1px solid var(--fc-border);
  padding: 14px 16px;
  border-radius: 14px;
  width: min(320px, calc(100vw - 48px));
  box-shadow: var(--fc-shadow);
  z-index: 9996;
  opacity: 0;
  transform: translateY(10px);
  animation: fc-rick-in 300ms ease-out forwards;
}
.fc-rick p { margin: 4px 0 0; color: var(--fc-muted); font-size: 12px; }

.fc-first-command {
  margin-bottom: 10px;
  display: flex;
  justify-content: flex-start;
}

.fc-first-command button {
  background: var(--fc-blue);
  color: #001b24;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0, 212, 255, 0.6);
  animation: fc-pulse 1.6s infinite;
}

.fc-first-command button:active { transform: translateY(1px); }

.fc-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}

.fc-dashboard-header h2 {
  margin: 0;
  font-size: 20px;
  color: var(--text-primary, #e6f0ff);
}

.fc-dashboard-header span {
  color: var(--text-secondary, rgba(230, 240, 255, 0.7));
  font-size: 13px;
  letter-spacing: 0.3px;
}

.fc-setup-drawer {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100vw - 48px));
  background: #0f1726;
  color: var(--fc-text);
  border: 1px solid var(--fc-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--fc-shadow);
  transform: translateY(120%);
  transition: transform 220ms ease-out;
  z-index: 9995;
}

.fc-setup-drawer.open { transform: translateY(0); }

.fc-setup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.fc-setup-header h4 { margin: 0; font-size: 15px; }

.fc-setup-step {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.fc-setup-step label { font-size: 12px; color: var(--fc-muted); }

.fc-setup-step input,
.fc-setup-step select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--fc-border);
  border-radius: 10px;
  color: var(--fc-text);
  padding: 8px 10px;
  font-size: 13px;
}

.fc-setup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 10px;
  flex-wrap: wrap;
}

.fc-setup-footer .fc-btn { padding: 8px 12px; font-size: 12px; }

.fc-setup-progress { font-size: 11px; color: var(--fc-muted); }

@keyframes fc-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fc-scale-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fc-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

@keyframes fc-rick-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .fc-card { padding: 24px; }
  .fc-toast, .fc-rick, .fc-setup-drawer { right: 12px; left: 12px; width: auto; }
  .fc-overlay { padding: 16px; }
}
