/* CSS Variables - Design System */
:root {
  --background: hsl(35, 25%, 97%);
  --foreground: hsl(30, 15%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(30, 15%, 15%);
  --primary: hsl(280, 85%, 45%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(35, 45%, 85%);
  --secondary-foreground: hsl(30, 15%, 15%);
  --muted: hsl(35, 25%, 92%);
  --muted-foreground: hsl(30, 10%, 45%);
  --accent: hsl(40, 85%, 65%);
  --accent-foreground: hsl(30, 15%, 15%);
  --border: hsl(35, 20%, 88%);
  --warm-100: hsl(35, 45%, 95%);
  --warm-50: hsl(35, 45%, 98%);
  --shadow-elegant: 0 20px 60px -15px hsl(280 85% 45% / 0.25);
  --shadow-soft: 0 4px 20px -2px hsl(30 15% 15% / 0.08);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

.min-h-screen {
  min-height: 100vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-elegant);
}

.btn-primary:hover {
  background-color: hsl(280, 85%, 40%);
  transform: scale(1.05);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  transform: scale(1.05);
}

.btn-cta-primary {
  background-color: var(--primary-foreground);
  color: var(--primary);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.btn-cta-primary:hover {
  background-color: hsl(0, 0%, 95%);
  transform: scale(1.05);
}

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

.btn-cta-outline:hover {
  background-color: var(--primary-foreground);
  color: var(--primary);
  transform: scale(1.05);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-cta-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--background) 0%, var(--warm-100) 50%, var(--secondary) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, hsl(280 85% 45% / 0.1), transparent);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  animation: fade-in-up 0.6s ease-out;
  position: relative;
  z-index: 10;
}

.hero-logo {
  width: 12rem;
  height: auto;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 56rem;
  color: var(--foreground);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  justify-content: center;
}

.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* Historical Figures Section */
.figures-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.figures-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  animation: fade-in-up 0.6s ease-out;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

.figures-image-wrapper {
  width: 100%;
  max-width: 80rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
  animation: fade-in 0.8s ease-out;
}

.figures-image {
  width: 100%;
  height: auto;
  display: block;
}

.figures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 80rem;
  width: 100%;
  padding-top: 2rem;
}

.figure-card {
  position: relative;
  background-color: hsl(0 0% 100% / 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(280 85% 45% / 0.2);
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  animation: fade-in-up 0.6s ease-out;
}

.figure-card:hover {
  box-shadow: 0 6px 30px -4px hsl(30 15% 15% / 0.12);
  border-color: hsl(280 85% 45% / 0.4);
  transform: translateY(-4px);
}

.figure-name {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

.figure-action {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--background), var(--muted));
}

.benefits-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

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

.benefit-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  animation: fade-in-up 0.6s ease-out;
}

.benefit-card:hover {
  box-shadow: var(--shadow-elegant);
  transform: translateY(-8px);
}

.benefit-card > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.benefit-icon-wrapper {
  padding: 1rem;
  background-color: hsl(280 85% 45% / 0.1);
  border-radius: 0.75rem;
}

.benefit-icon {
  color: var(--primary);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--card-foreground);
}

.benefit-description {
  color: var(--muted-foreground);
}

/* Experience Section */
.experience-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.experience-content {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.quote-icon-wrapper {
  display: inline-block;
  padding: 0.75rem;
  background-color: hsl(280 85% 45% / 0.1);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.quote-icon {
  color: var(--primary);
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.question-card {
  background: linear-gradient(to right, var(--card), var(--warm-50));
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  animation: fade-in-up 0.6s ease-out;
}

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

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

.question-context {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.experience-conclusion {
  text-align: center;
  padding-top: 2rem;
}

.conclusion-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--foreground);
  font-style: italic;
}

.conclusion-highlight {
  color: var(--primary);
}

/* Call to Action Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(280 85% 42%) 50%, hsl(280 85% 40%) 100%);
  position: relative;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, hsl(40 85% 65% / 0.2), transparent);
}

.cta-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.cta-icon-wrapper {
  display: inline-block;
  padding: 1rem;
  background-color: hsl(0 0% 100% / 0.1);
  border-radius: 9999px;
  margin: 0 auto 1rem;
}

.cta-icon {
  color: var(--primary-foreground);
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

.cta-subtitle {
  font-size: 1.5rem;
  color: hsl(0 0% 100% / 0.9);
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding-top: 1.5rem;
}

.cta-footer {
  padding-top: 2rem;
  color: hsl(0 0% 100% / 0.8);
  font-size: 0.875rem;
}

/* Footer Section */
.footer-section {
  padding: 3rem 0;
  background-color: hsl(30 15% 15% / 0.05);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-logo {
    width: 16rem;
  }

  .hero-title {
    font-size: 4rem;
  }

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

  .section-title {
    font-size: 3rem;
  }

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

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

  .question-context {
    font-size: 1.125rem;
  }

  .conclusion-text {
    font-size: 1.5rem;
  }

  .cta-title {
    font-size: 3.75rem;
  }

  .cta-subtitle {
    font-size: 1.5rem;
  }

  .footer-content {
    flex-direction: row;
  }

  .footer-copyright {
    text-align: left;
  }

  .figures-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .cta-title {
    font-size: 3.75rem;
  }
}