/* ============================
   SportAnix - Nouveau Design Premium
   Thème moderne avec couleurs élégantes
   ============================ */

:root {
  /* Couleurs principales - Nouveau thème */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  
  /* Couleurs secondaires */
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --secondary-light: #fbbf24;
  
  /* Couleurs d'accent */
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-blue: #3b82f6;
  
  /* Couleurs de fond - Thème clair moderne */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-dark: #1e293b;
  
  /* Couleurs de texte */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  /* Couleurs neutres */
  --white: #ffffff;
  --gray-50: #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;
  
  /* Ombres et effets */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.2);
  
  /* Bordures */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-dark: #94a3b8;
  
  /* Rayons */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: 'Alumni Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Alumni Sans SC', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
}

/* Bandeau d'âge - Nouveau design */
.age-warning {
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 50%, #d97706 100%);
  color: var(--white);
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
  z-index: 1000;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.age-warning::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffffff 0%, #fbbf24 50%, #ffffff 100%);
  animation: warningShine 2s ease-in-out infinite;
}

@keyframes warningShine {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.warning-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}

.warning-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.warning-icon i {
  color: var(--white);
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.warning-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.warning-text p {
  font-size: 0.875rem;
  margin: 0 0 1rem 0;
  opacity: 0.95;
  max-width: 600px;
}

.warning-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-confirm, .btn-leave {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.btn-confirm {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
}

.btn-confirm:hover {
  background: rgba(34, 197, 94, 0.3);
  border-color: rgba(34, 197, 94, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-leave {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
}

.btn-leave:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-confirm i, .btn-leave i {
  font-size: 0.875rem;
}

/* Responsive adjustments for age warning */
@media (max-width: 768px) {
  .warning-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .warning-text h4 {
    font-size: 1.125rem;
  }
  
  .warning-text p {
    font-size: 0.8rem;
  }
  
  .warning-buttons {
    gap: 0.75rem;
  }
  
  .btn-confirm, .btn-leave {
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .age-warning {
    padding: 0.75rem 0;
  }
  
  .warning-icon {
    width: 50px;
    height: 50px;
  }
  
  .warning-icon i {
    font-size: 1.25rem;
  }
  
  .warning-text h4 {
    font-size: 1rem;
  }
  
  .warning-text p {
    font-size: 0.75rem;
  }
  
  .warning-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-confirm, .btn-leave {
    min-width: 200px;
    justify-content: center;
  }
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  transition: all var(--transition-normal);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Alumni Sans SC', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--primary) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand i {
  color: var(--secondary);
  font-size: 1.5rem;
}

.navbar-logo {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
  transition: all var(--transition-normal);
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 600;
  padding: 0.75rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.navbar-nav .nav-link:hover {
  color: var(--primary) !important;
  background: var(--gray-50);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Boutons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.header-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.header-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary);
  transition: all var(--transition-normal);
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.separator {
  color: var(--gray-400);
}

/* Main Content */
.main-content {
  padding: 4rem 0;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.content-section h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-section h3 i {
  color: var(--primary);
  font-size: 1.5rem;
}

.content-section h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.content-section h4 i {
  color: var(--secondary);
  font-size: 1.25rem;
}

/* Info Cards */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.info-card h3 {
  margin-bottom: 1rem;
}

.info-card p {
  margin-bottom: 1rem;
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.info-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Warning Signs */
.warning-signs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.sign-category {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}

.sign-category h4 {
  margin-bottom: 1rem;
}

.sign-category ul {
  list-style: none;
  padding: 0;
}

.sign-category li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
}

.sign-category li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* Control Tools */
.control-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.tool-item {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--accent-green);
}

.tool-item h4 {
  margin-bottom: 0.75rem;
}

.tool-item p {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Tips Section */
.tips-section h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 1.125rem;
}

.tips-section ul {
  margin-bottom: 1.5rem;
}

.tips-section li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
}

.tips-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

/* Help Resources */
.help-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.resource-item {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--accent-blue);
}

.resource-item h4 {
  margin-bottom: 1rem;
}

.resource-item p {
  margin-bottom: 0.75rem;
}

.resource-item ul {
  list-style: none;
  padding: 0;
}

.resource-item li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
}

.resource-item a {
  color: var(--primary);
  text-decoration: underline;
}

.resource-item a:hover {
  color: var(--primary-dark);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.sidebar-widget h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.125rem;
}

.sidebar-widget p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.sidebar-links {
  list-style: none;
  padding: 0;
}

.sidebar-links li {
  margin-bottom: 0.5rem;
}

.sidebar-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: all var(--transition-normal);
  display: block;
  padding: 0.25rem 0;
}

.sidebar-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

/* Quick Actions */
.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Emergency Contact */
.emergency-contact {
  text-align: center;
}

.emergency-contact p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.emergency-contact .small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Contact Info */
.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.contact-info strong {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* Sections générales */
.section {
  padding: 5rem 0;
  position: relative;
}

.section.bg-light {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Card */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-card .card-header {
  background: var(--gray-50);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.operator-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.operator-logo {
  height: 48px;
  width: auto;
}

.operator-details h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-success {
  background: var(--accent-green);
  color: var(--white);
}

.badge-primary {
  background: var(--primary);
  color: var(--white);
}

.badge-gold {
  background: var(--secondary);
  color: var(--white);
}

.feature-card .card-body {
  padding: 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.feature-item i {
  color: var(--secondary);
  font-size: 1.25rem;
}

.feature-item span {
  font-weight: 500;
  color: var(--text-secondary);
}

/* Info Card */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-lg);
}

.info-card h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.benefits-list i {
  color: var(--accent-green);
  font-size: 1rem;
}

.benefits-list span {
  font-weight: 500;
  color: var(--text-secondary);
}

/* Feature Box */
.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-glow);
}

.icon-wrapper i {
  color: var(--white);
  font-size: 2rem;
}

.feature-box h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-box p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Guide Card */
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-number {
  position: absolute;
  top: -20px;
  left: 2rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-glow);
}

.card-content h4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-content ul {
  list-style: none;
  padding: 0;
}

.card-content li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.card-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.resource-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.resource-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.resource-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.resource-icon i {
  color: var(--white);
  font-size: 2rem;
}

.resource-item h5 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.resource-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Testimonial Card */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.avatar i {
  color: var(--white);
  font-size: 1.25rem;
}

.user-info h5 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.stars {
  color: var(--secondary);
}

.testimonial-card p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0;
}

/* Contact Section Background */
#contact {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/side.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
}

#contact .section-title,
#contact .section-subtitle {
  color: var(--white);
}

#contact .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  transition: all var(--transition-normal);
  background: var(--white);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  outline: none;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-label {
  color: var(--text-secondary);
}

.form-check-label a {
  color: var(--primary);
  text-decoration: underline;
}

/* Contact Info */
.contact-info {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.contact-info h4 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.info-item i {
  color: var(--primary);
  font-size: 1.25rem;
}

.info-item span {
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-info hr {
  margin: 1.5rem 0;
  border-color: var(--border-light);
}

.contact-info h5 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.links-list {
  list-style: none;
  padding: 0;
}

.links-list li {
  margin-bottom: 0.75rem;
}

.links-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.links-list a:hover {
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

/* Certification Links Section */
.footer .flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-700);
}

.certification-link {
  display: inline-block;
  transition: all var(--transition-normal);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.certification-link img {
  height: 3rem;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition-normal);
  filter: brightness(0) invert(1);
}

.certification-link:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-700);
  color: var(--gray-400);
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-400);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  color: var(--text-secondary);
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .resources-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .warning-signs {
    grid-template-columns: 1fr;
  }
  
  .control-tools {
    grid-template-columns: 1fr;
  }
  
  .help-resources {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .page-header .header-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 0 2rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-header {
    padding: 3rem 0 2rem;
  }
  
  .page-header .header-content h1 {
    font-size: 2rem;
  }
  
  .main-content {
    padding: 2rem 0;
  }
}

/* Animations globales */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Classes d'animation */
.animate-slide-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

/* Effets de survol globaux */
.card-hover {
  transition: all var(--transition-normal);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Sélection de texte */
::selection {
  background: var(--primary);
  color: var(--white);
}

::-moz-selection {
  background: var(--primary);
  color: var(--white);
}

/* Guide Section */
.guide-container {
  margin-top: 3rem;
}

.guide-intro {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--gray-50) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.guide-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.intro-content h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.intro-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  min-width: 150px;
  transition: all var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Guide Steps */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  transition: all var(--transition-normal);
}

.step-card:hover .step-number {
  color: var(--primary);
  transform: scale(1.1);
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-normal);
}

.step-beginner .step-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.step-intermediate .step-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.step-advanced .step-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.step-professional .step-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.step-master .step-icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.step-card:hover .step-icon {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.step-icon i {
  color: var(--white);
  font-size: 2rem;
}

.step-content h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.step-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.step-features {
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
}

.feature-item i {
  color: var(--primary);
  margin-right: 0.75rem;
  font-size: 0.875rem;
  background: var(--primary-light);
  padding: 0.25rem;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item span {
  color: var(--text-secondary);
  font-weight: 500;
}

.step-duration {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.step-duration i {
  margin-right: 0.5rem;
  color: var(--secondary);
}

/* Guide CTA */
.guide-cta {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--gray-50) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.guide-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.cta-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Responsive adjustments for guide */
@media (max-width: 768px) {
  .guide-intro {
    padding: 2rem;
  }
  
  .intro-content h3 {
    font-size: 1.75rem;
  }
  
  .intro-stats {
    gap: 1.5rem;
  }
  
  .stat-item {
    min-width: 120px;
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .guide-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .step-card {
    padding: 1.5rem;
  }
  
  .step-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .step-number {
    font-size: 2.5rem;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
  }
  
  .step-icon i {
    font-size: 1.5rem;
  }
  
  .guide-cta {
    padding: 2rem;
  }
  
  .cta-content h3 {
    font-size: 1.75rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    min-width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .guide-intro {
    padding: 1.5rem;
  }
  
  .intro-content h3 {
    font-size: 1.5rem;
  }
  
  .intro-stats {
    gap: 1rem;
  }
  
  .stat-item {
    min-width: 100px;
    padding: 0.75rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .step-card {
    padding: 1.25rem;
  }
  
  .step-content h4 {
    font-size: 1.25rem;
  }
  
  .guide-cta {
    padding: 1.5rem;
  }
  
  .cta-content h3 {
    font-size: 1.5rem;
  }
}

/* Resources Section */
.resources-container {
  margin-top: 3rem;
}

.resources-categories {
  margin-bottom: 3rem;
  text-align: center;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-width: 120px;
  justify-content: center;
}

.category-tab:hover {
  background: var(--gray-100);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.category-tab i {
  font-size: 1rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.resource-card:hover::before {
  transform: scaleX(1);
}

.resource-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
}

.resource-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.resource-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-normal);
}

.resource-card:hover .resource-icon {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.resource-icon i {
  color: var(--white);
  font-size: 2rem;
}

.resource-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.resource-type {
  background: var(--gray-100);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resource-date {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.resource-content h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

.resource-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.resource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
}

.resource-card:hover .tag {
  background: var(--primary);
  color: var(--white);
}

.resource-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.resource-stats {
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.resource-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.resource-stats i {
  color: var(--secondary);
}

.resource-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  background: transparent;
}

.resource-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(5px);
}

.resource-btn i {
  font-size: 0.875rem;
  transition: transform var(--transition-normal);
}

.resource-btn:hover i {
  transform: translateX(3px);
}

/* Resources CTA */
.resources-cta {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--gray-50) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.resources-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.cta-header h3 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  min-width: 150px;
  transition: all var(--transition-normal);
}

.cta-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cta-feature i {
  font-size: 2rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 1rem;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-feature span {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Responsive adjustments for resources */
@media (max-width: 768px) {
  .category-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .category-tab {
    min-width: 200px;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .resource-card {
    padding: 1.5rem;
  }
  
  .resource-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .resource-meta {
    align-items: flex-start;
  }
  
  .resources-cta {
    padding: 2rem;
  }
  
  .cta-header h3 {
    font-size: 1.75rem;
  }
  
  .cta-features {
    gap: 1rem;
  }
  
  .cta-feature {
    min-width: 120px;
    padding: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    min-width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .resource-card {
    padding: 1.25rem;
  }
  
  .resource-icon {
    width: 60px;
    height: 60px;
  }
  
  .resource-icon i {
    font-size: 1.5rem;
  }
  
  .resource-content h4 {
    font-size: 1.25rem;
  }
  
  .resources-cta {
    padding: 1.5rem;
  }
  
  .cta-header h3 {
    font-size: 1.5rem;
  }
  
  .cta-feature {
    min-width: 100px;
    padding: 0.75rem;
  }
  
  .cta-feature i {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    padding: 0.75rem;
  }
  
  /* Certification links responsive */
  .footer .flex {
    gap: 1rem;
    padding: 1.5rem 0;
  }
  
  .certification-link {
    padding: 0.25rem;
  }
  
  .certification-link img {
    height: 2.5rem;
  }
}

@media (max-width: 480px) {
  .footer .flex {
    gap: 0.75rem;
    padding: 1rem 0;
  }
  
  .certification-link img {
    height: 2rem;
  }
}
