/* Modern Professional Styles for MimicLabs - Performance Optimized */

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #f59e0b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
  /* Optimize for scrolling */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Enhanced Text Readability */
.text-dark {
  color: var(--gray-800) !important;
  font-weight: 500;
}

.text-muted {
  color: var(--gray-700) !important;
  font-weight: 500;
}

.lead {
  color: var(--gray-700) !important;
  font-weight: 500;
}

/* Section Headers - Enhanced */
.section-header-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Remove backdrop-filter for better performance */
}

.section-badge {
  margin-bottom: 1.5rem;
}

.section-badge .badge {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.section-badge .badge:hover {
  transform: translateY(-2px);
}

/* Enhanced section headers with better typography */
.display-5 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.display-5 .text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.display-5 .text-gradient::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  opacity: 0.3;
}

/* Improved contrast for better readability */
h1, h2, h3, h4, h5, h6 {
  color: var(--gray-800) !important;
  font-weight: 700;
}

p {
  color: var(--gray-700) !important;
  font-weight: 500;
}

/* Navbar Styling - Simplified */
.navbar-dark.bg-primary {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.navbar-text {
  color: var(--gray-600) !important;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.token-badge {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.navbar .btn-danger {
  background: linear-gradient(135deg, var(--danger-color), #dc2626);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.navbar .btn-danger:hover {
  background: linear-gradient(135deg, #dc2626, var(--danger-color));
  transform: translateY(-1px);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.75rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section - Enhanced */
.hero-section {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  padding: 80px 40px;
  margin: 40px 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section h1 {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-section .lead {
  font-size: 1.5rem;
  color: var(--gray-700) !important;
  font-weight: 500;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

/* Cards - Enhanced */
.card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s ease;
  overflow: hidden;
  position: relative;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  font-weight: 700;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  position: relative;
}

.card-body {
  padding: 2rem;
}

/* Feature Cards - Enhanced */
.feature-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
}

.feature-card .card-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--gray-800) !important;
}

.feature-card p {
  color: var(--gray-700) !important;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
}

/* Step Cards - Enhanced */
.step-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card h4 {
  color: var(--gray-800) !important;
  font-weight: 700;
}

.step-card p {
  color: var(--gray-700) !important;
  font-weight: 500;
}

/* Pricing Cards - Enhanced */
.pricing-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid var(--gray-200);
  transition: transform 0.2s ease;
  position: relative;
  height: 100%;
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.02);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-card h4 {
  color: var(--gray-800) !important;
  font-weight: 700;
}

.pricing-card li {
  color: var(--gray-700) !important;
  font-weight: 500;
}

/* CTA Section - Enhanced */
.cta-section {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.cta-section h2 {
  color: var(--gray-800) !important;
  font-weight: 700;
}

.cta-section p {
  color: var(--gray-700) !important;
  font-weight: 500;
}

/* Buttons - Simplified */
.btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.875rem 2rem;
  transition: transform 0.2s ease;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-1px);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color), #059669);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669, var(--success-color));
  transform: translateY(-1px);
}

.btn-warning {
  background: linear-gradient(135deg, var(--secondary-color), #d97706);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706, var(--secondary-color));
  transform: translateY(-1px);
}

.btn-light {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

/* Form Elements - Simplified */
.form-control, .form-select {
  border-radius: 12px;
  border: 2px solid var(--gray-200);
  padding: 1rem 1.25rem;
  transition: border-color 0.2s ease;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: white;
}

/* Token Balance - Simplified */
.token-balance {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.token-balance h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.token-balance p {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Package Cards - Simplified */
.package-card {
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  transition: border-color 0.2s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  position: relative;
}

.package-per-credit {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-top: 0.25rem;
}

.package-item .savings {
  font-size: 0.8rem;
  color: black;
  font-weight: 600;
  margin-top: 0.25rem;
}

.package-card:hover {
  border-color: var(--primary-color);
}

.package-card.border-primary {
  border-color: var(--primary-color) !important;
}

.package-card.border-success {
  border-color: var(--success-color) !important;
}

.package-card.border-warning {
  border-color: var(--secondary-color) !important;
}

/* Table Styling - Simplified */
.table {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.95);
}

.table thead th {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  font-weight: 700;
  padding: 1.25rem 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table tbody td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.table tbody tr:hover {
  background: rgba(99, 102, 241, 0.05);
}

/* Audio Player */
audio {
  border-radius: 12px;
  width: 100%;
  height: 50px;
}

/* Alerts */
.alert {
  border-radius: 12px;
  border: none;
  padding: 1.25rem 1.5rem;
  font-weight: 500;
}

.alert-success {
  background: linear-gradient(135deg, var(--success-color), #059669);
  color: white;
}

.alert-warning {
  background: linear-gradient(135deg, var(--secondary-color), #d97706);
  color: white;
}

.alert-danger {
  background: linear-gradient(135deg, var(--danger-color), #dc2626);
  color: white;
}

/* Duration Badge */
.duration-badge {
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.duration-badge.ideal {
  background: linear-gradient(135deg, var(--success-color), #059669);
  color: white;
}

.duration-badge.short {
  background: linear-gradient(135deg, var(--secondary-color), #d97706);
  color: white;
}

.duration-badge.long {
  background: linear-gradient(135deg, var(--danger-color), #dc2626);
  color: white;
}

/* Animations - Simplified */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.4s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px;
    margin: 20px 0 40px 0;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .lead {
    font-size: 1.25rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .token-balance {
    padding: 2rem 1.5rem;
  }
  
  .token-balance h2 {
    font-size: 2.5rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

/* Loading Spinner */
.spinner-border {
  width: 1.25rem;
  height: 1.25rem;
}

/* Text Colors */
.text-primary {
  color: var(--primary-color) !important;
}

.text-success {
  color: var(--success-color) !important;
}

.text-warning {
  color: var(--secondary-color) !important;
}

/* Additional Utilities */
.btn-group-vertical .btn {
  margin-bottom: 0.75rem;
  text-align: left;
  border-radius: 12px;
}

.btn-group-vertical .btn:last-child {
  margin-bottom: 0;
}

/* Glassmorphism effect for main content */
.main-content {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Additional utility classes */
.bg-primary-subtle {
  background-color: rgba(99, 102, 241, 0.1) !important;
}

.bg-success-subtle {
  background-color: rgba(16, 185, 129, 0.1) !important;
}

.bg-warning-subtle {
  background-color: rgba(245, 158, 11, 0.1) !important;
}

/* Enhanced focus states */
.btn:focus, .form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Performance optimizations */
.card, .feature-card, .package-card, .btn {
  will-change: auto;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
} 
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
