﻿/* ==========================================================================
   AROVATE PREMIUM ONBOARDING APP - DESIGN SYSTEM & STYLING
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette */
  --bg-black: #000000;
  --bg-deep-blue: #070b13;
  --bg-surface: rgba(255, 255, 255, 0.02);
  --bg-surface-hover: rgba(255, 255, 255, 0.05);
  --bg-surface-selected: rgba(99, 102, 241, 0.06);
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(99, 102, 241, 0.3);
  --border-selected: rgba(99, 102, 241, 0.7);
  
  --text-primary: #f3f4f6;   /* Gray 100 */
  --text-secondary: #9ca3af; /* Gray 400 */
  --text-muted: #6b7280;     /* Gray 500 */
  --text-white: #ffffff;
  
  /* Accent Colors */
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.2);
  --accent-indigo: #6366f1;
  --accent-indigo-glow: rgba(99, 102, 241, 0.2);
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.15);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Animations & Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base Resets & Document Setup --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-body);
}

/* --- Ambient Canvas Background --- */
#ambient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  background: var(--bg-deep-blue);
}

.ambient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(7, 11, 19, 0) 0%, rgba(0, 0, 0, 0.85) 85%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.95) 100%);
}

/* --- Core Layout & Shell Wrapper --- */
.app-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* --- Header & Dynamic Progress Tracking --- */
.app-header {
  position: relative;
  width: 100%;
  padding: 16px 32px;
  background: rgba(5, 7, 12, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10;
  display: none; /* Hidden on welcome screen to allow perfect centering */
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.app-header.visible {
  display: block; /* Participates in flex column flow */
  opacity: 1;
  transform: translateY(0);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.nav-btn i {
  width: 16px;
  height: 16px;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.reset-btn {
  padding: 10px;
  border-radius: 50%;
}

.reset-btn:hover {
  transform: rotate(-180deg);
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.progress-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: opacity var(--transition-smooth);
}

.progress-track {
  width: 100%;
  max-width: 320px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-purple));
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px var(--accent-indigo-glow);
}

.progress-text {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Container for Page Injection --- */
.app-container {
  flex: 1;
  width: 100%;
  position: relative;        /* stacking context for absolutely-positioned exiting cards */
  display: flex;
  justify-content: center;
  align-items: flex-start;   /* top-align so tall pages don't overflow centred */
  padding: 40px 24px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* --- Dynamic Transitions Classes --- */
.page-view {
  width: 100%;
  max-width: 680px;
  margin: auto;
  opacity: 0;
  transform: translateY(25px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-view.page-view-wide {
  max-width: 1400px !important;
}

.page-view.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.page-view.exit {
  /* Lift the card out of normal flex flow so the incoming card never shares the row */
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  width: calc(100% - 48px);
  max-width: 680px;
  z-index: 0;
}

/* --- PAGE 1: CINEMATIC WELCOME SCREEN --- */
.welcome-screen {
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.welcome-logo-area {
  margin-bottom: 24px;
  animation: logoBreath 6s ease-in-out infinite alternate;
}

.logo-icon-glow {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
  position: relative;
}

.logo-icon-glow::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 28px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  opacity: 0.6;
  animation: ringPulse 3s ease-in-out infinite;
}

.logo-icon-glow i {
  color: var(--text-white);
  width: 36px;
  height: 36px;
}

.welcome-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(to right, var(--text-white) 30%, #a5b4fc 70%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.welcome-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.quote-carousel {
  width: 100%;
  max-width: 580px;
  height: 60px;
  margin-bottom: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-item {
  position: absolute;
  width: 100%;
  max-width: 100%;
  font-style: italic;
  font-size: 15px;
  color: var(--accent-cyan);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  line-height: 1.6;
  letter-spacing: 0.2px;
  text-align: center;
}

.quote-item.active {
  opacity: 0.85;
  transform: translateY(0);
}

.welcome-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}

.btn-premium {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 16px 28px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-premium:hover::after {
  opacity: 1;
}

.btn-premium:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(99, 102, 241, 0.25);
}

.btn-premium.primary {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
  border: none;
  color: var(--text-white);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
}

.btn-premium.primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5);
}

/* --- QUESTION HEADER STYLES --- */
.question-header {
  text-align: center;
  margin-bottom: 40px;
}

.question-pre {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.question-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-white);
  line-height: 1.25;
}

.question-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.5;
}

.question-desc:empty {
  display: none;
}

.split-desc-line {
  display: block;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* --- PAGE 2: BASIC INFO FORM --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-premium {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-fast);
  outline: none;
  backdrop-filter: blur(10px);
}

.input-premium:focus {
  border-color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.03);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

/* Segmented selector or custom radio rows */
.select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

.selector-option {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.selector-option:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.selector-option.selected {
  background: var(--bg-surface-selected);
  border-color: var(--border-selected);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

/* --- PREMIUM INTERACTIVE GLOW CARDS --- */
.cards-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.glow-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
  overflow: hidden;
  user-select: none;
  z-index: 1;
}

/* Radial Hover Glow element injection */
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(99, 102, 241, 0.12), transparent 50%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.glow-card:hover::after {
  opacity: 1;
}

.glow-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.15);
}

.glow-card:active {
  transform: scale(0.98);
}

.glow-card.selected {
  background: var(--bg-surface-selected);
  border-color: var(--border-selected);
  box-shadow: 0 0 25px -5px rgba(99, 102, 241, 0.25);
}

.card-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-indigo);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.glow-card:hover .card-icon-box {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--accent-purple);
  transform: scale(1.05);
}

.glow-card.selected .card-icon-box {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-indigo);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Selected item marker indicator */
.card-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  color: transparent;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.glow-card:hover .card-indicator {
  border-color: rgba(255, 255, 255, 0.4);
}

.glow-card.selected .card-indicator {
  background: var(--accent-indigo);
  border-color: var(--accent-indigo);
  color: var(--text-white);
}

/* --- FOOTER NAVIGATION ACTION BAR --- */
.action-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.action-bar .btn-premium {
  min-width: 180px;
}

/* --- PAGE 11: CINEMATIC COMPLETION PAGE & ROADMAP --- */
.roadmap-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.pulse-sparkle-box {
  position: relative;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.pulse-sparkle-box i {
  color: var(--accent-cyan);
  width: 32px;
  height: 32px;
  animation: floatSpin 6s linear infinite;
}

.roadmap-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(20px);
  margin: 32px 0 40px;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
}

.roadmap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-indigo), var(--accent-purple), var(--accent-cyan));
}

.roadmap-badge {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}

.roadmap-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.roadmap-archetype {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.roadmap-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.roadmap-steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.roadmap-step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-num-node {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  flex-shrink: 0;
  position: relative;
}

.roadmap-step-item:not(:last-child) .step-num-node::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 15px;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
}

.step-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.step-summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Loading overlay / spinner sequence */
.roadmap-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 60px 0;
}

.spinner-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px dashed var(--accent-indigo);
  border-top-color: transparent;
  animation: spinnerSpin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loading-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  animation: pulseOpacity 2s ease-in-out infinite;
  letter-spacing: 0.5px;
}

/* Fullscreen lightbeam transition on final complete */
.fullscreen-enter-flash {
  position: fixed;
  inset: 0;
  background: var(--text-white);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fullscreen-enter-flash.active {
  opacity: 1;
}

/* --- LIVE DEVELOPER DATABASE INSPECTOR DRAWER --- */
.db-inspector {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100%;
  background: rgba(10, 14, 26, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
}

.db-inspector.open {
  right: 0;
}

.db-inspector-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.db-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-white);
}

.db-title-group i {
  color: var(--accent-purple);
  width: 20px;
  height: 20px;
}

.db-title-group h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}

.btn-db-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

.btn-db-close:hover {
  color: var(--text-white);
  transform: rotate(90deg);
}

.db-inspector-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.db-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.db-action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.db-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.db-action-btn.danger {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
}

.db-action-btn.danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
}

.db-stats {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

.db-stats strong {
  color: var(--accent-cyan);
}

.db-table-wrapper {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.db-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.db-table th, .db-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.db-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
}

.db-table tbody tr {
  cursor: pointer;
  transition: var(--transition-fast);
}

.db-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.db-table tbody tr.active-row {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-white);
}

.db-btn-view {
  background: transparent;
  border: none;
  color: var(--accent-indigo);
  cursor: pointer;
  font-weight: 600;
}

.db-btn-view:hover {
  text-decoration: underline;
  color: var(--accent-purple);
}

.db-empty-row {
  text-align: center;
  color: var(--text-muted);
}

.db-json-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: #020306;
}

.db-json-header {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-copy-json {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  cursor: pointer;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
}

.btn-copy-json:hover {
  color: var(--text-white);
}

.db-json-pre {
  margin: 0;
  padding: 14px;
  flex: 1;
  overflow: auto;
}

.db-json-pre code {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  color: #a5b4fc;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Floating Database Inspector Trigger */
.btn-db-toggle {
  display: none !important; /* Completely hidden for clean production layout */
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(10, 14, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: 30px;
  cursor: pointer;
  backdrop-filter: blur(15px);
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-db-toggle:hover {
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.25);
  color: var(--text-white);
}

.badge-wrapper {
  position: relative;
}

.db-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent-purple);
  color: var(--text-white);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 10px;
  min-width: 15px;
  text-align: center;
  line-height: 1;
  border: 1px solid var(--bg-black);
}

.btn-db-toggle-label {
  letter-spacing: 0.2px;
}

/* Custom Scrollbar Styles for Inspector and App Container */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.3; }
  100% { transform: scale(1); opacity: 0.6; }
}

@keyframes logoBreath {
  0% { transform: translateY(0); filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.2)); }
  100% { transform: translateY(-5px); filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.3)); }
}

@keyframes floatSpin {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

@keyframes spinnerSpin {
  to { transform: rotate(360deg); }
}

@keyframes pulseOpacity {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.95; }
}


/* --- PREMIUM SLIDER SCALE COMPONENT --- */
.slider-container-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 600px;
  margin: 20px auto 40px;
}

.slider-glow-value {
  font-size: 72px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-white);
  transition: all 0.3s ease;
  line-height: 1;
  text-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.slider-input-wrapper {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.premium-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.premium-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--text-white);
  box-shadow: var(--thumb-glow, 0 0 15px rgba(99, 102, 241, 0.8));
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}

.premium-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.premium-range-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--text-white);
  box-shadow: var(--thumb-glow, 0 0 15px rgba(99, 102, 241, 0.8));
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}

.premium-range-slider::-moz-range-thumb:hover {
  transform: scale(1.25);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  margin-top: -4px;
}

.tick-label {
  font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-secondary);
  font-weight: 500;
  user-select: none;
}

.feedback-card {
  width: 100%;
  min-height: 100px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.feedback-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-indigo);
  flex-shrink: 0;
}

.feedback-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feedback-tier {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.feedback-text {
  font-size: 16px;
  color: var(--text-white);
  font-weight: 500;
  margin: 0;
  font-style: italic;
}

/* --- PREMIUM CHALLENGE INTENSITY CARD GLOWS --- */
.glow-card.intensity-gentle.selected {
  border-color: rgba(16, 185, 129, 0.6) !important;
  box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.25) !important;
}
.glow-card.intensity-gentle.selected .card-icon-box {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: rgba(16, 185, 129, 1) !important;
}

.glow-card.intensity-balanced.selected {
  border-color: rgba(6, 182, 212, 0.6) !important;
  box-shadow: 0 0 25px -5px rgba(6, 182, 212, 0.25) !important;
}
.glow-card.intensity-balanced.selected .card-icon-box {
  background: rgba(6, 182, 212, 0.15) !important;
  border-color: rgba(6, 182, 212, 0.4) !important;
  color: rgba(6, 182, 212, 1) !important;
}

.glow-card.intensity-serious.selected {
  border-color: rgba(139, 92, 246, 0.6) !important;
  box-shadow: 0 0 25px -5px rgba(139, 92, 246, 0.25) !important;
}
.glow-card.intensity-serious.selected .card-icon-box {
  background: rgba(139, 92, 246, 0.15) !important;
  border-color: rgba(139, 92, 246, 0.4) !important;
  color: rgba(139, 92, 246, 1) !important;
}

.glow-card.intensity-elite.selected {
  border-color: rgba(239, 68, 68, 0.75) !important;
  box-shadow: 0 0 35px -5px rgba(239, 68, 68, 0.35) !important;
  animation: pulse-elite 1.5s infinite alternate !important;
}
.glow-card.intensity-elite.selected .card-icon-box {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: rgba(239, 68, 68, 1) !important;
}

@keyframes pulse-elite {
  0% {
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
  }
  100% {
    box-shadow: 0 0 35px rgba(239, 68, 68, 0.5);
    border-color: rgba(239, 68, 68, 0.85);
  }
}


/* --- AI ANALYSIS LOADING SCREEN --- */
.ai-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 450px;
  gap: 40px;
  width: 100%;
}

.ai-loader-concentric {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}

.orbit-ring.outer {
  width: 120px;
  height: 120px;
  border-top-color: var(--accent-indigo);
  border-bottom-color: rgba(99, 102, 241, 0.1);
  animation: spinnerSpin 3s linear infinite;
}

.orbit-ring.middle {
  width: 90px;
  height: 90px;
  border-left-color: var(--accent-purple);
  border-right-color: rgba(139, 92, 246, 0.1);
  animation: spinnerSpin 2s linear infinite reverse;
}

.orbit-ring.inner {
  width: 60px;
  height: 60px;
  border-top-color: var(--accent-cyan);
  border-bottom-color: rgba(6, 182, 212, 0.1);
  animation: spinnerSpin 1s linear infinite;
}

.ai-loader-percentage {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.ai-status-pulse-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  height: 28px;
  transition: opacity 0.4s ease;
  animation: pulseOpacity 2s infinite ease-in-out;
}

/* --- HOW WE SEE YOU --- */
.analysis-intro-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: -10px auto 30px;
  text-align: center;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  margin-bottom: 40px;
}

.analysis-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition-smooth);
}

.analysis-card.mindset-card {
  border-left: 4px solid var(--accent-purple);
}

.analysis-card.patterns-card {
  border-left: 4px solid var(--accent-cyan);
}

.analysis-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.analysis-card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.analysis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.analysis-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.analysis-card.mindset-card .analysis-tag {
  border-color: rgba(139, 92, 246, 0.15);
  color: rgba(168, 85, 247, 0.85);
}

.analysis-card.patterns-card .analysis-tag {
  border-color: rgba(6, 182, 212, 0.15);
  color: rgba(6, 182, 212, 0.85);
}

/* --- WHAT'S HOLDING YOU BACK --- */
.struggles-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-bottom: 40px;
}

.struggle-item {
  display: flex;
  gap: 24px;
  padding: 24px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  border-left: 4px solid rgba(239, 68, 68, 0.4);
  transition: var(--transition-smooth);
}

.struggle-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

.struggle-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ef4444;
  flex-shrink: 0;
}

.struggle-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.struggle-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
}

.struggle-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* --- HOW YOUR PLAN HELPS --- */
.plan-helpers-header {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-white);
  text-align: center;
  margin: 40px 0 20px;
}

.plan-helpers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-bottom: 40px;
}

.plan-helper-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(99, 102, 241, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.plan-helper-icon {
  color: var(--accent-indigo);
}

.plan-helper-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
}

.plan-helper-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* --- WHAT MOST PEOPLE NEVER REALIZE --- */
.realization-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  width: 100%;
  margin-bottom: 40px;
  align-items: center;
}

.stagnation-timeline {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  gap: 20px;
}

.stagnation-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ef4444;
  font-weight: 700;
  margin-bottom: 5px;
}

.stagnation-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}

.stagnation-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: -16px;
  width: 2px;
  background: rgba(239, 68, 68, 0.15);
}

.stagnation-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.08);
  border: 2px solid rgba(239, 68, 68, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ef4444;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.stagnation-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stagnation-step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
}

.stagnation-step-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.realization-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.realization-header {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.realization-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.advantage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.advantage-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.advantage-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 2px;
}

/* --- TRANSFORMATION PREVIEW --- */
.preview-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

.timeline-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.timeline-node:hover, .timeline-node.active {
  border-color: var(--border-hover);
  background: var(--bg-surface-selected);
  transform: translateY(-2px);
}

.timeline-node.active {
  border-color: var(--border-selected);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.timeline-node-icon {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.timeline-node:hover .timeline-node-icon, .timeline-node.active .timeline-node-icon {
  color: var(--accent-indigo);
}

.timeline-node-days {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.timeline-node-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
}

.preview-detail-card {
  width: 100%;
  min-height: 140px;
  background: linear-gradient(135deg, var(--bg-surface), rgba(99, 102, 241, 0.04));
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
  transition: all 0.4s ease;
}

.preview-detail-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-indigo);
  flex-shrink: 0;
}

.preview-detail-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-detail-header {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.preview-detail-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-white);
}

.preview-detail-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* --- MOBILE RESPONSIVENESS AND TABLET BREAKPOINTS --- */
@media (max-width: 768px) {
  .welcome-title {
    font-size: 44px;
    letter-spacing: -1px;
  }
  
  .welcome-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  .question-title {
    font-size: 28px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .db-inspector {
    width: 100%;
    right: -100%;
  }
  
  .btn-db-toggle-label {
    display: none;
  }
  
  .btn-db-toggle {
    padding: 12px;
  }
  
  .nav-btn span {
    display: none;
  }
  
  .header-container {
    gap: 12px;
  }
  
  .app-header {
    padding: 16px 20px;
  }
  
  .app-container {
    padding: 70px 16px 30px;
  }
  
  .roadmap-card {
    padding: 24px 20px;
  }
  
  .roadmap-title {
    font-size: 26px;
  }
}

/* --- PROFILE & LIFE MAP LAYOUT --- */
.profile-map-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .profile-map-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.profile-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.profile-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-indigo));
}

.profile-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.profile-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.input-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-wrapper .input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
  transition: var(--transition-fast);
}

.input-premium.has-icon {
  padding-left: 48px;
  width: 100%;
  box-sizing: border-box;
}

.input-wrapper:focus-within .input-icon {
  color: var(--accent-cyan);
}

.validation-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  min-height: 16px;
  display: block;
  opacity: 0;
  transition: var(--transition-fast);
  text-align: left;
}

.validation-error.visible {
  opacity: 1;
}

.profile-terms {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
  margin-top: 5px;
}

/* Radar Chart Card */
.map-visualizer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

.map-visualizer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
}

.map-canvas-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1.05;
  margin: auto;
}

#life-map-canvas {
  width: 100%;
  height: 100%;
  max-width: 450px;
  max-height: 450px;
}

/* Sidebar list for dynamic life map dimensions */
.lifemap-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.lifemap-dimension-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lifemap-dimension-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.lifemap-dim-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lifemap-dim-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lifemap-dim-icon-box i {
  width: 20px;
  height: 20px;
}

.lifemap-dim-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.lifemap-dim-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.lifemap-dim-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

.lifemap-dim-score {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
}

.score-denominator {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 1px;
  letter-spacing: 0;
}

/* Dynamic scoring color themes with glowing drop shadow glows */
.score-high {
  color: #30D158 !important;
  text-shadow: 0 0 12px rgba(48, 209, 88, 0.4);
}

.score-mid {
  color: #FFD60A !important;
  text-shadow: 0 0 12px rgba(255, 214, 10, 0.45);
}

.score-low {
  color: #FF453A !important;
  text-shadow: 0 0 12px rgba(255, 69, 58, 0.45);
}

.lifemap-chart-floating-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

.lifemap-chart-floating-container .map-canvas-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1;
}

#life-map-canvas {
  width: 100%;
  height: 100%;
  max-width: 640px;
  max-height: 640px;
}

/* --- Premium Toast Notification --- */
.arovate-notification {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(99, 102, 241, 0.15);
  color: var(--text-white);
  padding: 14px 24px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
}

.arovate-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.arovate-notification-icon {
  color: #ff9f0a; /* premium warning orange */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.arovate-notification-icon i,
.arovate-notification-icon svg {
  width: 18px;
  height: 18px;
}

.arovate-notification-text {
  letter-spacing: -0.1px;
}

/* --- USER DASHBOARD PREMIUM WORKSPACE VIEW --- */
.dashboard-layout-container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  align-items: start;
  min-height: 100vh;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .dashboard-layout-container {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }
}

.dashboard-sidebar {
  background: rgba(10, 15, 30, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 40px;
}

.dashboard-profile-banner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dashboard-avatar-glow {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  margin-bottom: 8px;
}

.dashboard-profile-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.dashboard-profile-archetype {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 1px;
  display: inline-block;
}

.dashboard-main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 28px;
  width: 100%;
}

@media (max-width: 600px) {
  .dashboard-main-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-widget-card {
  background: rgba(10, 15, 30, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.dashboard-widget-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

.dashboard-widget-card.wide-console {
  grid-column: 1 / -1;
}

.widget-header-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.widget-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 20px;
}

.widget-icon-box.accent-indigo {
  color: var(--accent-indigo);
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.05);
}

.widget-icon-box.accent-cyan {
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.25);
  background: rgba(6, 182, 212, 0.05);
}

.widget-icon-box.accent-purple {
  color: var(--accent-purple);
  border-color: rgba(139, 92, 246, 0.25);
  background: rgba(139, 92, 246, 0.05);
}

.widget-header-details {
  display: flex;
  flex-direction: column;
}

.widget-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.2px;
}

.widget-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
}

/* StudyVaultConsole Pomodoro Styles */
.pomodoro-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.pomodoro-timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pomodoro-time-display {
  font-family: 'Outfit', sans-serif;
  font-size: 54px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.pomodoro-controls {
  display: flex;
  gap: 12px;
}

.pomodoro-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.pomodoro-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.pomodoro-btn.active-play {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan);
}

.task-prioritizer-block {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-input-row {
  display: flex;
  gap: 10px;
}

.task-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-white);
  font-size: 13px;
}

.task-input:focus {
  border-color: var(--accent-indigo);
  outline: none;
}

.btn-task-add {
  background: var(--accent-indigo);
  color: var(--text-white);
  border: none;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-task-add:hover {
  background: rgba(99, 102, 241, 0.85);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.35);
}

.tasks-list-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 110px;
  overflow-y: auto;
  padding-right: 4px;
}

.task-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
  animation: fadeIn 0.3s ease;
}

.task-item-card.completed {
  opacity: 0.6;
}

.task-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 10px;
  color: transparent;
  transition: all 0.2s ease;
}

.task-checkbox.checked {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #000;
}

.task-text {
  font-size: 13px;
  color: var(--text-white);
}

.task-text.completed {
  text-decoration: line-through;
  color: var(--text-secondary);
}

.btn-task-delete {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-task-delete:hover {
  color: #ff453a;
}

/* Gym widget training split styles */
.training-split-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 480px) {
  .training-split-grid {
    grid-template-columns: 1fr;
  }
}

.split-day-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.split-day-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.split-day-focus {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
}

.split-day-exercises {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-execution-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--accent-indigo);
  padding: 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-execution-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

/* Nutrition Widget Styles */
.nutrition-widget-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nutrition-input-group {
  display: flex;
  gap: 10px;
}

.btn-nutrition-log {
  background: var(--accent-purple);
  color: var(--text-white);
  border: none;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-nutrition-log:hover {
  background: rgba(139, 92, 246, 0.85);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.35);
}

.nutrition-tracker-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nutrition-bar-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.nutrition-bar-wrapper {
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
}

.nutrition-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nutrition-bar-fill.protein {
  background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.meals-logged-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 85px;
  overflow-y: auto;
  padding-right: 4px;
}

.logged-meal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.logged-meal-text {
  font-weight: 500;
  color: var(--text-white);
}

/* Circadian timeline styles */
.circadian-widget-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.circadian-timeline-viz {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  overflow: hidden;
  height: 28px;
  position: relative;
  align-items: center;
}

.circadian-block {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
}

.circadian-block.sleep {
  background: rgba(139, 92, 246, 0.15);
  border-right: 1px solid rgba(139, 92, 246, 0.25);
  border-left: 1px solid rgba(139, 92, 246, 0.25);
}

.circadian-block.wake {
  background: rgba(255, 214, 10, 0.08);
}

.circadian-timeline-markers {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-secondary);
  padding: 0 4px;
}

.sunset-countdown-card {
  background: rgba(255, 69, 58, 0.04);
  border: 1px solid rgba(255, 69, 58, 0.15);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sunset-timer-display {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ff453a;
  text-shadow: 0 0 12px rgba(255, 69, 58, 0.35);
  letter-spacing: 0.5px;
}

/* Mental Health widget styles */
.mental-widget-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mental-dump-textarea {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  color: var(--text-white);
  font-size: 13px;
  min-height: 80px;
  resize: none;
  font-family: var(--font-body);
}

.mental-dump-textarea:focus {
  border-color: var(--accent-indigo);
  outline: none;
}

.synthesized-clarity-box {
  background: rgba(48, 209, 88, 0.04);
  border: 1px solid rgba(48, 209, 88, 0.18);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.4s ease;
}

.synthesized-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #30d158;
  display: flex;
  align-items: center;
  gap: 6px;
}

.synthesized-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-white);
  line-height: 1.4;
}

/* breathwork styling */
.breathwork-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.breathing-circle-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.breathing-circle-glow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.25);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.45);
  border: 1px solid rgba(6, 182, 212, 0.6);
  transition: all 4s ease-in-out;
}

.breathing-circle-glow.inhale {
  transform: scale(2.0);
  background: rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.7);
}

.breathing-circle-glow.hold {
  transform: scale(2.0);
  background: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.7);
  border-color: rgba(139, 92, 246, 0.6);
}

.breathing-circle-glow.exhale {
  transform: scale(1.0);
  background: rgba(6, 182, 212, 0.2);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.breathing-instructions {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.breathing-text {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
}

.breathing-phase {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Relationships widgets checkin card styles */
.bonds-reminders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bond-reminder-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: 12px;
}

.bond-reminder-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bond-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
}

.bond-due-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ff9f0a;
  background: rgba(255, 159, 10, 0.08);
  border: 1px solid rgba(255, 159, 10, 0.2);
  padding: 2px 6px;
  border-radius: 100px;
}

.bond-due-badge.checked-in {
  color: #30d158;
  background: rgba(48, 209, 88, 0.08);
  border-color: rgba(48, 209, 88, 0.2);
}

.bond-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.bond-progress-wrapper {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  overflow: hidden;
}

.bond-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-indigo) 0%, var(--accent-cyan) 100%);
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-bond-checkin {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-bond-checkin:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.social-battery-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-battery-container {
  display: flex;
  gap: 4px;
}

.social-battery-segment {
  width: 20px;
  height: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-battery-segment.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.45);
}

/* Premium Visual Radar Chart Container inside Dashboard */
.lifemap-dashboard-canvas-box {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1;
  width: 100%;
}

#life-map-canvas-dashboard {
  width: 100%;
  height: 100%;
  max-width: 360px;
  max-height: 360px;
}

/* Custom premium modal overlay */
.premium-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.premium-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.premium-modal-content {
  background: rgba(10, 15, 30, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(99, 102, 241, 0.2);
  border-radius: 24px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.premium-modal-overlay.active .premium-modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-modal-close:hover {
  color: var(--text-white);
}

.modal-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 14px;
  border-radius: 12px;
}

.modal-item-title {
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

/* --- Mogging Screen (Path A Motivation Pushback) --- */
.page-view.mogging-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100% !important;
  background: #000000 !important;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.mogging-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 800px;
  text-align: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: moggingEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-sizing: border-box;
  overflow: hidden;
}

@keyframes moggingEntrance {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.mogging-skull-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 540px;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.11; /* Subtle, prominent glowing red skull backdrop graphic */
}

.mogging-skull-icon i, .mogging-skull-icon svg {
  width: 100% !important;
  height: 100% !important;
  color: #ff453a !important;
  filter: drop-shadow(0 0 60px rgba(255, 69, 58, 0.8));
  animation: skullPulse 2s ease-in-out infinite alternate;
}

@keyframes skullPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 35px rgba(255, 69, 58, 0.5));
  }
  100% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 75px rgba(255, 69, 58, 0.95));
  }
}

.mogging-text {
  position: relative;
  z-index: 10; /* Keeps text layered perfectly on top */
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1.15;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.15),
               0 0 10px rgba(255, 69, 58, 0.3);
  margin: 0;
}

@media (max-width: 600px) {
  .mogging-text {
    font-size: 28px;
  }
  .mogging-skull-icon {
    width: 320px;
    height: 320px;
  }
}

.mogging-btn {
  position: relative;
  z-index: 10; /* Keeps action button layered perfectly on top */
  margin-top: 16px;
  box-shadow: 0 0 30px rgba(255, 69, 58, 0.2);
  transition: all 0.3s ease;
}

.mogging-btn:hover {
  background: #ff453a !important;
  color: #ffffff !important;
  box-shadow: 0 0 40px rgba(255, 69, 58, 0.6);
  transform: scale(1.05);
}

/* --- Friction & Strategy Analysis Split-Column Grid --- */
.friction-analysis-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 0 auto;
  max-width: 1400px;
  padding: 40px 24px;
  width: 100%;
  text-align: left;
  animation: slideFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.friction-column-left {
  background: rgba(255, 255, 255, 0.01) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 24px !important;
  padding: 40px !important;
  max-height: none !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.friction-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
}

.friction-card-pre {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-indigo);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.friction-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

/* Stagnation Loop inside Left Column */
.stagnation-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stagnation-step {
  display: flex;
  gap: 20px;
  position: relative;
}

.stagnation-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 69, 58, 0.08);
  border: 1px solid rgba(255, 69, 58, 0.3);
  color: #ff453a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.stagnation-step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  display: block;
}

.stagnation-step-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 4px 0 0 0;
}

/* Right Column details */
.friction-column-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-height: none !important;
  overflow: visible !important;
}

@media (min-width: 768px) {
  .friction-analysis-layout-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .friction-analysis-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .friction-column-left {
    padding: 24px !important;
  }
}

/* --- Tailwind Utility Mappings for Friction & Strategy Analysis Onboarding Upgrade --- */
.w-full {
  width: 100% !important;
}
.max-w-6xl {
  max-width: 1152px !important;
}
.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}
.grid {
  display: grid !important;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
.gap-10 {
  gap: 40px !important;
}
.px-4 {
  padding-left: 16px !important;
  padding-right: 16px !important;
}
.items-start {
  align-items: start !important;
}
.mt-8 {
  margin-top: 32px !important;
}
.flex-col {
  flex-direction: column !important;
}
.gap-8 {
  gap: 32px !important;
}
.gap-4 {
  gap: 16px !important;
}
.p-5 {
  padding: 20px !important;
}
.p-6 {
  padding: 24px !important;
}
.border {
  border-width: 1px !important;
  border-style: solid !important;
}
.border-neutral-800 {
  border-color: #262626 !important;
}
.border-neutral-900 {
  border-color: #171717 !important;
}
.bg-zinc-950\/50 {
  background-color: rgba(9, 9, 11, 0.5) !important;
}
.bg-zinc-950 {
  background-color: #09090b !important;
}
.rounded-xl {
  border-radius: 12px !important;
}
.rounded-lg {
  border-radius: 8px !important;
}
.mt-6 {
  margin-top: 24px !important;
}
.clear-both {
  clear: both !important;
}
.block {
  display: block !important;
}
.layout-flush {
  margin-top: 24px !important;
  padding-top: 0 !important;
}
.mt-12 {
  margin-top: 48px !important;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .md\:px-8 {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  .md\:p-8 {
    padding: 32px !important;
  }
}

/* --- How We See You 3-Column Grid Upgrade --- */
@media (min-width: 900px) {
  .page-view-wide .analysis-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 899px) {
  .page-view-wide .analysis-grid {
    grid-template-columns: 1fr !important;
  }
}
.analysis-card.struggles-card {
  border-left: 4px solid var(--accent-indigo) !important;
}

/* --- Strategic Alignment Premium UI/UX Redesign --- */

.strategic-alignment-grid-cols-2 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (min-width: 1024px) {
  .strategic-alignment-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 48px !important;
  }
}

.px-6-custom {
  padding-left: 24px !important;
  padding-right: 24px !important;
}
@media (min-width: 768px) {
  .px-10-custom {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

/* Widescreen Cinematic Background Radial Glows */
.page-view-wide {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(239, 68, 68, 0.02) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.02) 0%, transparent 40%) !important;
}

/* Reality Loop Card Container (Red Apple/Linear SaaS Glow) */
.reality-loop-card {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: rgba(8, 8, 8, 0.6) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.8), 
              0 0 50px -10px rgba(239, 68, 68, 0.04) !important;
  border-radius: 24px !important;
  padding: 48px !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.reality-loop-card:hover {
  border-color: rgba(239, 68, 68, 0.22) !important;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 
              0 0 60px -5px rgba(239, 68, 68, 0.1) !important;
}

/* How You Break the Loop Card Container (Indigo Apple/Linear SaaS Glow) */
.arovate-break-card {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: rgba(8, 8, 8, 0.6) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.8), 
              0 0 50px -10px rgba(99, 102, 241, 0.04) !important;
  border-radius: 24px !important;
  padding: 48px !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.arovate-break-card:hover {
  border-color: rgba(99, 102, 241, 0.22) !important;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 
              0 0 60px -5px rgba(99, 102, 241, 0.1) !important;
}

@media (max-width: 767px) {
  .reality-loop-card, .arovate-break-card {
    padding: 28px 20px !important;
  }
}

/* The Arovate Advantage Card Container (Purple Accent Widescreen Grid) */
.strategic-alignment-advantage-card {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: rgba(8, 8, 8, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  border-radius: 24px !important;
  padding: 48px !important;
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.8),
              0 0 50px -10px rgba(168, 85, 247, 0.03) !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  margin-top: 48px !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.strategic-alignment-advantage-card:hover {
  border-color: rgba(168, 85, 247, 0.2) !important;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9),
              0 0 60px -5px rgba(168, 85, 247, 0.08) !important;
}
@media (max-width: 767px) {
  .strategic-alignment-advantage-card {
    padding: 28px 20px !important;
    margin-top: 32px !important;
  }
}

/* Individual Strategy Cards inside Right Column */
.strategy-mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  background: rgba(255, 255, 255, 0.01) !important;
  border-radius: 16px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 16px;
}
.strategy-mini-card:hover {
  border-color: rgba(99, 102, 241, 0.3) !important;
  background: rgba(99, 102, 241, 0.03) !important;
  transform: translateY(-2px) scale(1.005);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.06) !important;
}
@media (max-width: 767px) {
  .strategy-mini-card {
    padding: 20px 16px !important;
  }
}

.strategy-icon-box {
  width: 44px !important;
  height: 44px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.08) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  color: #818cf8 !important;
  flex-shrink: 0;
}

.strategy-index {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(99, 102, 241, 0.6) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  border-radius: 5px;
  padding: 3px 8px;
  align-self: center;
  flex-shrink: 0;
  line-height: 1 !important;
}

.advantage-icon-box {
  width: 44px !important;
  height: 44px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.08) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
  color: #c084fc !important;
  flex-shrink: 0;
}

.slider-track-container {
  height: 2px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  position: relative;
  border-radius: 9999px;
  overflow: visible;
}
.slider-bullet {
  position: absolute;
  left: 0;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a855f7 !important;
  box-shadow: 0 0 10px #a855f7 !important;
}

/* Stagnation Dot Premium Sizing */
.stagnation-dot-premium {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  color: #ef4444 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* Timeline vertical dashes alignment for 40px dot */
.stagnation-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px !important;
  top: 40px !important;
  bottom: -24px !important;
  width: 1px;
  border-left: 1px dashed rgba(239, 68, 68, 0.25) !important;
}

.stagnation-timeline-spacious {
  display: flex;
  flex-direction: column;
  gap: 36px !important;
}

@media (min-width: 768px) {
  .advantage-column-divider {
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-right: 32px !important;
  }
}

/* Cinematic SaaS Typography Hierarchy */
.strategic-alignment-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  letter-spacing: -1.5px !important;
}
@media (max-width: 767px) {
  .strategic-alignment-title {
    font-size: 2.25rem !important;
  }
}

.strategic-alignment-desc {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.15rem !important;
  color: #d1d1d6 !important;
  line-height: 1.6 !important;
  max-width: 800px !important;
  margin: 16px auto 0 auto !important;
}

.btn-premium-cta {
  background: linear-gradient(135deg, #6366f1, #a855f7) !important;
  color: #ffffff !important;
  border: none !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  border-radius: 9999px !important;
  padding: 18px 48px !important;
  min-width: 300px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-premium-cta:hover {
  background: linear-gradient(135deg, #4f46e5, #9333ea) !important;
  box-shadow: 0 15px 40px rgba(168, 85, 247, 0.55) !important;
  transform: translateY(-3px) scale(1.03) !important;
}







