/* Root Variables and Theme Configuration */
@media screen and (prefers-color-scheme: light) {
  :root {
    /* Brand Colors */
    --brand-cyan: #5fc4e5;
    --brand-red: #de2127;
    --brand-purple: #6A66B2;
    --brand-orange: #F3912D;

    /* Base Colors */
    --base-color: #dce2e2;

    /* Light Mode */
    --dominant-color: #de2127;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-shade: rgba(255,255,255,0.30);
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6a6a6a;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --image-border-color: var(--base-color);

    /* Gradient Colors for Light Mode */
    /* --gc-top-left: rgba(95, 196, 229, 0.15);
    --gc-top-right: rgba(106, 102, 178, 0.15);
    --gc-bottom-left: rgba(243, 145, 45, 0.15);
    --gc-bottom-right: rgba(222, 33, 39, 0.15); */
    /* --gc-top-left: rgba(95, 196, 229, 0.25);
    --gc-top-right: rgba(222, 33, 39, 0.25);
    --gc-bottom-left: rgba(106, 102, 178, 0.25);
    --gc-bottom-right: rgba(243, 145, 45, 0.25);
    --gc-center: #ffffff; */

    --gc-top-left: #bcc4c4;
    /* -15% */
    --gc-bottom-right: #c5cfcf;
    /* -10% */
    --gc-center: #dce2e2;
    /* 0% */
    --gc-bottom-left: #e8ebeb;
    /* 4% */
    --gc-top-right: #f0f2f2;
    /* 10% */


    --gc-top-left-ex: #bcc4c4;
    /* -15% */
    --gc-bottom-right-ex: #c5cfcf;
    /* -10% */
    --gc-center-ex: #dce2e2;
    /* 0% */
    --gc-bottom-left-ex: #e8ebeb;
    /* 4% */
    --gc-top-right-ex: #f0f2f2;
    /* 10% */
    --default-gradient: radial-gradient(ellipse at top left, var(--gc-top-left-ex) 0%, transparent 50%),
      radial-gradient(ellipse at top right, var(--gc-bottom-right-ex) 0%, transparent 50%),
      radial-gradient(ellipse at bottom left, var(--gc-bottom-left-ex) 0%, transparent 50%),
      radial-gradient(ellipse at bottom right, var(--gc-top-right-ex) 0%, transparent 50%),
      var(--gc-center-ex);

  }
}

@media screen and (prefers-color-scheme: dark) {
  :root {
    /* Dark Mode */
    --dominant-color: #222;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-shade: rgba(255,255,255,0.30);
    --text-primary: #f5f5f5;
    --text-secondary: #d0d0d0;
    --text-muted: #a0a0a0;
    --border-color: #333333;
    --card-bg: #1a1a1a;
    --shadow: rgba(0, 0, 0, 0.5);
    --image-border-color: var(--base-color);

    /* Gradient Colors for Dark Mode */
    --gc-top-left: #bcc4c4;
    /* -15% */
    --gc-bottom-right: #c5cfcf;
    /* -10% */
    --gc-center: #dce2e2;
    /* 0% */
    --gc-bottom-left: #e8ebeb;
    /* 4% */
    --gc-top-right: #f0f2f2;
    /* 10% */
  }

  .glass-bg {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(14px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
    padding: 16px !important;
    color: #fff !important;
  }

  .nav-scrolled {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(14px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
  }
}


/* Help Page Color Variables */
:root {
  --brand-color-1: #5fc4e5;
  --brand-color-2: #de2127;
  --brand-color-3: #6A66B2;
  --brand-color-4: #F3912D;

  /* Light Mode - Help Pages */
  --hp-bg-primary: #ffffff;
  --hp-bg-secondary: #f8f9fa;
  --hp-bg-tertiary: #f1f3f5;

  --hp-text-primary: #1a1a1a;
  --hp-text-secondary: #4a5568;
  --hp-text-tertiary: #718096;

  --hp-accent-primary: #3b82f6;
  --hp-accent-hover: #2563eb;

  --hp-border-light: #e2e8f0;
  --hp-border-medium: #cbd5e0;

  --hp-code-bg: #f7fafc;
  --hp-code-border: #e2e8f0;
  --hp-code-text: #2d3748;

  --hp-success: #10b981;
  --hp-warning: #f59e0b;
  --hp-error: #ef4444;
  --hp-info: #3b82f6;
}

/* Dark Mode - Help Pages */
[data-theme="dark"] {
  --hp-bg-primary: #0f172a;
  --hp-bg-secondary: #1e293b;
  --hp-bg-tertiary: #334155;

  --hp-text-primary: #f1f5f9;
  --hp-text-secondary: #cbd5e1;
  --hp-text-tertiary: #94a3b8;

  --hp-accent-primary: #60a5fa;
  --hp-accent-hover: #3b82f6;

  --hp-border-light: #334155;
  --hp-border-medium: #475569;

  --hp-code-bg: #1e293b;
  --hp-code-border: #334155;
  --hp-code-text: #e2e8f0;

  --hp-success: #34d399;
  --hp-warning: #fbbf24;
  --hp-error: #f87171;
  --hp-info: #60a5fa;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}
/* body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  line-height: 1.6 !important;
} */

/* Background Gradient */
.gradient-bg {
  background: radial-gradient(ellipse at top left, var(--gc-top-left) 0%, transparent 50%),
    radial-gradient(ellipse at top right, var(--gc-top-right) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, var(--gc-bottom-left) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, var(--gc-bottom-right) 0%, transparent 50%),
    var(--gc-center);

}

.gradient-bg-ex {
  background: var(--default-gradient);
}

.glass-bg {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  padding: 16px;
}

/* Link Styles */
a {
  color: var(--brand-red);
  transition: color 0.3s ease;
  text-decoration: none;
}
a:hover {
  color: var(--brand-red);
}


.nav-scrolled {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

body>nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

/* Buttons */
.btn-primary {
  background: var(--brand-red);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(222, 33, 39, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(222, 33, 39, 0.4);
}

.btn-primary:hover span {
  color: white;
}

.btn-primary:hover svg {
  stroke: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow);
}

/* Icons */
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.icon-box.cyan {
  background: rgba(95, 196, 229, 0.15);
  color: var(--brand-cyan);
}

.icon-box.red {
  background: rgba(222, 33, 39, 0.15);
  color: var(--brand-red);
}

.icon-box.purple {
  background: rgba(106, 102, 178, 0.15);
  color: var(--brand-purple);
}

.icon-box.orange {
  background: rgba(243, 145, 45, 0.15);
  color: var(--brand-orange);
}

.card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

/* Collapsible */
.collapsible {
  background: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.collapsible:hover {
  box-shadow: 0 4px 12px var(--shadow);
}

.collapsible-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  user-select: none;
}

.collapsible-header:hover {
  background: var(--bg-secondary);
}

.collapsible-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.collapsible-toggle {
  margin-left: auto;
  font-size: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.collapsible.active .collapsible-toggle {
  transform: rotate(180deg);
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 24px;
}

.collapsible.active .collapsible-content {
  max-height: 1000px;
  padding: 0 24px 20px 24px;
}

/* Pricing Plans */
.pricing-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 20px;
  border: 2px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 500px;
}

.pricing-card:hover {
  transform: translateY(-12px);
  border-color: var(--brand-red);
  box-shadow: 0 16px 48px var(--shadow);
}

.pricing-card.featured {
  border-color: var(--brand-red);
  box-shadow: 0 8px 32px rgba(222, 33, 39, 0.2);
}

.pricing-card.featured::before {
  content: "POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-red);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Animation Classes */
.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.from-left {
  transform: translateX(-40px);
}

.animate-in.from-right {
  transform: translateX(40px);
}

@media (max-width: 768px) {
  .animate-in.from-left {
    transform: translateX(0px);
  }

  .animate-in.from-right {
    transform: translateX(0px);
  }
}

.animate-in.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

/* Theme Toggle Button */
/* .theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 4px 12px var(--shadow);
} */

/* Slideshow */

.stepped-guide-slideshow {
  display: flex;
  align-items: center;
  justify-content: center;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20000;
  background-color: #000;
  transition: opacity 300ms ease;

  color: #eee;
}


.slideshow-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background-color: #000;
}

.slideshow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  
  position: absolute;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 24px;
  color: #eee;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s ease;
  height: 64px;
  width: 64px;
}

.slideshow-close-btn {
  top: 20px;
  right: 20px;
}

.slideshow-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.slideshow-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.slideshow-arrow-left {
  left: 20px;
}

.slideshow-arrow-right {
  right: 20px;
}

.slideshow-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;

  max-width: 100%;
  height: 100%;
  padding: 15px;
  border-radius: 15px;
}

.slideshow-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;
  height: 100;
}
.slideshow-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
}
.slideshow-detail-container{
  display: flex;
  flex-direction: column;
  justify-content: start;
  flex-grow: 0;
  flex-shrink: 0;
  
  width: 100%;
  max-width: 600px;
  max-height: 150px;

  border-radius: 10px;
  border: 1px solid #555;
}

.slideshow-detail-container>.caption-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  width: 100%;

  border-bottom: 1px solid #555;
  padding: 5px 10px;
}
.slideshow-detail-container>.caption-container>.caption{
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;

  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
}
.slideshow-detail-container>.caption-container>.steps{
  display: flex;
  justify-content: space-between;
  flex-grow: 0;
  flex-shrink: 0;

  font-size: 0.8rem;
  text-align: right;
}
.slideshow-detail-container>p{
  padding: 10px;
}
.slideshow-detail-container>.step-contents{
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;

  padding: 5px;
  max-height: 150px;
  overflow-y: auto;
}


.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide.previous {
  transform: translateX(-100%);
}

/* Screenshot Images */
.screenshot {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px var(--shadow);
  transition: transform 0.3s ease;
}

.card:hover .screenshot {
  transform: scale(1.02);
}

/* Table of Contents */
.toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 24px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.toc-link, .toc-link-ex {
  display: block;
  padding: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  border-radius: 4px;
}

.toc-link:hover, .toc-link-ex:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding-left: 20px;
}

.toc-link.active, .toc-link-ex.active {
  border-left-color: var(--brand-red);
  background: var(--bg-secondary);
  color: var(--brand-red);
  font-weight: 600;
}

.inmenu-toc{
  gap: 0px;
  padding: 5px;
  background-color: var(--bg-primary);
}

/* Hero Section for Documentation */
.doc-hero {
  /* background-color: var(--base-color); */
  display: flex;
  align-items: center;
  max-height: 400px;
  padding: 100px 0 60px;
}

/* Tagline — minimal gradient underline */
.tagline {
  display: inline-block;
  margin-top: 0.875rem;
  font-size: clamp(0.95rem, 0.35vw + 0.85rem, 1.125rem);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem;
}

.tagline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
      var(--brand-cyan), var(--brand-purple), var(--brand-orange), var(--brand-red));
  opacity: 0.9;
}

/* Optional: tone down if placed on tinted sections */
.hero-on-tint .tagline::after {
  opacity: 0.7;
}

.hero-image {
  max-width: 350px !important;
}


/* Dropdown group styling */
.dropdown-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dropdown-group h4 {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 5px;
  padding: 3px 5px;
  border-bottom: 1px solid var(--border-color);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 70px 10px 20px 10px;
  z-index: 5000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  visibility: hidden;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}


.mobile-menu-group {
  padding: 5px;
  margin-top: 15px;
}

.mobile-menu-group h3 {
  font-size: 1.2rem;
  padding: 0px 5px;
  font-weight: bold;
}

.mobile-menu-subgroup {
  padding: 5px;
  background-color: var(--bg-primary);
  border-radius: 5px;
  margin-top: 10px;
}

.mobile-menu-subgroup h4 {
  font-size: 1.0rem;
  padding: 5px;
  font-weight: bold;
  /* border-bottom: 1px solid var(--border-color); */
}
.mobile-menu-subgroup .menu-item {
  padding: 10px;
}


.menu-item {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 5px;

  width: 100%;
  min-width: 200px;
  margin-bottom: 5px;
  padding: 5px 10px;
  border-bottom: 1px solid var(--border-color);

  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  font-size: 1rem;
  font-weight: normal;
}
.menu-item:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.menu-item:last-child {
  border-bottom: none;
}
.menu-item:first-child{
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.menu-item:last-child{
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.inmenu-toc>.menu-item{
  padding: 10px;

}


.hamburger-portal {
  position: fixed;
  flex-direction: column;
  gap: 5px;
  top: 16px;
  right: 16px;
  z-index: 2147483647;
  /* wins vs. any menu/backdrop */
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .slideshow-arrow-left, .slideshow-arrow-right{
    visibility: hidden;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: fixed;
    /* keep it visible when menu slides in */
    top: 16px;
    right: 16px;
    z-index: 10002;
    /* higher than .mobile-menu (10001) */
    padding: 8px;
  }

  /* optional: make the X easier to see over the menu background */
  .hamburger span {
    background: var(--text-primary);
  }

  .desktop-nav {
    display: none;
  }

  .card {
    padding: 24px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .icon-box {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .toc {
    position: static;
    margin-bottom: 32px;
  }

  .doc-hero {
    padding: 80px 0 40px;
    max-height: initial;
  }

  .hero-image {
    max-width: 100% !important;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus Styles */
button:focus, a:focus {
  /* outline: 2px solid var(--brand-red);
  outline-offset: 2px; */
  outline: none;
}

/* Footer Links */
.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--brand-red);
}

.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

main {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
}

/* ========================================
   DROPDOWN MENU STYLES - Added at bottom
   ======================================== */

/* Nav item container needs relative positioning */
.nav-item {
  position: relative;
}

/* Nav item trigger should show it's clickable */
.nav-item>a {
  cursor: pointer;
  user-select: none;
}


/* Base trigger */
.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 5px 10px;
  border-radius: 5px;
}

.dropdown-trigger:hover {
  background-color: var(--brand-red);
  color: #fff;
}

/* Arrow after the text (your masked SVG from earlier) */
.dropdown-trigger::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;

  /* ✨ Animation */
  transform: rotate(0deg);
  transition: transform 180ms cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
  /* minor perf hint */
}

/* Rotate when open */
.dropdown-trigger[aria-expanded="true"] {
  background-color: var(--brand-red);
  color: #fff;
}

.dropdown-trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .dropdown-trigger::after {
    transition: none;
  }
}


/* Dropdown menu base styles */
.dropdown-menu {
  position: fixed;
  display: flex;
  /* Change from 'none' to 'flex' - we'll control visibility with opacity */
  flex-direction: row;
  align-items: start;
  justify-content: start;
  gap: 10px;
  padding: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 12px 40px var(--shadow);
  z-index: 10000;
  min-width: 330px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: none;
  visibility: hidden;
  /* Add this - better than display:none for animations */
}

/* Active state for dropdown */
.dropdown-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  /* Add this */
}

/* Dark mode adjustments */
@media screen and (prefers-color-scheme: dark) {
  .dropdown-menu {
    background: rgba(26, 26, 26, 0.95);
    border-color: var(--border-color);
  }
}

@media (max-width: 768px) {
  .dropdown-menu {
    display: none !important;
  }
}

emphasis {
  font-weight: bold;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: bold;
  background-color: var(--bg-secondary);
  padding: 0px 5px;
  border-radius: 3px;
}

.module-description {
  line-height: 1.75rem;
  padding-top: 20px
}

.round {
  border-radius: 50%;
}

.brand-bg-2 {
  background-color: var(--brand-red);
  color: var(--bg-primary);
}

.large-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slide-img {
  width: 100%;
  object-fit: contain;
  display: block;
  border: 2px solid var(--image-border-color);
  border-radius: 10px;
  margin: 15px 0px;
}



/* Help Page Typography & Common Elements */

.help-content svg {
  fill: none;
  stroke: var(--hp-text-primary);
  stroke-width: 1.25px;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-grow: 0;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0 5px;
  transition: transform 0.3s ease;
}

.help-content svg.thick {
  stroke-width: 2px !important;
}

.help-content svg.larger {
  transform: scale(110%);
}

.help-content svg .brand-color-1 {
  stroke: var(--brand-color-1)
}

.help-content svg .brand-color-2 {
  stroke: var(--brand-color-2)
}

.help-content svg .brand-color-3 {
  stroke: var(--brand-color-3)
}

.help-content svg .brand-color-4 {
  stroke: var(--brand-color-4)
}

/* Headings */
.help-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.help-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--hp-text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.help-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--text-primary);
  padding: 5px 10px;
  border-bottom: 1px solid var(--border-color);
}

.help-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--hp-text-secondary);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* SVG */


/* Paragraphs */
.help-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--hp-text-secondary);
  margin-bottom: 1rem;
}

/* Links */
.help-content a {
  color: var(--hp-accent-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.help-content a:hover {
  color: var(--hp-accent-hover);
  border-bottom-color: var(--hp-accent-hover);
}

/* Lists */
.help-content ul,
.help-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--hp-text-secondary);
}

.help-content ul {
  list-style-type: disc;
}

.help-content ol {
  list-style-type: decimal;
}

.help-content li {
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.help-content li::marker {
  color: var(--hp-accent-primary);
}

/* Nested lists */
.help-content ul ul,
.help-content ol ul {
  list-style-type: circle;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.help-content ol ol,
.help-content ul ol {
  list-style-type: lower-alpha;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Strong/Bold */
.help-content strong {
  font-weight: 600;
  color: var(--hp-text-primary);
}

/* Emphasis/Italic */
.help-content em {
  font-style: italic;
  color: var(--hp-text-secondary);
}

/* Code inline */
.help-content code {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  background-color: var(--hp-code-bg);
  color: var(--hp-code-text);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  border: 1px solid var(--hp-code-border);
}

/* Code blocks */
.help-content pre {
  background-color: var(--hp-code-bg);
  border: 1px solid var(--hp-code-border);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.help-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Blockquote */
.help-content blockquote {
  border-left: 4px solid var(--hp-accent-primary);
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--hp-text-tertiary);
  font-style: italic;
}

/* Horizontal rule */
.help-content hr {
  border: none;
  border-top: 1px solid var(--hp-border-light);
  margin: 2rem 0;
}

.help-content .section-header {
  padding: 5px 10px;
  border-bottom: 1px solid var(--border-color);
}












img {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}

svg {
  vertical-align: middle;
}

.viewable-image{
  max-height: 250px;
  cursor: pointer;
}
.viewable-image:hover {
  box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.20);
  -webkit-box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.20);
  -moz-box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.20);
}

img.standard {
  border: 2px solid var(--image-border-color);
  border-radius: 5px;
  margin: 15px 0px;
}

.vi-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.vi-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.vi-overlay img {
  max-width: 90%;
  max-height: 80%;
  margin-bottom: 10px;
  border-radius: 10px;
}

.vi-overlay .title {
  color: #fff;
  margin-bottom: 20px;
  font-size: 18px;
}

.vi-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

/* Buttons */
.comm-explainer {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 5px;

  margin: 15px 0px;
}

.comm-explainer>.comm {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;

  width: 100%;
  border-radius: 5px;
  background-color: var(--bg-secondary);
}

.comm-explainer>.comm>.description {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;

  flex-grow: 1;
  flex-shrink: 1;

  height: 42px;
  padding-left: 10px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.comm-ui {
  padding: 0px 5px;
  border-radius: 5px;
  background: var(--light-bg);
}

.comm-ui>svg {
  transform: translateY(-2);
}

.focused-text {
  display: inline-block;
  background-color: var(--bg-secondary);
  padding: 0px 5px;
}

p+ul {
  margin-top: 10px;
}

p:has(+ ul) {
  margin-bottom: 5px;
}

.comm-path {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px;
  border-radius: 10px;
  background-color: var(--bg-secondary);
  margin: 15px 0px;
}
.spacer{
  display: flex;
  height: 100%;
  flex-grow: 1;
  flex-shrink: 1;
}
.arrow-divider::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6l-6 6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.action-impact-detailer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--bg-secondary);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.action-impact-detailer>h4 {
  border: none;
}

.action-impact-detailer>span {
  background-color: var(--reverse-shade-color);
  padding: 5px;
  border-radius: 5px;
}



.tablet {
  background-color: var(--bg-secondary);
  padding: 10px;
  border-radius: 5px;
  display: inline-block;
}

.comm-icon {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;

  padding: 0px;
  transform: translateY(1px);
}

.iconer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  
  min-width: 36px;
  min-height: 36px;

  background-color: var(--reverse-shade-color);
  padding: 3px 10px;
  border-radius: 5px;
}
.iconer img, .comm-icon img{
  width: 24px;
  height: 24px;
}
.iconer>svg, .comm-icon>svg {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-grow: 0;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  margin: 0px;
  transform: translateY(2px);
}
.comm-icon > span:nth-child(2) {
  display: inline-block;
  margin-left: 3px;
}


.list-para {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 10px;
}

.help-content img.large-icon,
.help-content svg.large-icon {
  display: block;
  padding: 10px;
  width: 64px;
  height: 64px;
  background-color: var(--hp-bg-secondary);
  border-radius: 10px;
  box-sizing: border-box;
}

/* Step by step guild */
.stepped-guide {
  display: flex;
  flex-direction: row;
  padding: 5px;
  margin-top: 5px;
  border-radius: 10px;
  /* background-color: #ddd; */
}

.stepped-guide>.step {
  padding: 5px;
  overflow: hidden;
  border-radius: 10px;
  /* background-color: var(--theme-bg); */
}

.stepped-guide>.arrow {
  padding-top: 30px;
}

.stepped-guide>.arrow::before {
  content: "➡";
  font-size: 2rem;
}

.stepped-guide>.step>img {
  margin-bottom: 5px;
}

.stepped-guide>.step>p {
  text-align: left;
  width: 100%;
  max-height: 150px;
  overflow: hidden;
}

.stepped-guide>.step.w20 {
  width: 20%;
}

.stepped-guide>.step.w25 {
  width: 25%;
}

.stepped-guide>.step.w33 {
  width: 33%;
}

.stepped-guide>.step.w50 {
  width: 50%;
}

.stepped-guide img {
  cursor: pointer;
}

.stepped-guide-detail {
  display: none;
  ;
}

@media (max-width: 768px) {
.stepped-guide {
  flex-direction: column;
}

.stepped-guide>.step {
  display: flex;
  flex-direction: row;
  gap: 15px;

  width: 100% !important;
}
.stepped-guide>.step>.stepped-guide-image{
  width: 100px !important;
  margin: 0px;
}
.stepped-guide>.step.w25, .stepped-guide>.step.w33, .stepped-guide>.step.w50 { width: 100% !important; }

.stepped-guide>.arrow {
  padding: 15px 0px;
  padding-left: 25px;
}
.stepped-guide>.arrow::before {
  content: "⬇";
  font-size: 2rem;
}
}

/*  */

.attention-note,
.important-note {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 10px;
  margin: 20px 0px;
}

.attention-note>.title,
.important-note>.title {
  display: flex;
  align-items: center;
  padding: 0px 10px;
}

.attention-note>.title>.icon,
.important-note>.title>.icon {
  font-size: 1.6rem;
}

.attention-note>.title>.caption,
.important-note>.title>.caption {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 5px;
  color: var(--light-text);
}

.attention-note>.detail>p,
.important-note>.detail>p,
.attention-note>.detail>ul>li,
.important-note>.detail>ul>li {
  color: var(--light-text);
}

.attention-note>div,
.important-note>div {
  margin-top: 10px;
  margin-bottom: 30px;
  padding: 0px 10px;
}

.attention-note {
  background-color: #ffeed9;
  border-left: 15px solid #ffa500;
}

.attention-note>.title {
  border-bottom: 2px solid #ffa500;
}

.important-note {
  background-color: #ffe1d8;
  border-left: 15px solid #ff5733;
}

.important-note>.title {
  border-bottom: 2px solid #ff5733;
}

.tips-note {
  display: flex;
  align-items: start;
  justify-content: start;

  border-radius: 10px;
  padding: 10px;
  margin: 20px 0px;

  background-color: var(--bg-secondary);
}

.tips-note>.icon {
  display: inline-block;
  font-size: 1.6rem;
  flex-grow: 0;
  flex-shrink: 0;
}

.tips-note>.message {
  display: inline-block;
  font-size: 1.3rem;
  flex-grow: 1;
  flex-shrink: 1;

  margin: 0px;
  padding: 0px;

}

.comm-explainer {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 5px;

  margin: 15px 0px;
}

.comm-explainer>.comm {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;

  width: 100%;
  border-radius: 5px;
  background-color: var(--bg-secondary);
}

/* .comm-explainer>.comm>.comm-icon {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: start;
  flex-grow: 0;
  flex-shrink: 0;

  height: 42px;

  padding: 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  background-color: var(--bg-secondary);
} */

.comm-explainer>.comm>.description {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;

  flex-grow: 1;
  flex-shrink: 1;

  height: 42px;
  padding-left: 10px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
p>img, li>img{
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

/* Help Page Tables */
.help-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  background-color: var(--hp-bg-primary);
  border: 1px solid var(--hp-border-light);
  border-radius: 0.5rem;
  overflow: hidden;
}

.help-content thead {
  background-color: var(--hp-bg-secondary);
}

.help-content th {
  text-align: left;
  padding: 0.875rem 1rem;
  font-weight: 600;
  color: var(--hp-text-primary);
  border-bottom: 2px solid var(--hp-border-medium);
}

.help-content td {
  padding: 0.875rem 1rem;
  color: var(--hp-text-secondary);
  border-bottom: 1px solid var(--hp-border-light);
  line-height: 1.6;
}

.help-content tbody tr:last-child td {
  border-bottom: none;
}

.help-content tbody tr:hover {
  background-color: var(--hp-bg-secondary);
}

/* Responsive tables */
@media (max-width: 768px) {
  .help-content table {
    font-size: 0.875rem;
  }
  
  .help-content th,
  .help-content td {
    padding: 0.75rem 0.75rem;
  }
}

/* Container for all cards */
.hc-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual card */
.hc-card {
  background: var(--bg-primary);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s;
}

.hc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card image */
.hc-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Card caption */
.hc-card-caption {
  padding: 15px;
  text-align: center;
  font-size: 16px;
  color: var(--text-primary);
}

.content-navigatiob{
  display: flex;
  flex-direction: row;
  align-items: center;

  border-top: 1px solid var(--border-color);
  padding: 5px 0px;
  margin-top: 50px;

  overflow: hidden;
}

.content-navigatiob>a{
  padding: 5px 10px;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  
  border-bottom: none;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-radius: 5px;

  /* Add these properties */
  white-space: nowrap;
  flex-shrink: 0;  /* Prevent links from shrinking */
}
.content-navigatiob>a:hover{
  color: var(--text-primary);
}
.content-navigatiob>a.previous:hover{
  border-right-color: var(--hp-accent-hover);
}
.content-navigatiob>a.previous:before{
  content: "«";
  margin-right: 10px;
}
.content-navigatiob>a.next:hover{
  border-left-color: var(--hp-accent-hover);
}
.content-navigatiob>a.next::after{
  content: "»";
  margin-left: 10px;
}
.content-navigatiob>.hspacer{
  display: flex;
  width: 100%;
  flex-grow: 1;
  flex-shrink: 1;
}
img.icon, svg.icon{
  width: 24px;
  height: 24px;
}

.brand-text{
  color: var(--brand-color-2);
}

.update-notice{
  display: inline-block;
  background-color: var(--hp-bg-tertiary);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: bold;
  margin-top: 15px;
}













.help-content .step-list {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
}

.help-content .step-list > li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.help-content .step-list > li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--brand-color-2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.help-content figure {
  margin: 1.5rem 0;
  padding: 0;
}

.help-content figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--hp-border-light);
  border-radius: 0.5rem;
  display: block;
}

.help-content figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--hp-text-tertiary);
  font-style: italic;
  text-align: left;
}

/* Optional: Add subtle shadow for depth */
.help-content figure img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}














/* FAQ Container */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: var(--hp-spacing-lg, 1rem);
  margin: 0 auto;
}

.faq-container h2 {
  font-size: var(--hp-font-size-xxl, 2rem);
  margin-bottom: var(--hp-spacing-md, 1rem);
  font-weight: 600;
}

/* FAQ Item */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--hp-border-radius, 8px);
  overflow: hidden;
  background: var(--bg-primary);
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px var(--bg-secondary);
}

/* FAQ Question */
.faq-question {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 00;
  line-height: initial;
  color: var(--text-primary);
  padding: 15px 10px;
  border-bottom: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
  user-select: none;
  position: relative;

}

.faq-question:hover {
  background-color: var(--bg-secondary);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: var(--hp-spacing-lg, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--hp-color-accent, #0066cc);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--hp-spacing-lg, 1.5rem);
}

.faq-item.active .faq-answer {
  max-height: 2000px;
  padding: 0 var(--hp-spacing-lg, 1rem) var(--hp-spacing-md, 1rem);
}

.faq-answer p {
  line-height: 1.8;
  margin: 0 0 var(--hp-spacing-sm, 0.75rem) 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  line-height: 1.6;
  margin: var(--hp-spacing-sm, 0.75rem) 0;
  padding-left: var(--hp-spacing-lg, 1.5rem);
}

.faq-answer li {
  margin-bottom: var(--hp-spacing-xs, 0.5rem);
}

.faq-answer strong {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-container {
    gap: var(--hp-spacing-md, 1rem);
  }
  .faq-question {
    font-size: var(--hp-font-size-md, 1rem);
    padding: var(--hp-spacing-sm, 0.75rem) var(--hp-spacing-md, 1rem);
    padding-right: 3rem;
  }
  .faq-question::after {
    right: var(--hp-spacing-md, 1rem);
  }
  .faq-answer {
    padding: 0 var(--hp-spacing-md, 1rem);
  }
  
  .faq-item.active .faq-answer {
    padding: 0 var(--hp-spacing-md, 1rem) var(--hp-spacing-sm, 0.75rem);
  }
}
/* Add this rule to make question bold when active */
.faq-item.active .faq-question {
  font-weight: 700;
}

.inline-prominant-button{
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  /* border: 1px solid var(--border-color); */
  padding: 5px;
  border-radius: 5px;
  transform: translateY(5px);
  
}
.inline-prominant-button:hover{
  background-color: var(--bg-secondary);
}

.introduction-container p{
  line-height: 1.9rem;
  margin-bottom: 25px;
}










/* FAQ Landing Page Styles */

:root {
    --hp-primary: #2563eb;
    --hp-primary-hover: #1d4ed8;
    --hp-text-primary: #1f2937;
    --hp-text-secondary: #6b7280;
    --hp-bg-light: #f9fafb;
    --hp-border: #e5e7eb;
    --hp-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --hp-card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.faq-hero {
    background: linear-gradient(135deg, var(--hp-primary) 0%, #1e40af 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.faq-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.faq-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin: 0;
}

/* Introduction Section */
.faq-introduction {
    padding: 3rem 2rem;
    background: white;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-intro-content h2 {
    font-size: 2rem;
    color: var(--hp-text-primary);
    margin: 0 0 1.5rem 0;
}

.faq-intro-content p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--hp-text-secondary);
    margin: 0 0 1rem 0;
}

.faq-intro-content p:last-child {
    margin-bottom: 0;
}

/* Navigation Section */
.faq-navigation {
    padding: 3rem 2rem;
    background: var(--hp-bg-light);
}

.faq-nav-title {
    font-size: 2rem;
    color: var(--hp-text-primary);
    text-align: center;
    margin: 0 0 0.5rem 0;
}

.faq-nav-subtitle {
    font-size: 1.125rem;
    color: var(--hp-text-secondary);
    text-align: center;
    margin: 0 0 3rem 0;
}

/* Milestone Sections */
.faq-milestone {
    margin-bottom: 3rem;
}

.faq-milestone:last-of-type {
    margin-bottom: 2rem;
}

.faq-milestone-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.faq-milestone-badge {
    background: var(--hp-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.faq-milestone-header h3 {
    font-size: 1.75rem;
    color: var(--hp-text-primary);
    margin: 0;
}

.faq-milestone-description {
    font-size: 1rem;
    color: var(--hp-text-secondary);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

/* Category Grid */
.faq-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Category Cards */
.faq-category-card {
    background: white;
    border: 1px solid var(--hp-border);
    border-radius: 0.75rem;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--hp-card-shadow);
    display: flex;
    flex-direction: column;
}

.faq-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-card-shadow-hover);
    border-color: var(--hp-primary);
}

.faq-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.faq-category-card h4 {
    font-size: 1.5rem;
    color: var(--hp-text-primary);
    margin: 0 0 0.75rem 0;
}

.faq-category-card p {
    font-size: 1rem;
    color: var(--hp-text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.faq-question-count {
    font-size: 0.875rem;
    color: var(--hp-primary);
    font-weight: 600;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 0.5rem;
}

/* Summary Section */
.faq-summary {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 0.75rem;
    border: 2px dashed var(--hp-border);
}

.faq-summary p {
    font-size: 1.125rem;
    color: var(--hp-text-secondary);
    margin: 0;
}

/* Call to Action */
.faq-cta {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.faq-cta h2 {
    font-size: 2rem;
    color: var(--hp-text-primary);
    margin: 0 0 0.5rem 0;
}

.faq-cta p {
    font-size: 1.125rem;
    color: var(--hp-text-secondary);
    margin: 0 0 2rem 0;
}

.faq-cta-button {
    display: inline-block;
    background: var(--hp-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: background 0.3s ease;
}

.faq-cta-button:hover {
    background: var(--hp-primary-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-hero-content h1 {
        font-size: 2rem;
    }

    .faq-hero-subtitle {
        font-size: 1rem;
    }

    .faq-milestone-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .faq-milestone-header h3 {
        font-size: 1.5rem;
    }

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

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

#mainNav.active{
  background: rgba(255, 255, 255, 0.12);
  /* border: 1px solid rgba(255, 255, 255, 0.35); */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.25); */
}
@media screen and (prefers-color-scheme: dark) {
  #mainNav.active{
    background: rgba(0, 0, 0, 0.25) !important;
    /* border: 1px solid rgba(255, 255, 255, 0.18) !important; */
    backdrop-filter: blur(14px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
    /* box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important; */
  }
}

.doc-hero {
    padding: 130px 0 20px !important;
}
.banner-img{
    max-height: 200px !important;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .banner-img{
        max-height: initial;
    }
    .list-para{
      flex-direction: column;
    }
}

.app-logo{
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 5px;

  font-size: 2rem;
  font-weight: bold;
  color: var(--text-primary);

  padding: 5px 10px;
  border-radius: 10px;
}
.app-logo:hover{
  color: var(--text-primary);
}
.app-logo > img{
  width: 56px;
  height: 56px;
  margin: 0px;
}
.app-logo>span{
  display: inline-block;
  transform: translateY(-3px);
}