:root {
  --primary: #e83e3e;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Syne', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--primary);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--white);
  color: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.app-container {
  min-height: 100vh;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
}

.lowercase {
  text-transform: lowercase;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--primary);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: none;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: lowercase;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a:hover {
  opacity: 0.8;
}

.btn-outline {
  border: 2px solid var(--white);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: lowercase;
  color: var(--white);
  transition:
    background-color 0.2s,
    color 0.2s;
  display: inline-block;
  text-align: center;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-primary {
  background-color: var(--white);
  color: var(--primary);
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  text-transform: lowercase;
  transition: opacity 0.2s;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  opacity: 0.9;
}

.hero-section {
  padding: 8rem 1.5rem 6rem;
  max-width: 80rem;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.85;
  letter-spacing: -0.025em;
  text-transform: lowercase;
}

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

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

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .hero-info {
    margin-top: 2rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: lowercase;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.star-icon {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.hero-collage {
  position: relative;
  margin-top: 6rem;
  height: 400px;
  width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-collage {
    display: flex;
  }
}

.badge-stars {
  position: absolute;
  top: 0;
  left: 25%;
  background-color: var(--white);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transform: rotate(-10deg);
  z-index: 20;
}

.badge-text {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  border: 2px solid var(--white);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  text-transform: lowercase;
  transform: rotate(-15deg);
  z-index: 20;
  background-color: var(--primary);
}

.collage-img {
  position: absolute;
  object-fit: cover;
  border: 4px solid var(--primary);
}

.img-1 {
  left: 10%;
  width: 16rem;
  height: 16rem;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 10;
}

.img-2 {
  left: 35%;
  top: -10%;
  width: 18rem;
  height: 18rem;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: 0;
}

.img-3 {
  right: 25%;
  width: 16rem;
  height: 16rem;
  border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
  z-index: 10;
}

.img-4 {
  right: 5%;
  top: 10%;
  width: 14rem;
  height: 14rem;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 0;
}

.program-section,
.teacher-section,
.pricing-section {
  padding: 6rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  scroll-margin-top: 6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.1;
  text-transform: lowercase;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.section-title.dark-text {
  color: var(--black);
}

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

.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .program-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-card {
  background-color: var(--white);
  color: var(--black);
  border-radius: 40px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.program-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
}

.program-info {
  padding: 0 0.5rem;
}

.program-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
  text-transform: lowercase;
  margin-bottom: 1rem;
}

.program-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  text-transform: lowercase;
}

.why-us-section {
  background-color: var(--white);
  color: var(--black);
  padding: 6rem 1.5rem;
  border-radius: 60px 60px 0 0;
  scroll-margin-top: 6rem;
}

.why-us-section .section-title {
  margin-bottom: 8rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 40px;
  padding: 2rem;
  padding-top: 8rem;
  position: relative;
}

.offset-card {
  margin-top: 6rem;
}

@media (min-width: 768px) {
  .offset-card {
    margin-top: 0;
  }
}

.feature-img {
  position: absolute;
  top: -5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 12rem;
  height: 12rem;
  object-fit: cover;
  border: 8px solid var(--white);
}

.img-shape-1 {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.img-shape-2 {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.img-shape-3 {
  border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  text-transform: lowercase;
  text-align: center;
  margin-bottom: 1rem;
}

.feature-desc {
  font-size: 0.875rem;
  text-align: center;
  text-transform: lowercase;
  opacity: 0.9;
}

.teacher-section .section-title {
  margin-bottom: 4rem;
}

.teacher-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .teacher-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.teacher-card {
  background-color: var(--white);
  color: var(--black);
  border-radius: 40px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.teacher-img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary);
}

.teacher-name {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
  text-transform: lowercase;
  margin-bottom: 0.5rem;
}

.teacher-role {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: lowercase;
  margin-bottom: 0.5rem;
}

.teacher-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  text-transform: lowercase;
}

.testimonial-section {
  background-color: var(--white);
  color: var(--black);
  padding: 6rem 1.5rem;
  border-radius: 60px;
  max-width: 80rem;
  margin: 0 auto 6rem;
  scroll-margin-top: 6rem;
}

.testimonial-section .section-title {
  margin-bottom: 4rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--gray-50);
  border-radius: 30px;
  padding: 2rem;
  position: relative;
}

.stars {
  display: flex;
  color: var(--primary);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: lowercase;
  margin-bottom: 1.5rem;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.student-img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.student-name {
  font-weight: 700;
  text-transform: lowercase;
  font-size: 0.875rem;
}

.student-role {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: lowercase;
}

.pricing-section .section-title {
  margin-bottom: 4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  border-radius: 40px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  position: relative;
}

.light-card {
  background-color: var(--white);
  color: var(--black);
}

.dark-card {
  border: 4px solid var(--white);
}

.badge-stars-top {
  position: absolute;
  top: -1.5rem;
  right: 2.5rem;
  background-color: var(--white);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  text-transform: lowercase;
  margin-bottom: 1.5rem;
}

.pricing-desc {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: lowercase;
  margin-bottom: 2rem;
  max-width: 20rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: lowercase;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.pricing-action {
  margin-top: 3rem;
}

.badge-primary {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  text-transform: lowercase;
  display: inline-block;
}

.badge-light {
  background-color: var(--white);
  color: var(--primary);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  text-transform: lowercase;
  display: inline-block;
}

.footer-section {
  padding: 6rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-collage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.footer-img {
  object-fit: cover;
  border: 4px solid var(--white);
}

.footer-img:nth-child(1) {
  width: 12rem;
  height: 12rem;
}

.footer-img:nth-child(2) {
  width: 14rem;
  height: 14rem;
  z-index: 10;
}

.footer-img:nth-child(3) {
  width: 12rem;
  height: 12rem;
}

.overlap-left {
  margin-left: -3rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 6.25rem;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 20;
  margin-top: -6rem;
  color: var(--white);
}

@media (min-width: 768px) {
  .footer-title {
    font-size: 12.5rem;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 3rem;
  text-align: left;
  position: relative;
  z-index: 30;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-desc {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: lowercase;
  max-width: 28rem;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .footer-actions {
    margin-top: 0;
  }
}
