/* ==========================================================
   extra.css
   Only the bits the original site did with JavaScript / React.
   The rest of the styling comes from theme.css (original build).
   ========================================================== */

/* Visually hidden utility for accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Scroll-snap container so sections behave like the original */
html {
  scroll-snap-type: y proximity;
}

body {
  background: url('../media/bg.png') no-repeat center center fixed;
  background-size: cover;
}

/* Background slides start hidden; JS toggles .active */
.bg-slide {
  opacity: 0 !important;
}

.bg-slide.active {
  opacity: 1 !important;
}

/* ===== Fullscreen menu overlay ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-link {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.menu-link:hover {
  opacity: 0.6;
}

/* Overlay menu links point to standalone pages (course/, about/,
   blog/, enroll/) rather than on-page anchors. */

/* Hamburger -> X when open (matches original stroke animation) */
.menu-open #menuIcon {
  transform: rotate(-45deg);
}

.menu-open #menuIconTop {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42px;
}

/* ===== Works tree ===== */
.work-row,
.work-child {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  cursor: pointer;
  color: #1c1c1c;
  transition: opacity 0.2s ease;
}

@media (min-width: 768px) {

  .work-row,
  .work-child {
    gap: 1rem;
  }
}

.work-row:hover,
.work-child:hover {
  opacity: 0.7;
}

.work-row {
  opacity: 0;
  transform: translateY(10px);
}

.work-row.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.work-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  stroke-width: 1.5;
}

@media (min-width: 768px) {
  .work-icon {
    width: 2rem;
    height: 2rem;
  }
}

.work-name {
  font-weight: 500;
  letter-spacing: -0.025em;
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .work-name {
    font-size: 1.875rem;
  }
}

.work-child .work-name {
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .work-child .work-name {
    font-size: 1.5rem;
  }
}

.work-children {
  overflow: hidden;
  max-height: 0;
  margin-left: 2rem;
  transition: max-height 0.35s ease-in-out;
}

.work-children.open {
  max-height: 260px;
}

/* ===== About card stack ===== */
.about-card {
  position: absolute;
  transform-origin: bottom center;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(243, 244, 246, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  cursor: grab;
  width: 52%;
  aspect-ratio: 5 / 7;
  transition: transform 0.5s ease, box-shadow 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

@media (min-width: 640px) {
  .about-card {
    width: 300px;
  }
}

/* Wide cards (bade_parde) use a 5/3 landscape ratio like the original */
.about-card-wide {
  width: 66%;
  aspect-ratio: 5 / 3;
}

@media (min-width: 640px) {
  .about-card-wide {
    width: 420px;
  }
}

.about-card.dragging {
  transition: none;
  cursor: grabbing;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  z-index: 100 !important;
}

.about-card video,
.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* ===== Social dock: JS sets width; keep smooth ===== */
.social-btn {
  transition: width 0.15s ease-out, height 0.15s ease-out, transform 0.2s ease;
}

/* ===== Resume button animation states ===== */
.resume-btn {
  transition: width 0.4s ease-in-out, border-color 0.2s ease;
}

.resume-icon {
  transition: transform 0.4s ease;
}

.resume-btn.loading {
  width: 56px !important;
  cursor: wait;
  border-color: #000;
}

.resume-btn.loading .resume-text {
  opacity: 0;
}

.resume-btn.loading .resume-icon {
  transform: rotate(180deg);
}

.resume-btn.loading .resume-fill {
  height: 100% !important;
  transition: height 3s ease-in-out;
}

.resume-btn.loading .resume-arrow {
  opacity: 0;
}

.resume-btn.loading .resume-dot {
  opacity: 1 !important;
  animation: resumeDot 3s ease-in-out;
}

@keyframes resumeDot {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(20px, -20px);
  }

  50% {
    transform: translate(0, 0);
  }

  75% {
    transform: translate(-20px, 20px);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* ===== Brief modal ===== */
.brief-modal {
  display: none !important;
}

.brief-modal.open {
  display: flex !important;
}

.brief-backdrop {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.brief-paper {
  animation: paperIn 0.3s ease;
}

@keyframes paperIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.brief-cursor {
  display: inline-block;
  margin-left: 2px;
  font-weight: 700;
  animation: briefBlink 1s step-end infinite;
}

@keyframes briefBlink {
  50% {
    opacity: 0;
  }
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.snap-section.is-visible .fade-up {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}

/* ===== Hero Section – Left-aligned (matches reference image 2) ===== */
.hero-wrapper {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 6.5rem 1.5rem 1.5rem 1.5rem;
  overflow: visible;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero-wrapper {
    height: 100vh;
    padding: 5rem 3rem 2rem 3rem;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-wrapper {
    position: relative;
    height: 100vh;
    padding: 0 2rem;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}

/* Annotation top-right */
.hero-annotation {
  position: absolute;
  top: 6rem;
  right: 4.5rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .hero-annotation {
    display: flex;
    top: 5rem;
    right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-annotation {
    top: 6rem;
    right: 4.5rem;
  }
}

.annotation-text {
  font-size: 0.875rem;
  font-weight: 700;
  font-style: italic;
  color: #1c1c1c;
  text-align: center;
  line-height: 1.3;
  font-family: cursive, sans-serif;
}

/* Hero main content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-content {
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: 70%;
    min-width: 46%;
    gap: 1.5rem;
  }
}

/* Subtitle */
.hero-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 0.875rem;
  }
}

/* Title block */
.hero-titles {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-title--black {
  color: #111111;
}

.hero-title--blue {
  color: #2563eb;
}

/* Description */
.hero-description {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.05rem;
  }
}

/* CTA Row */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

/* ===== Footer V2 ===== */
.footer-v2-wrapper {
  flex-direction: row !important;
}

@media (max-width: 1024px) {
  .footer-v2-wrapper {
    flex-direction: column !important;
    text-align: center;
    gap: 3rem;
  }

  .footer-left {
    align-items: center !important;
  }

  .footer-left p {
    text-align: center;
  }

  .footer-annotation {
    top: -50px !important;
    right: 0px !important;
  }
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0f172a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  color: #7c3aed;
}

/* ===== Hero CTA Button — Gradient Shimmer ===== */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #2563eb 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.9rem 0.9rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.3);
  transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Shimmer overlay */
.hero-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 0.55s ease;
  border-radius: inherit;
  pointer-events: none;
}

.hero-cta-btn:hover {
  background-position: 100% 50%;
  box-shadow: none;
}

.hero-cta-btn:hover::before {
  background-position: 200% 0;
}

.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 1rem;
  transition: transform 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}

.hero-cta-btn:hover .cta-arrow {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.3);
}

/* Trust avatars */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  border: 3px solid #fff;
  margin-left: -12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.2s ease;
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-avatar:hover {
  transform: scale(1.12) translateY(-2px);
  z-index: 2;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}

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

.trust-label {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}

.trust-count {
  font-size: 0.8rem;
  font-weight: 800;
  color: #111;
}

/* Feature Badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-badges {
    gap: 1rem;
  }
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease;
  will-change: transform;
}

.hero-badge:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

/* Badge icon wrapper */
.badge-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.625rem;
  flex-shrink: 0;
}

.badge-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.badge-icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.badge-icon-green {
  background: #f0fdf4;
  color: #16a34a;
}

.badge-icon-amber {
  background: #fffbeb;
  color: #d97706;
}

.badge-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1c1c1c;
  line-height: 1.3;
}

/* Scroll Pill Button */
.scroll-pill {
  position: absolute;
  bottom: 2rem;
  right: 5%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
  z-index: 20;
}

@media (min-width: 768px) {
  .scroll-pill {
    bottom: 2rem;
    right: 2rem;
    left: auto;
    transform: none;
  }
}

.scroll-pill:hover {
  background: #2563eb;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

.scroll-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  animation: pillBounce 1.6s ease-in-out infinite;
}

.scroll-pill-icon svg {
  width: 22px;
  height: 22px;
}

@keyframes pillBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(3px);
  }
}

@media (min-width: 1024px) {
  .scroll-pill {
    bottom: 3rem;
    right: 3rem;
  }
}

/* ===== Course Modules V2 — Card Grid ===== */
.modules-v2-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem 0;
}

.modules-v2-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.modules-v2-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Subtitle pill */
.modules-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #5b21b6;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
}

.modules-pill-icon {
  width: 14px;
  height: 14px;
}

/* Title */
.modules-v2-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1.1;
  margin: 0;
}

@media (min-width: 768px) {
  .modules-v2-title {
    font-size: 2.75rem;
  }
}

.modules-title-accent {
  color: #5b21b6;
}

.modules-v2-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  max-width: 540px;
  margin: 0;
}

/* Annotation */
.modules-annotation {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .modules-annotation {
    display: flex;
  }
}

.annotation-hand {
  font-family: cursive, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #5b21b6;
  text-align: center;
  line-height: 1.3;
}

/* Grid */
.modules-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .modules-v2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .modules-v2-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* Module card */
.mod-card {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 1.25rem;
  padding: 1rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
  position: relative;
  transition: box-shadow 0.25s ease;
  will-change: transform;
}

.mod-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.mod-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mod-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.875rem;
  flex-shrink: 0;
}

.mod-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.mod-num {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  opacity: 0.5;
}

.mod-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111;
  margin: 0;
  line-height: 1.3;
}

.mod-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.mod-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  text-decoration: none;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.25rem;
  transition: transform 0.2s ease;
  will-change: transform;
}

.mod-arrow svg {
  width: 13px;
  height: 13px;
}

.mod-arrow:hover {
  transform: translateX(4px);
}

/* Stats bar */
.modules-stats-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 1.25rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1) !important;
}

.modules-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.stat-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.modules-stat div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.modules-stat strong {
  font-size: 0.875rem;
  font-weight: 800;
  color: #111;
}

.modules-stat span {
  font-size: 0.7rem;
  color: #888;
  font-weight: 500;
}

.modules-stat-divider {
  width: 1px;
  height: 2rem;
  background: rgba(0, 0, 0, 0.1);
}

.modules-stats-bar .hero-cta-btn {
  margin-left: auto;
}

/* ===== Common Section Utilities ===== */

.section-wrapper {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.5rem 0 1.5rem;
}

/* Works section — center content */
#works .section-wrapper {
  align-items: center;
}

#works .modules-v2-wrap {
  width: 100%;
  max-width: 1250px;
}

@media (min-width: 1024px) {
  #works .section-wrapper {
    padding: 0 2rem;
  }

  #works .modules-v2-wrap {
    width: 100%;
  }
}


@media (min-width: 768px) {
  .section-wrapper {
    padding: 2.5rem 3rem 0 3rem;
  }
}

@media (min-width: 1024px) {
  .section-wrapper {
    position: relative;
    height: 100%;
    padding: 0 4rem 0 4rem;
  }
}

@media (min-width: 1280px) {
  .section-wrapper {
    padding: 0 6rem 0 6rem;
  }
}

.section-content-right {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .section-content-right {
    justify-content: center;
  }
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1c1c1c;
  line-height: 1;
  margin: 0;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.section-description {
  color: #444;
  font-size: 1rem;
  line-height: 1.625;
  margin: 0;
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1.125rem;
  }
}

/* ===== Works Section ===== */
.modules-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .modules-container {
    max-width: 50%;
    gap: 2rem;
  }
}

.modules-list-wrapper {
  width: 100%;
}

.modules-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .modules-list {
    gap: 1rem;
  }
}

/* ===== Journey Accordion V2 ===== */
.journey-v2-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem 0;
}

@media (min-width: 1024px) {

  #timeline .journey-v2-wrap,
  #achievements .achieve-wrap {
    width: 100%;
    max-width: 1100px;
  }

  #timeline .section-wrapper,
  #achievements .section-wrapper {
    align-items: center;
    padding: 0 2rem;
  }
}

.journey-v2-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.journey-v2-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Accordion */
.journey-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.journey-item {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.journey-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.journey-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.journey-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.journey-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.journey-q {
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  flex: 1;
}

.journey-chevron {
  width: 20px;
  height: 20px;
  color: #111;
  transition: transform 0.3s ease;
}

.journey-item--open .journey-chevron {
  transform: rotateX(180deg);
}

.journey-item--open .journey-icon-wrap {
  background: #4c1d95 !important;
}

.journey-item--open .journey-icon-wrap svg {
  stroke: #fff !important;
}

.journey-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey-item--open .journey-body {
  grid-template-rows: 1fr;
}

.journey-body p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.25rem 0 4.75rem;
  /* Hidden state padding */
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
  opacity: 0;
  transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.journey-item--open .journey-body p {
  padding: 0 1.25rem 1.25rem 4.75rem;
  /* Expanded state padding */
  opacity: 1;
}

.journey-note {
  font-size: 0.8rem;
  color: #777;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ===== Achievements Section ===== */
.achieve-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 3rem 0;
}

.achieve-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  width: 100%;
}

.achieve-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 650px;
}

.achieve-pill {
  font-size: 0.75rem;
  font-weight: 800;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.achieve-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111;
  line-height: 1.1;
  margin: 0;
}

@media (min-width: 768px) {
  .achieve-title {
    font-size: 3.5rem;
  }
}

.achieve-accent {
  color: #7c3aed;
}

.achieve-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

.achieve-annotation {
  display: none;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: -1rem;
  right: 5%;
}

@media (min-width: 1024px) {
  .achieve-annotation {
    display: flex;
  }
}

.achieve-annotation .annotation-hand {
  font-family: cursive, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  transform: rotate(-10deg);
}

.achieve-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .achieve-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.achieve-card {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.achieve-card:hover {
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.achieve-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.achieve-icon-wrap svg {
  width: 32px;
  height: 32px;
}

.achieve-val {
  font-size: 2.75rem;
  font-weight: 900;
  margin: 0;
  line-height: 1;
}

.achieve-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ===== Mentor Section ===== */
.mentor-v2-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  #mentor .mentor-v2-wrap {
    width: 100%;
    max-width: 1100px;
  }

  #mentor .section-wrapper {
    align-items: center;
    padding: 0 2rem;
  }
}

.mentor-v2-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  width: 100%;
}

.mentor-v2-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mentor-annotation {
  display: none;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: -1rem;
  right: 0;
}

@media (min-width: 1024px) {
  .mentor-annotation {
    display: flex;
  }
}

.mentor-annotation .annotation-hand {
  font-family: cursive, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  transform: rotate(-10deg);
}

.mentor-v2-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .mentor-v2-profile {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}

.mentor-v2-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mentor-v2-circle {
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  background-color: #0284c7;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 700;
}

.mentor-v2-badge {
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #111;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: -20px;
}

.mentor-v2-bio h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 0.25rem 0;
}

.mentor-v2-bio h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  margin: 0 0 1rem 0;
}

.mentor-v2-bio p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.mentor-v2-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
  border-radius: 1rem;
  width: 100%;
  justify-content: space-between;
}

.mentor-v2-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mentor-v2-feature svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mentor-v2-feature span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4b5563;
  line-height: 1.2;
}

.mentor-v2-divider {
  width: 1px;
  height: 24px;
  background-color: rgba(0, 0, 0, 0.1);
  display: none;
}

@media (min-width: 768px) {
  .mentor-v2-divider {
    display: block;
  }
}

/* ===== About Section ===== */
.about-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  margin: 0 auto;
  padding-top: 1.5rem;
}

@media (min-width: 1024px) {
  .about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 0;
    gap: 2.5rem;
  }
}

.about-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .about-header {
    margin-bottom: 1rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .feature-card {
    padding: 1.5rem;
  }
}

.feature-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-text h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0 0 0.5rem 0;
}

@media (min-width: 768px) {
  .feature-text h3 {
    font-size: 1.25rem;
  }
}

.feature-text p {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

@media (min-width: 768px) {
  .feature-text p {
    font-size: 1rem;
  }
}

.card-stack-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .card-stack-wrapper {
    justify-content: center;
    padding: 0;
  }
}

.card-stack-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
  min-height: 280px;
}

@media (min-width: 1024px) {
  .card-stack-container {
    min-height: 380px;
  }
}

/* ===== Contact Section ===== */
.contact-padding {
  padding-top: 6rem;
}

@media (min-width: 640px) {
  .contact-padding {
    padding-top: 5rem;
  }
}

@media (min-width: 768px) {
  .contact-padding {
    padding-top: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-padding {
    padding-top: 0;
  }
}

.contact-container {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    gap: 2.5rem;
  }
}

.contact-header {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.875rem;
    margin-top: 0.75rem;
  }
}

.contact-card {
  padding: 1.5rem;
  max-width: 42rem;
  margin: 0 auto;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .contact-card {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .contact-card {
    margin-right: 0;
  }
}

.pricing-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pricing-content {
    gap: 1.25rem;
  }
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .pricing-price {
    justify-content: center;
  }
}

.price-amount {
  font-size: 2.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .price-amount {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .price-amount {
    font-size: 3.75rem;
  }
}

.price-original {
  font-size: 1.125rem;
  color: #6b7280;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

@media (min-width: 768px) {
  .price-original {
    font-size: 1.25rem;
  }
}

.pricing-features {
  text-align: left;
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-features {
    font-size: 1rem;
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .pricing-features {
    font-size: 1.125rem;
    margin-right: 0;
  }
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-icon {
  color: #10b981;
  font-size: 1.125rem;
}

.pricing-action {
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .pricing-action {
    padding-top: 1.5rem;
  }
}

.enroll-btn {
  width: 100%;
  padding: 0.75rem 0;
  background-color: #1c1c1c;
  color: white;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

@media (min-width: 768px) {
  .enroll-btn {
    padding: 1rem 0;
    font-size: 1.25rem;
  }
}

.enroll-btn:hover {
  background-color: #2563eb;
  transform: scale(1.05);
}

.guarantee-text {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.75rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .guarantee-text {
    font-size: 0.875rem;
  }
}

.contact-email-section {
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .contact-email-section {
    margin-top: 1.5rem;
  }
}

.email-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.6;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .email-label {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
}

.email-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

@media (min-width: 768px) {
  .email-link {
    font-size: 1.875rem;
  }
}

.social-dock-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .social-dock-wrapper {
    justify-content: center;
  }
}

.social-dock {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
  padding: 0 1rem 1rem 1rem;
  border-radius: 1rem;
  height: 5rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: #000;
  color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-btn:hover {
  transform: scale(1.05);
}

.bottom-enroll-wrapper {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

@media (min-width: 1024px) {
  .bottom-enroll-wrapper {
    bottom: 3rem;
    left: auto;
    transform: none;
    right: 3rem;
  }
}

.enroll-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.resume-btn-float {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  background: white;
  cursor: pointer;
  height: 56px;
  width: 220px;
}

.resume-btn-float:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

.resume-icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
  flex-shrink: 0;
}

.resume-fill-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #262626;
  border-radius: 9999px;
  z-index: 1;
  height: 0%;
}

.resume-arrow-icon {
  width: 1.5rem;
  height: 1.5rem;
  z-index: 20;
  position: relative;
}

.resume-dot-inner {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background-color: white;
  position: absolute;
  z-index: 20;
  opacity: 0;
}

.resume-text-inner {
  margin-left: 1rem;
  margin-right: 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  user-select: none;
  z-index: 10;
  letter-spacing: -0.025em;
}
/* Article Page Layout */
.article-page-main {
    max-width: 1350px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 8rem;
    font-family: var(--font-quicksand), sans-serif;
    opacity: 1 !important;
    transform: none !important;
}
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #7c3aed;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.article-title-hero {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.article-title-highlight {
    color: #7c3aed;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}
.article-title-highlight::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0 5 Q 50 10 100 0" stroke="%237c3aed" stroke-width="6" fill="transparent"/></svg>') no-repeat center;
    background-size: 100% 100%;
}
.article-metadata-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
}
.article-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: #64748b;
    font-weight: 500;
}
.article-author-avatar {
    width: 36px;
    height: 36px;
    background: #e9d5ff;
    color: #7c3aed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.article-author-name {
    font-weight: 800;
    color: #7c3aed;
}
.article-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #f59e0b;
    font-weight: 800;
}
.article-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.article-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}
.article-socials a:hover {
    background: #e2e8f0;
    color: #7c3aed;
}
.article-hero-img-container {
    margin-bottom: 4rem;
}
.article-hero-img-container img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.article-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
}
.article-body {
    /* Skip rendering off-screen content — big perf win on long articles */
    contain: layout style;
}
@media (max-width: 992px) {
    .article-content-grid {
        grid-template-columns: 1fr;
    }
}
.article-body h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}
.article-body h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #7c3aed;
    border-radius: 2px;
}
.article-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.article-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}
.article-body ul, .article-body ol {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.article-body li {
    margin-bottom: 0.5rem;
}
.article-body strong {
    color: #0f172a;
    font-weight: 700;
}
.article-body blockquote {
    border-left: 4px solid #7c3aed;
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.25rem;
    color: #64748b;
    margin: 2rem 0;
}
.article-toc {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2rem;
    position: sticky;
    top: 120px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.article-toc-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: #7c3aed;
    margin-bottom: 1.5rem;
}
.article-toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.article-toc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.4;
    transition: all 0.2s;
    padding: 0.75rem;
    border-radius: 0.75rem;
}
.article-toc-item:hover, .article-toc-item.active {
    background: #f3e8ff;
    color: #7c3aed;
    font-weight: 700;
}
.article-toc-number {
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}
.article-toc-item:hover .article-toc-number, .article-toc-item.active .article-toc-number {
    background: #7c3aed;
    color: #ffffff;
}

/* Article footer section — replaces snap-section on article pages */
.article-footer-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    z-index: 10;
}
.article-footer-section .fade-up {
    opacity: 1 !important;
    transform: none !important;
}

/* =========================================================
   FAQ Accordion
   ========================================================= */
.faq-accordion {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}
.faq-accordion-item {
    border: 1.5px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-accordion-item:has(.faq-accordion-btn[aria-expanded="true"]) {
    border-color: #7c3aed;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.10);
}
.faq-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    transition: background 0.15s ease, color 0.15s ease;
}
.faq-accordion-btn:hover {
    background: #faf5ff;
    color: #7c3aed;
}
.faq-accordion-btn[aria-expanded="true"] {
    color: #7c3aed;
    background: #faf5ff;
    border-bottom: 1.5px solid #e9d5ff;
}
.faq-chevron {
    flex-shrink: 0;
    color: #7c3aed;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-accordion-btn[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}
.faq-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-accordion-body p {
    padding: 1.25rem 1.5rem 1.5rem;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
}
.faq-accordion-item.is-open .faq-accordion-body {
    max-height: 600px;
}
