/* ============================================
   NUFANEST — pages.css
   Sub-pages styling (Learning Hub, Impact, Legal,
   AI Future, Movement, Media Insight)
   Tetap mengikuti tema dasar NufaNest:
   Forest · Cream · Gold · Sora · Fraunces · Inter
   ============================================ */

/* ============================================
   PAGE HERO (Header dengan judul halaman)
   ============================================ */
.page-hero {
  position: relative;
  padding: 9rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(123, 174, 127, 0.08), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(199, 168, 109, 0.08), transparent 55%),
    var(--cream-light);
}
.page-hero.page-hero-dark {
  background:
    radial-gradient(ellipse at top right, rgba(123, 174, 127, 0.18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(199, 168, 109, 0.12), transparent 55%),
    var(--forest-800);
  color: var(--cream-light);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 93, 59, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 93, 59, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.page-hero-dark::before {
  background-image:
    linear-gradient(rgba(247, 246, 242, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 246, 242, 0.04) 1px, transparent 1px);
}

.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .page-hero-inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
  }
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 93, 59, 0.55);
  margin-bottom: 1.75rem;
}
.page-hero-dark .page-breadcrumb { color: rgba(247, 246, 242, 0.55); }
.page-breadcrumb a {
  color: inherit;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.page-breadcrumb a:hover { color: var(--gold-deep); }
.page-hero-dark .page-breadcrumb a:hover { color: var(--gold); }
.page-breadcrumb-sep { opacity: 0.5; }

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(199, 168, 109, 0.14);
  border: 1px solid rgba(199, 168, 109, 0.35);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  font-weight: 500;
}
.page-hero-dark .page-hero-eyebrow {
  background: rgba(199, 168, 109, 0.12);
  border-color: rgba(199, 168, 109, 0.4);
  color: var(--gold);
}
.page-hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: page-eyebrow-pulse 2.4s ease-in-out infinite;
}
@keyframes page-eyebrow-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.page-title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 4.5vw + 0.75rem, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--forest);
  text-wrap: balance;
}
.page-hero-dark .page-title { color: var(--cream-light); }
.page-title .serif {
  font-weight: 400;
  letter-spacing: -0.02em;
}

.page-lead {
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.2rem);
  line-height: 1.65;
  color: rgba(30, 30, 30, 0.7);
  max-width: 36rem;
  text-wrap: pretty;
}
.page-hero-dark .page-lead { color: rgba(247, 246, 242, 0.75); }

.page-hero-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.page-hero-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  background: rgba(31, 93, 59, 0.07);
  border: 1px solid rgba(31, 93, 59, 0.15);
  font-size: 0.78rem;
  color: var(--forest);
  font-weight: 500;
}
.page-hero-dark .page-hero-meta-chip {
  background: rgba(247, 246, 242, 0.06);
  border-color: rgba(247, 246, 242, 0.18);
  color: var(--cream-light);
}

/* ============================================
   VIDEO 3:4 FRAME
   Komponen utama untuk embed video portrait
   ============================================ */
.video-3x4 {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .video-3x4 { margin: 0; margin-left: auto; }
}

.video-3x4-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(199, 168, 109, 0.25), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(123, 174, 127, 0.25), transparent 50%),
    linear-gradient(135deg, var(--forest-700), var(--forest-800));
  box-shadow:
    0 20px 60px -25px rgba(31, 93, 59, 0.5),
    0 8px 24px -10px rgba(0, 0, 0, 0.25);
  isolation: isolate;
}
.page-hero-dark .video-3x4-frame {
  background:
    radial-gradient(circle at 30% 20%, rgba(199, 168, 109, 0.3), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(123, 174, 127, 0.2), transparent 50%),
    linear-gradient(135deg, #1A2820, #0E1A12);
  box-shadow:
    0 20px 60px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(199, 168, 109, 0.2);
}

/* Decorative golden frame border */
.video-3x4-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg,
    rgba(199, 168, 109, 0.55) 0%,
    rgba(199, 168, 109, 0.1) 30%,
    rgba(199, 168, 109, 0.1) 70%,
    rgba(199, 168, 109, 0.55) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* Subtle grain overlay */
.video-3x4-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/*
  Embed area — ganti isi .video-3x4-embed
  dengan <video>, <iframe>, atau apapun.
  Akan otomatis fit aspect 3:4.
*/
.video-3x4-embed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--cream-light);
  z-index: 1;
}
.video-3x4-embed video,
.video-3x4-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video-3x4-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  background: rgba(20, 28, 22, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 168, 109, 0.35);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}
.video-3x4-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.video-3x4-play {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: rgba(247, 246, 242, 0.94);
  color: var(--forest);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 0 0 rgba(247, 246, 242, 0.4);
  animation: video-play-pulse 2.5s ease-out infinite;
}
@keyframes video-play-pulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 246, 242, 0.55); }
  70% { box-shadow: 0 0 0 18px rgba(247, 246, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 246, 242, 0); }
}
.video-3x4-frame:hover .video-3x4-play {
  transform: scale(1.08);
  background: var(--gold);
  color: var(--cream-light);
}

.video-3x4-caption {
  margin-top: 1.25rem;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  max-width: 80%;
  line-height: 1.3;
}

.video-3x4-hint {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247, 246, 242, 0.55);
}

.video-3x4-meta {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--charcoal-mute);
}
.page-hero-dark .video-3x4-meta { color: rgba(247, 246, 242, 0.55); }
.video-3x4-meta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
}
.video-3x4-meta-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(31, 93, 59, 0.25), transparent);
  margin: 0 1rem;
}
.page-hero-dark .video-3x4-meta-line {
  background: linear-gradient(to right, rgba(199, 168, 109, 0.3), transparent);
}

/* Compact 3:4 video for inline section use */
.video-3x4-compact {
  max-width: 280px;
}
.video-3x4-compact .video-3x4-play {
  width: 3.25rem;
  height: 3.25rem;
}
.video-3x4-compact .video-3x4-caption { font-size: 0.95rem; }

/* ============================================
   HUB NAVIGATION (sub-nav antar 6 halaman)
   ============================================ */
.hub-nav-wrap {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--forest-line);
}
.page-hero-dark + .hub-nav-wrap,
.section-dark + .hub-nav-wrap {
  background: rgba(19, 57, 35, 0.92);
  border-bottom-color: rgba(247, 246, 242, 0.1);
}
.hub-nav {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hub-nav::-webkit-scrollbar { display: none; }
.hub-nav a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(31, 93, 59, 0.65);
  transition: all 0.3s;
  white-space: nowrap;
}
.hub-nav a:hover {
  background: rgba(31, 93, 59, 0.08);
  color: var(--forest);
}
.hub-nav a.is-active {
  background: var(--forest);
  color: var(--cream-light);
}
.section-dark + .hub-nav-wrap .hub-nav a,
.page-hero-dark + .hub-nav-wrap .hub-nav a {
  color: rgba(247, 246, 242, 0.65);
}
.section-dark + .hub-nav-wrap .hub-nav a:hover,
.page-hero-dark + .hub-nav-wrap .hub-nav a:hover {
  background: rgba(247, 246, 242, 0.08);
  color: var(--cream-light);
}
.section-dark + .hub-nav-wrap .hub-nav a.is-active,
.page-hero-dark + .hub-nav-wrap .hub-nav a.is-active {
  background: var(--gold);
  color: var(--forest);
}
.hub-nav-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: grid;
  place-items: center;
  opacity: 0.85;
}

/* ============================================
   LEARNING HUB PAGE — Editorial Library
   ============================================ */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  padding: 0.5rem;
  background: var(--cream);
  border-radius: 9999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  overflow-x: auto;
}
.cat-tab {
  flex-shrink: 0;
  padding: 0.7rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(30, 30, 30, 0.65);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 0;
  white-space: nowrap;
}
.cat-tab:hover { color: var(--forest); }
.cat-tab.is-active {
  background: var(--forest);
  color: var(--cream-light);
  box-shadow: 0 8px 24px -10px rgba(31, 93, 59, 0.4);
}
.cat-tab-icon {
  width: 1rem;
  height: 1rem;
}

.cat-panel {
  display: none;
  animation: cat-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cat-panel.is-active { display: grid; }
@keyframes cat-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.cat-panel {
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .cat-panel { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}

.cat-panel-media {
  position: relative;
}
@media (min-width: 1024px) {
  .cat-panel-media { position: sticky; top: 9rem; }
}

.cat-panel-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cat-panel-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.cat-panel-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3vw + 0.5rem, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--forest);
  text-wrap: balance;
}
.cat-panel-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(30, 30, 30, 0.72);
  max-width: 36rem;
  text-wrap: pretty;
}

.cat-modules {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 600px) { .cat-modules { grid-template-columns: repeat(2, 1fr); } }

.cat-module {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.35s;
  cursor: pointer;
}
.cat-module:hover {
  transform: translateX(4px);
  border-color: rgba(199, 168, 109, 0.5);
  box-shadow: 0 6px 20px -10px rgba(31, 93, 59, 0.18);
}
.cat-module-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  background: var(--forest-soft);
  color: var(--forest);
  display: grid;
  place-items: center;
  transition: all 0.4s;
}
.cat-module:hover .cat-module-icon {
  background: var(--gold);
  color: var(--cream-light);
}
.cat-module-text { flex: 1; min-width: 0; }
.cat-module-type {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.cat-module-title {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--forest);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Quote callout for emotional touch */
.quote-callout {
  margin-top: 5rem;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--forest-line);
  border-bottom: 1px solid var(--forest-line);
  position: relative;
}
.quote-callout::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}
.quote-callout-text {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 2vw + 0.7rem, 2.1rem);
  line-height: 1.3;
  color: var(--forest);
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.quote-callout-attr {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(31, 93, 59, 0.5);
}

/* ============================================
   IMPACT PAGE
   ============================================ */
.impact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 4rem;
}
@media (min-width: 600px) { .impact-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .impact-page-grid { grid-template-columns: repeat(4, 1fr); } }

.impact-page-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.impact-page-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(199, 168, 109, 0.18), transparent 70%);
  pointer-events: none;
  transition: transform 0.6s;
}
.impact-page-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 168, 109, 0.5);
  box-shadow: 0 14px 40px -18px rgba(31, 93, 59, 0.25);
}
.impact-page-card:hover::before { transform: scale(1.4); }

.impact-page-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 5vw + 1rem, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--forest);
  display: inline-flex;
  align-items: flex-start;
  position: relative;
}
.impact-page-num[data-count]::after {
  content: '+';
  font-size: 0.45em;
  color: var(--gold-deep);
  margin-left: 0.15rem;
  font-weight: 600;
}
.impact-page-label {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.impact-page-desc {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: rgba(30, 30, 30, 0.68);
  line-height: 1.6;
}

/* Story tabs */
.story-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
  justify-content: center;
}
.story-tab {
  padding: 0.7rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--cream);
  color: rgba(30, 30, 30, 0.7);
  border: 0;
  cursor: pointer;
  transition: all 0.4s;
  font-family: var(--font-body);
}
.story-tab:hover { background: var(--cream-warm); }
.story-tab.is-active {
  background: var(--forest);
  color: var(--cream-light);
  box-shadow: 0 8px 24px -12px rgba(31, 93, 59, 0.45);
}

.story-panel {
  display: none;
  animation: cat-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.story-panel.is-active { display: grid; }
@media (min-width: 900px) {
  .story-panel { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background: rgba(199, 168, 109, 0.15);
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.story-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--forest);
  text-wrap: balance;
}
.story-body {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(30, 30, 30, 0.72);
  text-wrap: pretty;
}
.story-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--forest-line);
}
.story-stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.story-stat-label {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(31, 93, 59, 0.55);
}

/* ============================================
   LEGAL EDUCATION PAGE
   ============================================ */
.legal-page-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  justify-content: center;
}
.legal-filter {
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--cream);
  color: var(--forest);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s;
  font-family: var(--font-body);
}
.legal-filter:hover { background: var(--cream-warm); }
.legal-filter.is-active {
  background: var(--forest);
  color: var(--cream-light);
  border-color: var(--forest);
}

.legal-accordion {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 64rem;
  margin: 0 auto;
}

.legal-item {
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: 1.1rem;
  overflow: hidden;
  transition: all 0.4s;
}
.legal-item:hover { border-color: rgba(199, 168, 109, 0.4); }
.legal-item.is-open {
  border-color: rgba(199, 168, 109, 0.55);
  box-shadow: 0 12px 36px -16px rgba(31, 93, 59, 0.2);
}

.legal-item-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  transition: background 0.3s;
}
.legal-item-head:hover { background: rgba(31, 93, 59, 0.03); }

.legal-item-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream-light);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.4s;
}
.legal-item.is-open .legal-item-num {
  background: var(--gold);
  color: var(--forest);
  transform: rotate(360deg);
}

.legal-item-title-wrap { flex: 1; min-width: 0; }
.legal-item-cat {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.legal-item-title {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--forest);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.legal-item-toggle {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
  display: grid;
  place-items: center;
  transition: all 0.4s;
}
.legal-item.is-open .legal-item-toggle {
  background: var(--forest);
  color: var(--cream-light);
  transform: rotate(180deg);
}

.legal-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.legal-item.is-open .legal-item-body { max-height: 1200px; }

.legal-item-body-inner {
  padding: 0 1.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--forest-line);
  padding-top: 1.75rem;
  margin: 0 1.75rem 1.75rem;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 900px) {
  .legal-item-body-inner { grid-template-columns: 1fr 1.4fr; gap: 2.5rem; }
}

.legal-item-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(30, 30, 30, 0.72);
}
.legal-item-points {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.legal-item-point {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: rgba(30, 30, 30, 0.78);
}
.legal-item-point-dot {
  flex-shrink: 0;
  margin-top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-deep);
}

/* ============================================
   AI FUTURE PAGE (dark theme)
   ============================================ */
.ai-manifesto {
  margin: 5rem auto 0;
  max-width: 56rem;
  text-align: center;
  position: relative;
}
.ai-manifesto-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.ai-manifesto-text {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.2vw + 0.6rem, 2.4rem);
  line-height: 1.3;
  color: var(--cream-light);
  text-wrap: balance;
}
.ai-manifesto-text strong {
  font-weight: 400;
  color: var(--gold);
  font-style: italic;
}

.ai-use-cases {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .ai-use-cases { grid-template-columns: repeat(2, 1fr); } }

.ai-use-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(247, 246, 242, 0.04);
  border: 1px solid rgba(247, 246, 242, 0.1);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ai-use-card:hover {
  transform: translateY(-4px);
  background: rgba(247, 246, 242, 0.07);
  border-color: rgba(199, 168, 109, 0.45);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.4);
}
.ai-use-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-use-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 600;
}
.ai-use-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: rgba(199, 168, 109, 0.12);
  color: var(--gold);
  display: grid;
  place-items: center;
}
.ai-use-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--cream-light);
  letter-spacing: -0.02em;
}
.ai-use-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(247, 246, 242, 0.72);
}
.ai-use-examples {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 246, 242, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ai-use-tag {
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: rgba(199, 168, 109, 0.1);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
}

/* AI principles - 4 horizontal */
.ai-principles {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(247, 246, 242, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(247, 246, 242, 0.12);
  overflow: hidden;
}
@media (min-width: 768px) { .ai-principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ai-principles { grid-template-columns: repeat(4, 1fr); } }

.ai-principle {
  padding: 2rem 1.5rem;
  background: rgba(19, 57, 35, 0.6);
  text-align: center;
  transition: background 0.4s;
}
.ai-principle:hover { background: rgba(19, 57, 35, 0.85); }
.ai-principle-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(199, 168, 109, 0.15);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.ai-principle h5 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--cream-light);
}
.ai-principle p {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: rgba(247, 246, 242, 0.65);
  line-height: 1.55;
}

/* ============================================
   COMMUNITY MOVEMENT PAGE
   ============================================ */
.path-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 4rem;
}
@media (min-width: 700px) { .path-selector { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .path-selector { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.path-card {
  position: relative;
  padding: 1.75rem;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: 1.25rem;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: left;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  width: 100%;
}
.path-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--forest), var(--forest-700));
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}
.path-card > * { position: relative; z-index: 1; }
.path-card:hover {
  transform: translateY(-6px);
  border-color: var(--forest);
  box-shadow: 0 20px 50px -22px rgba(31, 93, 59, 0.35);
}
.path-card.is-selected::before { opacity: 1; }
.path-card.is-selected {
  border-color: var(--forest);
  color: var(--cream-light);
  transform: translateY(-2px);
}

.path-card-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  transition: color 0.4s;
}
.path-card.is-selected .path-card-num { color: var(--gold); }

.path-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: var(--forest-soft);
  color: var(--forest);
  display: grid;
  place-items: center;
  transition: all 0.5s;
}
.path-card.is-selected .path-card-icon {
  background: var(--gold);
  color: var(--forest);
  transform: rotate(-8deg);
}

.path-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--forest);
  letter-spacing: -0.02em;
  transition: color 0.4s;
}
.path-card.is-selected .path-card-title { color: var(--cream-light); }

.path-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(30, 30, 30, 0.7);
  transition: color 0.4s;
}
.path-card.is-selected .path-card-desc { color: rgba(247, 246, 242, 0.8); }

.path-card-cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-deep);
  transition: all 0.4s;
}
.path-card.is-selected .path-card-cta { color: var(--gold); gap: 0.7rem; }

/* Path detail */
.path-detail {
  display: none;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: cat-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.path-detail.is-active { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .path-detail.is-active { grid-template-columns: 1fr 1.3fr; } }

.path-detail-media {
  position: relative;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-800));
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.path-detail-content { padding: 2.5rem; }
.path-detail-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.path-detail-title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw + 0.4rem, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--forest);
}
.path-detail-desc {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(30, 30, 30, 0.72);
}
.path-detail-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.path-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border-radius: 0.7rem;
}
.path-detail-item-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream-light);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.path-detail-item-text {
  font-size: 0.9rem;
  color: rgba(30, 30, 30, 0.78);
  line-height: 1.5;
}
.path-detail-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================
   MEDIA INSIGHT PAGE
   ============================================ */
.insight-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  justify-content: center;
}
.insight-filter {
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--cream);
  color: var(--forest);
  border: 0;
  cursor: pointer;
  transition: all 0.35s;
  font-family: var(--font-body);
}
.insight-filter:hover { background: var(--cream-warm); }
.insight-filter.is-active {
  background: var(--forest);
  color: var(--cream-light);
}

.insight-magazine {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) { .insight-magazine { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .insight-magazine {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
  }
}

.mag-card {
  position: relative;
  padding: 1.75rem;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.mag-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 168, 109, 0.5);
  box-shadow: 0 16px 40px -18px rgba(31, 93, 59, 0.25);
}

.mag-card-feature {
  background: linear-gradient(135deg, var(--forest), var(--forest-800));
  color: var(--cream-light);
  border-color: var(--forest-700);
  position: relative;
  overflow: hidden;
}
@media (min-width: 1100px) {
  .mag-card-feature { grid-column: span 2; grid-row: span 2; }
}
.mag-card-feature::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(199, 168, 109, 0.25), transparent 70%);
  pointer-events: none;
}

.mag-card-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  height: 100%;
  position: relative;
}
@media (min-width: 700px) {
  .mag-card-feature-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

.mag-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  background: rgba(199, 168, 109, 0.15);
  color: var(--gold-deep);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.mag-card-feature .mag-tag {
  background: rgba(247, 246, 242, 0.12);
  color: var(--gold);
  border: 1px solid rgba(247, 246, 242, 0.18);
}

.mag-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--cream-light);
  text-wrap: balance;
}
.mag-card:not(.mag-card-feature) h3,
.mag-card:not(.mag-card-feature) h4 {
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.mag-card-feature p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(247, 246, 242, 0.78);
  text-wrap: pretty;
}
.mag-card:not(.mag-card-feature) p {
  font-size: 0.88rem;
  color: rgba(30, 30, 30, 0.68);
  line-height: 1.6;
}

.mag-meta {
  margin-top: auto;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(31, 93, 59, 0.55);
}
.mag-card-feature .mag-meta { color: rgba(247, 246, 242, 0.55); }

.mag-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  border-radius: 9999px;
  background: var(--gold);
  color: var(--forest);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  transition: all 0.4s;
}
.mag-card-feature:hover .mag-cta {
  background: var(--cream-light);
  transform: translateX(4px);
}

/* Newsletter footer block on insight page */
.newsletter-block {
  margin-top: 5rem;
  padding: 4rem 2rem;
  background: var(--forest);
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--cream-light);
  position: relative;
  overflow: hidden;
}
.newsletter-block::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(199, 168, 109, 0.2), transparent 60%);
  pointer-events: none;
}
.newsletter-block::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(123, 174, 127, 0.18), transparent 60%);
  pointer-events: none;
}
.newsletter-content {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
}
.newsletter-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.newsletter-title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.newsletter-desc {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(247, 246, 242, 0.78);
}
.newsletter-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 600px) {
  .newsletter-form { flex-direction: row; }
}
.newsletter-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(247, 246, 242, 0.22);
  background: rgba(247, 246, 242, 0.06);
  color: var(--cream-light);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.3s;
}
.newsletter-input::placeholder { color: rgba(247, 246, 242, 0.5); }
.newsletter-input:focus {
  border-color: var(--gold);
  background: rgba(247, 246, 242, 0.1);
}

/* ============================================
   GENERIC PAGE CTA (closing block)
   ============================================ */
.page-end-cta {
  margin-top: 6rem;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--cream), var(--cream-warm));
  position: relative;
  overflow: hidden;
}
.page-end-cta::before {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(199, 168, 109, 0.22), transparent 60%);
  pointer-events: none;
}
.page-end-cta > * { position: relative; }

.page-end-cta h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--forest);
  text-wrap: balance;
  max-width: 36rem;
  margin: 0 auto;
}
.page-end-cta p {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(30, 30, 30, 0.7);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.page-end-cta-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 600px) { .page-end-cta-buttons { flex-direction: row; } }

/* ============================================
   INDEX TEASER (replacement for in-page sections)
   ============================================ */
.pages-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) { .pages-teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pages-teaser-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.page-teaser {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  color: inherit;
}
.page-teaser::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(199, 168, 109, 0.16), transparent 70%);
  pointer-events: none;
  transition: transform 0.6s;
}
.page-teaser:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 168, 109, 0.5);
  box-shadow: 0 18px 50px -22px rgba(31, 93, 59, 0.28);
}
.page-teaser:hover::before { transform: scale(1.5); }

.page-teaser > * { position: relative; }

.page-teaser-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.page-teaser-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  background: var(--forest);
  color: var(--cream-light);
  display: grid;
  place-items: center;
  transition: all 0.5s;
}
.page-teaser:hover .page-teaser-icon {
  background: var(--gold);
  color: var(--forest);
  transform: rotate(-6deg);
}
.page-teaser h3 {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.page-teaser p {
  font-size: 0.92rem;
  color: rgba(30, 30, 30, 0.7);
  line-height: 1.6;
  text-wrap: pretty;
}
.page-teaser-link {
  margin-top: auto;
  padding-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.02em;
  transition: gap 0.4s;
}
.page-teaser:hover .page-teaser-link {
  gap: 0.85rem;
  color: var(--gold-deep);
}

/* ============================================
   LEARNING HUB SPOTLIGHT (index.html)
   Section dedicated untuk arahkan ke Learning Hub
   ============================================ */
.learning-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream) 100%);
  border: 1px solid var(--forest-line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (min-width: 900px) {
  .learning-spotlight {
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    padding: 4.5rem 3.5rem;
  }
}
@media (min-width: 1200px) {
  .learning-spotlight { padding: 5rem 4.5rem; gap: 4.5rem; }
}

.learning-spotlight-bg {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 38rem;
  height: 38rem;
  background:
    radial-gradient(circle at center, rgba(199, 168, 109, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.learning-spotlight-shape {
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 26rem;
  height: 26rem;
  background:
    radial-gradient(circle at center, rgba(123, 174, 127, 0.13), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

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

.learning-spotlight-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  background: rgba(199, 168, 109, 0.15);
  border: 1px solid rgba(199, 168, 109, 0.35);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.learning-spotlight-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-deep);
  animation: page-eyebrow-pulse 2.4s ease-in-out infinite;
}

.learning-spotlight-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3vw + 0.5rem, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--forest);
  text-wrap: balance;
}

.learning-spotlight-desc {
  margin-top: 1.5rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(30, 30, 30, 0.72);
  max-width: 34rem;
  text-wrap: pretty;
}

.learning-spotlight-cats {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.learning-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.learning-cat-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 168, 109, 0.55);
  background: var(--cream-warm);
  box-shadow: 0 6px 16px -8px rgba(31, 93, 59, 0.18);
}
.learning-cat-chip span {
  font-size: 0.95rem;
  line-height: 1;
}

.learning-spotlight-cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.learning-spotlight-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: rgba(31, 93, 59, 0.65);
  font-weight: 500;
}
.learning-spotlight-note-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5BA362;
  box-shadow: 0 0 0 3px rgba(91, 163, 98, 0.18);
  animation: page-eyebrow-pulse 2.2s ease-in-out infinite;
}

/* ----- Stacked cards visual (right side) ----- */
.learning-spotlight-visual {
  position: relative;
  z-index: 1;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lstack {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 340px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .lstack { margin-right: 0; }
}

.lstack-card {
  position: absolute;
  inset: 0;
  padding: 1.5rem 1.5rem 1.5rem;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: 1.2rem;
  box-shadow: 0 14px 36px -16px rgba(31, 93, 59, 0.22);
  transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  height: auto;
  min-height: 130px;
}

.lstack-card-1 {
  top: 0;
  left: 6%;
  transform: rotate(-5deg);
  z-index: 3;
  background: linear-gradient(135deg, var(--forest), var(--forest-700));
  border-color: var(--forest-700);
  color: var(--cream-light);
}
.lstack-card-2 {
  top: 110px;
  left: -2%;
  transform: rotate(2deg);
  z-index: 2;
  background: linear-gradient(135deg, #F2EDDA, var(--cream-warm));
  border-color: rgba(199, 168, 109, 0.4);
}
.lstack-card-3 {
  top: 220px;
  left: 12%;
  transform: rotate(-2deg);
  z-index: 1;
}

.learning-spotlight:hover .lstack-card-1 { transform: rotate(-7deg) translateY(-4px); }
.learning-spotlight:hover .lstack-card-2 { transform: rotate(3deg) translateY(-2px); }
.learning-spotlight:hover .lstack-card-3 { transform: rotate(-3deg) translateX(4px); }

.lstack-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.lstack-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  background: rgba(247, 246, 242, 0.15);
  color: var(--gold);
}
.lstack-card-2 .lstack-icon,
.lstack-card-3 .lstack-icon {
  background: var(--forest-soft);
  color: var(--forest);
}

.lstack-badge {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.lstack-card-2 .lstack-badge,
.lstack-card-3 .lstack-badge { color: var(--gold-deep); }

.lstack-title {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--cream-light);
}
.lstack-card-2 .lstack-title,
.lstack-card-3 .lstack-title { color: var(--forest); }

.lstack-sub {
  font-size: 0.78rem;
  color: rgba(247, 246, 242, 0.7);
  font-weight: 500;
}
.lstack-card-2 .lstack-sub,
.lstack-card-3 .lstack-sub { color: rgba(31, 93, 59, 0.6); }

/* ----- btn-gold variant for hero CTA ----- */
.btn-gold {
  background: var(--gold);
  color: var(--forest);
  border: 1px solid var(--gold);
  box-shadow: 0 6px 20px -10px rgba(199, 168, 109, 0.55);
}
.btn-gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--cream-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -10px rgba(199, 168, 109, 0.7);
}
.btn-gold svg { color: currentColor; }

/* Mobile adjustments for the spotlight */
@media (max-width: 899px) {
  .lstack {
    height: 360px;
    max-width: 320px;
  }
  .lstack-card { min-height: 120px; }
  .lstack-card-1 { left: 4%; }
  .lstack-card-2 { top: 115px; left: -4%; }
  .lstack-card-3 { top: 230px; left: 10%; }
}

/* ============================================
   PROGRAMS PAGE — Commercial Products
   Product cards, pricing, buy buttons, buy flow,
   payment methods
   ============================================ */

/* ----- Featured Product (big card) ----- */
.product-featured {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-800) 100%);
  color: var(--cream-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (min-width: 900px) {
  .product-featured {
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    padding: 4rem 3.5rem;
  }
}

.product-featured-bg {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle at center, rgba(199, 168, 109, 0.28), transparent 65%);
  pointer-events: none;
}
.product-featured-shape {
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle at center, rgba(123, 174, 127, 0.2), transparent 65%);
  pointer-events: none;
}

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

.product-tag-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(199, 168, 109, 0.15);
  color: var(--gold);
  border: 1px solid rgba(199, 168, 109, 0.35);
}
.product-tag-kit { background: rgba(31, 93, 59, 0.08); color: var(--forest); border-color: rgba(31, 93, 59, 0.18); }
.product-tag-class { background: rgba(199, 168, 109, 0.15); color: var(--gold-deep); border-color: rgba(199, 168, 109, 0.4); }
.product-tag-service { background: rgba(199, 168, 109, 0.18); color: var(--gold); border-color: rgba(199, 168, 109, 0.4); }

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(247, 246, 242, 0.12);
  color: var(--cream-light);
  border: 1px solid rgba(247, 246, 242, 0.22);
}
.product-badge-popular { background: rgba(231, 76, 60, 0.12); color: #C0392B; border-color: rgba(231, 76, 60, 0.3); }
.product-badge-budget { background: rgba(46, 204, 113, 0.12); color: #1F8C4D; border-color: rgba(46, 204, 113, 0.3); }
.product-badge-limited { background: rgba(199, 168, 109, 0.18); color: var(--gold-deep); border-color: rgba(199, 168, 109, 0.4); }

.product-featured-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3vw + 0.5rem, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--cream-light);
  text-wrap: balance;
}
.product-featured-tagline {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(247, 246, 242, 0.78);
  max-width: 32rem;
  text-wrap: pretty;
}

/* Price block */
.product-price-block {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(247, 246, 242, 0.06);
  border: 1px solid rgba(199, 168, 109, 0.25);
  border-radius: 1rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
}

.product-price-prefix {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3vw + 0.5rem, 2.85rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--cream-light);
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}
.product-price-currency {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0;
}
.product-price-amount { font-feature-settings: "tnum"; }
.product-price-suffix {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: rgba(247, 246, 242, 0.6);
  font-style: italic;
}

.product-features-featured {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 700px) {
  .product-features-featured { grid-template-columns: repeat(2, 1fr); column-gap: 1.5rem; }
}

.product-features-featured li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(247, 246, 242, 0.85);
  line-height: 1.5;
}

.product-feature-check {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.product-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.product-cta-note {
  font-size: 0.85rem;
  color: rgba(247, 246, 242, 0.75);
  font-weight: 500;
}

/* Right visual: deliverables grid */
.product-featured-visual {
  position: relative;
  z-index: 1;
}
.product-deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.deliverable-item {
  padding: 1rem 1rem;
  background: rgba(247, 246, 242, 0.08);
  border: 1px solid rgba(247, 246, 242, 0.15);
  border-radius: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.deliverable-item:hover {
  background: rgba(247, 246, 242, 0.12);
  border-color: rgba(199, 168, 109, 0.4);
  transform: translateY(-2px);
}

.deliverable-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  background: rgba(199, 168, 109, 0.15);
  color: var(--gold);
  display: grid;
  place-items: center;
}

.deliverable-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream-light);
  letter-spacing: -0.005em;
  line-height: 1.2;
}

/* ----- 3 Product Cards Grid ----- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 700px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card-bg {
  position: absolute;
  top: -40%;
  right: -25%;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle at center, rgba(199, 168, 109, 0.18), transparent 65%);
  pointer-events: none;
  transition: transform 0.6s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 168, 109, 0.5);
  box-shadow: 0 20px 50px -22px rgba(31, 93, 59, 0.28);
}
.product-card:hover .product-card-bg { transform: scale(1.4); }

.product-card-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.product-card-icon-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}
.product-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--forest);
  color: var(--cream-light);
  display: grid;
  place-items: center;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover .product-card-icon {
  background: var(--gold);
  color: var(--forest);
  transform: rotate(-6deg);
}

.product-name {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--forest);
  text-wrap: balance;
}

.product-tagline {
  position: relative;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(30, 30, 30, 0.7);
  text-wrap: pretty;
}

.product-card .product-price-block {
  background: linear-gradient(135deg, rgba(199, 168, 109, 0.08), rgba(31, 93, 59, 0.04));
  border-color: rgba(199, 168, 109, 0.25);
  margin-top: 1.5rem;
}
.product-card .product-price { color: var(--forest); }
.product-card .product-price-currency { color: var(--gold-deep); }
.product-card .product-price-suffix { color: rgba(31, 93, 59, 0.6); }
.product-card .product-price-prefix { color: var(--gold-deep); }

.product-features {
  position: relative;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: rgba(30, 30, 30, 0.78);
  line-height: 1.5;
}
.product-features .product-feature-check {
  width: 1.2rem;
  height: 1.2rem;
  background: var(--forest);
  color: var(--cream-light);
}

.product-buy-btn {
  position: relative;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.25rem;
  border-radius: 9999px;
  background: var(--forest);
  color: var(--cream-light);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 24px -12px rgba(31, 93, 59, 0.4);
}
.product-buy-btn:hover {
  background: var(--gold);
  color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(199, 168, 109, 0.5);
}

/* ----- Buy Flow (3 steps) ----- */
.buy-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .buy-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
  }
}

.buy-flow-step {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.buy-flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 168, 109, 0.5);
  box-shadow: 0 16px 40px -18px rgba(31, 93, 59, 0.22);
}

.buy-flow-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 1rem;
}

.buy-flow-icon {
  margin: 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--forest-soft);
  color: var(--forest);
  display: grid;
  place-items: center;
  transition: all 0.5s;
}
.buy-flow-step:hover .buy-flow-icon {
  background: var(--gold);
  color: var(--cream-light);
  transform: rotate(-6deg);
}

.buy-flow-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.buy-flow-desc {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(30, 30, 30, 0.7);
}

.buy-flow-arrow {
  display: none;
  color: var(--gold-deep);
  opacity: 0.5;
}
@media (min-width: 900px) { .buy-flow-arrow { display: block; } }

/* ----- Payment Methods ----- */
.payment-methods {
  margin-top: 4rem;
  padding: 2.5rem 2rem;
  background: var(--cream-light);
  border: 1px solid var(--forest-line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.payment-methods-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.payment-methods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.payment-method-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 9999px;
  background: var(--cream);
  border: 1px solid var(--forest-line);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--forest);
  transition: all 0.35s;
}
.payment-method-chip:hover {
  background: var(--cream-warm);
  border-color: rgba(199, 168, 109, 0.55);
  transform: translateY(-2px);
}

/* ============================================
   PROGRAMS HIGHLIGHT (index.html spotlight)
   Mini-spotlight section for products on homepage
   ============================================ */
.programs-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-800) 100%);
  color: var(--cream-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (min-width: 900px) {
  .programs-spotlight {
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    padding: 4rem 3.5rem;
  }
}

.programs-spotlight-bg {
  position: absolute;
  top: -40%;
  right: -15%;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle at center, rgba(199, 168, 109, 0.28), transparent 65%);
  pointer-events: none;
}

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

.programs-spotlight-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  background: rgba(199, 168, 109, 0.15);
  border: 1px solid rgba(199, 168, 109, 0.35);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.programs-spotlight-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: page-eyebrow-pulse 2.4s ease-in-out infinite;
}

.programs-spotlight-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3vw + 0.5rem, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--cream-light);
  text-wrap: balance;
}

.programs-spotlight-desc {
  margin-top: 1.5rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(247, 246, 242, 0.78);
  max-width: 34rem;
}

.programs-spotlight-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(247, 246, 242, 0.12);
  border-bottom: 1px solid rgba(247, 246, 242, 0.12);
}
.programs-spotlight-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.programs-spotlight-stat-label {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 246, 242, 0.55);
}

.programs-spotlight-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Right side: product mini-cards */
.programs-spotlight-visual {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.psv-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(247, 246, 242, 0.08);
  border: 1px solid rgba(247, 246, 242, 0.15);
  border-radius: 0.9rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.psv-card:hover {
  background: rgba(247, 246, 242, 0.12);
  border-color: rgba(199, 168, 109, 0.4);
  transform: translateX(4px);
}

.psv-card-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: rgba(199, 168, 109, 0.18);
  color: var(--gold);
  display: grid;
  place-items: center;
}

.psv-card-info { flex: 1; min-width: 0; }
.psv-card-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream-light);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.psv-card-desc {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: rgba(247, 246, 242, 0.65);
}

.psv-card-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: -0.01em;
  text-align: right;
  white-space: nowrap;
}

/* ============================================================
   PENYEMPURNAAN TAMPILAN MOBILE — HALAMAN PROGRAMS
   Penyesuaian khusus layar ponsel (<=768px & <=480px).
   Hanya merapikan jarak, ukuran teks, dan lebar tombol —
   tema, warna, struktur, dan tampilan desktop tidak diubah.
   ============================================================ */
@media (max-width: 768px) {
  /* ----- Page hero: kurangi padding atas yang terlalu besar ----- */
  .page-hero { padding: 7rem 0 3rem; }
  .page-title { font-size: clamp(2rem, 7vw, 2.6rem); }
  .page-lead { margin-top: 1.25rem; }
  .page-hero-meta { margin-top: 1.5rem; }

  /* ----- Featured product ----- */
  .product-featured { padding: 2.25rem 1.5rem; gap: 2rem; }
  .product-price-block { margin-top: 1.5rem; padding: 1rem 1.25rem; }
  .product-cta-row { margin-top: 1.5rem; gap: 0.85rem; }
  /* Tombol CTA utama jadi selebar layar — lebih mudah ditekan */
  .product-cta-row .btn-gold { width: 100%; justify-content: center; }
  .product-cta-note { width: 100%; text-align: center; }
  .product-features-featured { margin-top: 1.5rem; }

  /* ----- 3 Product cards ----- */
  .product-card { padding: 1.75rem 1.5rem; }
  .product-buy-btn { width: 100%; }

  /* ----- Buy flow ----- */
  .buy-flow-step { padding: 1.75rem 1.5rem; }

  /* ----- Payment methods ----- */
  .payment-methods { margin-top: 2.5rem; padding: 2rem 1.5rem; }

  /* ----- FAQ accordion ----- */
  .legal-item-head { padding: 1.15rem 1.25rem; gap: 0.9rem; }
  .legal-item-title { font-size: 1rem; }
  .legal-item-num { width: 2.1rem; height: 2.1rem; }

  /* ----- CTA penutup halaman ----- */
  .page-end-cta { margin-top: 4rem; padding: 2.75rem 1.5rem; }
  .page-end-cta-buttons .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  /* ----- Ponsel kecil: rapatkan lagi & kecilkan teks besar ----- */
  .page-hero { padding: 6rem 0 2.5rem; }
  .page-title { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .page-lead { font-size: 0.97rem; }

  .product-featured { padding: 2rem 1.25rem; border-radius: var(--radius-lg); }
  .product-featured-tagline { font-size: 0.95rem; }
  .product-price { font-size: 2rem; }
  .product-deliverables { gap: 0.6rem; }
  .deliverable-item { padding: 0.85rem; }

  .product-card { padding: 1.5rem 1.25rem; }
  .product-name { font-size: 1.2rem; }

  .buy-flow-step { padding: 1.5rem 1.25rem; }
  .buy-flow-title { font-size: 1.08rem; }

  .payment-method-chip { font-size: 0.8rem; padding: 0.5rem 0.85rem; }

  .legal-item-head { padding: 1rem 1.1rem; gap: 0.75rem; }
  .legal-item-title { font-size: 0.95rem; }

  .page-end-cta h3 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .page-end-cta p { font-size: 0.97rem; }
}
