/* ==========================================================================
   WARREN RESOURCES FRONTEND — LUXURY ARCHITECTURAL STYLING
   ========================================================================== */

/* View Mode Toggling (Cards vs List) */
.luxury-resource-card {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  box-sizing: border-box !important;
}

.resources-grid-container.view-mode-grid .luxury-resource-list-row {
  display: none !important;
}

.resources-grid-container.view-mode-list .luxury-resource-card {
  display: none !important;
}

.resources-grid-container.view-mode-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Detail Hero Section Fallback */
.resource-detail-main .detail-hero-section,
.single-warren_resource .detail-hero-section,
.resources-page-body .detail-hero-section {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: unset !important;
  padding: 36px 48px 48px 48px !important;
  background: #060608 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  .resource-detail-main .detail-hero-section,
  .single-warren_resource .detail-hero-section,
  .resources-page-body .detail-hero-section {
    padding: 20px 20px 32px 20px !important;
  }
}

/* Prompt Variables Highlighting */
.prompt-variable {
  color: #9BE7C4;
  font-weight: 700;
  background: rgba(155, 231, 196, 0.12);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(155, 231, 196, 0.25);
  font-family: "JetBrains Mono", monospace;
}

/* Copy Prompt Buttons */
.copy-prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.copy-prompt-btn:hover {
  background: #9BE7C4;
  color: #060911;
  border-color: #9BE7C4;
  transform: translateY(-1px);
}

.copy-prompt-btn.copied {
  background: #4ADE80 !important;
  color: #060911 !important;
  border-color: #4ADE80 !important;
}

/* ==========================================================================
   TWO-COLUMN DOCUMENTATION LAYOUT (GUIDES)
   ========================================================================== */
.guide-documentation-layout {
  position: relative;
  width: 100%;
  padding: 60px 0 100px 0;
  background: #050811;
}

.guide-doc-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

@media (max-width: 1024px) {
  .guide-doc-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }
}

/* Sticky Sidebar (Table of Contents) */
.guide-doc-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 14px;
}

.guide-sidebar-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8FD8F8;
  display: block;
  margin-bottom: 6px;
}

.guide-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guide-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  color: #94A3B8;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all 0.15s ease;
}

.guide-sidebar-link:hover {
  color: #FFFFFF;
  border-left-color: rgba(143, 216, 248, 0.4);
  background: rgba(255, 255, 255, 0.02);
}

.guide-sidebar-link.active-link {
  color: #FFFFFF;
  border-left-color: #8FD8F8;
  background: rgba(143, 216, 248, 0.06);
  font-weight: 700;
}

.guide-sidebar-link.highlight-prompts {
  margin-top: 10px;
  color: #9BE7C4;
}

.guide-sidebar-link.highlight-prompts.active-link {
  border-left-color: #9BE7C4;
  background: rgba(155, 231, 196, 0.06);
}

.guide-sidebar-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #64748B;
}

/* ==========================================================================
   CHAPTER BLOCK STYLING
   ========================================================================== */
.guide-chapter-block {
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chapter-header-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.chapter-number-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  color: #8FD8F8;
  letter-spacing: 0.1em;
}

.chapter-main-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
}

/* Callout Encart */
.guide-callout-box {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 8px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-callout-box.callout-tip {
  border-left: 3px solid #9BE7C4;
  background: rgba(155, 231, 196, 0.04);
}

.guide-callout-box.callout-tip .callout-icon {
  color: #9BE7C4;
}

.guide-callout-box.callout-info {
  border-left: 3px solid #8FD8F8;
  background: rgba(143, 216, 248, 0.04);
}

.guide-callout-box.callout-info .callout-icon {
  color: #8FD8F8;
}

.callout-heading {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.callout-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #CBD5E1;
  margin: 0;
}

/* Chapter Rich Body */
.chapter-rich-body {
  font-size: 15px;
  line-height: 1.8;
  color: #CBD5E1;
}

.chapter-rich-body p {
  margin-bottom: 18px;
}

.chapter-rich-body strong {
  color: #FFFFFF;
  font-weight: 600;
}

.chapter-rich-body ul, .chapter-rich-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.chapter-rich-body li {
  margin-bottom: 8px;
}

.chapter-rich-body code {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: #9BE7C4;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Key Takeaways */
.chapter-takeaways-wrap {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.takeaways-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
}

.takeaways-pills-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.takeaway-pill {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   OPERATIONAL PROMPTS STACK (IN GUIDES)
   ========================================================================== */
.guide-prompts-master-section {
  padding-top: 40px;
}

.guide-prompts-header {
  margin-bottom: 30px;
}

.prompts-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 8px 0;
}

.prompts-section-subtitle {
  font-size: 13px;
  color: #94A3B8;
  margin: 0;
}

.guide-prompts-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-prompt-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px;
}

.gp-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.gp-num-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(155, 231, 196, 0.12);
  color: #9BE7C4;
}

.gp-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.gp-card-objective {
  font-size: 13px;
  color: #94A3B8;
  margin: 0 0 14px 0;
}

.gp-code-box pre {
  margin: 0;
  padding: 16px;
  background: #04060C;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #CBD5E1;
  white-space: pre-wrap;
  word-break: break-word;
}

.gp-card-footer {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   LUXURY MINIMALIST HOVER VIEW REFINEMENT
   ========================================================================== */
.luxury-resource-card .title-serif-accent {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  opacity: 0.85;
  margin-left: 5px;
}

.luxury-resource-card .card-hover-editorial-view {
  padding: 32px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: #000000 !important;
}

.luxury-resource-card .card-hover-header {
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.luxury-resource-card .card-hover-body {
  margin: auto 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 10px 0 !important;
}

.luxury-resource-card .card-hover-title {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em !important;
  color: #FFFFFF !important;
  margin: 0 !important;
}

.luxury-resource-card .card-hover-desc {
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(247, 247, 242, 0.65) !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.luxury-resource-card .card-hover-data-array {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-top: 6px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.luxury-resource-card .data-array-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.luxury-resource-card .data-array-text {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.luxury-resource-card .card-integrated-cta-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.luxury-resource-card .card-integrated-cta-btn:hover {
  background: #FFFFFF !important;
  color: #000000 !important;
  border-color: #FFFFFF !important;
}

/* ==========================================================================
   WARREN RESOURCES ARCHIVE — MOBILE RESPONSIVENESS & PERFORMANCE (<= 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* Eliminate excess top spacing from hero */
  .resources-main-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Eliminate 3-row AI Providers Marquee Ticker on mobile */
  .grid-header-right-ticker {
    display: none !important;
  }

  .grid-editorial-header {
    grid-template-columns: 1fr !important;
    padding: 24px 16px 20px 16px !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .grid-header-left {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .grid-header-title {
    font-size: clamp(1.85rem, 6.8vw, 2.35rem) !important;
    font-weight: 900 !important;
    line-height: 1.16 !important;
    letter-spacing: -0.02em !important;
    width: 100% !important;
    margin: 0 !important;
    overflow-wrap: break-word !important;
  }

  .grid-header-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: rgba(247, 247, 242, 0.72) !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Sticky Filter Bar */
  .archive-sticky-filter-bar {
    top: 0 !important;
    padding: 12px 16px !important;
    background: rgba(8, 10, 14, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .archive-filter-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Free-Flowing Category Filter Chips (No rigid clipped capsule) */
  .category-segmented-switch {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 8px !important;
    padding: 2px 0 4px 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .category-segmented-switch::-webkit-scrollbar {
    display: none !important;
  }

  .category-segmented-switch .switch-segment,
  .archive-filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    padding: 8px 16px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 9999px !important;
    color: rgba(247, 247, 242, 0.75) !important;
    transition: all 0.2s ease !important;
  }

  .category-segmented-switch .switch-segment.active,
  .archive-filter-btn.active {
    background: #FFFFFF !important;
    color: #080A0E !important;
    border-color: #FFFFFF !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2) !important;
  }

  .category-segmented-switch .switch-segment.active .pill-icon-svg,
  .archive-filter-btn.active .pill-icon-svg {
    color: #080A0E !important;
    stroke: #080A0E !important;
  }

  /* Full-width Search Bar */
  .archive-search-capsule {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-sizing: border-box !important;
    padding: 0 14px !important;
  }

  /* Hide list/cards view toggle on mobile */
  .layout-segmented-switch {
    display: none !important;
  }

  /* 1-Column Mobile Grid */
  .resources-grid-section {
    padding: 20px 16px 60px 16px !important;
  }

  .resources-grid-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Card View: Always visible rich content */
  .luxury-resource-card {
    height: auto !important;
    min-height: 360px !important;
    background: #080A0E !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
  }

  .luxury-resource-card .card-default-state {
    display: none !important;
  }

  .luxury-resource-card .card-hover-editorial-view {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    padding: 24px 20px !important;
    background: #080A0E !important;
    min-height: 360px !important;
  }

  .luxury-resource-card .card-hover-title {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
  }

  .luxury-resource-card .card-hover-desc {
    font-size: 12.5px !important;
    -webkit-line-clamp: 3 !important;
  }

  .luxury-resource-card .card-integrated-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    background: rgba(143, 216, 248, 0.12) !important;
    border-color: rgba(143, 216, 248, 0.3) !important;
    color: #8FD8F8 !important;
  }
}




/* ==========================================================================
   WARREN GRANGE — COMPLETE RESOURCE DOCUMENTATION & MASTERCLASS SYSTEM
   ========================================================================== */

/* ==========================================================================
   SECTION 40: MASTERCLASS GUIDELINE & GEMS INTERACTIVE SYSTEM
   ========================================================================== */
.detail-guide-masterclass-section {
  padding: 100px 32px 130px 32px;
  background: #060608;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.masterclass-container {
  max-width: 1780px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.masterclass-header {
  text-align: center;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.masterclass-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 14px auto 12px auto;
  color: #FFFFFF;
  width: 100%;
  max-width: 100%;
}

.masterclass-title .detail-serif-accent {
  font-family: var(--font-accent) !important;
  font-style: italic !important;
  font-weight: 300 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  text-transform: lowercase !important;
  font-size: 1em !important;
}

.masterclass-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(247, 247, 242, 0.7);
  margin: 0;
}

/* Masterclass & Guide Module Feature Cards Grid */
.masterclass-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 16px 0 0 0;
  background: transparent;
  border: none;
}

@media (max-width: 1024px) {
  .masterclass-grid-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.masterclass-feature-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  box-sizing: border-box;
}

.masterclass-feature-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(143, 216, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(143, 216, 248, 0.08);
}

.feature-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* Brutalist Outlined Numbering */
.feature-card-num {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 3.4vw, 3.6rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(143, 216, 248, 0.5);
  transition: -webkit-text-stroke 0.25s ease;
  display: flex;
  align-items: center;
}

.masterclass-feature-card:hover .feature-card-num {
  -webkit-text-stroke: 1.5px #8FD8F8;
}

.feature-card-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Feature Card Bullet Lists */
.feature-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(247, 247, 242, 0.75);
}

.feature-card-list li {
  position: relative;
  padding-left: 14px;
}

.feature-card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-bleu-iceberg);
  font-weight: bold;
}

.feature-card-list li strong {
  color: #FFFFFF;
}

/* Specific Interactive Masterclass Section Table in nano-banana.html */
.detail-guide-masterclass-section .masterclass-grid-cards {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

.detail-guide-masterclass-section .masterclass-feature-card.interactive-card {
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 !important;
  padding: 44px 38px;
  box-shadow: none !important;
}

.detail-guide-masterclass-section .masterclass-feature-card.interactive-card:last-child {
  border-right: none !important;
}

.detail-guide-masterclass-section .masterclass-feature-card.interactive-card:hover {
  background: rgba(255, 255, 255, 0.015) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Card 1: Access Pills & Dynamic Detail Display */
.access-interactive-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.access-pill-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: rgba(247, 247, 242, 0.85);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  box-shadow: none !important;
}

.access-pill-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(143, 216, 248, 0.4);
  color: #FFFFFF;
}

/* Flat & Matte Solid Active State */
.access-pill-btn.active {
  background: #9BE7C4 !important;
  border-color: #9BE7C4 !important;
  color: #0A0A0D !important;
  font-weight: 800 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

.access-pill-tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid currentColor;
}

.access-pill-btn.active .access-pill-tag {
  background: #0A0A0D !important;
  color: #9BE7C4 !important;
  border-color: #0A0A0D !important;
}

.access-pill-btn[data-access="standard"] .access-pill-tag {
  color: #9BE7C4;
  border-color: rgba(155, 231, 196, 0.4);
}

.access-pill-btn[data-access="aistudio"] .access-pill-tag {
  color: #8FD8F8;
  border-color: rgba(143, 216, 248, 0.4);
}

.access-pill-btn[data-access="notebooklm"] .access-pill-tag {
  color: #FFD166;
  border-color: rgba(255, 209, 102, 0.4);
}

.access-detail-display {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  box-shadow: none !important;
}

.access-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  gap: 12px;
}

.access-label {
  color: rgba(247, 247, 242, 0.55);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.access-val {
  color: #8FD8F8;
  font-weight: 700;
  text-align: right;
}

.access-val.code-val {
  font-family: var(--font-body);
  font-size: 12px;
  background: rgba(155, 231, 196, 0.08);
  border: 1px solid rgba(155, 231, 196, 0.3);
  padding: 3px 8px;
  border-radius: 3px;
  color: #9BE7C4;
}

/* Card 2: Interactive Rules Rows */
.interactive-rules-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rule-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(247, 247, 242, 0.85);
  transition: all 0.15s ease;
  box-shadow: none !important;
}

.rule-chip-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(143, 216, 248, 0.35);
}

.rule-chip-icon {
  font-size: 11px;
  color: #8FD8F8;
  flex-shrink: 0;
}

.rule-chip-content {
  flex: 1;
}

.rule-chip-content strong {
  color: #FFFFFF;
}

.rule-chip-content code {
  background: rgba(143, 216, 248, 0.08);
  color: #8FD8F8;
  border: 1px solid rgba(143, 216, 248, 0.25);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-family: var(--font-body);
}

.rule-copy-btn {
  background: transparent;
  border: 1px solid rgba(155, 231, 196, 0.35);
  border-radius: 3px;
  color: #9BE7C4;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  box-shadow: none !important;
}

.rule-copy-btn:hover {
  background: #9BE7C4;
  border-color: #9BE7C4;
  color: #0A0A0D;
  box-shadow: none !important;
}

.rule-action-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8FD8F8;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.rule-action-link:hover {
  color: #9BE7C4;
}

/* Card 3: Interactive Pillars Grid */
.interactive-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pillar-interactive-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  box-shadow: none !important;
}

.pillar-interactive-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(143, 216, 248, 0.35);
}

/* Flat & Matte Solid Iceberg Active State */
.pillar-interactive-btn.active {
  background: #8FD8F8 !important;
  border-color: #8FD8F8 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

.pillar-interactive-btn .pillar-btn-title {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  color: #8FD8F8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pillar-interactive-btn.active .pillar-btn-title {
  color: #0A0A0D !important;
  font-weight: 900 !important;
}

.pillar-interactive-btn .pillar-btn-sub {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(247, 247, 242, 0.65);
}

.pillar-interactive-btn.active .pillar-btn-sub {
  color: rgba(10, 10, 13, 0.75) !important;
  font-weight: 700 !important;
}

.pillar-active-hint {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(247, 247, 242, 0.8);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 12px 14px;
  margin-top: auto;
  box-shadow: none !important;
}

@media (max-width: 960px) {
  .masterclass-grid-cards {
    grid-template-columns: 1fr;
  }
  .masterclass-feature-card.interactive-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 28px 20px;
  }
  .masterclass-feature-card.interactive-card:last-child {
    border-bottom: none !important;
  }
}

/* Part B: Gems Automation Workflow Bar */
.gems-automation-visual-bar {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 42px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: none !important;
}

.gems-workflow-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gems-workflow-tag {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8FD8F8;
}

.gems-workflow-title {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
}

.gems-steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gems-step-pill-tab {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none !important;
}

.gems-step-pill-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(143, 216, 248, 0.35);
}

.gems-step-pill-tab.active {
  background: #8FD8F8 !important;
  border-color: #8FD8F8 !important;
  box-shadow: none !important;
  border-radius: 4px !important;
}

.gems-step-pill-tab .step-pill-index {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8FD8F8;
}

.gems-step-pill-tab.active .step-pill-index {
  color: rgba(10, 10, 13, 0.75) !important;
}

.gems-step-pill-tab .step-pill-heading {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.gems-step-pill-tab.active .step-pill-heading {
  color: #0A0A0D !important;
  font-weight: 800 !important;
}

.gems-step-content-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 24px 32px;
  box-shadow: none !important;
}

.gems-step-desc-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gems-step-sub {
  font-family: var(--font-title);
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.4;
}

.gems-step-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(247, 247, 242, 0.88);
  margin: 0;
}

.gems-step-text strong {
  color: #9BE7C4;
}

.gems-step-chip {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9BE7C4;
  background: transparent;
  border: 1px solid rgba(155, 231, 196, 0.4);
  padding: 8px 14px;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: none !important;
}

/* Part C: Master Prompt Customizer Box */
.master-prompt-template-box {
  background: #060608;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none !important;
  position: relative;
}

.template-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 42px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.template-badge {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8FD8F8;
}

.template-title {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 4px 0 0 0;
  letter-spacing: -0.01em;
}

.template-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.template-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  padding: 9px 16px;
  color: rgba(247, 247, 242, 0.7);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none !important;
}

.template-reset-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.copy-master-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #9BE7C4;
  border: 1px solid #9BE7C4;
  border-radius: 3px;
  padding: 10px 20px;
  color: #0A0A0D;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none !important;
  transition: all 0.15s ease;
}

.copy-master-btn:hover {
  background: #8FD8F8;
  border-color: #8FD8F8;
  transform: none !important;
}

/* Prompt Live Customizer Controls */
.prompt-customizer-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 42px;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.customizer-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customizer-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8FD8F8;
}

.customizer-btn-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.customizer-btn {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  color: rgba(247, 247, 242, 0.85);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: normal;
  overflow: visible;
  box-shadow: none !important;
}

.customizer-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(143, 216, 248, 0.35);
  color: #FFFFFF;
}

/* Flat & Matte Solid Mint Active State */
.customizer-btn.active {
  background: #9BE7C4 !important;
  border-color: #9BE7C4 !important;
  color: #0A0A0D !important;
  font-weight: 800 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}

.template-code-view {
  padding: 34px 42px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(247, 247, 242, 0.9);
  overflow-x: auto;
  white-space: pre-wrap;
  min-height: 280px;
  transition: opacity 0.2s ease;
}

.template-code-view.updating {
  opacity: 0.4;
}

@media (max-width: 1080px) {
  .prompt-customizer-controls {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .detail-guide-masterclass-section {
    padding: 60px 20px 80px 20px;
  }
  .masterclass-grid-cards {
    grid-template-columns: 1fr;
  }
  .gems-steps-container {
    grid-template-columns: 1fr;
  }
  .prompt-customizer-controls {
    grid-template-columns: 1fr;
  }
}

/* Copy Toast Notification */
.copy-toast-notification {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #9BE7C4;
  color: #0A0A0D;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(155, 231, 196, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.copy-toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Lightbox Modal */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.image-lightbox-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.9);
}

.lightbox-close-btn {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-info-bar {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(247, 247, 242, 0.8);
  text-align: center;
}

/* ==========================================================================
   2-COLUMN DOCUMENTATION LAYOUT (20% Headings Sidebar + 80% Content)
   ========================================================================== */
.guide-documentation-layout {
  width: 100%;
  box-sizing: border-box;
  background: #060608;
  padding: 40px 0 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-doc-container {
  display: grid;
  grid-template-columns: 22% 78%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 44px;
  gap: 44px;
  box-sizing: border-box;
  align-items: start;
}

@media (max-width: 1100px) {
  .guide-doc-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }
}

/* 20% Sidebar Navigation - Solid Bleu Iceberg Luxury Card */
.guide-doc-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  padding-right: 14px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-sidebar-tag {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8FD8F8 !important;
  opacity: 0.9;
}

.guide-sidebar-title {
  font-family: var(--font-title, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #F7F7F2 !important;
  margin: 0;
  letter-spacing: -0.01em;
}

.guide-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  color: rgba(247, 247, 242, 0.72) !important;
  text-decoration: none;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.guide-sidebar-link:hover {
  background: rgba(143, 216, 248, 0.08);
  color: #FFFFFF !important;
  transform: translateX(4px);
  border-color: rgba(143, 216, 248, 0.3);
}

.guide-sidebar-link.active-link {
  background: rgba(143, 216, 248, 0.12) !important;
  border-color: #8FD8F8 !important;
  color: #FFFFFF !important;
  font-weight: 750;
  box-shadow: 0 4px 18px rgba(143, 216, 248, 0.18), inset 0 0 12px rgba(143, 216, 248, 0.08);
}

.guide-sidebar-num {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 800;
  color: #8FD8F8 !important;
  opacity: 0.75;
  width: 22px;
  flex-shrink: 0;
}

.guide-sidebar-link:hover .guide-sidebar-num,
.guide-sidebar-link.active-link .guide-sidebar-num {
  color: #8FD8F8 !important;
  opacity: 1;
}

.guide-sidebar-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit !important;
}

.guide-sidebar-link.highlight-prompts {
  background: linear-gradient(135deg, rgba(155, 231, 196, 0.22) 0%, rgba(143, 216, 248, 0.25) 100%) !important;
  border: 1px solid rgba(155, 231, 196, 0.6) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 14px rgba(155, 231, 196, 0.25);
  color: #FFFFFF !important;
  font-weight: 750;
}

.guide-sidebar-link.highlight-prompts .guide-sidebar-num {
  color: #9BE7C4 !important;
  font-weight: 800;
  opacity: 1;
}

.guide-sidebar-link.highlight-prompts .guide-sidebar-label {
  color: #FFFFFF !important;
  font-weight: 750;
}

.guide-sidebar-link.highlight-prompts:hover {
  background: linear-gradient(135deg, rgba(155, 231, 196, 0.32) 0%, rgba(143, 216, 248, 0.35) 100%) !important;
  transform: translateX(4px) scale(1.02);
  border-color: #9BE7C4 !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 20px rgba(155, 231, 196, 0.45);
}

.guide-sidebar-link.highlight-prompts.active-link {
  background: rgba(10, 14, 24, 0.95) !important;
  border: 1.5px solid #9BE7C4 !important;
  color: #9BE7C4 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(155, 231, 196, 0.4);
}

.guide-sidebar-link.highlight-prompts.active-link .guide-sidebar-num {
  color: #9BE7C4 !important;
  opacity: 1;
}

.guide-sidebar-link.highlight-prompts.active-link .guide-sidebar-label {
  color: #9BE7C4 !important;
}

/* 80% Content Area */
.guide-doc-content-area {
  min-width: 0; /* Prevents grid breakout */
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
}

/* Guide content is always readable */
.guide-doc-content-area .guide-module-block {
  opacity: 1;
}

/* Floating Sticky VIP Unlock Teaser Banner in the Content Area */
.guide-content-lock-banner {
  display: none;
}

.guide-doc-content-area.is-locked-content .guide-content-lock-banner {
  display: flex !important;
  position: sticky;
  top: 120px;
  z-index: 50;
  width: 92%;
  max-width: 680px;
  margin: 24px auto -240px auto;
  background: linear-gradient(180deg, rgba(16, 16, 22, 0.96) 0%, rgba(9, 9, 13, 0.98) 100%);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border: 1px solid rgba(143, 216, 248, 0.3);
  border-radius: 28px;
  padding: 40px 36px 36px 36px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.95), 0 0 60px rgba(143, 216, 248, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: auto;
  animation: cardElevate 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ==========================================================================
   NANO BANANA PRO GALLERY BLUR & LOCK OVERLAY SYSTEM
   ========================================================================== */
.prompt-card-media-wrap.is-blurred-preview {
  position: relative !important;
  overflow: hidden !important;
}

.prompt-card-media-wrap.is-blurred-preview .prompt-card-img,
.prompt-card-media-wrap.is-blurred-preview .prompt-card-img.blurred-media-img {
  filter: blur(16px) brightness(0.6) saturate(50%) !important;
  -webkit-filter: blur(16px) brightness(0.6) saturate(50%) !important;
  transform: scale(1.08) !important;
  user-select: none !important;
  pointer-events: none !important;
  transition: filter 0.4s ease, transform 0.4s ease !important;
}

.prompt-card-media-wrap.is-blurred-preview .image-blur-lock-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  background: rgba(10, 10, 13, 0.55) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  padding: 16px !important;
  text-align: center !important;
}

.prompt-card-media-wrap.is-blurred-preview .lock-brand-logo-img {
  height: 28px !important;
  width: auto !important;
  opacity: 0.9 !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8)) !important;
}

.prompt-card-media-wrap.is-blurred-preview .unlock-trigger-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 18px !important;
  background: linear-gradient(135deg, #9BE7C4 0%, #8FD8F8 100%) !important;
  color: #0A0A0D !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 20px !important;
  font-family: var(--font-body) !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(155, 231, 196, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.prompt-card-media-wrap.is-blurred-preview .unlock-trigger-action-btn:hover {
  transform: scale(1.06) !important;
  background: linear-gradient(135deg, #A8F0CF 0%, #A2E2FF 100%) !important;
  box-shadow: 0 6px 22px rgba(155, 231, 196, 0.5) !important;
}

/* Prompt Box Masking & Scrim in Detail Modal */
.is-locked-prompt .masked-text {
  filter: blur(8px) !important;
  -webkit-filter: blur(8px) !important;
  user-select: none !important;
  pointer-events: none !important;
  opacity: 0.4 !important;
}

.prompt-locked-action-scrim {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 0 !important;
  width: 100% !important;
}

.master-template-lock-scrim {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: calc(100% - 130px) !important;
  min-height: 240px !important;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.45) 0%, rgba(6, 6, 8, 0.94) 38%, #060608 100%) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 30px 20px !important;
  z-index: 10 !important;
  width: 100% !important;
}

.master-template-lock-scrim .prompt-lock-inner-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto !important;
  gap: 16px !important;
  max-width: 320px !important;
  width: 100% !important;
}

.master-template-lock-scrim .prompt-lock-brand-logo {
  height: 40px !important;
  width: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

.master-template-lock-scrim .unlock-card-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  max-width: 260px !important;
  width: 100% !important;
}

.guide-lock-badge-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.guide-lock-brand-logo {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

.guide-lock-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 247, 242, 0.45);
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.guide-lock-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.guide-lock-banner-title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.015em;
}

.guide-lock-banner-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(247, 247, 242, 0.75);
  max-width: 540px;
  margin: 0 auto;
}

.guide-lock-banner-desc strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* Feature Bullet Points (Clean Minimalist Architectural Text) */
.guide-lock-feature-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 8px 0 4px 0;
}

.lock-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(247, 247, 242, 0.75);
  letter-spacing: 0.02em;
}

/* Action Wrap */
.guide-lock-action-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.guide-lock-unlock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #9BE7C4 0%, #8FD8F8 100%);
  color: #0A0A0D;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(155, 231, 196, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-lock-unlock-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #A8F0CF 0%, #A2E2FF 100%);
  box-shadow: 0 14px 40px rgba(155, 231, 196, 0.55);
}

.guide-lock-guarantee-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: rgba(247, 247, 242, 0.45);
}

.guide-module-block {
  background: rgba(12, 12, 16, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  scroll-margin-top: 100px;
}

.guide-module-block.alt-bg {
  background: rgba(16, 16, 22, 0.45);
  border-color: rgba(255, 255, 255, 0.09);
}

.guide-module-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-module-tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 247, 242, 0.85);
}

.guide-module-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
}

.guide-module-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(247, 247, 242, 0.75);
  margin: 0;
}

/* Technical Data Tables */
.tech-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #0A0A0E;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.tech-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-body);
  font-size: 13.5px;
}

.tech-data-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bleu-iceberg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-data-table td {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(247, 247, 242, 0.85);
  line-height: 1.6;
}

.tech-data-table tr:last-child td {
  border-bottom: none;
}

.tech-data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.tech-data-table td strong {
  color: #FFFFFF;
}

/* Custom Geometric SVG Icon Styling (No Emojis) */
.tech-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bleu-iceberg);
  flex-shrink: 0;
  vertical-align: middle;
}

.feature-card-num .tech-icon-svg {
  color: #9BE7C4;
  width: 24px;
  height: 24px;
}

.studio-tool-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(143, 216, 248, 0.08);
  border: 1px solid rgba(143, 216, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bleu-iceberg);
  flex-shrink: 0;
}

.studio-tool-card:hover .studio-tool-icon-wrap {
  background: rgba(143, 216, 248, 0.16);
  border-color: var(--color-bleu-iceberg);
  box-shadow: 0 0 16px rgba(143, 216, 248, 0.3);
}

.rule-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Callout Box */
.guide-callout-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 14px;
  background: rgba(143, 216, 248, 0.05);
  border: 1px solid rgba(143, 216, 248, 0.25);
}

.guide-callout-box.warning {
  background: rgba(255, 123, 114, 0.05);
  border-color: rgba(255, 123, 114, 0.25);
}

.guide-callout-box.success {
  background: rgba(155, 231, 196, 0.05);
  border-color: rgba(155, 231, 196, 0.25);
}

.guide-callout-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.guide-callout-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(247, 247, 242, 0.85);
}

.guide-callout-content strong {
  color: #FFFFFF;
}

/* Studio 8 Tools Interactive Grid */
.studio-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .studio-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .studio-tools-grid {
    grid-template-columns: 1fr;
  }
}

.studio-tool-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.studio-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 216, 248, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(143, 216, 248, 0.1);
}

.studio-tool-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-tool-icon {
  font-size: 24px;
}

.studio-tool-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.studio-tool-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(247, 247, 242, 0.75);
  margin: 0;
}

.studio-tool-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(247, 247, 242, 0.7);
}

.studio-tool-list li {
  position: relative;
  padding-left: 14px;
}

.studio-tool-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-bleu-iceberg);
  font-weight: bold;
}

.studio-tool-list li strong {
  color: #FFFFFF;
}



/* ==========================================================================
   SUPER MOBILE RESPONSIVENESS SUITE (RESOURCES, NOTEBOOKLM, NANO BANANA)


/* ==========================================================================
   PERPLEXITY AI PAGE — CUSTOMIZER & PROMPT GALLERY GRID SYSTEM
   ========================================================================== */

/* Customizer Workspace Layout */
.customizer-workspace-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 28px;
  background: rgba(13, 13, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .customizer-workspace-grid {
    grid-template-columns: 1fr;
  }
}

.customizer-header-wrap {
  margin-bottom: 24px;
}

.customizer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8FD8F8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.customizer-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 8px;
}

.customizer-desc {
  font-size: 14.5px;
  color: rgba(247, 247, 242, 0.7);
  max-width: 720px;
  line-height: 1.5;
}

/* Control Panel */
.customizer-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.custom-select-wrap {
  position: relative;
}

.custom-select-input {
  width: 100%;
  appearance: none;
  background: #14141E;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 36px 12px 14px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-select-input:focus {
  outline: none;
  border-color: #8FD8F8;
  box-shadow: 0 0 0 2px rgba(143, 216, 248, 0.2);
}

.custom-select-wrap::after {
  content: '▼';
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Output Panel */
.customizer-output-panel {
  display: flex;
  flex-direction: column;
  background: #0A0A0E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.output-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.output-box-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8FD8F8;
}

.output-box-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
}

.output-code-container {
  padding: 20px;
  flex: 1;
  min-height: 220px;
  overflow-y: auto;
}

.output-code-text {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: #E2E8F0;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.output-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copy-prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 18px;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-prompt-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #8FD8F8;
  color: #8FD8F8;
}

.try-perplexity-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #8FD8F8 0%, #9BE7C4 100%);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  color: #0A0A0E;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-left: auto;
}

.try-perplexity-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(143, 216, 248, 0.3);
}

/* Operational Prompts Gallery & Sticky Filter Bar */
.prompts-gallery-header-wrap {
  margin-top: 64px;
  margin-bottom: 28px;
}

.gallery-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8FD8F8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.gallery-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.prompts-filter-bar-sticky {
  position: sticky;
  top: 80px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(10, 10, 14, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  margin-bottom: 32px;
}

@media (max-width: 860px) {
  .prompts-filter-bar-sticky {
    flex-direction: column;
    align-items: stretch;
  }
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.prompt-filter-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 6px 14px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.prompt-filter-pill:hover,
.prompt-filter-pill.active {
  background: rgba(143, 216, 248, 0.12);
  border-color: #8FD8F8;
  color: #8FD8F8;
}

.prompts-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #14141E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 6px 14px;
  min-width: 260px;
}

.prompts-search-input {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 12.5px;
  width: 100%;
}

.prompts-search-input:focus {
  outline: none;
}

/* Prompts Gallery 3-Column Grid */
.prompts-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.prompt-item-card {
  display: flex;
  flex-direction: column;
  background: rgba(13, 13, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.prompt-item-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 216, 248, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-cat-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8FD8F8;
}

.card-id-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.25;
}

.card-desc {
  font-size: 13.5px;
  color: rgba(247, 247, 242, 0.65);
  line-height: 1.5;
  margin-bottom: 16px;
}

.card-code-block {
  background: #0A0A0E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
  flex: 1;
}

.card-code-block pre {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.55;
  color: #CBD5E1;
  white-space: pre-wrap;
  word-break: break-word;
}

.card-footer-actions {
  display: flex;
  justify-content: flex-end;
}

.card-copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-copy-btn:hover {
  background: rgba(143, 216, 248, 0.12);
  border-color: #8FD8F8;
  color: #8FD8F8;
}

/* ==========================================================================
   MOBILE FLOATING SOMMAIRE ICON TRIGGER & BOTTOM DRAWER FOR RESOURCES
   ========================================================================== */
.mobile-toc-fab-btn {
  display: none;
}

.mobile-toc-drawer-backdrop {
  display: none;
}

.mobile-toc-drawer {
  display: none;
}

@media screen and (max-width: 992px) {
  /* Hide desktop sidebar on mobile */
  .guide-doc-sidebar {
    display: none !important;
  }

  .guide-doc-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .guide-doc-content-area {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Floating Sommaire Icon Trigger on Mobile */
  .mobile-toc-fab-btn {
    position: fixed;
    bottom: 24px;
    right: 18px;
    z-index: 99999;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 0;
    background: rgba(10, 14, 24, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(143, 216, 248, 0.55);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85), 0 0 24px rgba(143, 216, 248, 0.35);
    color: #8FD8F8;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-toc-fab-btn:active {
    transform: scale(0.92);
    border-color: #8FD8F8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.9), 0 0 28px rgba(143, 216, 248, 0.5);
  }

  .mobile-toc-fab-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8FD8F8;
  }

  .mobile-toc-fab-icon-wrap svg {
    display: block;
    width: 22px;
    height: 22px;
    stroke: #8FD8F8;
    stroke-width: 2.2;
  }

  .mobile-toc-fab-label {
    display: none; /* Sleek pure icon on mobile */
  }

  .mobile-toc-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #8FD8F8;
    color: #0A0E17;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 10px;
    font-weight: 900;
    border-radius: 9999px;
    padding: 1px 6px;
    min-width: 18px;
    height: 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  }

  /* Backdrop */
  .mobile-toc-drawer-backdrop {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 7, 13, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100000;
    opacity: 0;
    pointer-events: none !important;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-toc-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto !important;
  }

  /* Drawer Modal Bottom Sheet */
  .mobile-toc-drawer {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 82vh;
    background: #0A0E17;
    border-top: 1.5px solid rgba(143, 216, 248, 0.35);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(143, 216, 248, 0.15);
    z-index: 100001;
    transform: translateY(105%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    flex-direction: column;
    overflow: hidden;
  }

  .mobile-toc-drawer.is-open {
    transform: translateY(0%);
  }

  .mobile-toc-drawer-handle-bar {
    width: 44px;
    height: 4px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.22);
    margin: 12px auto 4px auto;
    flex-shrink: 0;
  }

  .mobile-toc-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
  }

  .mobile-toc-drawer-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .mobile-toc-drawer-kicker {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8FD8F8;
    display: block;
  }

  .mobile-toc-drawer-title {
    font-family: var(--font-title, 'Inter', sans-serif);
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
  }

  .mobile-toc-drawer-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-toc-count-pill {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 9px;
    border-radius: 9999px;
  }

  .mobile-toc-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
  }

  .mobile-toc-close-btn:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.16);
  }

  /* Drawer List */
  .mobile-toc-drawer-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 16px 36px 16px;
    max-height: calc(82vh - 80px);
  }

  .mobile-toc-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-toc-drawer-list li {
    list-style: none;
  }

  .mobile-toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    text-decoration: none;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-toc-link:active,
  .mobile-toc-link.is-active {
    background: rgba(143, 216, 248, 0.12);
    border-color: rgba(143, 216, 248, 0.45);
    color: #FFFFFF;
  }

  .mobile-toc-prefix {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11.5px;
    font-weight: 800;
    color: #8FD8F8;
    min-width: 22px;
    flex-shrink: 0;
  }

  .mobile-toc-title-text {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 13.5px;
    font-weight: 600;
    flex: 1;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-toc-level-tag {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
  }
}

/* ==========================================================================
   RELATED RESOURCES CARDS SECTION
   ========================================================================== */
.resource-related-section {
  width: 100%;
  max-width: 1400px;
  margin: 70px auto 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.resource-related-header {
  margin-bottom: 32px;
}

.resource-related-kicker {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8FD8F8;
  display: block;
  margin-bottom: 8px;
}

.resource-related-title {
  font-family: var(--font-title, 'Inter', sans-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #F7F7F2;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.resource-related-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(247, 247, 242, 0.65);
  max-width: 640px;
  margin: 0;
}

.resource-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-resource-card {
  display: flex;
  flex-direction: column;
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.related-resource-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 216, 248, 0.35);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(143, 216, 248, 0.15);
}

.related-card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}

.related-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-resource-card:hover .related-card-img {
  transform: scale(1.05);
}

.related-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 14, 24, 0.85) 100%);
}

.related-card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.related-type-badge {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(10, 14, 24, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #8FD8F8;
}

.related-time-badge {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(10, 14, 24, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(247, 247, 242, 0.8);
}

.related-card-content {
  padding: 22px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-tool-tag {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(143, 216, 248, 0.85);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.related-card-title {
  margin: 0 0 10px 0;
  font-family: var(--font-title, 'Inter', sans-serif);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.related-card-title a {
  color: #F7F7F2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-card-title a:hover {
  color: #8FD8F8;
}

.related-card-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(247, 247, 242, 0.6);
  margin: 0 0 18px 0;
  flex: 1;
}

.related-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.related-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #8FD8F8;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.related-card-btn:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* ==========================================================================
   MODERN CTA TO FORMATION & WIZE ACADEMY
   ========================================================================== */
.resource-formation-cta-section {
  width: 100%;
  max-width: 1400px;
  margin: 50px auto 80px auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.resource-formation-cta-inner {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 20, 32, 0.88) 0%, rgba(8, 10, 16, 0.96) 100%);
  border: 1px solid rgba(143, 216, 248, 0.25);
  border-radius: 28px;
  padding: 56px 48px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(143, 216, 248, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.resource-cta-ambient-glow {
  position: absolute;
  top: -80px;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(143, 216, 248, 0.15) 0%, rgba(155, 231, 196, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.resource-cta-header {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 40px;
}

.resource-cta-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(143, 216, 248, 0.1);
  border: 1px solid rgba(143, 216, 248, 0.3);
  padding: 5px 14px;
  border-radius: 9999px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #8FD8F8;
  margin-bottom: 16px;
}

.cta-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9BE7C4;
  box-shadow: 0 0 10px #9BE7C4;
  animation: pulseLight 2s infinite ease-in-out;
}

.resource-cta-title {
  font-family: var(--font-title, 'Inter', sans-serif);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0 0 14px 0;
  letter-spacing: -0.025em;
}

.resource-cta-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(247, 247, 242, 0.72);
  margin: 0;
}

.resource-cta-pillars-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.resource-cta-pillar-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.resource-cta-pillar-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.resource-cta-pillar-card.highlighted-pillar {
  background: linear-gradient(180deg, rgba(143, 216, 248, 0.06) 0%, rgba(155, 231, 196, 0.03) 100%);
  border-color: rgba(143, 216, 248, 0.35);
  box-shadow: 0 8px 24px rgba(143, 216, 248, 0.08);
}

.pillar-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pillar-num {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  font-weight: 800;
  color: #8FD8F8;
  opacity: 0.8;
}

.pillar-badge {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 247, 242, 0.8);
}

.pillar-badge.highlighted-badge {
  background: rgba(155, 231, 196, 0.18);
  border-color: rgba(155, 231, 196, 0.4);
  color: #9BE7C4;
}

.pillar-title {
  font-family: var(--font-title, 'Inter', sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px 0;
}

.pillar-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(247, 247, 242, 0.65);
  margin: 0 0 16px 0;
}

.pillar-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 12px;
  color: rgba(247, 247, 242, 0.8);
  margin-bottom: 20px;
  flex: 1;
}

.pillar-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #8FD8F8;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
  margin-top: auto;
}

.pillar-action-link:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.pillar-action-link.highlighted-link {
  color: #9BE7C4;
}

.pillar-action-link.highlighted-link:hover {
  color: #C3F8E0;
}

/* Bottom Bar */
.resource-cta-bottom-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-cta-buttons-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.resource-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #080A0E !important;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-btn-primary:hover {
  transform: translateY(-2px);
  background: #F0F4F8;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.35);
}

.resource-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 9999px;
  background: rgba(143, 216, 248, 0.12);
  border: 1.5px solid rgba(143, 216, 248, 0.45);
  color: #8FD8F8 !important;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(143, 216, 248, 0.2);
  border-color: #8FD8F8;
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px rgba(143, 216, 248, 0.25);
}

.resource-cta-meta-guarantees {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 12px;
  color: rgba(247, 247, 242, 0.55);
}

.resource-cta-meta-guarantees .dot {
  color: rgba(143, 216, 248, 0.6);
}

/* Responsive Breakpoints for Resources Mobile */
@media screen and (max-width: 1024px) {
  .resource-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resource-cta-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .resource-related-section,
  .resource-formation-cta-section {
    padding: 0 16px;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .resource-related-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .resource-formation-cta-inner {
    padding: 36px 20px;
    border-radius: 20px;
  }

  .resource-cta-title {
    font-size: 1.75rem;
  }

  .resource-cta-buttons-wrap {
    flex-direction: column;
    width: 100%;
  }

  .resource-btn-primary,
  .resource-btn-secondary {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
  }

  .resource-cta-meta-guarantees {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .resource-cta-meta-guarantees .dot {
    display: none;
  }
}


