/*
==============================================
MINIMAL FAQ SECTION - BUY ME A COFFEE STYLE
Professional, clean, and minimal design
Based on modern best practices
==============================================
*/

.faq-section {
  padding: 4rem 1.5rem;
  background: var(--bg-primary);
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.faq-section .section-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.faq-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.faq-section .section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
  max-width: 580px;
}

.faq-expand-all {
  display: none; /* Hidden for minimal design */
}

.faq-container {
  max-width: min(1100px, 92%);
  margin: 0 auto;
  padding: 0;
}

/* Clean FAQ List - Minimal spacing like Buy Me a Coffee */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem; /* 10px gap between items */
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}

/* FAQ Item - Minimal card with subtle background */
.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: rgba(var(--accent-primary-rgb), 0.2);
}

.faq-item.active {
  border-color: rgba(var(--accent-primary-rgb), 0.25);
  box-shadow: 0 2px 8px rgba(var(--accent-primary-rgb), 0.08);
}

/* Question - Clean and minimal */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 0.2s ease;
  gap: 1.5rem;
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-item.active .faq-question {
  padding-bottom: 0.25rem;
}

.faq-question-text {
  flex: 1;
}

/* Simple Chevron Icon - Exactly like Buy Me a Coffee */
.faq-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  opacity: 0.6;
}

.faq-icon::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: all 0.25s ease;
}

.faq-question:hover .faq-icon {
  opacity: 1;
  color: var(--accent-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(-180deg);
  opacity: 1;
  color: var(--accent-primary);
}

/* Answer - Smooth and minimal */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  margin: 0;
  padding: 0 1rem 0.625rem 1rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 400;
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

/* FAQ Footer - Better separation from CTA */
.faq-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3.5rem;
  padding: 2rem 1.5rem;
  background: rgba(var(--accent-primary-rgb), 0.04);
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.12);
  text-align: center;
}

.faq-footer p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-footer .btn-sm {
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  border-radius: 8px;
  font-weight: 600;
}

.faq-footer .btn i {
  margin-right: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 1rem;
  }

  .faq-section .section-title {
    font-size: 1.75rem;
  }

  .faq-section .section-subtitle {
    font-size: 0.9375rem;
  }

  .faq-section .section-header {
    margin-bottom: 2rem;
  }

  .faq-list {
    gap: 0.5rem;
  }

  .faq-question {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    gap: 1rem;
  }

  .faq-item.active .faq-question {
    padding-bottom: 0.25rem;
  }

  .faq-answer p {
    font-size: 0.8125rem;
    padding: 0 1rem 0.625rem 1rem;
  }

  .faq-footer {
    margin-top: 3rem;
    padding: 1.75rem 1.25rem;
  }

  .faq-footer p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-container {
    padding: 0 0.5rem;
  }

  .faq-list {
    gap: 0.375rem;
  }

  .faq-question {
    font-size: 0.8125rem;
    padding: 0.5rem 0.875rem;
  }

  .faq-item.active .faq-question {
    padding-bottom: 0.25rem;
  }

  .faq-answer p {
    font-size: 0.75rem;
    padding: 0 0.875rem 0.5rem 0.875rem;
  }

  .faq-icon {
    width: 14px;
    height: 14px;
  }

  .faq-icon::before {
    width: 6px;
    height: 6px;
  }
}

/* Light Mode - Matching the reference image */
body.light-mode .faq-section {
  background: #fafafa;
}

body.light-mode .faq-list {
  background: transparent;
}

body.light-mode .faq-item {
  background: #f5f5f5;
  border-color: #e8e8e8;
}

body.light-mode .faq-item:hover {
  background: #efefef;
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-mode .faq-item.active {
  background: rgba(var(--accent-primary-rgb), 0.06);
  border-color: rgba(var(--accent-primary-rgb), 0.3);
}

body.light-mode .faq-footer {
  background: rgba(var(--accent-primary-rgb), 0.06);
  border-color: rgba(var(--accent-primary-rgb), 0.2);
}

/*
==============================================
SECTION 2: MEET OUR COACHES
==============================================
*/

.chess-journey-section {
  padding: 6rem 2rem;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Subtle chess pattern background */
.chess-journey-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 10% 20%,
      rgba(var(--accent-primary-rgb), 0.02) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(var(--accent-primary-rgb), 0.015) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.journey-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ========================================
   PROLOGUE (Opening Philosophy)
======================================== */

.journey-prologue {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.prologue-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 2rem;
  background: linear-gradient(
    135deg,
    rgba(var(--accent-primary-rgb), 0.1) 0%,
    rgba(var(--accent-primary-rgb), 0.05) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(var(--accent-primary-rgb), 0.2);
}

.prologue-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent-primary);
  stroke-width: 2;
}

.prologue-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.prologue-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   JOURNEY PATH (Visual Timeline)
======================================== */

/* ========================================
   JOURNEY PATH - CLEAN TIMELINE DESIGN
   Elegant vertical flow without cluttering dots
======================================== */

.journey-path {
  position: relative;
  padding: 3rem 0;
}

/* Central Timeline Line - Subtle & Elegant */
.journey-path::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5%;
  bottom: 5%;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(var(--accent-primary-rgb), 0.1) 5%,
    rgba(var(--accent-primary-rgb), 0.25) 25%,
    rgba(var(--accent-primary-rgb), 0.35) 50%,
    rgba(var(--accent-primary-rgb), 0.25) 75%,
    rgba(var(--accent-primary-rgb), 0.1) 95%,
    transparent 100%
  );
  transform: translateX(-50%);
  border-radius: 1px;
  pointer-events: none;
}

/* Optional: Animated gradient flow (remove if too distracting) */
@keyframes timeline-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.journey-path::before {
  animation: timeline-pulse 4s ease-in-out infinite;
}

/* ========================================
   JOURNEY STEP - Individual Coach Cards
======================================== */

.journey-step {
  position: relative;
  margin-bottom: 5rem;
}

.journey-step:last-of-type {
  margin-bottom: 2rem;
}

/* Card Container with Timeline Connection */
.step-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Subtle shadow connects card to timeline */
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.05),
    -2px 0 0 0 rgba(var(--accent-primary-rgb), 0.1) inset; /* Left edge glow */
}

.step-content:hover {
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.1),
    -3px 0 0 0 rgba(var(--accent-primary-rgb), 0.3) inset;
  transform: translateY(-4px);
}

/* Connection Line from Timeline to Card - Horizontal Branch */
.step-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -60px; /* Extend from card to timeline */
  width: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(var(--accent-primary-rgb), 0.3) 0%,
    rgba(var(--accent-primary-rgb), 0.15) 50%,
    rgba(var(--accent-primary-rgb), 0.05) 100%
  );
  transform: translateY(-50%);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.step-content:hover::before {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-primary-rgb), 0.5) 0%,
    rgba(var(--accent-primary-rgb), 0.3) 50%,
    rgba(var(--accent-primary-rgb), 0.1) 100%
  );
  left: -65px;
  width: 65px;
}

/* Reverse Branch for Student Card (Right Side) */
.step-content-reverse::before {
  left: auto;
  right: -60px;
  background: linear-gradient(
    270deg,
    /* Flip gradient direction */ rgba(var(--accent-primary-rgb), 0.3) 0%,
    rgba(var(--accent-primary-rgb), 0.15) 50%,
    rgba(var(--accent-primary-rgb), 0.05) 100%
  );
}

.step-content-reverse:hover::before {
  background: linear-gradient(
    270deg,
    rgba(var(--accent-primary-rgb), 0.5) 0%,
    rgba(var(--accent-primary-rgb), 0.3) 50%,
    rgba(var(--accent-primary-rgb), 0.1) 100%
  );
  right: -65px;
  left: auto;
  width: 65px;
}

/* ========================================
   JOURNEY TRANSITION - Special Styling
   (Between the two coaches)
======================================== */

.journey-transition {
  position: relative;
  z-index: 10;
  padding: 3rem 2rem;
  margin: 2rem 0;
}

/* Timeline becomes thicker and glows at transition point */
.journey-transition::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-primary-rgb), 0.2) 0%,
    rgba(var(--accent-primary-rgb), 0.5) 50%,
    rgba(var(--accent-primary-rgb), 0.2) 100%
  );
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.3);
}

/* ========================================
   RESPONSIVE - Mobile Adjustments
======================================== */

@media (max-width: 1024px) {
  /* Hide timeline on tablet/mobile */
  .journey-path::before {
    display: none;
  }

  /* Hide branch connections */
  .step-content::before,
  .step-content-reverse::before {
    display: none;
  }

  /* Stack cards vertically */
  .step-content,
  .step-content-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Remove inset shadow since no timeline */
  .step-content {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  .step-content:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  }

  /* Simplify transition */
  .journey-transition::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .journey-path {
    padding: 2rem 0;
  }

  .journey-step {
    margin-bottom: 3rem;
  }

  .step-content {
    padding: 2rem 1.5rem;
  }
}

/* ========================================
   ACCESSIBILITY - Reduced Motion
======================================== */

@media (prefers-reduced-motion: reduce) {
  .journey-path::before {
    animation: none;
  }

  .step-content:hover {
    transform: none;
  }

  .step-content::before,
  .step-content-reverse::before {
    transition: none;
  }
}

/* ========================================
   LIGHT MODE ADJUSTMENTS
======================================== */

body.light-mode .journey-path::before {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(var(--accent-primary-rgb), 0.15) 5%,
    rgba(var(--accent-primary-rgb), 0.3) 25%,
    rgba(var(--accent-primary-rgb), 0.4) 50%,
    rgba(var(--accent-primary-rgb), 0.3) 75%,
    rgba(var(--accent-primary-rgb), 0.15) 95%,
    transparent 100%
  );
}

body.light-mode .step-content {
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    -2px 0 0 0 rgba(var(--accent-primary-rgb), 0.15) inset;
}

body.light-mode .step-content:hover {
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    -3px 0 0 0 rgba(var(--accent-primary-rgb), 0.4) inset;
}

/* ========================================
   MENTOR INTRO (Photo Side)
======================================== */

.mentor-intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mentor-photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 320px;
}

.mentor-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.step-content:hover .mentor-photo-frame img {
  transform: scale(1.05);
}

/* Accent border effect */
.photo-accent-border {
  position: absolute;
  inset: -4px;
  border: 3px solid var(--accent-primary);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.step-content:hover .photo-accent-border {
  opacity: 0.6;
}

.photo-accent-student {
  border-color: #3b82f6; /* Blue for student */
}

/* ========================================
   MENTOR IDENTITY
======================================== */

.mentor-identity {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.name-badge {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mentor-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.mentor-title {
  font-size: 0.9375rem;
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.credentials-subtle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.credential-tag {
  padding: 0.375rem 0.875rem;
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--accent-primary);
  font-weight: 500;
}

.credential-tag-student {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

/* ========================================
   MENTOR STORY (Text Side)
======================================== */

.mentor-story {
  position: relative;
}

.story-quote-mark {
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--accent-primary);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

.story-quote-student {
  color: #3b82f6;
}

.story-content {
  position: relative;
  z-index: 1;
}

.story-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.story-paragraph {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 1.25rem 0;
}

.story-paragraph strong {
  color: var(--text-primary);
  font-weight: 600;
}

.story-paragraph em {
  color: var(--accent-primary);
  font-style: normal;
  font-weight: 600;
}

/* ========================================
   PHILOSOPHY BOX
======================================== */

.philosophy-box {
  background: linear-gradient(
    135deg,
    rgba(var(--accent-primary-rgb), 0.05) 0%,
    rgba(var(--accent-primary-rgb), 0.02) 100%
  );
  border-left: 3px solid var(--accent-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: start;
}

.philosophy-box-student {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05) 0%,
    rgba(59, 130, 246, 0.02) 100%
  );
  border-left-color: #3b82f6;
}

.philosophy-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.philosophy-box-student .philosophy-icon {
  color: #3b82f6;
}

.philosophy-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.philosophy-text strong {
  color: var(--accent-primary);
  font-weight: 700;
}

.philosophy-box-student .philosophy-text strong {
  color: #3b82f6;
}

/* ========================================
   FOCUS AREAS
======================================== */

.focus-areas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.focus-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.focus-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.journey-step-student .focus-item svg {
  color: #3b82f6;
}

/* ========================================
   JOURNEY TRANSITION (Between Coaches)
======================================== */

.journey-transition {
  text-align: center;
  padding: 3rem 0;
  position: relative;
  z-index: 5;
}

.transition-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.transition-icon-wrapper::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(var(--accent-primary-rgb), 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.transition-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-primary);
  stroke-width: 2;
}

.transition-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   EPILOGUE (Closing CTA)
======================================== */

.journey-epilogue {
  margin-top: 5rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(var(--accent-primary-rgb), 0.05) 0%,
    rgba(var(--accent-primary-rgb), 0.02) 50%,
    rgba(var(--accent-primary-rgb), 0.05) 100%
  );
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  border-radius: 20px;
  padding: 3rem 2rem;
}

.epilogue-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.epilogue-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.epilogue-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-journey-primary,
.btn-journey-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-journey-primary {
  background: var(--accent-primary);
  color: var(--bg-primary);
  border: 2px solid var(--accent-primary);
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.3);
}

.btn-journey-primary:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-primary-rgb), 0.4);
}

.btn-journey-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-secondary);
}

.btn-journey-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(var(--accent-primary-rgb), 0.05);
  transform: translateY(-2px);
}

.btn-journey-primary svg,
.btn-journey-secondary svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.epilogue-reassurance {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-style: italic;
}

.epilogue-reassurance svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
  stroke-width: 2;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1024px) {
  .step-content,
  .step-content-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mentor-photo-frame {
    max-width: 280px;
    margin: 0 auto;
  }

  .journey-path::before {
    display: none; /* Remove center line on mobile */
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .chess-journey-section {
    padding: 4rem 1.5rem;
  }

  .step-content {
    padding: 2rem 1.5rem;
  }

  .prologue-title {
    font-size: 2rem;
  }

  .prologue-text {
    font-size: 1rem;
  }

  .story-heading {
    font-size: 1.25rem;
  }

  .epilogue-cta {
    flex-direction: column;
  }

  .btn-journey-primary,
  .btn-journey-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ========================================
   ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .step-content:hover {
    transform: none;
  }
}

/*
==============================================
SECTION 3: UPCOMING EVENTS/TOURNAMENTS
==============================================
*/

.events-section {
  padding: 4rem 1.5rem;
  max-width: 1400px; /* ✅ ADD THIS - Contains card width */
  margin: 0 auto; /* ✅ ADD THIS - Centers section */
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 32px; /* ✅ CHANGED from 24px - better spacing */
  margin-top: 48px;
  max-width: 1200px; /* ✅ ADD THIS - Limits card width */
  margin-left: auto; /* ✅ ADD THIS */
  margin-right: auto; /* ✅ ADD THIS */
}

/* ============================================
   EVENT CARD - FIXED LAYOUT
   ============================================ */

.event-card {
  display: grid;
  grid-template-columns: 120px 1fr; /* ✅ CHANGED from 100px - bigger date */
  gap: 40px; /* ✅ CHANGED from 32px - better spacing */
  align-items: start;
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: 20px; /* ✅ CHANGED from 16px - smoother corners */
  padding: 32px; /* ✅ CHANGED from 24px - more breathing room */
  transition: all 0.3s ease;
}

.event-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15); /* ✅ Enhanced shadow */
  transform: translateY(-6px); /* ✅ CHANGED from -4px */
}

/* ============================================
   DATE BADGE - BIGGER & BETTER
   ============================================ */

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px; /* ✅ CHANGED from 100px */
  height: 120px; /* ✅ CHANGED from 100px */
  background: var(--gradient-accent);
  border-radius: 16px; /* ✅ CHANGED from 12px */
  color: var(--bg-primary);
  text-align: center;
  box-shadow: 0 6px 20px rgba(var(--accent-primary-rgb), 0.3); /* ✅ ADD THIS */
  transition: all 0.3s ease;
}

.event-card:hover .event-date-badge {
  transform: scale(1.05); /* ✅ ADD THIS */
  box-shadow: 0 8px 24px rgba(var(--accent-primary-rgb), 0.4); /* ✅ ADD THIS */
}

.event-month {
  font-size: 15px; /* ✅ CHANGED from 14px */
  font-weight: 700; /* ✅ CHANGED from 600 */
  text-transform: uppercase;
  opacity: 0.85; /* ✅ CHANGED from 0.8 */
  letter-spacing: 0.1em;
}

.event-day {
  font-size: 48px; /* ✅ CHANGED from 36px - much bigger */
  font-weight: 800; /* ✅ CHANGED from 700 */
  line-height: 1;
  margin-top: 4px;
}

/* ============================================
   CONTENT AREA - BETTER STRUCTURE
   ============================================ */

.event-content {
  display: flex;
  flex-direction: column;
  gap: 16px; /* ✅ ADD THIS - consistent spacing */
}

.event-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 0; /* ✅ CHANGED from 8px */
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.event-type-badge,
.event-level {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px; /* ✅ CHANGED from 4px 10px */
  border-radius: 50px;
  transition: all 0.3s ease;
}

.event-type-badge {
  background: var(--accent-primary);
  color: var(--bg-primary);
  box-shadow: 0 2px 8px rgba(var(--accent-primary-rgb), 0.25); /* ✅ ADD THIS */
}

.event-level {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-secondary);
}

.event-title {
  font-size: 28px; /* ✅ CHANGED from 24px - bigger title */
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.event-description {
  font-size: 16px; /* ✅ CHANGED from 15px */
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   EVENT DETAILS - FIXED GRID
   ============================================ */

.event-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ CHANGED - 2 columns max */
  gap: 16px; /* ✅ CHANGED from 12px */
  margin: 0;
  padding: 20px; /* ✅ CHANGED from 16px */
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid var(--border-secondary);
}

.event-detail {
  display: flex; /* ✅ CHANGED from inline-flex */
  align-items: center;
  gap: 10px; /* ✅ CHANGED from 8px */
  font-size: 15px; /* ✅ CHANGED from 14px */
  color: var(--text-secondary);
  padding: 0;
}

/* Emoji styling */
.event-detail::first-letter {
  font-size: 18px; /* ✅ Makes emojis slightly bigger */
}

/* ============================================
   BUTTONS - CENTERED!
   ============================================ */

.event-actions {
  display: flex;
  justify-content: center; /* ✅ ADD THIS - CENTERS BUTTONS */
  gap: 16px; /* ✅ CHANGED from 12px */
  margin-top: 0; /* ✅ CHANGED from 20px */
  padding-top: 8px; /* ✅ ADD THIS */
}

.event-actions .btn {
  height: 52px; /* ✅ CHANGED from 48px - taller buttons */
  padding: 0 32px; /* ✅ ADD THIS - wider buttons */
  font-size: 16px; /* ✅ ADD THIS */
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.event-actions .btn-primary {
  min-width: 180px; /* ✅ ADD THIS */
}

.event-actions .btn-secondary {
  min-width: 160px; /* ✅ ADD THIS */
}

/* ============================================
   SECTION FOOTER - CENTERED
   ============================================ */

.section-footer {
  margin-top: 56px; /* ✅ CHANGED from 48px */
  text-align: center;
}

.section-footer .btn {
  min-width: 220px; /* ✅ ADD THIS */
  height: 56px; /* ✅ ADD THIS */
  font-size: 17px; /* ✅ ADD THIS */
  font-weight: 600;
  border-radius: 12px;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
  .events-section {
    padding: 3rem 1rem;
  }

  .events-list {
    gap: 24px;
    max-width: 100%; /* ✅ Full width on mobile */
  }

  .event-card {
    grid-template-columns: 1fr; /* ✅ Stack layout */
    gap: 24px;
    padding: 24px;
  }

  .event-date-badge {
    width: 100px; /* ✅ Smaller on mobile */
    height: 100px;
    margin: 0 auto; /* ✅ Center it */
  }

  .event-day {
    font-size: 40px; /* ✅ Smaller on mobile */
  }

  .event-title {
    font-size: 22px; /* ✅ Smaller on mobile */
    text-align: center;
  }

  .event-description {
    font-size: 15px;
    text-align: center;
  }

  .event-meta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .event-details {
    grid-template-columns: 1fr; /* ✅ Single column on mobile */
    text-align: center;
  }

  .event-detail {
    justify-content: center; /* ✅ Center on mobile */
  }

  .event-actions {
    flex-direction: column; /* ✅ Stack buttons on mobile */
    gap: 12px;
  }

  .event-actions .btn {
    width: 100%; /* ✅ Full width buttons on mobile */
  }
}

/* ============================================
   TABLET - MEDIUM SCREENS
   ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
  .events-list {
    max-width: 900px; /* ✅ Narrower on tablets */
  }

  .event-card {
    grid-template-columns: 110px 1fr;
    gap: 32px;
  }

  .event-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*
==============================================
SECTION 4: SUCCESS STORIES
==============================================
*/
.success-stories-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(320px, 1fr)
  ); /* ✅ Was 350px */
  gap: 32px;
  margin-top: 48px;
}

.success-story-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.success-story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-primary);
  border-color: var(--accent-primary);
}

.success-story-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.success-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.success-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(34, 197, 94, 0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
}

.success-story-content {
  padding: 24px;
}

.student-info .student-name {
  font-size: 24px; /* Was 22px - STANDARDIZE */
  font-weight: 700; /* ADD THIS */
  margin: 0;
  color: var(--text-primary);
  line-height: 1.3; /* ADD THIS */
}
.student-info .student-course {
  font-size: 14px;
  color: var(--text-secondary);
}

.success-metrics {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 20px 0;
  padding: 16px;
  background: var(--bg-tertiary);
  border-radius: 12px;
}

.metric {
  text-align: center;
}

.metric-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.metric-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-primary);
}

.metric-arrow {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-primary);
}

.success-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.achievement-tag {
  padding: 6px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-secondary);
  color: var(--text-primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
}

.success-quote {
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 3px solid var(--accent-primary);
  padding-left: 16px;
  margin: 20px 0 8px;
}

.quote-author {
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  font-size: 14px;
}

/*
==============================================
SECTION 5: FREE RESOURCES / LEAD MAGNET
==============================================
*/
.lead-magnet-section {
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
}

.lead-magnet-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.lead-magnet-content .eyebrow {
  margin-bottom: 16px;
}

.lead-magnet-headline {
  font-size: 36px;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.lead-magnet-subtext {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
}

.lead-magnet-benefits {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.lead-magnet-benefits li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.lead-magnet-benefits strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}
.lead-magnet-benefits p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
}

.lead-magnet-form-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 16px; /* Was 20px - STANDARDIZE WITH OTHER CARDS */
  padding: 32px;
  box-shadow: var(--shadow-accent);
}

@media (min-width: 768px) {
  .lead-magnet-form-card {
    padding: 40px;
  }
}

.lead-magnet-form-card h3 {
  text-align: center;
  color: var(--text-primary);
  font-size: 24px;
}
.lead-magnet-form-card > p {
  text-align: center;
  color: var(--text-secondary);
  margin-top: -8px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-secondary);
  border-radius: 8px;
  font-size: 16px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.1);
}

.btn-full-width {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  height: auto;
  padding: 14px 24px;
  font-size: 16px;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

.trust-badges {
  display: flex;
  justify-content: space-around;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-secondary);
  font-size: 14px;
  color: var(--text-secondary);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.social-proof-avatars {
  display: flex;
}

.social-proof-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -12px;
}

.social-proof-avatars img:first-child {
  margin-left: 0;
}
.social-proof p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 992px) {
  .lead-magnet-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/*
==============================================
SECTION 6: BLOG/NEWS PREVIEW
==============================================
*/

/* ============================================
   BLOG PREVIEW SECTION - Enhanced Design
   Production-ready with rich content structure
   ============================================ */

.blog-preview-section {
  padding: var(--section-padding, 6rem 0);
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Decorative background element */
.blog-preview-section::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 45%;
  height: 70%;
  background: radial-gradient(
    circle,
    var(--accent-primary) 0%,
    transparent 70%
  );
  opacity: 0.025;
  pointer-events: none;
  animation: float-decoration 25s ease-in-out infinite;
}

@keyframes float-decoration {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 30px) scale(1.1);
  }
}

/* ============================================
   SECTION HEADER - Enhanced Layout
   ============================================ */

.section-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.section-header-content {
  flex: 1;
  min-width: 300px;
}

.section-eyebrow {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(var(--accent-primary-rgb), 0.15),
    rgba(var(--accent-secondary-rgb), 0.15)
  );
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2rem;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  margin-bottom: 1rem;
}

.blog-preview-section .section-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.blog-preview-section .section-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  max-width: 650px;
}

/* View All Button */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: 2px solid var(--border-secondary);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-view-all:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--accent-primary-rgb), 0.2);
}

.btn-view-all .btn-icon {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
}

.btn-view-all:hover .btn-icon {
  transform: translateX(4px);
}

/* ============================================
   BLOG POSTS GRID
   ============================================ */

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin: 0;
}

/* ============================================
   BLOG CARD - Enhanced Design
   ============================================ */

.blog-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(var(--accent-primary-rgb), 0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* ============================================
   GRADIENT HEADER - Enhanced with Patterns
   ============================================ */

.blog-card-header {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Geometric pattern overlay */
.header-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.header-pattern::before,
.header-pattern::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15),
    transparent 70%
  );
}

.header-pattern::before {
  top: -40%;
  right: -15%;
  width: 220px;
  height: 220px;
}

.header-pattern::after {
  bottom: -35%;
  left: -10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1),
    transparent 70%
  );
}

.header-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Category-specific gradients */
.gradient-chess-tips {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.gradient-tournaments {
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-hover) 100%);
}

.gradient-student-stories {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #ea580c 100%);
}

/* ============================================
   CATEGORY BADGE
   ============================================ */

.blog-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(31, 41, 55, 0.95);
  align-self: flex-start;
  transition: all 0.25s ease;
}

.blog-card:hover .blog-category {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-icon {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 2.5;
}

/* ============================================
   TOP META (Read Time + Difficulty)
   ============================================ */

.blog-meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.875rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(31, 41, 55, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.meta-icon {
  width: 0.9375rem;
  height: 0.9375rem;
  stroke-width: 2;
  opacity: 0.8;
}

/* Difficulty Badges */
.difficulty-badge {
  padding: 0.4rem 0.875rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.difficulty-badge.beginner {
  background: rgba(16, 185, 129, 0.25);
  color: rgba(6, 78, 59, 1);
  border-color: rgba(16, 185, 129, 0.4);
}

.difficulty-badge.intermediate {
  background: rgba(59, 130, 246, 0.25);
  color: rgba(30, 58, 138, 1);
  border-color: rgba(59, 130, 246, 0.4);
}

.difficulty-badge.all-levels {
  background: rgba(139, 92, 246, 0.25);
  color: rgba(76, 29, 149, 1);
  border-color: rgba(139, 92, 246, 0.4);
}

/* ============================================
   CARD CONTENT
   ============================================ */

.blog-card-content {
  padding: 2rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

/* Title */
.blog-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--accent-primary);
}

/* ============================================
   TAGS - Following Best Practices
   3-4 tags per post for discoverability
   ============================================ */

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: transparent;
  border: 1px solid var(--border-secondary);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  cursor: default;
}

.blog-card:hover .tag {
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  background: rgba(var(--accent-primary-rgb), 0.05);
  color: var(--accent-primary);
}

/* ============================================
   EXCERPT - Enhanced Length (2-3 sentences)
   ============================================ */

.blog-card-excerpt {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

/* ============================================
   CARD FOOTER - Author + Date
   ============================================ */

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-secondary);
  flex-wrap: wrap;
}

/* Author Info */
.blog-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(var(--accent-primary-rgb), 0.15),
    rgba(var(--accent-secondary-rgb), 0.15)
  );
  border: 2px solid var(--border-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.blog-card:hover .author-avatar {
  border-color: var(--accent-primary);
  background: linear-gradient(
    135deg,
    rgba(var(--accent-primary-rgb), 0.25),
    rgba(var(--accent-secondary-rgb), 0.25)
  );
}

.avatar-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-primary);
  stroke-width: 2;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.author-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.author-role {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Date Meta */
.blog-meta-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-date {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.date-icon {
  width: 0.9375rem;
  height: 0.9375rem;
  stroke-width: 2;
}

/* ============================================
   CTA BUTTON - Enhanced Animation
   ============================================ */

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-cta {
  background: var(--accent-primary);
  color: #1f2937;
  border-color: var(--accent-primary);
  gap: 0.875rem;
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.3);
}

.cta-arrow {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 2.5;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .cta-arrow {
  transform: translateX(4px);
}

/* ============================================
   NEWSLETTER CTA (Section Footer)
   ============================================ */

.blog-section-footer {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-secondary);
}

.newsletter-cta-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(var(--accent-primary-rgb), 0.08) 0%,
    rgba(var(--accent-secondary-rgb), 0.08) 100%
  );
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  border-radius: 16px;
  flex-wrap: wrap;
}

.newsletter-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  color: #1f2937;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(var(--accent-primary-rgb), 0.25);
}

.newsletter-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 2;
}

.newsletter-content {
  flex: 1;
  min-width: 250px;
}

.newsletter-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.newsletter-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.btn-newsletter {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.25);
  white-space: nowrap;
}

.btn-newsletter:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--accent-primary-rgb), 0.35);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
  .blog-posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .blog-preview-section {
    padding: 4rem 0;
  }

  .section-header-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .btn-view-all {
    width: 100%;
    justify-content: center;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-card-header {
    padding: 1.5rem 1.25rem 1.25rem;
    min-height: 140px;
  }

  .blog-card-content {
    padding: 1.75rem 1.25rem 1.25rem;
  }

  .blog-card-title {
    font-size: 1.25rem;
  }

  .blog-card-excerpt {
    font-size: 0.875rem;
  }

  .blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-cta-card {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .newsletter-content {
    text-align: center;
  }

  .btn-newsletter {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .blog-preview-section .section-title {
    font-size: 1.75rem;
  }

  .blog-preview-section .section-subtitle {
    font-size: 1rem;
  }

  .blog-card-header {
    padding: 1.25rem 1rem 1rem;
  }

  .blog-card-content {
    padding: 1.5rem 1rem 1rem;
    gap: 1rem;
  }

  .blog-tags {
    gap: 0.375rem;
  }

  .tag {
    font-size: 0.75rem;
    padding: 0.3125rem 0.75rem;
  }

  .author-avatar {
    width: 2.25rem;
    height: 2.25rem;
  }

  .newsletter-title {
    font-size: 1.125rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card-cta,
  .cta-arrow,
  .blog-category,
  .btn-view-all,
  .btn-newsletter,
  .author-avatar,
  .blog-preview-section::before {
    transition: none;
    animation: none;
  }
}

.blog-card-link:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 4px;
  border-radius: 18px;
}

.btn-view-all:focus-visible,
.btn-newsletter:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 2px;
}

/* ============================================
   THEME SUPPORT
   ============================================ */

body.light-mode .blog-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-mode .blog-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

body.light-mode .difficulty-badge.beginner {
  background: rgba(16, 185, 129, 0.2);
  color: rgb(6, 78, 59);
}

body.light-mode .difficulty-badge.intermediate {
  background: rgba(59, 130, 246, 0.2);
  color: rgb(30, 58, 138);
}

body.light-mode .difficulty-badge.all-levels {
  background: rgba(139, 92, 246, 0.2);
  color: rgb(76, 29, 149);
}

/*
==============================================
SECTION 7: TRUST SIGNALS / AFFILIATIONS
==============================================
*/
.trust-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 48px;
  margin-top: 48px;
  align-items: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.trust-logo-item {
  text-align: center;
  opacity: 0.7;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.trust-logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.trust-logo-item img {
  height: 60px;
  width: auto;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.3s ease;
  margin-bottom: 12px;
}
body.light-mode .trust-logo-item img {
  filter: grayscale(100%) brightness(0.2);
}

.trust-logo-item:hover img {
  filter: grayscale(0%) brightness(1);
}

.trust-logo-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .trust-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .trust-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*
==============================================
SECTION 8: PRICING COMPARISON TABLE
==============================================
*/

/* ============================================
   PROFESSIONAL PRICING SECTION
   Modern, minimal, clean design
   ============================================ */

.pricing-section-enhanced {
  padding: 4rem 1.5rem;
  background: var(--bg-primary);
}

/* Header Eyebrow */
.eyebrow {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(var(--accent-primary-rgb), 0.1);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  border-radius: 50px;
  color: var(--accent-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Billing Toggle - Minimal Design */
.billing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin: 2rem auto 3rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border-radius: 50px;
  width: fit-content;
  border: 1px solid var(--border-secondary);
}

.toggle-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border-secondary);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--accent-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.badge-save {
  display: inline-block;
  padding: 0.1875rem 0.625rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-left: 0.375rem;
}

/* Pricing Grid - Modern Layout Polished */
.pricing-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* Pricing Card - Premium Design */
.pricing-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: 24px;
  padding: 3rem 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(var(--accent-primary-rgb), 0.3);
}

/* Popular Card - Distinctive */
.pricing-card.popular-card {
  border: 2px solid var(--accent-primary);
  background: linear-gradient(
    180deg,
    rgba(var(--accent-primary-rgb), 0.08) 0%,
    var(--bg-secondary) 100%
  );
  box-shadow: 0 15px 40px -10px rgba(var(--accent-primary-rgb), 0.15);
  z-index: 1;
}

.pricing-card.popular-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(var(--accent-primary-rgb), 0.25);
  border-color: var(--accent-primary);
}

/* Professional Badge for Popular Plan */
.popular-ribbon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  left: auto;
  transform: none;
  padding: 0.5rem 1rem;
  background: rgba(var(--accent-primary-rgb), 0.15);
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 100px;
  box-shadow: none;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.popular-ribbon span {
  display: inline-block;
}

/* Card Header */
.card-header {
  text-align: left;
  margin-bottom: 2rem;
  padding-bottom: 0;
  border-bottom: none;
}

.plan-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.plan-audience {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  opacity: 0.9;
}

/* Price Display */
.price-display {
  text-align: left;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-secondary);
  display: flex;
  flex-direction: column;
}

.price-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.25rem;
  line-height: 1;
}

.currency {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 4px;
  align-self: flex-start;
  margin-top: 8px;
}

.amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.period {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 0.5rem;
}

.price-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #10b981;
  font-weight: 600;
  display: block;
}

/* Features List */
.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Custom Checkmark Icon */
.features-list i {
  color: var(--accent-primary);
  background: rgba(var(--accent-primary-rgb), 0.1);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Expandable Features - Clean Accordion */
.features-expandable {
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-secondary);
  padding-top: 1.5rem;
}

.features-expandable summary {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  padding: 0;
  border: none;
  background: transparent;
  transition: color 0.2s ease;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.features-expandable summary:hover {
  color: var(--accent-primary);
  background: transparent;
  border: none;
}

.features-expandable summary::after {
  content: "▼";
  font-size: 0.625rem;
  transition: transform 0.3s ease;
  margin-left: auto; /* Push to right */
  opacity: 0.7;
}

.features-expandable[open] summary::after {
  transform: rotate(180deg);
}

.features-expandable summary::-webkit-details-marker {
  display: none;
}

.features-full {
  list-style: none;
  padding: 1rem 0 0 0;
  margin: 0;
  background: transparent;
  animation: slideDown 0.3s ease-out;
}

.features-full li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.features-full li svg {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* CTA Buttons - Full Width & Bold */
.btn-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.125rem 2rem;
  border-radius: 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
  width: 100%;
  margin-top: auto;
  border: 2px solid transparent;
}

.btn-cta.btn-primary {
  background: var(--accent-primary);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px rgba(var(--accent-primary-rgb), 0.3);
}

.btn-cta.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-primary-rgb), 0.4);
  background: var(--accent-primary); /* Fallback or slight shift */
}

.btn-cta.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-secondary);
}

.btn-cta.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(var(--accent-primary-rgb), 0.05);
  transform: translateY(-2px);
}

/* Trust Bar - Minimal */
.pricing-trust-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin: 3rem auto 2rem;
  padding: 1.5rem;
  background: rgba(var(--accent-primary-rgb), 0.04);
  border-radius: 12px;
  max-width: 1100px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.trust-item i {
  font-size: 1.25rem;
  color: var(--accent-primary);
}

/* Comparison Table - Clean */
.comparison-table-wrapper {
  margin: 3rem auto;
  max-width: 1100px;
  border: 1px solid var(--border-secondary);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  background: var(--bg-secondary);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.comparison-toggle:hover {
  background: rgba(var(--accent-primary-rgb), 0.06);
}

.comparison-toggle i {
  transition: transform 0.3s ease;
}

.comparison-table-wrapper[open] .comparison-toggle i {
  transform: rotate(180deg);
}

.comparison-table {
  padding: 2rem;
  background: var(--bg-primary);
}

.sticky-header {
  position: sticky;
  top: var(--header-h, 70px);
  background: var(--bg-primary);
  z-index: 100;
  padding: 1rem 0;
  border-bottom: 2px solid var(--accent-primary);
}

.table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  font-weight: 700;
  text-align: center;
}

.table-header .feature-label {
  text-align: left;
}

.feature-category {
  margin: 2rem 0;
}

.feature-category h4 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-secondary);
  align-items: center;
}

.feature-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.value,
.check {
  text-align: center;
  color: var(--text-secondary);
  font-weight: 500;
}

.check {
  color: var(--accent-primary);
  font-size: 1.25rem;
}

/* ============================================
   FAQ SECTION (CRITICAL ADDITION)
   ============================================ */

.pricing-faq {
  max-width: 1000px;
  margin: 5rem auto 3rem;
}

.pricing-faq h3 {
  text-align: center;
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-primary);
}

.faq-item summary {
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1rem;
}

/* ============================================
   TESTIMONIAL (SOCIAL PROOF)
   ============================================ */

.pricing-testimonial {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3rem;
  background: linear-gradient(
    135deg,
    rgba(var(--accent-primary-rgb), 0.1),
    rgba(var(--accent-primary-rgb), 0.05)
  );
  border-left: 4px solid var(--accent-primary);
  border-radius: 16px;
  text-align: center;
}

.pricing-testimonial blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  margin: 0 0 1.5rem 0;
  line-height: 1.7;
}

.pricing-testimonial cite {
  font-style: normal;
  color: var(--text-secondary);
}

.pricing-testimonial cite strong {
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .pricing-card.popular-card {
    transform: scale(1); /* Remove scale on tablet */
  }

  .pricing-grid-modern {
    gap: 2rem;
  }

  .table-header,
  .feature-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .pricing-grid-modern {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-card.popular-card {
    order: -1; /* Show first on mobile */
  }

  .billing-toggle-wrapper {
    flex-direction: column;
    gap: 0.75rem;
  }

  .pricing-trust-bar {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .table-header,
  .feature-row {
    min-width: 600px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRICING CARD UPDATES (GoDaddy Style)
   ============================================ */

.save-badge {
  background-color: #ffd700; /* Bright Gold */
  color: #000000;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-pricing {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: #000000;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border: 2px solid #000000;
}

.btn-pricing:hover {
  background-color: #333333;
  border-color: #333333;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Override existing popular ribbon for higher contrast */
.popular-ribbon {
  background: var(--accent-primary);
  color: #000000;
  border: none;
  font-weight: 800;
  opacity: 1;
}

/* Ensure checkmarks use the theme color but list features clearly */
.features-list li {
  font-weight: 500;
  color: var(--text-primary);
}

.features-list i {
  color: var(--accent-primary);
  background: rgba(0, 0, 0, 0.05); /* Subtle backing for icon */
}

/*
==============================================
PRICING SECTION - GoDaddy-Inspired Design
Perfect Chess Academy
Clean, modern, and professional pricing cards
==============================================
*/

/* Pricing Section Variables */
/* Pricing Section Variables - Using Global Theme System */

/* ========================================
   PRICING SECTION CONTAINER
======================================== */

.pricing-section {
  padding: 6rem 2rem;
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}

.pricing-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ========================================
   SECTION HEADER
======================================== */

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-header .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.pricing-header .section-eyebrow svg {
  width: 20px;
  height: 20px;
}

.pricing-title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pricing-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   PRICING GRID - 3 COLUMN LAYOUT
======================================== */

.pricing-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* ========================================
   PRICING CARD - GoDaddy Style
======================================== */

.pricing-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border-secondary);
  border-radius: 16px;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-primary);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px var(--shadow-accent);
  border-color: var(--accent-primary);
}

/* Featured Card (Middle - Best Value) */
.pricing-card-featured {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
  transform: scale(1.05);
}

.pricing-card-featured:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.3);
}

/* Best Value Ribbon */
.best-value-ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b8941f 100%);
  color: var(--button-text);
  padding: 0.5rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(45deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* ========================================
   CARD HEADER
======================================== */

.pricing-card-header {
  padding: 2rem 2rem 1.5rem 2rem;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.03) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-secondary);
  text-align: center;
}

.pricing-card-featured .pricing-card-header {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
}

/* Save Badge */
.save-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
  color: #000000;
  padding: 0.375rem 0.875rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.save-badge-featured {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b8941f 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* Tier Name */
.tier-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

/* Tier Level */
.tier-level {
  font-size: 0.9375rem;
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ========================================
   CARD BODY
======================================== */

.pricing-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Price Block */
.price-block {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-secondary);
}

.price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.period {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   ENROLL BUTTON - Dark Background
======================================== */

.btn-enroll-primary {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-enroll-primary:hover {
  background: var(--accent-primary);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-enroll-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Featured Card Button */
.pricing-card-featured .btn-enroll-primary {
  background: var(--accent-primary);
  color: #000000;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.pricing-card-featured .btn-enroll-primary:hover {
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ========================================
   FEATURES LIST
======================================== */

.pricing-section .features-list {
  flex: 1;
}

.pricing-section .features-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 1rem 0;
}

.pricing-section .features-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pricing-section .features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-section .check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-primary);
  margin-top: 0.125rem;
}

.pricing-section .features-list li span {
  flex: 1;
}

/* ========================================
   PRICING FOOTER - Trust Badges
======================================== */

.pricing-footer {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid var(--border-secondary);
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Tablet (2 Columns) */
@media (max-width: 1024px) {
  .pricing-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pricing-card-featured {
    transform: scale(1);
    grid-column: span 2;
  }

  .pricing-card-featured:hover {
    transform: translateY(-8px);
  }

  .amount {
    font-size: 3rem;
  }
}

/* Mobile (1 Column) */
@media (max-width: 768px) {
  .pricing-section {
    padding: 4rem 1.5rem;
  }

  .pricing-header {
    margin-bottom: 3rem;
  }

  .pricing-title {
    font-size: 2rem;
  }

  .pricing-subtitle {
    font-size: 1rem;
  }

  .pricing-grid-modern {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-card-featured {
    grid-column: span 1;
  }

  .pricing-card {
    transform: none;
  }

  .pricing-card:hover {
    transform: translateY(-4px);
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }

  .best-value-ribbon {
    top: 15px;
    right: -38px;
    padding: 0.375rem 2.25rem;
    font-size: 0.6875rem;
  }

  .tier-name {
    font-size: 1.5rem;
  }

  .amount {
    font-size: 2.75rem;
  }

  .trust-badges {
    gap: 1.5rem;
  }

  .trust-item {
    font-size: 0.875rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .pricing-section {
    padding: 3rem 1rem;
  }

  .pricing-card-header {
    padding: 1.5rem 1.5rem 1.25rem 1.5rem;
  }

  .pricing-card-body {
    padding: 1.5rem;
  }

  .amount {
    font-size: 2.5rem;
  }

  .btn-enroll-primary {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .pricing-section .features-list li {
    font-size: 0.875rem;
    gap: 0.5rem;
  }

  .pricing-section .check-icon {
    width: 18px;
    height: 18px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ========================================
   ACCESSIBILITY - Reduced Motion
======================================== */

@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .btn-enroll-primary {
    transition: none;
  }

  .pricing-card:hover {
    transform: none;
  }

  .pricing-card-featured {
    transform: none;
  }
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
  .pricing-section {
    background: white;
    padding: 2rem 0;
  }

  .pricing-card {
    box-shadow: none;
    border: 2px solid #333;
    page-break-inside: avoid;
  }

  .best-value-ribbon {
    display: none;
  }

  .btn-enroll-primary {
    background: #000;
    color: #fff;
  }
}

/* ==============================================
   ENHANCED PRICING SECTION
   Professional, High Contrast, GoDaddy Style
   ============================================== */

.pricing-section-enhanced {
  padding: 6rem 1.5rem;
  background-color: var(--bg-primary);
  font-family: 'Inter', sans-serif;
}

.pricing-grid-enhanced {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch; /* Make cards same height */
}

/* Card Base Styles */
/* Card Base Styles */
.pricing-card-new {
  background-color: var(--bg-secondary);
  border-radius: 12px; /* Smooth corners */
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--border-secondary);
  text-align: center;
}

.pricing-card-new:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-accent);
  border-color: var(--accent-primary);
}

/* Featured Card (Middle) */
.pricing-card-new.featured {
  border: 2px solid var(--accent-primary);
  background-color: var(--bg-secondary);
  z-index: 1; /* Sit above others if needed */
}

/* Ribbon */
.ribbon-new {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 150px;
  height: 150px;
  overflow: hidden;
  pointer-events: none;
}

.ribbon-new span {
  position: absolute;
  top: 30px;
  right: -35px;
  transform: rotate(45deg);
  width: 200px;
  background-color: var(--accent-primary);
  color: var(--text-primary);
  text-align: center;
  padding: 8px 0;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.ribbon-new::before,
.ribbon-new::after {
  position: absolute;
  content: "";
  display: block;
  border: 5px solid var(--accent-hover); /* Ribbon fold shadow color */
}

.ribbon-new::before {
  top: 0;
  right: 140px; /* Adjust based on width */
  border-top-color: transparent;
  border-left-color: transparent;
}
.ribbon-new::after {
  bottom: 140px; /* Adjust based on height */
  right: 0;
  border-top-color: transparent;
  border-right-color: transparent;
}


/* Discount Badge */
.discount-badge {
  background-color: var(--accent-secondary);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
  align-self: flex-start; /* Align left */
}

/* Header */
.card-header-new {
  margin-bottom: 1.5rem;
  text-align: center;
}

.plan-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin: 0 0 0.5rem 0;
}

.plan-level {
  font-size: 1.1rem;
  color: var(--accent-primary);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Price */
.price-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.price-container .currency {
  font-size: 1.5rem;
  margin-right: 2px;
}

.price-container .amount {
  font-size: 3rem;
  line-height: 1;
}

.price-container .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.plan-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  min-height: 44px; /* Align buttons */
}

/* Buttons */
.btn-enroll-black,
.btn-enroll-gold {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-enroll-black {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border: 2px solid transparent;
}
.btn-enroll-black:hover {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-enroll-gold {
  background-color: var(--accent-primary);
  color: #000;
  border: 2px solid transparent;
}
.btn-enroll-gold:hover {
  background-color: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Features List */
.features-list-new {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.features-list-new li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.features-list-new li i {
  color: var(--accent-primary);
  margin-right: 0.75rem;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .pricing-grid-enhanced {
    grid-template-columns: repeat(2, 1fr);
  }
  /* .pricing-card-new.featured {} removed empty block */
}

@media (max-width: 768px) {
  .pricing-grid-enhanced {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .pricing-card-new {
    padding: 2rem 1.5rem;
  }
  
  .pricing-card-new.featured {
    transform: scale(1.02); /* Slight prominence on mobile */
    margin: 1rem 0;
  }
}
