/* Main CSS file - Tailwind CSS equivalents for AI Study Planner */

/* Header Right Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher Styles */
.language-switcher {
  position: relative;
  display: inline-block;
}

.language-switcher-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--slate-200);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: auto;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.language-switcher-trigger:hover {
  border-color: var(--primary-300);
  background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

.language-switcher-trigger:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100), 0 4px 12px rgba(59, 130, 246, 0.15);
}

.language-switcher-trigger[aria-expanded="true"] {
  border-color: var(--primary-500);
  background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.current-language {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-flag {
  font-size: 1.125rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.language-name {
  font-weight: 500;
  white-space: nowrap;
}

.language-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--slate-400);
  flex-shrink: 0;
}

.language-switcher-trigger[aria-expanded="true"] .language-arrow {
  transform: rotate(180deg);
  color: var(--primary-500);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--slate-200);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  min-width: 10rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.language-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--slate-700);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.language-option:first-child {
  border-radius: 0.75rem 0.75rem 0 0;
}

.language-option:last-child {
  border-radius: 0 0 0.75rem 0.75rem;
}

.language-option:hover {
  background: linear-gradient(135deg, var(--slate-50) 0%, #ffffff 100%);
  color: var(--slate-800);
}

.language-option:focus {
  outline: none;
  background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 100%);
  color: var(--primary-700);
}

.language-option.active {
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
  color: var(--primary-700);
  font-weight: 600;
  position: relative;
}

.language-option.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-500), var(--primary-600));
  border-radius: 0 2px 2px 0;
}

.language-option.active:hover {
  background: linear-gradient(135deg, var(--primary-200) 0%, var(--primary-100) 100%);
}

.language-option .language-flag {
  font-size: 1.25rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.language-option .language-name {
  font-weight: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .language-switcher-trigger {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    min-width: 6rem;
    gap: 0.5rem;
  }
  
  .language-flag {
    font-size: 1rem;
  }
  
  .language-name {
    font-size: 0.8125rem;
  }
  
  .language-dropdown {
    min-width: 9rem;
  }
  
  .language-option {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    gap: 0.5rem;
  }
  
  .language-option .language-flag {
    font-size: 1.125rem;
  }
}

/* CSS Variables for colors and design tokens */
:root {
  /* Primary colors */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  
  /* Purple colors */
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  
  /* Cyan colors */
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  
  /* Primary extended colors */
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  
  /* Success colors */
  --success-500: #10b981;
  --success-100: #d1fae5;
  --success-700: #047857;
  
  /* Warning colors */
  --warning-500: #f59e0b;
  --warning-100: #fef3c7;
  --warning-700: #b45309;
  
  /* Slate colors */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  
  /* Border radius */
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  
  /* Shadows */
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
  
  /* Transitions */
  --transition-all: all 0.2s ease-in-out;
  --transition-colors: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--slate-800);
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-hero { font-size: 3rem; line-height: 1.1; }
.text-h2 { font-size: 2rem; line-height: 1.2; }
.text-body { font-size: 1.125rem; line-height: 1.6; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-none { line-height: 1; }

/* Colors */
.text-white { color: #ffffff; }
.text-slate-400 { color: var(--slate-400); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-800 { color: var(--slate-800); }
.text-primary-100 { color: var(--primary-100); }
.text-primary-600 { color: var(--primary-600); }
.text-primary-700 { color: var(--primary-700); }
.text-success-500 { color: var(--success-500); }

.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: var(--slate-50); }
.bg-slate-100 { background-color: var(--slate-100); }
.bg-primary-50 { background-color: var(--primary-50); }
.bg-primary-100 { background-color: var(--primary-100); }
.bg-primary-600 { background-color: var(--primary-600); }
.bg-primary-700 { background-color: var(--primary-700); }
.bg-gradient-to-br { background: linear-gradient(to bottom right, var(--from), var(--via), var(--to)); }
.bg-gradient-to-r { background: linear-gradient(to right, var(--from), var(--to)); }

/* Layout */
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.pt-20 { padding-top: 5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-12 { padding-bottom: 3rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-slate-200 { border-color: var(--slate-200); }
.border-slate-300 { border-color: var(--slate-300); }
.border-primary-200 { border-color: var(--primary-200); }
.border-primary-500 { border-color: var(--primary-500); }
.border-primary-600 { border-color: var(--primary-600); }

/* Border radius */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-glow { box-shadow: var(--shadow-glow); }

/* Transitions */
.transition-all { transition: var(--transition-all); }
.transition-colors { transition: var(--transition-colors); }

/* Hover states */
.hover\:bg-primary-50:hover { background-color: var(--primary-50); }
.hover\:bg-primary-700:hover { background-color: var(--primary-700); }
.hover\:bg-slate-50:hover { background-color: var(--slate-50); }
.hover\:bg-slate-100:hover { background-color: var(--slate-100); }
.hover\:border-slate-300:hover { border-color: var(--slate-300); }
.hover\:border-primary-300:hover { border-color: var(--primary-300); }
.hover\:shadow-glow:hover { box-shadow: var(--shadow-glow); }
.hover\:text-primary-700:hover { color: var(--primary-700); }
.hover\:text-slate-800:hover { color: var(--slate-800); }

/* Focus states */
.focus-visible\:outline-none:focus-visible { outline: none; }
.focus-visible\:ring-2:focus-visible { box-shadow: 0 0 0 2px var(--primary-500); }
.focus-visible\:ring-primary-500:focus-visible { box-shadow: 0 0 0 2px var(--primary-500); }
.focus-visible\:ring-offset-2:focus-visible { box-shadow: 0 0 0 2px var(--primary-500), 0 0 0 4px #ffffff; }

/* Disabled states */
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* Responsive breakpoints */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:text-body { font-size: 1.125rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-col { flex-direction: column; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:flex-row { flex-direction: row; }
  .md\:text-left { text-align: left; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:text-h2 { font-size: 2rem; }
  .lg\:text-hero { font-size: 3rem; }
}

/* Custom animations */
@keyframes caret-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes fade-in {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slide-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-caret-blink { animation: caret-blink 2s infinite; }
.animate-fade-in { animation: fade-in 0.5s ease-out; }
.animate-slide-up { animation: slide-up 0.3s ease-out; }

/* Neural mesh effect */
.neural-mesh {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  background-size: 100px 100px;
}

/* Utility classes */
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.opacity-20 { opacity: 0.2; }
.opacity-60 { opacity: 0.6; }
.opacity-75 { opacity: 0.75; }

/* Specific component styles */
.group:hover .group-hover\:text-primary-700 { color: var(--primary-700); }

/* Button variants */
.btn-primary {
  background-color: var(--primary-600);
  color: white;
  border: 2px solid var(--primary-600);
}

.btn-primary:hover {
  background-color: var(--primary-700);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-700);
  border: 2px solid var(--primary-200);
}

.btn-secondary:hover {
  background-color: var(--primary-50);
  border-color: var(--primary-300);
}

.btn-ghost {
  background-color: transparent;
  color: var(--slate-600);
}

.btn-ghost:hover {
  background-color: var(--slate-100);
  color: var(--slate-800);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: 2px solid #059669;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
}

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

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

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-success.completed {
  background: linear-gradient(135deg, #059669, #047857);
  border-color: #047857;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.4);
  font-weight: 700;
}

.btn-success.completed:hover {
  background: linear-gradient(135deg, #047857, #065f46);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.5);
}

/* Button sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  height: 2.5rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  height: 3rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  height: 3.5rem;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
  height: 4rem;
  font-weight: 600;
}

/* Base button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: var(--radius-xl);
  transition: var(--transition-all);
  cursor: pointer;
  text-decoration: none;
  border: none;
  outline: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-500);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Loading spinner */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-xl);
  font-size: 1rem;
  transition: var(--transition-colors);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 2px var(--primary-500);
}

/* Chip/Subject card styles */
.chip {
  position: relative;
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  border-radius: var(--radius-2xl);
  border: 2px solid var(--slate-200);
  background-color: white;
  transition: var(--transition-all);
  cursor: pointer;
  outline: none;
}

.chip:hover {
  border-color: var(--slate-300);
  background-color: var(--slate-50);
  box-shadow: var(--shadow-soft);
}

.chip.selected {
  border-color: var(--primary-500);
  background-color: var(--primary-50);
  box-shadow: var(--shadow-soft);
}

.chip.selected::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--primary-600);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 20 20' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd' /%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  border-radius: 9999px;
}

.badge-primary {
  background-color: var(--primary-100);
  color: var(--primary-700);
}

.badge-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.badge-md {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

/* Plan block styles */
.plan-block {
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 2px solid;
  transition: var(--transition-all);
}

.plan-block.warmup {
  border-color: #fbbf24;
  background-color: #fef3c7;
}

.plan-block.theory {
  border-color: #60a5fa;
  background-color: #dbeafe;
}

.plan-block.practice {
  border-color: #34d399;
  background-color: #d1fae5;
}

.plan-block.review {
  border-color: #a78bfa;
  background-color: #ede9fe;
}

.plan-block:hover {
  box-shadow: var(--shadow-soft);
}

/* Resource pill styles */
.resource-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid;
  transition: var(--transition-all);
  cursor: pointer;
}

.resource-pill.video {
  background-color: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}

.resource-pill.article {
  background-color: #dbeafe;
  color: #2563eb;
  border-color: #bfdbfe;
}

.resource-pill.interactive {
  background-color: #d1fae5;
  color: #059669;
  border-color: #a7f3d0;
}

.resource-pill:hover {
  box-shadow: var(--shadow-soft);
}

/* Stepper styles */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  border: 2px solid;
  transition: var(--transition-all);
}

.step-circle.completed {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
  color: white;
}

.step-circle.current {
  background-color: var(--primary-100);
  border-color: var(--primary-600);
  color: var(--primary-700);
}

.step-circle.upcoming {
  background-color: white;
  border-color: var(--slate-300);
  color: var(--slate-400);
}

.step-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  max-width: 6rem;
}

.step-label.completed,
.step-label.current {
  color: var(--slate-800);
}

.step-label.upcoming {
  color: var(--slate-400);
}

.step-connector {
  width: 4rem;
  height: 0.125rem;
  margin: 0 1rem;
  transition: var(--transition-all);
}

.step-connector.completed {
  background-color: var(--primary-600);
}

.step-connector.upcoming {
  background-color: var(--slate-300);
}

/* Time selection buttons */
.time-option {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  border: 2px solid;
  transition: var(--transition-all);
  cursor: pointer;
  background-color: white;
  border-color: var(--slate-200);
}

.time-option:hover {
  border-color: var(--slate-300);
}

.time-option.selected {
  border-color: var(--primary-500);
  background-color: var(--primary-50);
  color: var(--primary-700);
}

/* Day selection buttons */
.day-option {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 2px solid;
  transition: var(--transition-all);
  cursor: pointer;
  font-size: 0.875rem;
  background-color: white;
  border-color: var(--slate-200);
}

.day-option:hover {
  border-color: var(--slate-300);
}

.day-option.selected {
  border-color: #fca5a5;
  background-color: #fef2f2;
  color: #dc2626;
}

/* Resource type toggles */
.resource-toggle {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  border: 2px solid;
  transition: var(--transition-all);
  cursor: pointer;
  background-color: white;
  border-color: var(--slate-200);
}

.resource-toggle:hover {
  border-color: var(--slate-300);
}

.resource-toggle.selected {
  border-color: var(--primary-500);
  background-color: var(--primary-50);
  color: var(--primary-700);
}

/* Level selection buttons */
.level-option {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  border: 2px solid;
  transition: var(--transition-all);
  cursor: pointer;
  background-color: white;
  border-color: var(--slate-200);
}

.level-option:hover {
  border-color: var(--slate-300);
}

.level-option.selected {
  border-color: var(--primary-500);
  background-color: var(--primary-50);
  color: var(--primary-700);
}

/* Plan Request Summary */
.plan-summary-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #e0e7ff 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.plan-summary-card .info-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.3s ease;
}

.plan-summary-card .info-card:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.plan-summary-card .info-icon {
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Sample plan day tabs */
.day-tab {
  padding: 0.875rem 1.75rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: var(--slate-600);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.day-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.day-tab::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.day-tab:hover::before {
  left: 100%;
}

.day-tab:hover::after {
  opacity: 1;
}

.day-tab:hover {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--primary-700);
  border-color: var(--primary-300);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.day-tab.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
  color: white;
  border-color: #3b82f6;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4), 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px) scale(1.05);
  position: relative;
}

.day-tab.active::before {
  display: none;
}

.day-tab.active::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 1;
}

.day-tab:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}

/* Plan Blocks */
.plan-block {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.plan-block.completed {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 2px solid #10b981;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.plan-block.completed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669, #047857);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.plan-block.completed .block-title {
  color: #065f46;
}

.plan-block.completed .block-instructions {
  color: #047857;
}

.plan-block.completed .block-meta .badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: 1px solid #059669;
}

.plan-block.completed .block-meta .block-type {
  color: #065f46;
  font-weight: 600;
}

/* Completion badge */
.completion-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.plan-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--purple-500), var(--cyan-500));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan-block:hover::before {
  opacity: 1;
}

.plan-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-200);
}

.plan-block.warmup {
  border-left: 4px solid var(--warning-500);
}

.plan-block.theory {
  border-left: 4px solid var(--primary-500);
}

.plan-block.practice {
  border-left: 4px solid var(--success-500);
}

/* Block Header */
.block-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.block-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.block-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--slate-100), var(--slate-200));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.block-details {
  flex: 1;
}

.block-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.block-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.block-type {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  background-color: var(--slate-100);
  border-radius: var(--radius-lg);
}

/* Block Status */
.block-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--slate-300);
  border: 3px solid var(--slate-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.status-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease;
}

.status-indicator.completed {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 4px 12px rgba(16, 185, 129, 0.3);
  transform: scale(1.1);
}

.status-indicator.completed::before {
  transform: translate(-50%, -50%) scale(1);
}

.status-indicator:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.status-indicator.completed:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.3), 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Block Content */
.block-content {
  margin-bottom: 1.5rem;
}

.block-instructions {
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Block Resources */
.block-resources {
  margin-top: 1rem;
}

.resources-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

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

.resource-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--slate-700);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.resource-pill:hover::before {
  left: 100%;
}

.resource-pill:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.resource-pill.video {
  border-left: 3px solid #ff0000;
}

.resource-pill.article {
  border-left: 3px solid #3b82f6;
}

.resource-pill.interactive {
  border-left: 3px solid #10b981;
}

.resource-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.resource-title {
  font-weight: 500;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-type {
  font-size: 0.875rem;
  opacity: 0.7;
  flex-shrink: 0;
}

/* Block Actions */
.block-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
  gap: 1rem;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Progress Bar */
#progress-bar {
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Completion Progress Bar */
#completion-bar {
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
  height: 12px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

#completion-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

#completion-bar.completed {
  background: linear-gradient(90deg, #10b981, #059669, #047857) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

#completion-bar.high {
  background: linear-gradient(90deg, #3b82f6, #2563eb, #1d4ed8) !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

#completion-bar.medium {
  background: linear-gradient(90deg, #f59e0b, #d97706, #b45309) !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

/* Completion section styling */
.completion-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.completion-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  border-radius: 16px 16px 0 0;
}

.completion-section.celebrating {
  animation: celebrationPulse 0.6s ease-in-out;
}

@keyframes celebrationPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.completion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.completion-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.completion-percentage {
  font-size: 1.25rem;
  font-weight: 800;
  color: #3b82f6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--slate-200);
  z-index: 1000;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 400px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 1rem;
}

.toast-message {
  color: var(--slate-700);
  font-weight: 500;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-400);
  cursor: pointer;
  padding: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toast-close:hover {
  background-color: var(--slate-100);
  color: var(--slate-600);
}

.toast-info {
  border-left: 4px solid var(--primary-500);
}

.toast-success {
  border-left: 4px solid var(--success-500);
}

.toast-warning {
  border-left: 4px solid var(--warning-500);
}

.toast-error {
  border-left: 4px solid #ef4444;
}

/* FAQ items */
.faq-item {
  background-color: var(--slate-50);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-item:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item.expanded {
  background-color: white;
  border-color: var(--primary-200);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-600);
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.expanded .faq-icon {
  color: var(--primary-700);
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.expanded .faq-answer {
  opacity: 1;
  max-height: 200px;
}

/* CTA section gradient */
.cta-gradient {
  background: linear-gradient(to right, var(--primary-600), var(--primary-700));
}

/* Trust badges */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.trust-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--success-500);
  border-radius: 50%;
}

/* Responsive utilities */
@media (max-width: 640px) {
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
}

@media (max-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
}

/* Header Component Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--slate-800);
  transition: var(--transition-colors);
}

.logo-link:hover {
  color: var(--primary-600);
}

.logo-link:hover .logo {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.logo {
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--primary-600);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.site-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: color 0.3s ease;
}

.header-right {
  display: flex;
  align-items: center;
}



.header-nav {
  display: flex;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  color: var(--slate-500);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--slate-700);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-500);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-link.active {
  color: var(--primary-600);
  font-weight: 600;
}

.cta-button {
  background-color: var(--primary-600);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background-color: var(--primary-700);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

/* Responsive header */
@media (max-width: 768px) {
  .header-container {
    padding: 0.75rem 1rem;
  }
  
  .header-nav {
    gap: 1.5rem;
  }
  
  .site-title {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .header-container {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    text-align: center;
  }
  
  .header-nav {
    position: static;
    transform: none;
    gap: 1.5rem;
  }
  
  .logo {
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
  }
  
  .logo-text {
    font-size: 0.875rem;
  }
  
  .site-title {
    font-size: 0.875rem;
  }
}

/* Add top padding to body to account for fixed header */
body {
  padding-top: 4rem;
}

/* Main content wrapper */
.main-content {
  flex: 1;
}

/* Footer Component Styles */
.site-footer {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

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

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

/* Brand Section (Left) */
.brand-section {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.footer-logo-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6);
}

.logo-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
  border-radius: 14px;
  z-index: -1;
  opacity: 0.7;
  filter: blur(8px);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.1); }
}

.footer-logo-icon span {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Social Links - Updated styles to match contacts page */
.site-footer .social-link {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.site-footer .social-link.telegram {
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.site-footer .social-link.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.site-footer .social-link.instagram {
  background: linear-gradient(135deg, #e4405f 0%, #c13584 100%);
}

.site-footer .social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

/* Links Section (Middle) */
.links-section {
  align-items: flex-start;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1rem 0;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.heading-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 8px;
  padding-left: 0.75rem;
}

.footer-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.link-icon {
  font-size: 1.125rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover .link-icon {
  opacity: 1;
  transform: scale(1.2);
}

.footer-links a.coming-soon {
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}

.footer-links a.coming-soon:hover {
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  transform: none;
}

/* More Section (Right) */
.more-section {
  align-items: flex-start;
}

.language-selector {
  margin-top: 1rem;
}

.language-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.label-icon {
  font-size: 1.25rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.language-buttons {
  display: flex;
  gap: 0.75rem;
}

.language-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 3.5rem;
  backdrop-filter: blur(10px);
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.language-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
}

.footer-divider {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin-bottom: 1.5rem;
}

.divider-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 1rem;
}

.divider-dots span {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.divider-dots span:nth-child(2) {
  animation-delay: 0.5s;
}

.divider-dots span:nth-child(3) {
  animation-delay: 1s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .brand-section {
    max-width: none;
    align-items: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-description {
    max-width: none;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .links-section {
    align-items: center;
  }
  
  .more-section {
    align-items: center;
  }
  
  .language-buttons {
    justify-content: center;
  }
  
  .footer-heading {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-container {
    padding: 0 1.5rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-logo-icon {
    width: 2rem;
    height: 2rem;
    margin-right: 0.75rem;
  }
  
  .footer-title {
    font-size: 1.25rem;
  }
  
  .footer-description {
    font-size: 0.875rem;
  }
  
  .social-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.875rem;
  }
  
  .site-footer .social-link {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  
  .language-btn {
    padding: 0.5rem 0.75rem;
    min-width: 2.75rem;
  }
}

/* Notification animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Why AI Section Styles */
.why-ai-section {
  background: #ffffff;
}

/* Why AI Cards */
.why-ai-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.why-ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #9333ea);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.why-ai-card:hover::before {
  transform: scaleX(1);
}

.why-ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.card-text {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .why-ai-card {
    padding: 1.25rem;
  }
  
  .card-icon {
    font-size: 2rem;
  }
  
  .card-title {
    font-size: 0.875rem;
  }
  
  .card-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .why-ai-card {
    padding: 1rem;
  }
  
  .card-icon {
    font-size: 1.75rem;
  }
}

/* How It Works Section - Compact Horizontal Design */
.how-it-works-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  min-height: auto;
}

/* Geometric Pattern Background */
.geometric-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(30deg, rgba(59, 130, 246, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.03) 87.5%, rgba(59, 130, 246, 0.03)),
    linear-gradient(150deg, rgba(147, 51, 234, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(147, 51, 234, 0.03) 87.5%, rgba(147, 51, 234, 0.03));
  background-size: 80px 140px;
  background-position: 0 0, 0 0;
  opacity: 0.3;
}

/* AI Brain Pattern */
.ai-brain-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
  opacity: 0.6;
}

/* Gradient Overlay */
.gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Horizontal AI Process Flow */
.horizontal-ai-flow {
  margin-bottom: 2rem;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  flex: 1;
}

.flow-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.flow-step:hover::before {
  transform: scaleX(1);
}

.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 0.75rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  transition: all 0.3s ease;
}

.flow-step:hover .step-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.step-desc {
  color: #cbd5e1;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step-tech {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
  transition: all 0.2s ease;
}

.flow-step:hover .step-tech {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.3));
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.flow-arrow {
  color: #ffffff;
  opacity: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step:hover + .flow-arrow {
  color: #fbbf24;
  opacity: 1;
  transform: scale(1.3);
  filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.8));
}

/* Revolutionary AI Features */
.ai-features {
  margin-top: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 1rem;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.6);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.feature-description {
  color: #cbd5e1;
  line-height: 1.5;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .flow-steps {
    flex-direction: column;
    gap: 1rem;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
  }
  
  .flow-step {
    min-width: 280px;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .how-it-works-section {
    padding: 2rem 0;
  }
  
  .flow-step {
    padding: 1.25rem;
    min-width: 250px;
  }
  
  .step-title {
    font-size: 1.125rem;
  }
  
  .step-desc {
    font-size: 0.8rem;
  }
  
  .step-tech {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }
  
  .feature-card {
    padding: 1.75rem;
  }
  
  .feature-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .flow-step {
    min-width: 220px;
    padding: 1rem;
  }
  
  .step-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Trust Indicators Section */
.trust-indicators {
  position: relative;
  z-index: 1;
}

.trust-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #9333ea);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.trust-card:hover::before {
  transform: scaleX(1);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.trust-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.trust-desc {
  color: var(--slate-600);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .plan-summary-card {
    padding: 1rem;
  }
  
  .plan-summary-card .info-card {
    padding: 0.75rem;
  }
  
  .day-tab {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 14px;
    margin: 0 0.25rem;
    min-width: 80px;
    text-align: center;
  }
  
  .day-tab:hover {
    transform: translateY(-2px) scale(1.01);
  }
  
  .day-tab.active {
    transform: translateY(-1px) scale(1.02);
  }
  
  .plan-block {
    padding: 1rem;
  }
  
  .block-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .block-info {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .block-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .block-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .action-buttons {
    justify-content: center;
  }
  
  .toast {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .day-tab {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 12px;
    margin: 0 0.125rem;
    min-width: 70px;
  }
}

/* Modern Subject Cards - Enhanced Design with Animations */

/* Animation keyframes */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes card-enter {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animation classes */
.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-400 {
  animation-delay: 0.4s;
}

.animation-delay-600 {
  animation-delay: 0.6s;
}

.animation-delay-800 {
  animation-delay: 0.8s;
}

.animation-delay-1000 {
  animation-delay: 1s;
}

/* Modern Subject Cards */
.subject-card-modern {
  position: relative;
  perspective: 1000px;
  animation: card-enter 0.8s ease-out forwards;
  opacity: 0;
}

.subject-card-modern:nth-child(1) { animation-delay: 0.1s; }
.subject-card-modern:nth-child(2) { animation-delay: 0.2s; }
.subject-card-modern:nth-child(3) { animation-delay: 0.3s; }
.subject-card-modern:nth-child(4) { animation-delay: 0.4s; }
.subject-card-modern:nth-child(5) { animation-delay: 0.5s; }
.subject-card-modern:nth-child(6) { animation-delay: 0.6s; }

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
}

.subject-card-modern:hover .card-inner {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

.card-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(255, 255, 255, 0.7) 50%, 
    rgba(255, 255, 255, 0.4) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.card-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.3) 50%, 
    transparent 100%);
}

.card-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.05) 0%, 
    rgba(139, 92, 246, 0.05) 50%, 
    rgba(6, 182, 212, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.subject-card-modern:hover .card-background::after {
  opacity: 1;
}

.card-content {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.icon-container {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.icon-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.3), 
    rgba(139, 92, 246, 0.3));
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.subject-card-modern:hover .icon-container::before {
  opacity: 1;
}

.card-icon {
  width: 35px;
  height: 35px;
  color: var(--primary-600);
  transition: all 0.3s ease;
  animation: breathe 2s ease-in-out infinite;
}

.card-icon-emoji {
  font-size: 2.5rem;
  line-height: 1;
  display: block;
  animation: breathe 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.subject-card-modern:hover .card-icon {
  color: var(--primary-700);
  transform: scale(1.1);
}

.subject-card-modern:hover .card-icon-emoji {
  transform: scale(1.1);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.875rem;
  text-align: center;
  background: linear-gradient(135deg, 
    var(--slate-800) 0%, 
    var(--primary-700) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.subject-card-modern:hover .card-title {
  background: linear-gradient(135deg, 
    var(--primary-600) 0%, 
    var(--purple-500) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-description {
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.subject-card-modern:hover .card-description {
  color: var(--slate-700);
}

.card-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 100%);
  color: var(--primary-700);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  transition: left 0.5s ease;
}

.subject-card-modern:hover .card-tag::before {
  left: 100%;
}

.subject-card-modern:hover .card-tag {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.2) 0%, 
    rgba(139, 92, 246, 0.2) 100%);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.card-button {
  position: relative;
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, 
    var(--primary-600) 0%, 
    var(--primary-700) 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 
    0 4px 16px rgba(59, 130, 246, 0.3),
    0 2px 8px rgba(59, 130, 246, 0.2);
}

.card-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.5s ease;
}

.card-button:hover::before {
  left: 100%;
}

.card-button:hover {
  background: linear-gradient(135deg, 
    var(--primary-700) 0%, 
    var(--primary-800) 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(59, 130, 246, 0.4),
    0 4px 12px rgba(59, 130, 246, 0.3);
}

.card-button:active {
  transform: translateY(0);
  box-shadow: 
    0 4px 16px rgba(59, 130, 246, 0.3),
    0 2px 8px rgba(59, 130, 246, 0.2);
}

.button-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* Card-specific color variations */
.subject-card-modern[data-subject="programming"] .icon-container {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.15) 0%, 
    rgba(6, 182, 212, 0.15) 100%);
}

.subject-card-modern[data-subject="english_exams"] .icon-container {
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.15) 0%, 
    rgba(236, 72, 153, 0.15) 100%);
}

.subject-card-modern[data-subject="mathematics"] .icon-container {
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.15) 0%, 
    rgba(59, 130, 246, 0.15) 100%);
}

.subject-card-modern[data-subject="data_ai"] .icon-container {
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.15) 0%, 
    rgba(16, 185, 129, 0.15) 100%);
}

.subject-card-modern[data-subject="productivity"] .icon-container {
  background: linear-gradient(135deg, 
    rgba(236, 72, 153, 0.15) 0%, 
    rgba(139, 92, 246, 0.15) 100%);
}

.subject-card-modern[data-subject="custom"] .icon-container {
  background: linear-gradient(135deg, 
    rgba(6, 182, 212, 0.15) 0%, 
    rgba(59, 130, 246, 0.15) 100%);
}

/* Responsive design for modern cards */
@media (min-width: 1024px) {
  .subject-card-modern {
    min-height: 320px;
  }
}

@media (max-width: 1024px) {
  .card-content {
    padding: 1.25rem;
  }
  
  .icon-container {
    width: 65px;
    height: 65px;
    margin-bottom: 1rem;
  }
  
  .card-icon {
    width: 32px;
    height: 32px;
  }
  
  .card-icon-emoji {
    font-size: 2rem;
  }
  
  .card-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .card-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}



@media (max-width: 480px) {
  .card-content {
    padding: 1rem;
  }
  
  .icon-container {
    width: 50px;
    height: 50px;
    margin-bottom: 0.875rem;
  }
  
  .card-icon {
    width: 25px;
    height: 25px;
  }
  
  .card-icon-emoji {
    font-size: 1.75rem;
  }
  
  .card-title {
    font-size: 1rem;
    margin-bottom: 0.625rem;
  }
  
  .card-description {
    font-size: 0.85rem;
    margin-bottom: 0.875rem;
  }
  
  .card-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    margin-bottom: 0.875rem;
  }
  
  .card-button {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

/* Elegant Productivity Text Styles */
.elegant-productivity-container {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(239, 246, 255, 0.98) 0%, 
    rgba(245, 243, 255, 0.98) 50%, 
    rgba(236, 254, 255, 0.98) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  box-shadow: 
    0 8px 16px -4px rgba(59, 130, 246, 0.15),
    0 4px 8px -2px rgba(0, 0, 0, 0.08),
    0 0 25px rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 60px;
}

.elegant-productivity-container:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 
    0 16px 32px -8px rgba(59, 130, 246, 0.25),
    0 8px 16px -4px rgba(0, 0, 0, 0.1),
    0 0 40px rgba(139, 92, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, 
    rgba(239, 246, 255, 1) 0%, 
    rgba(245, 243, 255, 1) 50%, 
    rgba(236, 254, 255, 1) 100%);
  animation-play-state: paused;
}

.elegant-productivity-container:hover .elegant-icon-container svg {
  animation-duration: 1s;
  transform: rotate(10deg);
}

.elegant-productivity-container:hover::after {
  animation-duration: 1.5s;
}

/* Elegant Text Styles */
.elegant-productivity-text {
  color: var(--slate-800);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  transition: all 0.4s ease;
  letter-spacing: -0.01em;
  animation: text-glow 3s ease-in-out infinite;
  white-space: nowrap;
  display: inline;
}

.elegant-productivity-container:hover .elegant-productivity-text {
  color: var(--slate-900);
  transform: translateX(3px);
  animation-duration: 1.5s;
}

/* Text Glow Animation */
@keyframes text-glow {
  0%, 100% {
    text-shadow: 0 0 0px rgba(59, 130, 246, 0);
  }
  50% {
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
  }
}

.elegant-number {
  background: linear-gradient(135deg, 
    #F59E0B 0%, 
    #F97316 50%, 
    #EA580C 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-size: 1.4em;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  border: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: 
    0 0 15px rgba(245, 158, 11, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: elegantNumberGlow 2s ease-in-out infinite;
  display: inline-block;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
}

.elegant-number::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.3) 0%, 
    rgba(249, 115, 22, 0.3) 50%, 
    rgba(234, 88, 12, 0.3) 100%);
  border-radius: 10px;
  z-index: -1;
  animation: elegantNumberGlow 2s ease-in-out infinite reverse;
}

.elegant-productivity-container:hover .elegant-number {
  background-size: 150% 150%;
  box-shadow: 
    0 0 20px rgba(245, 158, 11, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: scale(1.08) translateY(-1px);
  animation-duration: 1s;
}

/* Number Bounce Animation */
@keyframes number-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.elegant-number {
  animation: elegantNumberGlow 2s ease-in-out infinite, number-bounce 3s ease-in-out infinite;
}

/* Elegant Icon Container */
.elegant-icon-container {
  position: relative;
}

.elegant-icon-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.15) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: elegantIconGlow 3s ease-in-out infinite;
  pointer-events: none;
}

/* Icon Rotation Animation */
@keyframes icon-rotate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.elegant-icon-container svg {
  animation: icon-rotate 4s ease-in-out infinite;
}

/* Enhanced Pulse Animation */
@keyframes gentle-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.95;
  }
}

.animate-gentle-pulse {
  animation: gentle-pulse 2.5s ease-in-out infinite;
}

/* Floating Animation for Container */
@keyframes elegant-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

.elegant-productivity-container {
  animation: elegant-float 4s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.elegant-productivity-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

/* Elegant Number Glow Animation */
@keyframes elegantNumberGlow {
  0%, 100% {
    box-shadow: 
      0 0 15px rgba(245, 158, 11, 0.3),
      0 2px 4px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 0 20px rgba(245, 158, 11, 0.4),
      0 4px 8px rgba(0, 0, 0, 0.15),
      0 0 30px rgba(245, 158, 11, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

/* Elegant Icon Glow Animation */
@keyframes elegantIconGlow {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Enhanced Fade In Up Animation */
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  50% {
    opacity: 0.7;
    transform: translateY(15px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger Animation for Elements */
.elegant-icon-container {
  animation-delay: 0.1s;
}

.elegant-text-container {
  animation-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .elegant-productivity-text {
    font-size: 1.125rem;
  }
  
  .elegant-number {
    font-size: 1.2em;
  }
  
  .elegant-productivity-container {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .elegant-productivity-text {
    font-size: 1rem;
  }
  
  .elegant-number {
    font-size: 1.1em;
  }
  
  .elegant-productivity-container {
    padding: 1rem 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Highlighted Words Styles */
.highlight-ai {
  color: #3B82F6;
  text-decoration: underline;
  text-decoration-color: #3B82F6;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.highlight-increased {
  color: #10B981;
  text-decoration: underline;
  text-decoration-color: #10B981;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.highlight-productivity {
  color: #F59E0B;
  text-decoration: underline;
  text-decoration-color: #F59E0B;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  font-weight: 700;
  transition: all 0.3s ease;
}

/* Hover effects for highlighted words */
.elegant-productivity-container:hover .highlight-ai {
  color: #2563EB;
  text-decoration-color: #2563EB;
  transform: translateY(-1px);
}

.elegant-productivity-container:hover .highlight-increased {
  color: #059669;
  text-decoration-color: #059669;
  transform: translateY(-1px);
}

.elegant-productivity-container:hover .highlight-productivity {
  color: #D97706;
  text-decoration-color: #D97706;
  transform: translateY(-1px);
}

/* Enhanced Generate Plan Button */
.generate-plan-btn {
  position: relative;
  background: linear-gradient(135deg, 
    #3B82F6 0%, 
    #1D4ED8 25%, 
    #7C3AED 50%, 
    #1D4ED8 75%, 
    #3B82F6 100%);
  background-size: 300% 300%;
  border: none;
  box-shadow: 
    0 4px 15px rgba(59, 130, 246, 0.4),
    0 8px 25px rgba(124, 58, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: generateBtnGlow 3s ease-in-out infinite;
}

.generate-plan-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

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

.generate-plan-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.5),
    0 16px 40px rgba(124, 58, 237, 0.4),
    0 0 50px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background-size: 200% 200%;
}

.generate-plan-btn:active {
  transform: translateY(-1px) scale(1.02);
}

/* Button Text and Icon */
.btn-text {
  position: relative;
  z-index: 2;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.btn-icon {
  position: relative;
  z-index: 2;
  margin-left: 0.5rem;
  font-size: 1.1em;
  animation: rocketBounce 2s ease-in-out infinite;
  display: inline-block;
}

/* Generate Button Glow Animation */
@keyframes generateBtnGlow {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow: 
      0 4px 15px rgba(59, 130, 246, 0.4),
      0 8px 25px rgba(124, 58, 237, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 
      0 6px 20px rgba(59, 130, 246, 0.5),
      0 12px 30px rgba(124, 58, 237, 0.4),
      0 0 40px rgba(59, 130, 246, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

/* Rocket Bounce Animation */
@keyframes rocketBounce {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-2px) rotate(-5deg);
  }
  50% {
    transform: translateY(-4px) rotate(0deg);
  }
  75% {
    transform: translateY(-2px) rotate(5deg);
  }
}

/* Hover effects for button elements */
.generate-plan-btn:hover .btn-text {
  transform: translateX(2px);
  transition: transform 0.3s ease;
}

.generate-plan-btn:hover .btn-icon {
  animation-duration: 1s;
  transform: translateY(-2px) rotate(10deg);
}

/* Trust-Building Boom Animation Styles */
.super-boom {
  display: inline-block;
  font-size: 1.4em;
  margin-right: 0.75rem;
  position: relative;
  z-index: 8;
  animation: trustBoom 3.5s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.6));
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Trust-Building Boom Animation */
@keyframes trustBoom {
  0%, 100% {
    transform: scale(1) rotate(0deg) translateY(0);
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.6));
  }
  20% {
    transform: scale(1.15) rotate(8deg) translateY(-3px);
    filter: drop-shadow(0 0 18px rgba(239, 68, 68, 0.8));
  }
  40% {
    transform: scale(1.25) rotate(-5deg) translateY(-5px);
    filter: drop-shadow(0 0 22px rgba(239, 68, 68, 0.9));
  }
  60% {
    transform: scale(1.2) rotate(6deg) translateY(-4px);
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.85));
  }
  80% {
    transform: scale(1.1) rotate(-3deg) translateY(-2px);
    filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.7));
  }
}

/* Enhanced hover effects for trust */
.elegant-productivity-container:hover .super-boom {
  animation-duration: 1.8s;
  transform: scale(1.3) rotate(12deg) translateY(-6px);
  filter: drop-shadow(0 0 25px rgba(239, 68, 68, 1));
}

/* Trust-building glow background */
.super-boom::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.15) 0%,
    rgba(220, 38, 38, 0.1) 40%,
    rgba(185, 28, 28, 0.05) 70%,
    transparent 85%
  );
  border-radius: 50%;
  z-index: -1;
  animation: trustGlow 5s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.elegant-productivity-container:hover .super-boom::before {
  opacity: 1;
}

@keyframes trustGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

/* Trust-building particle effects */
.super-boom::after {
  content: '⭐💫';
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 0.5em;
  animation: trustParticles 4s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.elegant-productivity-container:hover .super-boom::after {
  opacity: 1;
}

@keyframes trustParticles {
  0%, 100% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  25% {
    transform: scale(0.8) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    opacity: 1;
  }
  75% {
    transform: scale(0.9) rotate(270deg);
    opacity: 0.7;
  }
}

/* Trust-building pulse effect */
.super-boom {
  animation: trustBoom 3.5s ease-in-out infinite, trustPulse 4s ease-in-out infinite;
}

@keyframes trustPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}

/* Success wave effect */
.super-boom::before {
  animation: trustGlow 5s ease-in-out infinite, successWave 6s ease-in-out infinite;
}

@keyframes successWave {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  33% {
    transform: scale(1.1) rotate(120deg);
  }
  66% {
    transform: scale(1.05) rotate(240deg);
  }
}

