:root {
  /* Base colors */
  --primary-color: #3a86ff;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary-color: #ff6b6b;
  --secondary-dark: #e53e3e;
  --secondary-light: #fc8181;
  --accent-color: #8b5cf6;
  --accent-dark: #6d28d9;
  --accent-light: #a78bfa;
  
  /* Neutral palette */
  --neutral-900: #111827;
  --neutral-800: #1f2937;
  --neutral-700: #374151;
  --neutral-600: #4b5563;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-300: #d1d5db;
  --neutral-200: #e5e7eb;
  --neutral-100: #f3f4f6;
  --neutral-50: #f9fafb;
  
  /* Success/Error colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Typography */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Border radius */
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Transitions */
  --transition-fast: 150ms;
  --transition: 300ms;
  --transition-slow: 500ms;
  
  /* Container max-width */
  --container-max: 1200px;
  
  /* Z-index layers */
  --z-negative: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background-color: var(--neutral-50);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--neutral-900);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

h5 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

h6 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--neutral-700);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-5 {
  margin-bottom: 1.25rem !important;
}

.mt-5 {
  margin-top: 1.25rem !important;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Button styles */
.btn, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary, button.btn-primary, input[type="submit"] {
  background-color: var(--primary-color);
  color: white !important;
}

.btn-primary:hover, button.btn-primary:hover, input[type="submit"]:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white !important;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  border: 2px solid white;
  background-color: transparent;
  color: white !important;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Section styles */
section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--neutral-900);
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: var(--radius-full);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-description {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  text-align: center;
  color: var(--neutral-600);
  font-size: 1.2rem;
}

/* Navbar */
header {
  position: fixed;
  width: 100%;
  z-index: var(--z-fixed);
  transition: background-color var(--transition);
}

.navbar {
  padding: 1rem 0;
  transition: all var(--transition);
}

.navbar-dark {
  background-color: var(--neutral-900);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: color var(--transition);
  position: relative;
}

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

.nav-link:hover {
  color: white !important;
}

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

/* Hero section */
.hero-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: var(--z-negative);
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  opacity: 1 !important;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease-out 0.2s backwards;
  opacity: 1 !important;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  animation: fadeInUp 1s ease-out 0.4s backwards;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 1 !important;
}

/* About section */
.about-section {
  background-color: white;
}

.about-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
  margin-bottom: 2rem;
}

.about-image-container:hover {
  transform: translateY(-10px);
}

.about-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition);
}

.about-image-container:hover img {
  transform: scale(1.05);
}

.about-content h3 {
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-color);
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--neutral-700);
}

.features-accordion {
  margin-top: 2rem;
}

.accordion-button {
  padding: 1.25rem;
  font-weight: 600;
  color: var(--neutral-900);
  background-color: var(--neutral-100);
  border-radius: var(--radius) !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--neutral-50);
}

.accordion-button::after {
  background-size: 1rem;
  transition: transform var(--transition);
}

.accordion-body {
  padding: 1.25rem;
  background-color: var(--neutral-50);
  color: var(--neutral-700);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* Methodology section */
.methodology-section {
  background-color: var(--neutral-100);
  position: relative;
  overflow: hidden;
}

.methodology-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(58, 134, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  z-index: var(--z-negative);
}

.methodology-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.methodology-image-container:hover {
  transform: translateY(-10px);
}

.methodology-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition);
}

.methodology-image-container:hover img {
  transform: scale(1.05);
}

.methodology-content h3 {
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid var(--accent-color);
}

.step-card {
  display: flex;
  margin-bottom: 2rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  color: var(--neutral-900);
}

.step-content p {
  margin-bottom: 0;
  color: var(--neutral-700);
}

/* Success stories section */
.success-stories-section {
  background-color: white;
}

.card {
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neutral-200);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: white;
}

.card-content h4 {
  margin-bottom: 0.5rem;
  color: var(--neutral-900);
}

.player-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rating {
  display: flex;
  margin-top: auto;
  color: var(--warning);
}

.rating span {
  margin-right: 2px;
}

/* Resources section */
.resources-section {
  background-color: var(--neutral-100);
  position: relative;
  overflow: hidden;
}

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

.resource-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.resource-card h4 {
  color: var(--neutral-900);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.resource-card h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

.resource-card p {
  color: var(--neutral-600);
  margin-bottom: 1.5rem;
}

.resource-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
}

.resource-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition);
}

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

/* Events calendar section */
.events-calendar-section {
  background-color: white;
}

.calendar-month {
  background-color: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.month-title {
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--neutral-300);
}

.calendar-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-event {
  display: flex;
  padding: 1rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.calendar-event:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.event-date {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-right: 1rem;
  flex-shrink: 0;
}

.event-info {
  flex-grow: 1;
}

.event-info h4 {
  margin-bottom: 0.25rem;
  color: var(--neutral-900);
  font-size: 1.1rem;
}

.event-info p {
  margin-bottom: 0;
  color: var(--neutral-600);
  font-size: 0.9rem;
}

/* Events section */
.events-section {
  background-color: var(--neutral-100);
  position: relative;
  overflow: hidden;
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.event-card .card-image {
  position: relative;
  height: 300px;
}

.event-date-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2;
}

.event-card .card-content {
  flex-grow: 1;
}

.event-location {
  color: var(--neutral-600);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.event-location::before {
  content: '📍';
  margin-right: 0.5rem;
}

/* Contact section */
.contact-section {
  background-color: white;
}

.contact-form-container {
  background-color: var(--neutral-50);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-label {
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--neutral-300);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.25);
}

textarea.form-control {
  resize: vertical;
}

.contact-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--neutral-900);
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-color);
}

.contact-info p {
  color: var(--neutral-700);
  margin-bottom: 2rem;
}

.contact-method {
  margin-bottom: 1.5rem;
}

.contact-method h4 {
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-method p {
  margin-bottom: 0;
}

.contact-social h4 {
  margin-bottom: 1rem;
}

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

.social-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--neutral-100);
  border-radius: var(--radius-full);
  color: var(--neutral-700);
  font-weight: 500;
  transition: all var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Footer */
.site-footer {
  background-color: var(--neutral-900);
  color: white;
  padding: 5rem 0 2rem;
}

.site-footer h3, .site-footer h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.site-footer p {
  color: var(--neutral-400);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.footer-social a {
  color: var(--neutral-400);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  background-color: var(--neutral-800);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-social a:hover {
  color: white;
  background-color: var(--primary-color);
}

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

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

.footer-links a {
  color: var(--neutral-400);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.app-button {
  transition: transform var(--transition), opacity var(--transition);
}

.app-button:hover {
  transform: translateY(-5px);
  opacity: 0.9;
}

.copyright {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--neutral-800);
  text-align: center;
  color: var(--neutral-500);
  font-size: 0.875rem;
}

/* Parallax sections */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

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

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

/* Success page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--neutral-50);
}

.success-container {
  max-width: 600px;
  padding: 3rem;
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s ease;
}

.success-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.success-message h2 {
  color: var(--neutral-900);
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--neutral-700);
  margin-bottom: 2rem;
}

/* Terms & Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 8rem 0 5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .step-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .contact-info {
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .resources-container {
    grid-template-columns: 1fr;
  }
  
  .calendar-month {
    margin-bottom: 2rem;
  }
  
  .event-card .card-image {
    height: 200px;
  }
  
  .footer-social, .app-buttons {
    justify-content: center;
  }
  
  .site-footer h3, .site-footer h4 {
    text-align: center;
    margin-top: 2rem;
  }
  
  .site-footer p {
    text-align: center;
  }
  
  .footer-links {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
}