/* Global Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #ffe4e6 0%, #fce7f3 50%, #f3e8ff 100%);
  padding: 4rem 1rem;
}

.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: #f43f5e;
  border-radius: 50%;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: Georgia, serif;
  color: #111827;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #6b7280;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.btn-cta {
  background-color: #f43f5e;
  border: none;
  border-radius: 50px;
  padding: 1rem 3rem;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: #e11d48;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(244, 63, 94, 0.3);
}

.hero-image-wrapper {
  position: relative;
  margin-top: 4rem;
}

.hero-image-wrapper img {
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(251, 113, 133, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: #6b7280;
  margin-bottom: 0;
}

/* Quiz Section */
.quiz-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #ffe4e6 0%, #fce7f3 50%, #f3e8ff 100%);
  padding: 3rem 1rem;
}

.quiz-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 113, 133, 0.1);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.question-title {
  font-size: 1.75rem;
  font-family: Georgia, serif;
  font-weight: 600;
  color: #111827;
}

.option-card {
  padding: 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  margin-bottom: 1rem;
}

.option-card:hover {
  border-color: #fda4af;
}

.option-card.selected {
  border-color: #f43f5e;
  background-color: #ffe4e6;
}

.option-card input[type="radio"] {
  margin-top: 0.25rem;
}

/* Progress Bar */
.progress {
  background-color: #e5e7eb;
}

.progress-bar {
  background-color: #f43f5e;
  transition: width 0.3s ease;
}

/* Results Section */
.results-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #ffe4e6 0%, #fce7f3 50%, #f3e8ff 100%);
  padding: 3rem 1rem;
}

.results-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: #f43f5e;
  border-radius: 50%;
}

.results-title {
  font-size: 3rem;
  font-weight: 700;
  font-family: Georgia, serif;
  color: #111827;
  margin-bottom: 1rem;
}

.results-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
}

.results-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 113, 133, 0.1);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.chart-container {
  max-width: 500px;
  margin: 0 auto;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.breakdown-item:last-child {
  border-bottom: none;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.language-description {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.language-description:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.language-description h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.language-description p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  padding-left: 1.5rem;
}

/* Reviews Section */
.reviews-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #ffe4e6 0%, #fce7f3 50%, #f3e8ff 100%);
  padding: 3rem 1rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 113, 133, 0.1);
  border-radius: 1rem;
  transition: transform 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
}

.avatar-circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}

.star {
  color: #fbbf24;
  font-size: 1.25rem;
}

.star-empty {
  color: #d1d5db;
  font-size: 1.25rem;
}

.review-form-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 113, 133, 0.1);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.25rem;
}

.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  cursor: pointer;
  font-size: 2rem;
  color: #d1d5db;
  transition: color 0.2s ease;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #fbbf24;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .results-title {
    font-size: 2rem;
  }

  .question-title {
    font-size: 1.5rem;
  }
}

/* Bootstrap Primary Color Override */
.btn-primary {
  background-color: #f43f5e;
  border-color: #f43f5e;
}

.btn-primary:hover {
  background-color: #e11d48;
  border-color: #e11d48;
}

.btn-outline-primary {
  color: #f43f5e;
  border-color: #f43f5e;
}

.btn-outline-primary:hover {
  background-color: #f43f5e;
  border-color: #f43f5e;
}

.text-primary {
  color: #f43f5e !important;
}

.bg-primary {
  background-color: #f43f5e !important;
}
