/*
Theme Name: CultureSport Brand Assessment
Description: A professional athlete brand readiness assessment tool for CultureSport
Author: CultureSport Team
Version: 1.0
Text Domain: culturesport-brand
*/

/* CultureSport Design System - Athletic & Performance Focused */
:root {
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(224, 71%, 4%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(224, 71%, 4%);
  --primary: hsl(20, 95%, 55%);
  --primary-foreground: hsl(0, 0%, 100%);
  --primary-glow: hsl(20, 100%, 65%);
  --secondary: hsl(224, 71%, 4%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --accent: hsl(210, 40%, 96%);
  --accent-foreground: hsl(224, 71%, 4%);
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --border: hsl(214, 32%, 91%);
  --input: hsl(214, 32%, 91%);
  --ring: hsl(20, 95%, 55%);
  --gradient-hero: linear-gradient(135deg, hsl(20, 95%, 55%), hsl(20, 100%, 65%));
  --gradient-card: linear-gradient(180deg, hsl(0, 0%, 100%), hsl(210, 20%, 98%));
  --shadow-sport: 0 10px 30px -10px hsl(20, 95%, 55%, 0.3);
  --shadow-elevation: 0 4px 20px -4px hsl(224, 71%, 4%, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

/* Hero Section */
.hero-section {
  background: var(--gradient-hero);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/culturesport-hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Assessment Tool */
.assessment-tool {
  max-width: 600px;
  margin: -2rem auto 4rem;
  padding: 0 1rem;
  position: relative;
  z-index: 3;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevation);
  padding: 2rem;
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--muted);
  border-radius: 4px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-hero);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.question-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.score-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.score-button {
  padding: 1rem;
  border: 2px solid var(--border);
  background: white;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
  font-size: 1rem;
}

.score-button:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sport);
  transform: translateY(-2px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(20, 95%, 55%, 0.1);
}

.btn {
  background: var(--gradient-hero);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.results-section {
  text-align: center;
}

.score-display {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.assessment-result {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.result-message {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .assessment-tool {
    margin: -1rem auto 2rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

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

/* Error States */
.error {
  color: var(--destructive);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.success {
  color: var(--primary);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}