/* Base Styles */
:root {
  --primary: #6c63ff;
  --primary-dark: #5a52d9;
  --secondary: #ff6b6b;
  --dark: #2d3748;
  --light: #f7fafc;
  --gray: #a0aec0;
  --gray-light: #e2e8f0;
  --success: #48bb78;
  --font-heading: "Playfair Display", serif;
  --font-body: "Poppins", sans-serif;
  --shadow: 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);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 5rem 0;
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(108, 99, 255, 0.2);
  z-index: -1;
  transform: skew(-12deg);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  color: var(--gray);
}

/* Buttons */
.cta-button,
.secondary-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-align: center;
}

.cta-button {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(108, 99, 255, 0.4);
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.5);
}

.secondary-button {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.secondary-button:hover {
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-3px);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  padding: 2rem;
  max-width: 600px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shape {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, rgba(108, 99, 255, 0.2), rgba(108, 99, 255, 0.4));
  top: 10%;
  right: 20%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.4));
  bottom: 10%;
  right: 30%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Instructor Section */
.instructor .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.instructor-image {
  flex: 1;
  position: relative;
}

.instructor-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.instructor-image:hover img {
  transform: scale(1.02);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.instructor-bio {
  flex: 1;
}

.instructor-bio h2 {
  text-align: left;
}

.instructor-bio h3 {
  font-size: 2rem;
  margin-top: -1rem;
  margin-bottom: 0.5rem;
}

.credentials {
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.social-proof {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Modules Section */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.module-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.module-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.module-number {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(108, 99, 255, 0.1);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.module-card h3 {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.module-card p {
  color: var(--gray);
  position: relative;
  z-index: 1;
}

/* Features Section */
.features {
  background-color: var(--primary);
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.feature:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 0.5rem;
}

.feature p {
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials Section */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 300%; /* Will be set dynamically by JS */
}

.testimonial-card {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 33.333%; /* Will be set dynamically by JS */
  box-sizing: border-box;
  margin: 0 0.5%;
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
}

.quote::before {
  content: '"';
  font-size: 4rem;
  color: rgba(108, 99, 255, 0.2);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 0.2rem;
}

.testimonial-author p {
  color: var(--gray);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.prev-btn,
.next-btn {
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
  background: var(--primary-dark);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gray-light);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Pricing Section */
.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 2rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1rem 0;
}

.currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-header p {
  color: var(--gray);
  margin-bottom: 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.8rem 0;
  position: relative;
  padding-left: 2rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--success);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.pricing-features li.not-included {
  color: var(--gray);
  text-decoration: line-through;
}

.pricing-features li.not-included::before {
  content: "×";
  color: var(--gray);
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 2rem;
  background-color: rgba(108, 99, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 3rem;
}

.guarantee-icon {
  background-color: var(--success);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.guarantee-text h3 {
  margin-bottom: 0.5rem;
}

.guarantee-text p {
  margin-bottom: 0;
}

/* FAQ Section */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  background-color: white;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.accordion-content {
  background-color: white;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 1.5rem;
  max-height: 200px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.final-cta h2 {
  color: white;
}

.final-cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

.enrollment-closing {
  margin-top: 2rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

#countdown {
  font-weight: 700;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 2;
}

.footer-logo .logo {
  margin-bottom: 1rem;
}

.footer-logo p {
  color: var(--gray);
  max-width: 300px;
}

.footer-links {
  flex: 3;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.link-column {
  min-width: 150px;
}

.link-column h4 {
  margin-bottom: 1.5rem;
  color: white;
}

.link-column a {
  display: block;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.link-column a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    padding: 2rem 1rem;
  }

  .instructor .container {
    flex-direction: column;
    text-align: center;
  }

  .instructor-bio h2 {
    text-align: center;
  }

  .social-proof {
    justify-content: center;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .guarantee {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.2rem;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--primary);
  padding-left: 10px;
}
