/* Professional Demo Styles - Aligned with Main Landing Page */
:root {
  --primary-color: #1e40af;
  --primary-dark: #1e3a8a;
  --secondary-color: #64748b;
  --success-color: #059669;
  --warning-color: #d97706;
  --danger-color: #dc2626;
  --background-dark: #151e2e;
  --background-light: #1e293b;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Professional Demo Styles - Enhanced Interactive Version */

/* Import base styles */
@import url('../styles.css');

/* Demo-specific overrides and enhancements */
.demo-container {
  padding-top: 160px; /* Account for fixed navbar (80px) + fixed demo header (80px) */
  min-height: 100vh;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  position: relative;
  overflow-x: hidden;
  border-right: none !important;
  box-shadow: none !important;
}

/* Demo Actions */
.demo-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.demo-actions button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.demo-actions .btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
}

.demo-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.demo-actions .btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.demo-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.demo-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(5, 150, 105, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Enhanced Navbar Integration */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s ease !important;
  height: 80px !important;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo img {
  height: 64px;
  transition: transform 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-menu a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #60a5fa;
  transform: translateY(-2px);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-buttons .btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Mobile Navigation */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #e2e8f0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-hamburger:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
}

.nav-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.nav-mobile-menu.open {
  transform: translateX(0);
}

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

.nav-mobile-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #e2e8f0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-mobile-close:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
}

.nav-mobile-links {
  padding: 20px;
}

.nav-mobile-links a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.nav-mobile-links a:hover {
  color: #60a5fa;
  padding-left: 10px;
}

.nav-mobile-actions {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-mobile {
  width: 100%;
  text-align: center;
  padding: 15px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Demo Header */
.demo-header {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 30px 0 !important;
  position: fixed !important;
  top: 80px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 999 !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.demo-header-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.demo-progress {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.demo-actions {
  flex: 1;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.demo-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
}

.demo-logo i {
  font-size: 28px;
  color: #10b981;
}

.demo-subtitle {
  color: rgba(248, 250, 252, 0.7);
  font-size: 14px;
  font-weight: 500;
}

.demo-progress {
  display: flex;
  align-items: center;
  gap: 20px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.progress-step:hover {
  transform: scale(1.1);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.step-label {
  color: rgba(248, 250, 252, 0.8);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.progress-line {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}

.progress-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #10b981, #059669);
  transition: width 0.3s ease;
}

.progress-step.active + .progress-line::after {
  width: 100%;
}

.demo-actions {
  display: flex;
  gap: 15px;
}

/* Demo Steps */
.demo-step {
  display: none;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 20px; /* Reduced since container already has padding-top */
}

.demo-step.active {
  display: block;
  animation: fadeInUp 0.6s ease;
}

.demo-step.step-animate-in {
  animation: slideInRight 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.demo-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.2);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.step-header {
  text-align: center;
  margin-bottom: 40px;
}

.step-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #3be68f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-header h2 i {
  color: #3b82f6;
}

.step-header p {
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Institution Selection */
.institution-selection {
  margin-bottom: 40px;
  max-width: 100%;
  margin: 0 auto 40px auto;
}

.selection-header {
  text-align: center;
  margin-bottom: 30px;
}

.selection-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.selection-header h3 i {
  color: #3b82f6;
}

.selection-header p {
  color: #cbd5e1;
  font-size: 16px;
}

.institution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  justify-content: center;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.institution-option {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 15px;
  padding: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.institution-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.institution-option:hover::before {
  left: 100%;
}

.institution-option:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.1);
}

.institution-option.active {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.2);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.institution-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

.institution-icon.chase {
  background: linear-gradient(135deg, #117AC9, #0052CC);
}

.institution-icon.wells-fargo {
  background: linear-gradient(135deg, #D71E28, #B71C1C);
}

.institution-icon.fidelity {
  background: linear-gradient(135deg, #00A651, #007A3D);
}

.institution-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.institution-name {
  font-weight: 600;
  font-size: 18px;
  color: #f8fafc;
}

.institution-type {
  font-size: 14px;
  color: #cbd5e1;
}

.connection-status {
  color: #64748b;
  font-size: 20px;
  transition: all 0.3s ease;
}

.institution-option.active .connection-status {
  color: #10b981;
}

/* Connection Status */
.connection-status-container {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.connection-status-container.connected {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
}

.status-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  color: #f8fafc;
  font-weight: 500;
}

.status-message i {
  font-size: 18px;
}

.status-message i.fa-spinner {
  color: #3b82f6;
}

.status-message i.fa-check-circle {
  color: #10b981;
}

.status-message i.fa-info-circle {
  color: #3b82f6;
}

/* Continue Buttons */
.continue-btn {
  margin-top: 30px;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  animation: fadeInUp 0.6s ease;
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}

/* Property Form */
.portfolio-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 40px;
}

.form-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.form-section h3 i {
  color: #3b82f6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

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

.form-group label {
  font-weight: 600;
  color: #f8fafc;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: #3b82f6;
}

.form-group label[for="property-name"]::before { content: '\f015'; }
.form-group label[for="property-type"]::before { content: '\f1ad'; }
.form-group label[for="property-price"]::before { content: '\f0d6'; }
.form-group label[for="property-rent"]::before { content: '\f53a'; }
.form-group label[for="property-expenses"]::before { content: '\f0d0'; }
.form-group label[for="property-location"]::before { content: '\f3c5'; }

.form-group input,
.form-group select {
  padding: 15px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
  color: rgba(203, 213, 225, 0.5);
}

.input-with-currency {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-currency .currency {
  position: absolute;
  left: 15px;
  color: #cbd5e1;
  font-weight: 600;
  z-index: 1;
}

.input-with-currency input {
  padding-left: 35px;
}

/* AI Analysis */
.ai-analysis-container {
  max-width: 900px;
  margin: 0 auto;
}

.ai-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 60px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
}

.ai-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
  }
}

.ai-status h4 {
  font-size: 24px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ai-status h4 i {
  color: #3b82f6;
}

.ai-status p {
  color: #cbd5e1;
  font-size: 16px;
}

.analysis-progress {
  width: 100%;
  max-width: 400px;
}

.analysis-progress .progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}

.analysis-progress .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

.progress-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
}

/* Optimization Results */
.optimization-results {
  animation: fadeInUp 0.6s ease;
  max-width: 100%;
  margin: 0 auto;
}

.results-header {
  text-align: center;
  margin-bottom: 40px;
}

.results-header h3 {
  font-size: 28px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.results-header h3 i {
  color: #3b82f6;
}

.results-header p {
  color: #cbd5e1;
  font-size: 16px;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.recommendation-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  backdrop-filter: blur(10px);
}

.recommendation-card.animate-in {
  animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback to ensure cards are visible if animation doesn't trigger */
.demo-step.active .recommendation-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.recommendation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.recommendation-card.priority-high {
  border-left: 4px solid #ef4444;
}

.recommendation-card.priority-medium {
  border-left: 4px solid #f59e0b;
}

.recommendation-card.priority-low {
  border-left: 4px solid #10b981;
}

.recommendation-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.recommendation-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.priority-high .recommendation-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.priority-medium .recommendation-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.priority-low .recommendation-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.recommendation-meta h4 {
  font-size: 18px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 5px;
}

.priority-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.priority-high .priority-badge {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.priority-medium .priority-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.priority-low .priority-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.recommendation-content p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 20px;
}

.recommendation-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

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

.metric-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-value {
  font-size: 16px;
  font-weight: 600;
  color: #f8fafc;
}

.metric-value.low-risk {
  color: #10b981;
}

/* Completion */
.completion-header {
  text-align: center;
  margin-bottom: 40px;
}

.completion-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  margin: 0 auto 30px;
  animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.completion-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.completion-header h2 i {
  color: #3b82f6;
}

.completion-header p {
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.completion-summary {
  max-width: 800px;
  margin: 0 auto;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.summary-stat {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.summary-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.summary-stat .stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 8px;
  text-align: center;
  display: block;
}

.summary-stat .stat-label {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  display: block;
}

.next-steps {
  text-align: center;
}

.next-steps h3 {
  font-size: 24px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.next-steps h3 i {
  color: #3b82f6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: rgba(30, 41, 59, 0.98);
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(16, 24, 40, 0.25);
  padding: 40px 32px 32px 32px;
  max-width: 800px;
  margin: 40px auto;
  border: none !important;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 18px;
  margin-bottom: 28px;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h3 i {
  color: #3b82f6;
}

.modal-close {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #ef4444;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.property-overview {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.property-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.property-image {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  position: relative;
  margin-bottom: 8px;
}

.property-type-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #059669;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
}

.property-quick-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.quick-stat {
  background: rgba(16, 185, 129, 0.08);
  border-radius: 8px;
  padding: 6px 16px;
  text-align: center;
}

.quick-stat .stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #10b981;
}

.quick-stat .stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.property-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.property-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.property-details p {
  color: #cbd5e1;
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.property-details i {
  color: #3b82f6;
  margin-right: 6px;
}

.property-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.stat-label {
  color: #cbd5e1;
  font-size: 0.92rem;
}

.stat-value {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}

.stat-value.positive {
  color: #10b981;
}

.performance-analysis {
  background: rgba(59, 130, 246, 0.07);
  border-radius: 12px;
  padding: 18px 20px 10px 20px;
  margin-bottom: 0;
}

.performance-analysis h5 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.performance-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.98rem;
  color: #fff;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.metric-row:last-child {
  border-bottom: none;
}

.metric-name {
  color: #cbd5e1;
  font-weight: 500;
}

.metric-value {
  color: #fff;
  font-weight: 600;
}

.metric-comparison.positive {
  color: #10b981;
  font-weight: 600;
}

.performance-chart {
  margin-top: 18px;
  background: rgba(59, 130, 246, 0.07);
  border-radius: 12px;
  padding: 18px 20px 10px 20px;
}

.performance-chart h5 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.bring-data-btn {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.18);
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bring-data-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.28);
  transform: translateY(-2px);
}

/* Success Notifications */
.success-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid #10b981;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 3000;
  backdrop-filter: blur(20px);
}

.success-notification.show {
  transform: translateX(0);
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  margin-bottom: 15px;
}

.notification-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-content h4 i {
  color: #10b981;
}

.notification-content p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-hamburger {
    display: block;
  }
  
  .demo-header-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .demo-progress {
    order: -1;
  }
  
  .demo-actions {
    width: 100%;
    justify-content: center;
  }
  
  .demo-content {
    padding: 30px 20px;
  }
  
  .step-header h2 {
    font-size: 24px;
  }
  
  .institution-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .recommendations-grid {
    grid-template-columns: 1fr;
  }
  
  .property-overview {
    grid-template-columns: 1fr;
  }
  
  .summary-stats {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .modal-content {
    margin: 20px;
    max-height: calc(100vh - 40px);
  }
  
  .modal-header,
  .modal-body {
    padding: 20px;
  }
  
  .success-notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .demo-container {
    padding-top: 60px;
  }
  
  .nav-container {
    height: 60px;
    padding: 0 15px;
  }
  
  .nav-logo img {
    height: 48px;
  }
  
  .demo-header {
    top: 60px;
    padding: 20px 0;
  }
  
  .demo-step {
    padding: 40px 15px;
  }
  
  .step-header h2 {
    font-size: 20px;
  }
  
  .step-header p {
    font-size: 16px;
  }
}

/* Remove any solid green border from all elements except badges */
*:not(.property-type-badge):not(.priority-badge) {
  border-color: transparent !important;
}

/* Center the Add Property to Portfolio button */
.center-btn {
  display: block;
  margin: 32px auto 0 auto;
  text-align: center;
}

@media (max-width: 900px) {
  .modal-content {
    max-width: 98vw;
    padding: 20px 2vw 24px 2vw;
  }
}

/* Additional institution types */
.institution-icon.vanguard {
  background: linear-gradient(135deg, #D32F2F 0%, #F44336 100%);
}

/* Security Notice */
.security-notice {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(5, 150, 105, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  margin-top: 2rem;
}

.security-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.security-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.security-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Tracking Overview */
.tracking-overview {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
}

.tracking-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.category-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.category-card.active {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.category-info h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.category-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.tracking-content {
  position: relative;
  min-height: 300px;
  padding-bottom: 100px;
}

.content-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.content-panel.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.content-panel h3 {
  margin: 0 0 1.5rem 0;
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 600;
}

.demo-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.data-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.data-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.data-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.data-value {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.data-value.total {
  color: #10b981;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Analytics Dashboard */
.analytics-dashboard {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 100%;
  margin: 0 auto;
}

.financial-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.overview-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.overview-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.net-worth .card-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.assets .card-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.liabilities .card-icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.card-content h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content .value {
  color: var(--text-primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-content .change {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.change.positive {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.change.negative {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.analytics-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.chart-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.chart-container h3 {
  margin: 0 0 1rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.chart-placeholder {
  height: 200px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-style: italic;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.key-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.metric-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.metric-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.metric-item .metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.metric-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.metric-content .metric-value {
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.metric-status {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.metric-status.good {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.metric-status.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

/* AI Chat Container */
.ai-chat-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-chat-container .ai-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ai-info h3 {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.ai-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.ai-chat-messages {
  min-height: 150px;
  margin-bottom: 1.5rem;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.message-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-content p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.5;
}

.ai-quick-questions {
  margin-bottom: 1.5rem;
}

.ai-quick-questions h4 {
  margin: 0 0 1rem 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.quick-question-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.quick-question {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.quick-question:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.quick-question i {
  color: #3b82f6;
  flex-shrink: 0;
}

.ai-chat-input {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.ai-chat-input input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.ai-chat-input input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.ai-chat-input button {
  padding: 0.75rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.ai-chat-input button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-content h4 {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.feature-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.cta-buttons .btn-primary.large,
.cta-buttons .btn-outline.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary.large {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.cta-buttons .btn-primary.large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.cta-buttons .btn-outline.large {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
}

.cta-buttons .btn-outline.large:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.next-steps ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.next-steps li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.next-steps li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
  .tracking-categories {
    grid-template-columns: 1fr;
  }
  
  .demo-data-grid {
    grid-template-columns: 1fr;
  }
  
  .financial-overview {
    grid-template-columns: 1fr;
  }
  
  .analytics-charts {
    grid-template-columns: 1fr;
  }
  
  .key-metrics {
    grid-template-columns: 1fr;
  }
  
  .quick-question-buttons {
    grid-template-columns: 1fr;
  }
  
  .ai-features {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-buttons .btn-primary.large,
  .cta-buttons .btn-outline.large {
    text-align: center;
    justify-content: center;
  }
}

/* Enhanced Continue Button Animation */
.continue-btn {
  animation: buttonFadeIn 0.5s ease-in-out !important;
  position: relative !important;
  z-index: 1000 !important;
  pointer-events: auto !important;
  clear: both;
}

@keyframes buttonFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Interaction Hints */
.interaction-hint {
  text-align: center;
  color: #cbd5e1;
  font-size: 14px;
  margin-top: 1rem;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  animation: hintPulse 3s infinite;
}

@keyframes hintPulse {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

/* Step-specific hints */
.step-hint {
  margin-top: 1.5rem;
  padding: 12px 20px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 14px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Button container fix */
.continue-btn-container {
  position: relative !important;
  z-index: 1001 !important;
  margin-top: 3rem !important;
  margin-bottom: 2rem !important;
  text-align: center !important;
  clear: both !important;
}

.continue-btn-container .continue-btn {
  position: relative !important;
  z-index: 1002 !important;
  display: inline-block !important;
  width: auto !important;
  max-width: 300px !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Enhanced Layout Container System */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Centered Section Wrapper */
.section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-bottom: 2rem;
}

/* Chart responsiveness improvements */
@media (max-width: 768px) {
  .chart-container {
    padding: 1rem;
  }
  
  .chart-placeholder {
    height: 150px;
  }
  
  .analytics-charts {
    grid-template-columns: 1fr;
  }
  
  .recommendations-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  .institution-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* Financial overview improvements */
.financial-overview {
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  width: 100%;
}

/* Key metrics improvements */
.key-metrics {
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

/* AI Features layout improvements */
.ai-features {
  max-width: 800px;
  margin: 2rem auto 0 auto;
  width: 100%;
  justify-content: center;
}

/* Quick question buttons improvements */
.quick-question-buttons {
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* CTA buttons improvements */
.cta-buttons {
  max-width: 500px;
  margin: 2rem auto;
  width: 100%;
}

/* Completion summary improvements */
.completion-summary {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

/* Summary stats improvements */
.summary-stats {
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  width: 100%;
}

/* Connection status improvements */
.connection-status-container {
  max-width: 600px;
  margin: 2rem auto;
  width: 100%;
}

/* Security notice improvements */
.security-notice {
  max-width: 600px;
  margin: 1.5rem auto;
  width: 100%;
}

/* Tracking categories improvements */
.tracking-categories {
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  width: 100%;
}

/* Demo data grid improvements */
.demo-data-grid {
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* Content panel improvements */
.content-panel {
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

/* AI Chat specific improvements */
.ai-chat-header {
  width: 100%;
  text-align: center;
  margin-bottom: 1.5rem;
}

.ai-chat-messages {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
}

.ai-chat-input {
  width: 100%;
  max-width: 500px;
  margin: 1.5rem auto;
}

/* Responsive improvements for larger screens */
@media (min-width: 1400px) {
  .demo-content {
    max-width: 1300px;
  }
  
  .analytics-dashboard {
    max-width: 1250px;
  }
  
  .recommendations-grid {
    max-width: 1200px;
  }
}