/* ===================================================
   AI-COMPONENTS.CSS — AI UI Components & Styling
   Futuristic Design with Glassmorphism & Glow Effects
   Import AFTER style.css & home.css
   =================================================== */

/* ---------- ROOT TOKENS ---------- */
:root {
  /* Primary Colors */
  --accent: #eb6835;
  --accent-secondary: #6c5ce7;
  --neon-blue: #00d4ff;
  --neon-purple: #a855f7;
  --neon-pink: #ec4899;
  
  /* Background & Surface */
  --dark-bg: #0f0f12;
  --dark-surface: #141619;
  --dark-surface-2: #1b1d22;
  --glass-bg: rgba(26, 26, 30, 0.8);
  
    /* Text */
    --text-primary: #eef2ff;
    --text-secondary: #9ca3af;

    /* Card background */
    --card-bg: #0b1116;
    /* Primary / theme tokens */
    --primary-color: var(--neon-blue);
    --primary-hover: rgba(0, 212, 255, 0.6);
    --accent-color: var(--accent);
  
  /* Borders */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-light: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --gradient-neon: linear-gradient(135deg, #6c5ce7, #a855f7);
  --gradient-glow: linear-gradient(135deg, #00d4ff, #6c5ce7);
  --gradient-warm: linear-gradient(135deg, #eb6835, #ff6b9d);

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-2xl: 32px;
  --spacing-3xl: 48px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Font Families */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.5);
  --glow-sm: 0 0 10px rgba(108, 92, 231, 0.3);
  --glow-md: 0 0 20px rgba(108, 92, 231, 0.4);
  --glow-lg: 0 0 30px rgba(108, 92, 231, 0.5);
}

/* ---------- HERO SECTION ---------- */
.ai-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  padding: var(--spacing-3xl) 0;
  margin: 0 auto;
  max-width: 1200px;
  margin-bottom: var(--spacing-3xl);
}

.ai-hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 13px;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.breadcrumb a:hover {
  color: var(--neon-purple);
}

.breadcrumb i {
  font-size: 10px;
  opacity: 0.6;
}

.ai-hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.ai-hero-highlight {
  /*background: var(--gradient-glow);*/
  background-color: rgb(235, 104, 57);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

.ai-hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 500px;
}

.ai-hero-cta {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.cta-btn {
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.primary-cta {
  background: var(--gradient-glow);
  color: #ffffff;
  box-shadow: var(--glow-md);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-lg);
}

.primary-cta:active {
  transform: translateY(0);
}

.secondary-cta {
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid rgba(0, 212, 255, 0.3);
  transition: all var(--transition-smooth);
}

.secondary-cta:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.ai-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 350px;
}

.ai-hero-placeholder {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--gradient-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 60px rgba(108, 92, 231, 0.4);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ---------- COMPONENT SECTION HEADER ---------- */
.ai-component-section {
  margin-bottom: var(--spacing-3xl);
  padding: 0 var(--spacing-xl);

}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: rgb(235, 104, 57);
}

.section-badge {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(168, 85, 247, 0.2));
  color: var(--neon-blue);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

/* ---------- AI COMPONENT TEXT VISIBILITY ---------- */

/* Titles inside cards */
.ai-component-section h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

/* Lists inside cards */
.ai-component-section ul li {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
}

/* Paragraphs inside cards */
.ai-component-section p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Labels and values inside stats */
.ai-component-section .stat-label {
  color: var(--text-secondary);
  font-size: 13px;
}

.ai-component-section .stat-value {
  color: var(--text-primary);
  font-weight: 600;
}


/* ===== AI Recommendations ===== */
.recommendation-card {
  background: var(--card-bg, #1e1e2f);
  border-radius: 10px;
  padding: 20px;
  margin-top: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.recommendation-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.recommendation-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}
.recommendation-list li {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}
.recommendation-btn {
  background: var(--primary-color, #4a90e2);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.recommendation-btn:hover {
  background: var(--primary-hover, #357ab8);
}

/* ===== AI Analytics ===== */
.analytics-card {
  background: var(--card-bg, #1e1e2f);
  border-radius: 10px;
  padding: 20px;
  margin-top: 15px;
  text-align: center;
}
.analytics-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.analytics-placeholder {
  font-size: 2rem;
  color: var(--accent-color, #4a90e2);
  margin: 20px 0;
}
.analytics-desc {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* ===== AI Tools Panel ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 15px;
}
.tool-btn {
  background: var(--card-bg, #1e1e2f);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
  color: #fff;
}
.tool-btn:hover {
  background: var(--primary-color, #4a90e2);
  transform: translateY(-2px);
}

/* ===== AI Voice Assistant ===== */
.voice-widget {
  background: var(--card-bg, #1e1e2f);
  border-radius: 10px;
  padding: 20px;
  margin-top: 15px;
  text-align: center;
}
.voice-btn {
  background: var(--primary-color, #4a90e2);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
.voice-btn:hover {
  background: var(--primary-hover, #357ab8);
}
.voice-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
/* ===== AI Task Scheduler ===== */
.task-card {
  background: var(--card-bg, #1e1e2f);
  border-radius: 10px;
  padding: 20px;
  margin-top: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.task-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.task-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}
.task-list li {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}
.task-btn {
  background: var(--primary-color, #4a90e2);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.task-btn:hover {
  background: var(--primary-hover, #357ab8);
}

/* ===== AI Performance Monitor ===== */
.performance-card {
  background: var(--card-bg, #1e1e2f);
  border-radius: 10px;
  padding: 20px;
  margin-top: 15px;
}
.performance-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.performance-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 15px;
}
.stat-item {
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 6px;
  text-align: center;
}
.stat-label {
  font-size: 0.85rem;
  color: #aaa;
}
.stat-value {
  font-size: 1rem;
  font-weight: bold;
  color: var(--accent-color, #4a90e2);
}
.performance-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== AI Component Generator ===== */
.generator-card {
  background: var(--card-bg, #1e1e2f);
  border-radius: 10px;
  padding: 20px;
  margin-top: 15px;
  text-align: center;
}
.generator-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.generator-input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
  background: var(--dark-surface);
  color: var(--text-primary);
}
.generator-btn {
  background: var(--primary-color, #4a90e2);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.generator-btn:hover {
  background: var(--primary-hover, #357ab8);
}
.generator-hint {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== AI Security Checker ===== */
.security-card {
  background: var(--card-bg, #1e1e2f);
  border-radius: 10px;
  padding: 20px;
  margin-top: 15px;
}

.security-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary); /* ✅ makes title visible */
  font-weight: 600;
}

.security-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.security-list li {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary); /* ✅ ensures list items are readable */
  font-size: 14px;
  line-height: 1.6;
}

.security-btn {
  background: var(--primary-color, #4a90e2);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s ease;
}

.security-btn:hover {
  background: var(--primary-hover, #357ab8);
  transform: translateY(-2px); /* ✅ adds hover lift */
}




/* ---------- CHATBOT COMPONENT ---------- */
.chatbot-container {
  background: var(--glass-bg);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 550px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-weight: 600;
  color: var(--text-primary);
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

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

.chatbot-menu-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.chatbot-menu-btn:hover {
  color: var(--neon-blue);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.chat-message {
  display: flex;
  gap: var(--spacing-md);
  animation: slideIn 0.4s var(--transition-smooth);
}

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

.chat-message.user-message {
  justify-content: flex-end;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.2);
  border: 1px solid rgba(108, 92, 231, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-purple);
  font-size: 14px;
  flex-shrink: 0;
}

.message-avatar.ai-avatar {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--neon-blue);
}

.message-bubble {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  max-width: 70%;
}

.chat-message.user-message .message-bubble {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(168, 85, 247, 0.2));
  border-color: rgba(0, 212, 255, 0.3);
}

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

.message-time {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: var(--spacing-md);
}

/* Typing Indicator Animation */
.typing-indicator {
  display: flex;
  gap: 4px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-8px);
  }
}

.chatbot-input-area {
  padding: var(--spacing-lg);
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
}

.input-wrapper {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  background: var(--dark-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  transition: all var(--transition-fast);
}

.input-wrapper:focus-within {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.chat-input::placeholder {
  color: var(--text-secondary);
}

.send-btn {
  background: var(--gradient-glow);
  border: none;
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 14px;
}

.send-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-md);
}

.input-disclaimer {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- PROMPT INPUT SECTION ---------- */
.prompt-input-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--spacing-2xl);
}

.prompt-wrapper {
  background: var(--glass-bg);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
}

.prompt-label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-size: 14px;
}

.prompt-textarea {
  width: 100%;
  background: var(--dark-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  padding: var(--spacing-lg);
  resize: vertical;
  transition: all var(--transition-fast);
  line-height: 1.6;
}

.prompt-textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.prompt-textarea::placeholder {
  color: var(--text-secondary);
}

.prompt-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-lg);
}

.prompt-meta {
  display: flex;
  gap: var(--spacing-lg);
  font-size: 12px;
  color: var(--text-secondary);
}

.prompt-actions {
  display: flex;
  gap: var(--spacing-md);
}

.prompt-btn {
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.clear-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.clear-btn:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: #ff6b6b;
  color: #ff6b6b;
}

.submit-btn {
  background: var(--gradient-glow);
  color: #000;
  box-shadow: var(--glow-md);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-lg);
}

.prompt-suggestions {
  background: var(--glass-bg);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.prompt-suggestions h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.suggestion-chip {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--neon-blue);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  transition: all var(--transition-fast);
  text-align: left;
}

.suggestion-chip:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--neon-blue);
  transform: translateX(4px);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* ---------- DASHBOARD CARDS ---------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.dashboard-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.dashboard-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 30px rgba(108, 92, 231, 0.3);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.card-header i {
  font-size: 20px;
  color: var(--neon-blue);
}

.card-metric {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-sm);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-unit {
  font-size: 13px;
  color: var(--text-secondary);
}

.card-progress {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-glow);
  border-radius: 3px;
  transition: width 0.5s ease;
  box-shadow: var(--glow-sm);
}

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

.card-trend {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 13px;
  color: #4ade80;
}

.card-trend.up i {
  color: #4ade80;
}

.card-trend.down {
  color: #ff6b6b;
}

.card-trend.down i {
  color: #ff6b6b;
}

.card-status {
  display: flex;
  gap: var(--spacing-md);
}

.status-badge {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

.status-badge.optimal {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.card-breakdown {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.breakdown-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.breakdown-value {
  font-weight: 700;
  color: var(--text-primary);
}

.card-action {
  color: var(--neon-blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.card-action:hover {
  color: var(--neon-purple);
}

/* ---------- SEARCH BAR ---------- */
.ai-search-container {
  background: var(--glass-bg);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

.ai-search-wrapper {
  display: flex;
  gap: var(--spacing-md);
  background: var(--dark-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  transition: all var(--transition-fast);
}

.ai-search-wrapper:focus-within {
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.ai-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
}

.ai-search-input::placeholder {
  color: var(--text-secondary);
}

.ai-search-btn {
  background: var(--gradient-glow);
  border: none;
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 16px;
}

.ai-search-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-md);
}

.search-hint {
  margin-top: var(--spacing-md);
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

/* ---------- ASSISTANT PROFILE CARD ---------- */
.assistant-profile {
  background: var(--glass-bg);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  margin: 0 auto;
}

.profile-header {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(0, 0, 0, 0.3);
  position: relative;
  flex-shrink: 0;
}

.avatar-status {
  width: 12px;
  height: 12px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid var(--dark-surface);
  position: absolute;
  bottom: 0;
  right: 0;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.profile-status {
  font-size: 13px;
  color: var(--text-secondary);
  display: block;
  margin-top: var(--spacing-sm);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--border-color);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  text-align: center;
}

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

.stat-value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.profile-bio {
  padding: var(--spacing-xl) 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  border-bottom: 1px solid var(--border-color);
}

.profile-actions {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-xl) 0;
  flex-wrap: wrap;
}

.profile-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  white-space: nowrap;
}

.profile-btn.primary {
  background: var(--gradient-glow);
  color: var(--text-primary);
  box-shadow: var(--glow-md);
  min-width: 100%;
}

.profile-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-lg);
}

.profile-btn.secondary {
  background: transparent;
  border: 1px solid var(--border-color-light);
  color: var(--text-primary);
}

.profile-btn.secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.profile-tags {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  padding-top: var(--spacing-xl);
}

.tag {
  background: rgba(0, 212, 255, 0.1);
  color: var(--neon-blue);
  padding: 4px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all var(--transition-fast);
}

.tag:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--neon-blue);
}

/* ---------- LOADER ANIMATIONS ---------- */
.loaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-xl);
}

.loader-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.loader-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 25px rgba(108, 92, 231, 0.3);
  transform: translateY(-4px);
}

.loader-demo {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  position: relative;
}

.loader-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

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

/* Pulse Loader */
.loader-pulse {
  width: 50px;
  height: 50px;
}

.pulse-ring {
  width: 100%;
  height: 100%;
  border: 2px solid var(--neon-blue);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Orbit Loader */
.loader-orbit {
  width: 60px;
  height: 60px;
}

.orbit-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-blue);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -4px;
  margin-top: -4px;
  animation: orbit 2s linear infinite;
  box-shadow: var(--glow-sm);
}

.orbit-dot::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(30px);
  }
  100% {
    transform: rotate(360deg) translateX(30px);
  }
}

/* Wave Loader */
.loader-wave {
  width: 80px;
  height: 50px;
  display: flex;
  gap: 6px;
  align-items: flex-end;
}

.wave-bar {
  width: 8px;
  height: 20px;
  background: var(--gradient-glow);
  border-radius: 4px;
  animation: wave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) {
  animation-delay: 0s;
}
.wave-bar:nth-child(2) {
  animation-delay: 0.15s;
}
.wave-bar:nth-child(3) {
  animation-delay: 0.3s;
}
.wave-bar:nth-child(4) {
  animation-delay: 0.45s;
}
.wave-bar:nth-child(5) {
  animation-delay: 0.6s;
}

@keyframes wave {
  0%, 100% {
    height: 20px;
    opacity: 0.6;
  }
  50% {
    height: 50px;
    opacity: 1;
  }
}

/* Dots Loader */
.loader-dots {
  width: 60px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--neon-blue);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
  box-shadow: var(--glow-sm);
}

.dot:nth-child(1) {
  animation-delay: -0.32s;
}
.dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  40% {
    transform: translateY(-15px);
    opacity: 1;
  }
}

/* Spinner Loader */
.loader-spinner {
  width: 50px;
  height: 50px;
}

.spinner-ring {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(0, 212, 255, 0.2);
  border-top: 3px solid var(--neon-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.3);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Gradient Loader */
.loader-gradient {
  width: 100px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.gradient-bar {
  height: 100%;
  background: var(--gradient-glow);
  border-radius: 2px;
  animation: progress 1.5s ease-in-out infinite;
  box-shadow: var(--glow-md);
}

@keyframes progress {
  0% {
    width: 0%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

/* ============================================================
   FOOTER SECTION
   ============================================================ */
/* ================= FOOTER ================= */

.footer {
  background: rgba(15, 15, 18, 0.92);
  border-top: 1px solid var(--border-color);
  margin-top: var(--spacing-3xl);
  backdrop-filter: blur(12px);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.4fr;
  gap: 5rem;
  padding: var(--spacing-3xl) var(--spacing-xl);
  max-width: 1280px;
  margin: 0 auto;
  align-items: flex-start;
}

/* ================= FOOTER COLUMNS ================= */

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col.brand h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.5px;
}

.footer-col p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.6px;
}

/* ================= FOOTER LINKS ================= */

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.32s ease;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

/* Hover Animation */
.footer-col a:hover {
  color: var(--neon-blue);
  transform: translateX(8px);
}

/* Animated Underline */
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--neon-blue);
  border-radius: 20px;
  transition: width 0.3s ease;
}

.footer-col a:hover::after {
  width: 100%;
}

/* ================= SOCIAL ICONS ================= */

.socials {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.socials a {
  width: 40px;
  height: 40px;
  width: 36px;
  height: 36px;
  margin-right: 12px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-blue);
  transition: all 0.3s ease;
  font-size: 15px;
  transition: color 0.3s ease, transform 0.2s ease;
}

/* Icon Hover */
.socials a:hover {
  background: var(--neon-blue);
  color: #000;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* ================= NEWSLETTER ================= */

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  width: 100%;
}

.newsletter-form input {
  flex: 1;
  width: 220px;
  height: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}

.newsletter-form input::placeholder {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Subscribe Button */
.newsletter-form button {
  background: var(--gradient-glow);
  border: none;
  color: #000;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-md);
}

/* ================= FOOTER BOTTOM ================= */

.footer-bottom {
  text-align: center;
  padding: 1.2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 1rem;
}
/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-glow);
  border: none;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: var(--glow-md);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-lg);
}

/* ---------- RESPONSIVE DESIGN ---------- */

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
  .ai-component-section {
    padding: 0 var(--spacing-xl);
  }
}

/* Medium Screens (768px to 1199px) */
@media (max-width: 1024px) {
  .ai-hero {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .ai-hero-visual {
    height: 280px;
  }

  .ai-hero-placeholder {
    width: 240px;
    height: 240px;
    font-size: 100px;
  }

  .prompt-input-container {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet (768px to 900px) */
@media (max-width: 900px) {
  .ai-hero-title {
    font-size: 36px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .chatbot-messages {
    padding: var(--spacing-lg);
  }

  .message-bubble {
    max-width: 85%;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .profile-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }
}

/* Small Screens (480px to 767px) */
@media (max-width: 768px) {
  .ai-hero-title {
    font-size: 28px;
  }

  .ai-hero-subtitle {
    font-size: 14px;
  }

  .ai-hero-cta {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .ai-hero-visual {
    height: 220px;
  }

  .ai-hero-placeholder {
    width: 200px;
    height: 200px;
    font-size: 80px;
  }

  .ai-component-section {
    padding: 0 var(--spacing-md);
  }

  .section-header h2 {
    font-size: 22px;
  }

  .chatbot-container {
    height: 500px;
  }

  .message-bubble {
    max-width: 100%;
    font-size: 13px;
  }

  .prompt-controls {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .prompt-meta {
    width: 100%;
  }

  .prompt-actions {
    width: 100%;
  }

  .prompt-actions .prompt-btn {
    flex: 1;
  }

  .ai-search-container {
    max-width: 100%;
  }

  .assistant-profile {
    max-width: 100%;
  }

  .profile-actions {
    flex-direction: column;
  }

  .profile-btn {
    width: 100%;
  }

  .loaders-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr;
    padding: var(--spacing-2xl) var(--spacing-lg);
  }

  #scrollTopBtn {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 20px;
    right: 20px;
  }
}

/* Extra Small Screens (below 480px) */
@media (max-width: 480px) {
  :root {
    --spacing-lg: 12px;
    --spacing-xl: 16px;
    --spacing-2xl: 20px;
    --spacing-3xl: 24px;
  }

  .ai-hero {
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-xl);
  }

  .ai-hero-title {
    font-size: 24px;
  }

  .ai-hero-subtitle {
    font-size: 13px;
  }

  .ai-hero-visual {
    display: none;
  }

  .ai-component-section {
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
  }

  .section-header h2 {
    font-size: 20px;
  }

  .chatbot-container {
    height: 450px;
    border-radius: var(--radius-lg);
  }

  .chatbot-header,
  .chatbot-input-area,
  .promptwrapper,
  .prompt-suggestions {
    padding: var(--spacing-md);
  }

  .message-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .message-bubble {
    padding: var(--spacing-md);
    font-size: 12px;
  }

  .prompt-wrapper,
  .prompt-suggestions {
    padding: var(--spacing-lg);
  }

  .prompt-textarea {
    font-size: 13px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .dashboard-card {
    padding: var(--spacing-lg);
    gap: var(--spacing-md);
  }

  .metric-value {
    font-size: 24px;
  }

  .ai-search-container {
    padding: var(--spacing-lg);
  }

  .assistant-profile {
    padding: var(--spacing-lg);
  }

  .profile-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) 0;
  }

  .stat-label {
    font-size: 11px;
  }

  .stat-value {
    font-size: 16px;
  }

  .loaders-grid {
    grid-template-columns: 1fr;
  }

  .loader-card {
    padding: var(--spacing-lg);
  }

  .footer-container {
    padding: var(--spacing-xl) var(--spacing-md);
    gap: var(--spacing-xl);
  }

  .footer-col ul {
    gap: var(--spacing-sm);
  }

  .footer-col a {
    font-size: 12px;
  }

  #scrollTopBtn {
    width: 36px;
    height: 36px;
    font-size: 14px;
    bottom: 15px;
    right: 15px;
  }
}

/* Mobile Landscape (max-height: 500px) */
@media (max-height: 500px) and (max-width: 768px) {
  .chatbot-container {
    height: 400px;
  }

  .ai-hero-visual {
    height: 150px;
  }

  .ai-hero-placeholder {
    width: 140px;
    height: 140px;
    font-size: 60px;
  }
}

/* Print Styles */
@media print {
  #scrollTopBtn,
  .chatbot-input-area,
  .prompt-actions {
    display: none;
  }

  .ai-component-section {
    page-break-inside: avoid;
  }

  .dashboard-card,
  .loader-card {
    page-break-inside: avoid;
  }
}

/* Dark Mode Adjustments (Already handled by root variables) */
body.dark-mode {
  /* Uses CSS variables automatically */
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Support */
@media (prefers-contrast: more) {
  .section-badge {
    border-width: 2px;
  }

  .dashboard-card,
  .chatbot-container,
  .prompt-wrapper,
  .prompt-suggestions,
  .ai-search-container,
  .assistant-profile,
  .loader-card {
    border-width: 2px;
  }
}

/* Accessibility Improvements */
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--neon-blue);
  outline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--neon-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

aside {
  width: 250px;  
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background: #111;
}

.content {
  margin-left: 250px;  
  padding: 2rem;
  background: #121212;
  min-height: 100vh;
  color: #eee;
}

.card {
  background: rgba(30,30,30,0.85);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
  aside {
    position: relative;
    width: 100%;
    height: auto;
  }
  .content {
    margin-left: 0;
    padding: 1rem;
  }
}
