
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #121212;
    --surface-color: #1E1E1E;
    --primary-color: #BB86FC;
    --secondary-color: #03DAC6;
    --on-surface: #FFFFFF;
    --on-bg: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --accent-glow: rgba(3, 218, 198, 0.7);
    --header-height: 70px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--on-bg);
    line-height: 1.8;
    font-size: 16px;
    padding-top: var(--header-height);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--on-surface);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    color: var(--primary-color);
}

/* --- Header & Audio Button --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--surface-color);
    backdrop-filter: blur(10px);
    background-color: rgba(18, 18, 18, 0.75);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    width: 100%;
}

.main-header .container {
    width: 100%;
    height: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--on-surface);
}

.audio-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    width: auto;
    height: auto;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    color: var(--bg-color);
    cursor: pointer;
    letter-spacing: 0.2px;
}

.audio-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--accent-glow);
}

.secondary-link {
    color: var(--on-surface);
    opacity: 0.75;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 2px;
    transition: opacity 0.2s ease, border-color 0.2s ease;
  }
  
  .secondary-link:hover {
    opacity: 1;
    border-color: rgba(255,255,255,0.6);
  }


.hero {
    text-align: center;
    padding: calc(8rem + var(--header-height)) 0 8rem 0;
    position: relative;
    overflow: hidden;
}

  
.hero::before {
    content: "";
    position: absolute;
    inset: -200px;
    background:
        radial-gradient(600px 420px at 20% 20%, rgba(187, 134, 252, 0.18), transparent 60%),
        radial-gradient(520px 380px at 80% 30%, rgba(3, 218, 198, 0.14), transparent 60%),
        radial-gradient(700px 500px at 50% 80%, rgba(187, 134, 252, 0.10), transparent 65%);
    filter: blur(0px);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero p {
    color: rgba(224, 224, 224, 0.9);
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.hero-actions .audio-button {
    padding: 0.85rem 1.4rem;
    font-size: 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--on-surface);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.hero h1 span {
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* Mobile adjustments */
@media (max-width: 520px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero {
    padding: calc(5rem + var(--header-height)) 0 4.5rem 0;
  }

  .hero h1 {
    font-size: 3rem;     /* was 4.5rem */
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .hero p {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 32rem;
  }

  .hero-actions .audio-button {
    width: 100%;
    justify-content: center;
  }
}

/* --- Video Section --- */
.video-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: start;
  }
  
  .video-card {
    background: radial-gradient(
        120% 120% at 20% 0%,
        rgba(187, 134, 252, 0.12),
        transparent 60%
      ),
      var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  
  .video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(3, 218, 198, 0.45);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
  }
  
  .video {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #000;
    display: block;
  }
  
  .video-caption {
    margin-top: 0.9rem;
    font-weight: 600;
    color: var(--on-surface);
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.95;
  }
  
  .video-caption::before {
    content: "▶";
    color: var(--secondary-color);
    text-shadow: 0 0 12px var(--accent-glow);
  }
  @media (max-width: 980px) {
    .video-showcase {
      grid-template-columns: 1fr;
    }
  }

/* --- Cards (Pricing, Testimonials) --- */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.00)
      ),
      var(--surface-color);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  
  .card:hover {
    transform: translateY(-8px);
    border-color: rgba(187, 134, 252, 0.45);
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.55);
  }

.card.highlight {
    border-color: var(--secondary-color);
    box-shadow: 0 0 30px var(--accent-glow);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.pricing-card .price span {
    font-size: 1rem; 
    font-weight: 400;
    color: var(--on-bg);
}

.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.plan-badge {
  display: inline-block;
  margin: 0.5rem 0 1rem 0;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 12px var(--accent-glow);
}

.testimonial-card p.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
}

.testimonial-card p.author {
    text-align: right;
    font-weight: 600;
    color: var(--on-surface);
}

/* --- Video Testimonials --- */
.video-testimonials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin: 2.5rem 0 3.5rem 0;
  }
  
  .video-testimonial-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.00)
      ),
      var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  
  .video-testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(3, 218, 198, 0.45);
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.55);
  }
  
  .video-testimonial {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #000;
  }
  
  .video-testimonial-meta {
    margin-top: 1rem;
  }
  
  .video-testimonial-name {
    font-weight: 700;
    color: var(--on-surface);
    letter-spacing: 0.2px;
  }
  
  .video-testimonial-title {
    margin-top: 0.25rem;
    color: var(--primary-color);
    font-size: 0.95rem;
  }
  
  /* Keep your existing quote/author styles */
  .testimonial-card p.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
  }
  
  .testimonial-card p.author {
    text-align: right;
    font-weight: 600;
    color: var(--on-surface);
  }
  
  /* Optional: responsiveness */
  @media (max-width: 1100px) {
    .video-testimonials {
      grid-template-columns: 1fr;
    }
  }
/* --- New Syllabus/Curriculum Section --- */
.curriculum-timeline {
    max-width: 900px;
    margin: 2rem auto;
    position: relative;
    padding: 2rem 0;
}

.curriculum-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 4px;
    background-color: var(--surface-color);
    border-radius: 2px;
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 4rem;
}

.timeline-milestone {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-color);
    z-index: 2;
    box-shadow: 0 0 20px var(--accent-glow);
    border: 3px solid var(--bg-color);
}

.timeline-content {
    margin-left: 2rem;
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    flex-grow: 1;
    border: 1px solid var(--surface-color);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.timeline-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--on-bg);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.timeline-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- Curriculum timeline mobile polish --- */
@media (max-width: 720px) {
  .curriculum-timeline {
    padding: 1rem 0;
  }

  .curriculum-timeline::before {
    left: 18px;              /* was 40px */
  }

  .timeline-item {
    margin-bottom: 2.25rem;  /* was 4rem */
  }

  .timeline-milestone {
    width: 54px;             /* was 80px */
    height: 54px;
    font-size: 0.85rem;
    border-width: 2px;
  }

  .timeline-content {
    margin-left: 1rem;       /* was 2rem */
    padding: 1.25rem;        /* was 2rem */
    border-radius: 14px;
  }

  .timeline-content h3 {
    font-size: 1.35rem;      /* was 1.8rem */
    line-height: 1.25;
  }

  .timeline-content p {
    font-size: 1rem;
  }
}

/* Extra small phones */
@media (max-width: 420px) {
  .curriculum-timeline::before {
    left: 14px;
  }

  .timeline-milestone {
    width: 48px;
    height: 48px;
    font-size: 0.78rem;
  }

  .timeline-content {
    margin-left: 0.85rem;
    padding: 1.1rem;
  }
}
/* --- CTA & Footer --- */
.cta-section {
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('https://images.unsplash.com/photo-1555949963-ff98c8758635?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    border-radius: 20px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.cta-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #000;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px var(--accent-glow);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px var(--accent-glow);
}

footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--surface-color);
    margin-top: 4rem;
}
