/* =====================
   CSS VARIABLES & COLORS
   ===================== */

:root {
  /* Light Mode Colors */
  --background: #fafbfc;
  --foreground: #0f172a;
  --card: #f5f7fb;
  --card-foreground: #0f172a;
  --primary: #0C4167;
  --primary-foreground: #ffffff;
  --accent: #6fa8dc;
  --accent-foreground: #ffffff;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --destructive: #dc2626;
  
  /* Font Families */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
  
  /* Spacing */
  --radius: 10px;
}



/* =====================
   GLOBAL STYLES
   ===================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline-color: rgba(91, 59, 219, 0.5);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrapper {
  width: 100%;
  overflow: hidden;
}

/* =====================
   UTILITIES
   ===================== */

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.pricing-container {
  max-width: 896px;
}

.cta-container {
  text-align: center;
}

.hidden {
  display: none;
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex;
  }
  .mobile-only {
    display: none;
  }
}

/* =====================
   NAVIGATION
   ===================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.navbar-transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(250, 251, 252, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.btn-enroll-nav {
  padding: 0.5rem 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--primary-foreground);
  border: none;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-enroll-nav:hover {
  box-shadow: 0 20px 25px rgba(91, 59, 219, 0.3);
  transform: scale(1.05);
}

.mobile-menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(250, 251, 252, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .mobile-menu {
    background: rgba(15, 23, 42, 0.95);
  }
}

.mobile-menu.hidden {
  display: none;
}

.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.btn-enroll-mobile {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--primary-foreground);
  border: none;
  border-radius: 9999px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-enroll-mobile:hover {
  box-shadow: 0 20px 25px rgba(91, 59, 219, 0.3);
}

/* =====================
   BUTTONS
   ===================== */

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--primary-foreground);
}

.btn-primary:hover {
  box-shadow: 0 25px 50px rgba(91, 59, 219, 0.3);
  transform: scale(1.05);
}

.btn-secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(91, 59, 219, 0.05);
}

.btn-full {
  width: 100%;
}

/* =====================
   HERO SECTION
   ===================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.blob-1 {
  width: 384px;
  height: 384px;
  top: 80px;
  right: 40px;
  background: linear-gradient(135deg, rgba(91, 59, 219, 0.2), rgba(111, 168, 220, 0.2));
}

.blob-2 {
  width: 320px;
  height: 320px;
  bottom: 80px;
  left: 40px;
  background: linear-gradient(135deg, rgba(91, 59, 219, 0.1), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  width: 100%;
  padding: 0 1rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(111, 168, 220, 0.1);
  border: 1px solid rgba(111, 168, 220, 0.3);
  border-radius: 9999px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-subtext {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* =====================
   PROGRAM SECTION
   ===================== */

.program-section {
  position: relative;
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, var(--background), var(--card), var(--background));
}

@media (min-width: 640px) {
  .program-section {
    padding: 8rem 1rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(245, 247, 251, 0.5);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}


.feature-card:hover {
  border-color: rgba(91, 59, 219, 0.5);
  background: var(--card);
  box-shadow: 0 10px 25px rgba(91, 59, 219, 0.1);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* =====================
   CURRICULUM SECTION
   ===================== */

.curriculum-section {
  position: relative;
  padding: 5rem 1rem;
}

@media (min-width: 640px) {
  .curriculum-section {
    padding: 8rem 1rem;
  }
}

.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .curriculum-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.curriculum-card {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid;
}

.math-card {
  background: linear-gradient(135deg, rgba(91, 59, 219, 0.1), rgba(91, 59, 219, 0.05));
  border-color: rgba(91, 59, 219, 0.2);
}

.english-card {
  background: linear-gradient(135deg, rgba(111, 168, 220, 0.1), rgba(111, 168, 220, 0.05));
  border-color: rgba(111, 168, 220, 0.2);
}

.curriculum-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.math-card h3 {
  color: var(--primary);
}

.english-card h3 {
  color: var(--accent);
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.topic {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.curriculum-card .hours {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 600;
  margin-top: 1.5rem;
}

.complementary-sessions {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 2px solid rgba(91, 59, 219, 0.3);
  background: rgba(245, 247, 251, 0.5);
}



.sessions-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sparkle {
  font-size: 1.5rem;
}

.sessions-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .sessions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.session-item {
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.05);
  text-align: center;
  font-size: 0.875rem;
}



/* =====================
   TRACKING SECTION
   ===================== */

.tracking-section {
  position: relative;
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, rgba(245, 247, 251, 0.5), var(--background));
}

@media (min-width: 640px) {
  .tracking-section {
    padding: 8rem 1rem;
  }
}


.tracking-card {
  padding: 3rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(91, 59, 219, 0.15), var(--card), rgba(111, 168, 220, 0.1));
  border: 1px solid rgba(91, 59, 219, 0.2);
  backdrop-filter: blur(10px);
}

.tracking-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tracking-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.tracking-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  font-weight: 500;
  color: var(--foreground);
}

/* =====================
   INSTRUCTORS SECTION
   ===================== */

.instructors-section {
  position: relative;
  padding: 5rem 1rem;
}

@media (min-width: 640px) {
  .instructors-section {
    padding: 8rem 1rem;
  }
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

@media (min-width: 768px) {
  .instructors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.instructor-card {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(245, 247, 251, 0.5);
  transition: all 0.3s ease;
  text-align: center;
}



.instructor-card:hover {
  border-color: rgba(91, 59, 219, 0.5);
  background: var(--card);
  box-shadow: 0 20px 50px rgba(91, 59, 219, 0.1);
}

.instructor-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instructor-card:hover .instructor-image {
  transform: scale(1.1);
}

.instructor-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.instructor-card .university {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.instructor-card .specialty {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* =====================
   TIMELINE SECTION
   ===================== */

.timeline-section {
  position: relative;
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, var(--background), rgba(245, 247, 251, 0.3), var(--background));
}

@media (min-width: 640px) {
  .timeline-section {
    padding: 8rem 1rem;
  }
}

.timeline {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2rem;
}

.timeline-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
}

.timeline-connector {
  position: absolute;
  left: 7px;
  top: 24px;
  width: 2px;
  height: 64px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item:last-child .timeline-connector {
  display: none;
}

.timeline-content {
  padding-bottom: 1.5rem;
}

.timeline-date {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.timeline-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* =====================
   PRICING SECTION
   ===================== */

.pricing-section {
  position: relative;
  padding: 5rem 1rem;
}

@media (min-width: 640px) {
  .pricing-section {
    padding: 8rem 1rem;
  }
}

.pricing-card {
  padding: 3rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(91, 59, 219, 0.1), rgba(111, 168, 220, 0.1));
  border: 2px solid rgba(91, 59, 219, 0.3);
  backdrop-filter: blur(10px);
}

.price-display {
  text-align: center;
  margin-bottom: 2rem;
}

.price {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.75rem;
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

/* =====================
   CTA SECTION
   ===================== */

.cta-section {
  position: relative;
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, var(--background), rgba(245, 247, 251, 0.5));
}

@media (min-width: 640px) {
  .cta-section {
    padding: 8rem 1rem;
  }
}


.cta-section h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   FOOTER
   ===================== */

.footer {
  border-top: 1px solid var(--border);
  background: rgba(245, 247, 251, 0.3);
  backdrop-filter: blur(10px);
  padding: 4rem 1rem;
}



.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3,
.footer-column h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-column h3 {
  font-size: 1.125rem;
}

.footer-column h4 {
  font-size: 0.875rem;
}

.footer-column p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  background: none;
  border: none;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: left;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.footer-quote {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */

@media (max-width: 640px) {
  .hero-buttons {
    gap: 0.75rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .timeline {
    padding-left: 0;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .price {
    font-size: 2.5rem;
  }
}

/* =====================
   ANIMATIONS & TRANSITIONS
   ===================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.instructor-card,
.pricing-card,
.curriculum-card {
  animation: fadeIn 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
