@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --color-primary: #3E2723; /* Deep warm brown for buttons/accents */
  --color-primary-hover: #1B100E;
  --color-secondary: #5D4037; /* Warm brown for headings/sections */
  --color-text-main: #3E2723;
  --color-text-muted: #8D6E63;
  --color-bg-light: #FFFFFF; /* Pure White */
  --color-bg-alt: #FDF9F1; /* Soft Cream */
  --color-border: #EFEBE9;
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Typography Utility */
.text-center { text-align: center; }
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white !important;
  box-shadow: 0 4px 14px 0 rgba(62, 39, 35, 0.39);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 39, 35, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--color-secondary);
  background: white;
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md) 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 40px;
}
.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}
.nav-links a:not(.btn) {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-main);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--color-primary);
}

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
  flex-direction: column;
  gap: 5px;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5.5px);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5.5px);
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 120px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  /* Background image will be set inline */
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(62, 39, 35, 0.8) 0%, rgba(62, 39, 35, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: white;
}
.hero-content h1 {
  font-size: 4rem;
  color: white;
  margin-bottom: var(--spacing-md);
  letter-spacing: -1px;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
}

/* Stats Bar */
.stats-section {
  background-color: var(--color-bg-alt);
  color: var(--color-text-main);
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  text-align: center;
}
.stat-item h3 {
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 4px;
}
.stat-item p {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
}

/* Features/About Section */
.section {
  padding: var(--spacing-xxl) 0;
}
.bg-alt {
  background-color: var(--color-bg-alt);
}

/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}
.split-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}
.split-content p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-muted);
  font-size: 1.125rem;
}
.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.split-image:hover img {
  transform: scale(1.05);
}

/* Cards / Audience */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}
.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  height: 240px;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.card:hover .card-img img {
  transform: scale(1.1);
}
.card-content {
  padding: var(--spacing-lg);
}
.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}
.card-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Accordion (Why this course) */
.accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  background: white;
  overflow: hidden;
}
.accordion-header {
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-secondary);
  transition: background 0.2s;
}
.accordion-header:hover {
  background: var(--color-bg-alt);
}
.accordion-icon {
  color: var(--color-primary);
  font-size: 1.25rem;
  transition: transform 0.3s;
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}
.accordion-content {
  padding: 0 var(--spacing-lg);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  color: var(--color-text-muted);
}
.accordion-item.active .accordion-content {
  padding: var(--spacing-md) var(--spacing-lg);
  max-height: 300px; /* arbitrary max height for animation */
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}
.testimonial-card {
  background: var(--color-secondary);
  color: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 4rem;
  color: rgba(255,255,255,0.1);
  font-family: serif;
}
.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0;
}
.author-info p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin: 0;
}

/* Pricing / CTA */
.cta-section {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #3E2723 100%);
  color: white;
  text-align: center;
  padding: var(--spacing-xxl) 0;
  border-radius: var(--radius-lg);
  margin: var(--spacing-xl) auto;
  max-width: 1200px;
  box-shadow: var(--shadow-lg);
}
.cta-section h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}
.cta-section p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

/* Footer */
.footer {
  background-color: #3E2723;
  color: white;
  padding: var(--spacing-xxl) 0 var(--spacing-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}
.footer-col h4 {
  color: white;
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}
.footer-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
}
.footer-desc {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--spacing-md);
}
.social-links {
  display: flex;
  gap: 16px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.social-links a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}
.social-links img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* Video Section */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}
.video-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #1a1a1a;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-info {
  padding: var(--spacing-lg);
}
.video-info h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
}
.video-info p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Video Placeholder (Coming Soon) */
.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2c1810 0%, #3E2723 50%, #5D4037 100%);
}
.video-placeholder-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.video-placeholder-content i {
  font-size: 2.5rem;
  opacity: 0.6;
}
.video-placeholder-content p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
}

/* Inline CTA Banners */
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(93, 64, 55, 0.06) 0%, rgba(62, 39, 35, 0.1) 100%);
  border: 1px solid rgba(93, 64, 55, 0.12);
  border-left: 4px solid var(--color-primary);
}
.inline-cta p {
  font-size: 1.1rem;
  color: var(--color-text-main);
  margin: 0;
}
.inline-cta .btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.inline-cta .btn i {
  margin-right: 8px;
}

/* ==========================================
   Who is this course not for Section (Refined Editorial)
   ========================================== */
.not-for-section {
  background-color: var(--color-bg-alt);
  padding: var(--spacing-xxl) 0;
}
.not-for-card {
  max-width: 1040px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 35px -5px rgba(62, 39, 35, 0.06);
  padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
}
.not-for-header {
  max-width: 680px;
  margin: 0 auto var(--spacing-xl);
}
.not-for-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
}
.not-for-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.point-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FDF2F0;
  color: #B9382E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.point-text h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 3px;
  font-family: var(--font-heading);
}
.point-text p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}
.not-for-conclusion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding-top: var(--spacing-lg);
}
.conclusion-content h3 {
  font-size: 1.3rem;
  color: var(--color-secondary);
  margin-bottom: 4px;
}
.conclusion-content p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: 0;
}
.not-for-conclusion .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================
   Student Testimonials Section (Live Matching)
   ========================================== */
.student-reviews-section {
  background-color: var(--color-bg-alt);
  padding: var(--spacing-xxl) 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}
.review-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.12);
}
.review-photo-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f0ece9;
}
.review-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.review-card:hover .review-photo {
  transform: scale(1.05);
}
.review-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.review-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}
.review-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-main);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.review-meta {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: auto;
}
.review-author {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-secondary);
  margin-bottom: 6px;
}
.review-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  font-size: 1rem;
}

/* Discount & Free Lesson Offer Banner */
.discount-offer-banner {
  text-align: center;
  margin-top: var(--spacing-xxl);
  padding: var(--spacing-xl) var(--spacing-lg);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.discount-lead {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.discount-sub {
  font-size: 1.2rem;
  color: var(--color-text-main);
  margin-bottom: var(--spacing-lg);
}
.btn-free-lesson {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 44px;
  font-size: 1.25rem;
  font-weight: 700;
  color: white !important;
  background-color: #1565C0;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.35);
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-heading);
}
.btn-free-lesson:hover {
  background-color: #0D47A1;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(21, 101, 192, 0.45);
}

/* ==========================================
   Legal / Privacy Policy Page
   ========================================== */
.legal-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #3E2723 100%);
  text-align: center;
  color: white;
}
.legal-hero-content h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: var(--spacing-sm);
}
.legal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.75rem;
  color: white;
  backdrop-filter: blur(6px);
}
.legal-date {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.legal-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.legal-toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}
.legal-toc h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}
.legal-toc ol {
  padding-left: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}
.legal-toc ol li {
  color: var(--color-text-muted);
}
.legal-toc ol li a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.2s;
}
.legal-toc ol li a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.legal-section {
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
}
.legal-section:last-child {
  border-bottom: none;
}
.legal-section h2 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-secondary);
}
.legal-section h2 i {
  margin-right: 10px;
  color: var(--color-primary);
}
.legal-section h3 {
  font-size: 1.2rem;
  margin: var(--spacing-lg) 0 var(--spacing-sm);
  color: var(--color-secondary);
}
.legal-section p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}
.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-md);
}
.legal-section ul li {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}
.legal-section a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-section a:hover {
  color: var(--color-primary-hover);
}

.disclaimer-section {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.06) 0%, rgba(255, 87, 34, 0.06) 100%);
  border: 1px solid rgba(255, 152, 0, 0.2);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  border-bottom: none;
}
.disclaimer-section h2 {
  color: #E65100;
}
.disclaimer-section h2 i {
  color: #FF9800;
}

.contact-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-md);
}
.contact-card p {
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
}
.contact-card p:last-child {
  margin-bottom: 0;
}
.contact-card i {
  color: var(--color-primary);
  width: 24px;
  margin-right: 8px;
}

/* ==========================================
   Cookie Consent Banner (Floating Bottom)
   ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  width: calc(100% - 48px);
  max-width: 960px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(62, 39, 35, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -10px rgba(62, 39, 35, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
}
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
.cookie-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.cookie-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.cookie-text h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
}
.cookie-text p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}
.cookie-text a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 22px;
  font-size: 0.925rem;
  white-space: nowrap;
}
#cookie-decline {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}
#cookie-decline:hover {
  background: var(--color-bg-alt);
  color: var(--color-secondary);
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .cta-section h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  .split-layout .split-image {
    order: -1;
    max-height: 400px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content {
    max-width: 600px;
  }
  .cta-section {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation Drawer */
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 100px 2rem 2rem;
    gap: 0;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
    overflow-y: auto;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    font-size: 1.1rem;
  }
  .nav-links a:last-child {
    border-bottom: none;
    margin-top: var(--spacing-md);
  }
  .nav-links .btn {
    text-align: center;
    width: 100%;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  .stat-item h3 {
    font-size: 2rem;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* Videos */
  .video-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* Not For Section */
  .not-for-card {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  .not-for-list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .not-for-conclusion {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  .not-for-conclusion .btn {
    width: 100%;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* Discount banner */
  .discount-lead {
    font-size: 1.3rem;
  }
  .discount-sub {
    font-size: 1.05rem;
  }
  .btn-free-lesson {
    width: 100%;
    padding: 14px 24px;
    font-size: 1.1rem;
  }

  /* Cookie Banner Mobile */
  .cookie-banner {
    bottom: 16px;
    width: calc(100% - 24px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }
  .cookie-content {
    align-items: flex-start;
  }
  .cookie-actions {
    width: 100%;
    display: flex;
    gap: 8px;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }

  /* Inline CTA */
  .inline-cta {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-lg);
  }
  .inline-cta .btn {
    width: 100%;
  }

  /* Legal page */
  .legal-hero {
    padding: 120px 0 40px;
  }
  .legal-hero-content h1 {
    font-size: 2rem;
  }
  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero {
    padding: 120px 0 80px;
    min-height: 70vh;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Sections */
  .section {
    padding: var(--spacing-xl) 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }

  /* CTA */
  .cta-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--radius-md);
  }
  .cta-section h2 {
    font-size: 2rem;
  }
  .cta-section p {
    font-size: 1.1rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  .footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
  }

  /* Split layout images */
  .split-image {
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  .hero-content h1 {
    font-size: 1.85rem;
    letter-spacing: -0.5px;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
  }
  .stat-item h3 {
    font-size: 1.75rem;
  }
  .stat-item p {
    font-size: 0.75rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .cta-section h2 {
    font-size: 1.5rem;
  }
  .cta-section p {
    font-size: 1rem;
  }
  .card-img {
    height: 200px;
  }
  .accordion-header {
    padding: var(--spacing-md);
    font-size: 0.95rem;
  }
  .footer-logo {
    font-size: 1.25rem;
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  /* Curriculum list items on small screens */
  .split-content ul li h3 {
    font-size: 1.1rem !important;
  }
  .split-content ul li p {
    font-size: 0.9rem !important;
  }

  /* Legal page */
  .legal-section h2 {
    font-size: 1.4rem;
  }
  .disclaimer-section {
    padding: var(--spacing-lg);
  }
  .inline-cta {
    padding: var(--spacing-md);
  }
  .inline-cta p {
    font-size: 1rem;
  }
}
