:root {
  --primary: #6d28d9; /* Deep Purple */
  --primary-light: #8b5cf6;
  --secondary: #f9fafb; /* Light Grey background */
  --accent: #d1d5db; /* Greyish */
  --text-dark: #111827;
  --text-muted: #4b5563;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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


html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-text-size-adjust: 100%; /* Prevent font boosting in mobile browsers */
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
  word-wrap: break-word; /* Added for mobile robustness */
  overflow-wrap: break-word;
}



.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%; /* Ensure it fills width */
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem; /* Reduce padding on small devices */
  }
}


/* Top Banner */
.top-banner {
  background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
  color: #ffffff;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 101;
}

.top-banner strong {
  color: #fbbf24;
  font-weight: 800;
  background: rgba(251, 191, 36, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  margin: 0 6px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
}

.top-banner strong::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  animation: banner-shimmer 3s infinite;
}

@keyframes banner-shimmer {
  0% { left: -100%; }
  30% { left: 150%; }
  100% { left: 150%; }
}

.top-banner a {
  display: block;
  transition: all 0.3s ease;
}

.top-banner a:hover {
  opacity: 0.9;
}

.top-banner a:hover strong {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
}

@media (max-width: 480px) {
  .top-banner {
    font-size: 0.7rem;
    padding: 10px 10px;
    line-height: 1.4;
  }
  .top-banner strong {
    padding: 2px 6px;
    margin: 4px 2px;
    display: inline-block;
  }
}

/* Header */
header {
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  white-space: nowrap; /* Prevent awkward wrapping of shorter logos */
}

@media (max-width: 480px) {
  .logo {
    font-size: 1rem;
    white-space: normal; /* Allow wrapping on very small screens */
    line-height: 1.1;
    max-width: 70%; /* Give space to the login button */
  }
}


.logo span {
  color: var(--primary);
}

.btn-outline {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Soft glow for outline button */
  transition: all 0.3s ease;
  flex-shrink: 0; /* Prevent squashing on mobile */
}


.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.1);
}

/* Centered Hero Layout */
.hero-centered {
  padding: 80px 0;
  text-align: center;
}

.hero-main {
  max-width: 900px;
  margin: 0 auto;
}

.hero-thumb {
  width: 100%;
  max-width: 450px;
  margin: 2.5rem auto 3.5rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(109, 40, 217, 0.15);
  border: 4px solid #ffffff;
  outline: 1px solid rgba(109, 40, 217, 0.1);
}


.hero-thumb img {
  width: 100%;
  height: auto;
  display: block;
  background-color: #f3f4f6; /* Fallback while loading */
}


.hero-main h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-main h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 900;
}

.hero-main h1 small {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 10px;
}



.curriculum-accordion .section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.curriculum-accordion .section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}



/* Pricing Card */
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-buy {
  background: var(--primary);
  color: white;
  display: block;
  text-align: center;
  padding: 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.15); /* Light border stroke */
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.2); /* Outer glow */
}

.btn-buy::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 4s infinite linear;
}

.btn-buy:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(109, 40, 217, 0.35); /* Amplified glow on hover */
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--primary-light);
}

.card-features {
  list-style: none;
}

.card-features li {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}


/* What You Will Achieve Section */
.achieve-card {
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin: 60px 0;
}

.achieve-card h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.achieve-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.achieve-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.achieve-item span {
  color: var(--primary);
  font-weight: 900;
}

.curriculum-hub {
  margin-top: 80px;
}

.curriculum-hub .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.curriculum-hub .section-title h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.curriculum-hub .section-title p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hub-item {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 30px;
}

.hub-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 40px;
}

.play-circle {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.5); /* Glow Effect */
  transition: transform 0.3s ease;
}

.hub-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--primary);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.08); /* Glow displays by default */
  position: relative;
}

.hub-card:hover {
  box-shadow: 0 0 35px rgba(109, 40, 217, 0.18); /* Intensified Glow on hover */
  transform: translateY(-5px);
}

.card-header h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

@media (max-width: 850px) {
  .hero-centered {
    padding: 40px 0;
  }
  .hero-main h1 {
    font-size: 1.8rem;
  }
  .hero-main h1 small {
    font-size: 1rem;
  }
  .get-inside ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .get-inside li {
    padding: 1.5rem 1rem;
    height: 100%;
    font-size: 0.75rem;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
  .hub-item {
    gap: 1.5rem;
  }
  .hub-node {
    width: 30px;
  }
  .play-circle {
    width: 30px;
    height: 30px;
  }
  .hub-card {
    padding: 1.2rem;
  }
  .card-header h4 {
    font-size: 1rem;
  }
  .header-meta {
    gap: 0.8rem;
    font-size: 0.75rem;
  }
  .achieve-card {
    margin: 30px 0;
    padding: 30px 20px;
  }
  .bonus-section {
    padding: 20px 0;
  }
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.header-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.hub-card.active .card-content {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

.lesson-hub-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lesson-hub-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.lesson-hub-list li span {
  color: var(--primary);
  font-weight: bold;
}

/* Active State Enhancements */
.accordion-item.active {
  background: #fdfdfd;
}

.accordion-item.active .accordion-header h4 {
  color: var(--primary);
}

.hub-card {
  background: white;
  padding: 1.8rem 2.22rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  position: relative; /* Added for absolute positioning of the icon */
}

.accordion-icon {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  font-size: 1.8rem; /* Increased size as requested */
  color: var(--text-muted);
  transition: all 0.3s ease;
  line-height: 1;
}

.hub-card.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-item.active .accordion-content {
  padding-bottom: 2rem;
}

.lesson-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 1rem;
}

.lesson-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.lesson-list li:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(109, 40, 217, 0.05);
}

.lesson-list li span {
  font-size: 0.7rem;
  background: var(--primary);
  color: white;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: 0.8;
}

/* Reviews Refined */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.review-card {
  padding: 1.5rem;
  background: #fdfdfd;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.review-name {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 12px;
  font-size: 0.75rem;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 850px) {
  .hero-v2 {
    grid-template-columns: 1fr;
  }
}

/* --- ULTIMATE MARQUEE FIX --- */
.tools-section {
  padding: 80px 0;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  width: 100%;
}

.tools-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 3rem;
  letter-spacing: 2px;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  display: block;
}

/* Fading Edge Masks */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.tools-row.scroll {
  display: flex !important;
  width: max-content !important;
  animation: scroll 40s linear infinite; /* Slowed down slightly for better legibility */
  gap: 2rem;
  align-items: center;
  will-change: transform;
}

@media (max-width: 480px) {
  .tools-row.scroll {
    gap: 1rem;
  }
}



@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tool-item {
  background: #ffffff;
  padding: 1rem 1.6rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-width: 200px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.tool-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(109, 40, 217, 0.1);
}

.tool-item img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
}

.tool-item span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

@media (max-width: 850px) {
  .tools-section { padding: 40px 0; }
  .tool-item { padding: 0.8rem 1.2rem; min-width: 160px !important; }
  .tool-item img { width: 26px !important; height: 26px !important; }
}

/* Exclusive Bonus Section Styling */
.bonus-section {
  padding: 80px 0;
  text-align: center;
  background: #ffffff;
}

.bonus-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
  border-radius: 20px;
  padding: 50px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(109, 40, 217, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-card::before {
  content: "OFFICIAL PARTNER";
  position: absolute;
  top: 30px;
  right: -50px;
  background: #fbbf24;
  color: #1a1a1a;
  padding: 8px 60px;
  font-size: 0.75rem;
  font-weight: 900;
  transform: rotate(40deg);
  letter-spacing: 1px;
}

.bonus-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bonus-card h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.bonus-card h2 span {
  color: #fbbf24;
}

.bonus-value {
  font-size: 4rem;
  font-weight: 900;
  margin: 1.5rem 0;
  display: block;
  text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.bonus-card p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 850px) {
  .bonus-card {
    padding: 40px 20px;
    margin: 0 15px;
  }
  .bonus-card h2 { font-size: 1.5rem; }
  .bonus-value { font-size: 2.8rem; }
  .bonus-card p { font-size: 0.95rem; }
}

/* Tool Focus Guide */
.tool-guide {
  padding: 60px 0 20px;
  text-align: center;
}

.guide-box {
  max-width: 750px;
  margin: 0 auto;
  padding: 25px 30px;
  background: #fdfbff;
  border: 1px solid rgba(109, 40, 217, 0.15);
  border-radius: 12px;
}

.guide-box p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.guide-box strong {
  color: var(--primary);
}

/* Curriculum Hub Connector Line Animation */
.hub-line {
  position: absolute;
  top: 40px; /* Start below the play-circle */
  bottom: -30px; /* Extend into the next item */
  width: 2px;
  background: rgba(109, 40, 217, 0.1);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  overflow: hidden;
}

.hub-line::after {
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  animation: flowLine 3s infinite linear;
}

@keyframes flowLine {
  0% { top: -100px; }
  100% { top: 100%; }
}

/* Pause the line for the last item */
.hub-item:last-child .hub-line {
  display: none;
}

/* Disable the ribbon for premium cards with the .no-ribbon class */
.bonus-card.no-ribbon::before {
  display: none !important;
}

/* --- THREE-TIER PRICING GRID --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 980px;
    margin: 30px auto;
    width: 100%;
}


.price-card {
    background: #ffffff;
    border: 1.5px solid #d1d5db; /* High-definition light border */
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 40px rgba(109, 40, 217, 0.05); /* Glow and shadow effect */
    max-width: 320px;
    margin: 0 auto;
}
.price-card.featured {
    border: 2px solid var(--primary); /* Maintain strong focus for the middle plan */
    background: #fcfaff;
    transform: scale(1.05);
    box-shadow: 0 20px 80px rgba(109, 40, 217, 0.15); /* Stronger glow for featured */
    z-index: 5;
}

.mobile-sticky-footer {
    display: none; /* Hidden by default (Desktop) */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff; /* Solid fallback */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* Safari support */
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 1.5rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom)); /* Safe area support */
    z-index: 9999;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.08);
}


.footer-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-val {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 900;
}

.btn-footer-buy {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.2); /* Extra light border */
    box-shadow: 0 5px 25px rgba(109, 40, 217, 0.25); /* Subtle glow */
    transition: all 0.3s ease;
}

.btn-footer-buy:hover {
    box-shadow: 0 8px 35px rgba(109, 40, 217, 0.45);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-footer-buy:active {
    transform: scale(0.95);
}



@media (max-width: 850px) {
    .logo {
        font-size: 1.1rem;
    }
    
    .mobile-sticky-footer {
        display: flex;
    }
    

    
    .testimonials-track {
        flex-direction: column; /* Revert to vertical on mobile */
        align-items: center;
        gap: 2.5rem;
    }
    
    .feedback-img-card {
        max-width: 400px; /* Slightly larger on mobile for readability */
        margin: 0 auto;
    }
    
    /* Popup Mobile Refinement */
    .popup-content {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .popup-content h3 {
        font-size: 1.4rem;
    }
    
    .popup-content p {
        font-size: 0.95rem;
    }
    
    /* Ensure padding for bottom content so it doesn't get hidden under the footer */
    body {
        padding-bottom: 80px;
    }
}

/* Outcomes Hub Glow Section */
.outcomes-hub {
    padding: 80px 10%;
    background: #fff;
    border-radius: 30px;
    border: 2px solid rgba(109, 40, 217, 0.1);
    box-shadow: 0 0 50px rgba(109, 40, 217, 0.08);
    margin: 60px auto;
    max-width: 1100px;
}

.outcomes-hub .subtitle {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-align: center;
}

.outcomes-hub .main-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-align: center;
}

/* Pricing Header Section Styling */
.bottom-cta .section-title {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bottom-cta .section-title h2 {
    color: var(--primary); /* Elite Purple Framing */
    font-size: 2.2rem;
    font-weight: 950;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.bottom-cta .section-title p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
}

.price-card.featured .ribbon {
    position: absolute;
    top: 12px;
    right: -5px;
    background: var(--primary);
    color: white;
    padding: 3px 15px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.plan-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.plan-price sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.feature-list li {
    font-size: 1rem;
    padding: 10px 0;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li.strike {
    color: #ef4444; /* Bold professional red */
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    opacity: 0.8; /* Slightly more visible than before */
}

.feature-list li.strike::before {
    content: "✕";
    color: #ef4444;
    font-weight: 900;
}

.feature-list li::before {
    content: "✓";
    font-weight: 900;
    color: var(--primary);
}

.price-card .btn-buy {
    width: 100%;
}

/* Testimonials Section */
.testimonials-wrapper {
    padding: 100px 5%;
    background: #fff;
    text-align: center;
}

.testimonials-wrapper .subtitle {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.testimonials-wrapper .main-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.testimonials-container {
    padding: 2rem 0;
    width: 100%;
    position: relative;
    max-width: 1300px; /* Increased to ensure 3-up row fits comfortably */
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    flex-direction: row; /* Horizontal on desktop */
    justify-content: center;
    flex-wrap: nowrap; /* Force single line on desktop */
    gap: 2rem;
    width: 100%;
}

.testimonials-track:hover {
    animation-play-state: paused; /* Pause on hover for reading */
}

@keyframes scrollTestimonials {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 1rem));
    }
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: left;
    border: 1.5px solid rgba(109, 40, 217, 0.1); /* Light Stroke effect */
    border-top: 5px solid var(--primary);
    box-shadow: 0 15px 50px rgba(109, 40, 217, 0.1); /* Outer Glow effect */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    max-width: 380px; /* Slightly narrower for 3-up desktop row */
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.testimonial-stars {
    color: #fbbf24; /* Vibrant Gold Star color */
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 4rem;
    font-family: serif;
    color: var(--primary);
    opacity: 0.05;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(109, 40, 217, 0.1);
}

.student-info h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 3px;
    font-weight: 900;
    text-transform: uppercase;
}

.testimonial-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
    margin-top: 0.5rem;
    font-weight: 500;
}

.featured-testimonial {
    border-top: 5px solid #ff4d4d; /* Highlighting Vino differently */
    background: #fff;
}

.feedback-img-card {
    background: #ffffff;
    padding: 0.75rem;
    width: 100%;
    max-width: 380px; /* Match new max-width for desktop row */
    margin: 0; /* Center handling managed by flex parent */
    border-radius: 20px;
    border: 1px solid rgba(109, 40, 217, 0.1); /* Subtle elite purple border */
    box-shadow: 0 10px 40px rgba(109, 40, 217, 0.08); /* Refined depth shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feedback-img-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(109, 40, 217, 0.15);
    border-color: var(--primary);
}

.feedback-img-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px; /* Match card radius */
}

@media (max-width: 850px) {
    .testimonial-masonry {
        grid-template-columns: 1fr;
    }
    
    .testimonials-wrapper .main-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-body {
        font-size: 1rem;
    }
}

/* --- DELAYED PROMOTION POPUP --- */
.offer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(15px);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-content {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    max-width: 380px; /* Reduced from 450px */
    width: 85%;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 100px rgba(0,0,0,0.2);
    animation: popupFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 480px) {
    .popup-content {
        padding: 2rem 1.25rem;
        width: 92%;
    }
    .popup-content h3 {
        font-size: 1.4rem;
    }
    .popup-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}


@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-popup {
    position: absolute;
    top: 0.5rem;
    right: 0.8rem;
    background: white; /* Ensure visibility */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
}

.close-popup:hover {
    color: var(--primary);
    transform: rotate(90deg);
}


.popup-badge {
    background: #10b981;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.popup-content h3 {
    font-size: 1.8rem;
    font-weight: 950;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.popup-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
