/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #3E2819 0%, #815739 25%, #815739 75%, #3E2819 100%);
  background-attachment: fixed;
  color: #f8fafc;
  line-height: 1.6;
  min-height: 100vh;
}

/* Utility Classes - Core Layout */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden; }
.z-10 { z-index: 10; }
.-z-10 { z-index: -10; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-grow { flex-grow: 1; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.-space-x-3 > * + * { margin-left: -0.75rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }

/* Responsive gap */
@media (min-width: 768px) {
  .md\:gap-20 { gap: 5rem; }
}

/* Aspect Ratio */
.aspect-video { aspect-ratio: 16 / 9; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Resize */
.resize-none { resize: none; }

/* Overflow */
.overflow-x-auto { overflow-x: auto; }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* Responsive display - md breakpoint (768px) */
/* Only for Guided Legacy time sections - NOT for navbar */
@media (min-width: 768px) {
  .md\:block { display: block !important; }
}

/* Width and Height */
.w-5 { width: 1.25rem; }
.w-12 { width: 3rem; }
.w-full { width: 100%; }
.w-72 { width: 18rem; }
.w-96 { width: 24rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-full { height: 100%; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-17\.5 { height: 4.375rem; }
.h-72 { height: 18rem; }
.h-96 { height: 24rem; }
.min-h-screen { min-height: 100vh; }

/* Max Width */
.max-w-full { max-width: 100%; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Max Height */
.max-h-80 { max-height: 20rem; }
.max-h-96 { max-height: 24rem; }

/* Overflow */
.overflow-y-auto { overflow-y: auto; }
.overflow-x-auto { overflow-x: auto; }

/* Sticky positioning */
.sticky { position: sticky; }
.top-0 { top: 0; }

/* Spacing */
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pl-6 { padding-left: 1.5rem; }
.pr-2 { padding-right: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.ml-2 { margin-left: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.text-center { text-align: center; }
.no-underline { text-decoration: none; }

/* Colors */
.text-white { color: #FAF3E8; }
.text-slate-200 { color: #FAF3E8; }
.text-slate-300 { color: #E9D6B9; }
.text-slate-400 { color: #DCA65B; }
.text-slate-500 { color: #815739; }
.text-blue-400 { color: #E09C3D; }
.text-blue-300 { color: #DCA65B; }
.text-emerald-400 { color: #34d399; }
.text-emerald-300 { color: #6ee7b7; }
.text-red-400 { color: #f87171; }
.text-cyan-400 { color: #DCA65B; }
.text-purple-400 { color: #c084fc; }
.text-orange-400 { color: #fb923c; }

/* Background Colors */
.bg-slate-700 { background-color: #815739; }
.bg-slate-800 { background-color: #3E2819; }
.bg-slate-900 { background-color: #3E2819; }
.bg-blue-600 { background-color: #D46A2A; }
.bg-blue-700 { background-color: #C55A1C; }
.bg-blue-500\/10 { background-color: rgba(224, 156, 61, 0.1); }
.bg-cyan-500\/10 { background-color: rgba(224, 156, 61, 0.1); }
.bg-slate-800\/50 { background-color: rgba(62, 40, 25, 0.5); }
.bg-red-900\/20 { background-color: rgba(127, 29, 29, 0.2); }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-slate-600 { border-color: #815739; }
.border-slate-700 { border-color: #815739; }
.border-slate-500 { border-color: #DCA65B; }
.border-blue-400 { border-color: #E09C3D; }
.border-blue-500\/30 { border-color: rgba(212, 106, 42, 0.3); }
.border-blue-500\/50 { border-color: rgba(212, 106, 42, 0.5); }
.border-red-500\/30 { border-color: rgba(239, 68, 68, 0.3); }
.border-l-4 { border-left-width: 4px; }
.border-b { border-bottom-width: 1px; }

/* Rounded */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }

/* Shadows */
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* Effects */
.blur-3xl { filter: blur(64px); }

/* Transitions */
.transition-all { transition: all 150ms ease-in-out; }
.transition-colors { transition: color 150ms ease-in-out, background-color 150ms ease-in-out, border-color 150ms ease-in-out; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Transform */
.transform { transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.-translate-x-1\/2 { --tw-translate-x: -50%; }

/* Custom Component Classes */
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary {
  background: linear-gradient(90deg, #E09C3D, #D46A2A) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 300ms ease-in-out;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"].btn-primary:hover {
  background: linear-gradient(90deg, #C55A1C, #B55A1A) !important;
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  color: #FFFFFF !important;
  text-decoration: none;
}

.btn-secondary,
button.btn-secondary,
input[type="submit"].btn-secondary {
  background-color: #815739 !important;
  color: #FAF3E8 !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 300ms ease-in-out;
  border: 1px solid #815739;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-secondary:hover,
button.btn-secondary:hover,
input[type="submit"].btn-secondary:hover {
  background-color: #DCA65B !important;
  border-color: #DCA65B;
  color: #FAF3E8 !important;
  text-decoration: none;
}

/* Small button variant */
.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

/* Flag button (ember-gold outline) */
.btn-flag {
  border-color: #E09C3D;
  color: #E09C3D;
}

.card {
  background-color: #3E2819;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #815739;
  transition: all 300ms ease-in-out;
  overflow: hidden;
}

.card h3,
.card h2,
.card .text-white {
  color: #FAF3E8 !important;
}

.card-hover:hover {
  border-color: #E09C3D;
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gradient-text {
  background: linear-gradient(to right, #E09C3D, #D46A2A, #DCA65B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-container {
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

.section-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #FAF3E8;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #E9D6B9;
  margin-bottom: 2rem;
  line-height: 1.625;
}

.feature-icon {
  font-size: 3rem;
  color: #E09C3D;
  margin-bottom: 1.5rem;
  display: block;
}

.badge-popular {
  background: linear-gradient(to right, #D46A2A, #E09C3D);
  color: #FAF3E8;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-2xl { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:text-7xl { font-size: 4.5rem; }
}

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
}

/* Navigation specific styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  background-color: #E9D6B9;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #815739;
  position: relative;
  z-index: 1000;
}

.logo-header {
  max-height: 50px !important;
}

.mobile-menu-divider {
  border-color: #815739;
}

.mobile-signup-btn {
  background-color: #D46A2A;
}

.mobile-signup-btn:hover {
  background-color: #C55A1C;
}

.nav-link {
  color: #3E2819;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  letter-spacing: 0.025em;
  position: relative;
}

.nav-link:hover {
  color: #E09C3D;
  background-color: rgba(224, 156, 61, 0.1);
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, #E09C3D, #D46A2A);
  border-radius: 1px;
}

.nav-link.active {
  color: #E09C3D;
  background-color: rgba(224, 156, 61, 0.15);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 2px;
  background: linear-gradient(to right, #E09C3D, #D46A2A);
  border-radius: 1px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 250px;
  background: linear-gradient(135deg, #E9D6B9 0%, #DCA65B 100%);
  border-top: 1px solid #815739;
  padding: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 0 0 1rem 1rem;
  z-index: 1000;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #3E2819;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle:hover {
  background-color: rgba(129, 87, 57, 0.3);
  color: #E09C3D;
  transform: scale(1.05);
}

.mobile-menu-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(224, 156, 61, 0.5);
}

/* Enhanced mobile menu items */
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #3E2819;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  letter-spacing: 0.025em;
  margin-bottom: 0.25rem;
  border: 1px solid transparent;
}

.mobile-nav-link:hover {
  background: linear-gradient(135deg, rgba(224, 156, 61, 0.1) 0%, rgba(212, 106, 42, 0.1) 100%);
  color: #E09C3D;
  border-color: rgba(224, 156, 61, 0.2);
  transform: translateX(0.25rem);
  text-decoration: none;
}

.mobile-nav-link:last-child {
  margin-bottom: 0;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #3E2819;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  letter-spacing: 0.025em;
  margin-bottom: 0.25rem;
  border: 1px solid transparent;
}

.mobile-menu a:hover {
  background: linear-gradient(135deg, rgba(224, 156, 61, 0.1) 0%, rgba(212, 106, 42, 0.1) 100%);
  color: #E09C3D;
  border-color: rgba(224, 156, 61, 0.2);
  transform: translateX(0.25rem);
  text-decoration: none;
}

.mobile-menu a:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-container {
    padding: 1.25rem 1rem;
  }
}

.section-description {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1.5rem;
  }
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  color: #E09C3D;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #3E2819; /* Deep Earth Brown */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #E09C3D 0%, #D46A2A 100%); /* Golden Flame to Amber Flame */
  border-radius: 10px;
  border: 2px solid #3E2819;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #DCA65B 0%, #C55A1C 100%); /* Muted Gold to Copper Highlight */
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #E09C3D #3E2819; /* Golden Flame on Deep Earth Brown */
}


/* Navi Helper Styles */
#navi-helper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    overflow: visible;
}

/* Pulse ring behind the button */
#navi-pulse-ring {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(224, 156, 61, 0.4);
    animation: navi-ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes navi-ping {
    0% { transform: scale(1); opacity: 0.7; }
    75%, 100% { transform: scale(1.6); opacity: 0; }
}

#navi-button {
    background-image: url('/images/GuidedLegacyFlame.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
    outline: none;
    background-color: #1a0e06;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 106, 42, 0.2);
    position: relative;
    z-index: 2;
}

#navi-button:hover {
    transform: scale(1.1);
    border-color: #E09C3D;
    box-shadow: 0 4px 20px rgba(212, 106, 42, 0.4);
}

@keyframes navi-glow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(224, 156, 61, 0.3), 0 0 20px rgba(212, 106, 42, 0.15);
    }
    50% {
        box-shadow: 0 0 15px rgba(224, 156, 61, 0.6), 0 0 30px rgba(212, 106, 42, 0.3);
    }
}

.flash {
    animation: navi-glow 1.5s ease-in-out infinite;
    border-color: #E09C3D;
}

/* Panel */
#navi-panel {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: rgba(26, 14, 6, 0.97);
    border: 1px solid rgba(129, 87, 57, 0.4);
    padding: 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 106, 42, 0.08);
    z-index: 1000;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    overflow: hidden;
    animation: navi-slide-up 0.25s ease-out;
}

@keyframes navi-slide-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header area */
#navi-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.15rem 0.6rem;
    border-bottom: 1px solid rgba(129, 87, 57, 0.2);
}

#navi-flame-icon {
    font-size: 1.25rem;
    animation: navi-flame-flicker 2s ease-in-out infinite;
}

@keyframes navi-flame-flicker {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1) rotate(-3deg); }
    50% { transform: scale(1.05) rotate(2deg); }
    75% { transform: scale(1.1) rotate(-1deg); }
}

#navi-header h2 {
    color: #E09C3D;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
}

#navi-subtitle {
    color: rgba(168, 146, 121, 0.7);
    font-size: 0.7rem;
    margin-left: auto;
}

/* Prompt text */
#navi-prompt {
    color: #E9D6B9;
    margin: 0;
    padding: 0.75rem 1.15rem 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Topic list */
#navi-topics {
    list-style-type: none;
    padding: 0.25rem 0.75rem 0.75rem;
    margin: 0;
}

#navi-topics li {
    color: #FAF3E8;
    font-size: 0.85rem;
    margin: 0;
    cursor: pointer;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0.6rem 0.75rem;
    border-radius: 0.4rem;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

#navi-topics li:hover {
    background-color: rgba(62, 40, 25, 0.6);
    border-color: rgba(129, 87, 57, 0.3);
    text-decoration: none;
    padding-left: 1rem;
}

/* Description view */
#navi-description {
    display: none;
    padding: 0.75rem 1.15rem 1rem;
}

#navi-content {
    color: #E9D6B9;
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

#back-to-topics {
    background-color: rgba(212, 106, 42, 0.15);
    color: #E09C3D;
    border: 1px solid rgba(212, 106, 42, 0.3);
    padding: 0.45rem 1rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

#back-to-topics:hover {
    background-color: rgba(212, 106, 42, 0.25);
    border-color: #D46A2A;
}

/* Close button */
.close-button {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    background: none;
    border: none;
    color: rgba(168, 146, 121, 0.5);
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 2;
}

.close-button:hover {
    color: #ef4444;
}

/* Additional Responsive Grid Classes */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
}

/* Additional Flexbox - Responsive */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
}

/* Additional Width utilities */
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-20 { width: 5rem; }

/* Additional Height utilities */
.h-8 { width: 2rem; height: 2rem; }
.h-10 { width: 2.5rem; height: 2.5rem; }
.h-12 { width: 3rem; height: 3rem; }
.h-20 { width: 5rem; height: 5rem; }
.h-32 { height: 8rem; }

/* Additional Border utilities */
.border-2 { border-width: 2px; }
.border-dashed { border-style: dashed; }
.border-emerald-500 { border-color: rgb(16 185 129); }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.border-blue-500\/30 { border-color: rgba(59, 130, 246, 0.3); }
.border-yellow-500\/30 { border-color: rgba(234, 179, 8, 0.3); }
.border-red-500\/30 { border-color: rgba(239, 68, 68, 0.3); }

/* Additional Background utilities */
.bg-emerald-900\/20 { background-color: rgba(6, 78, 59, 0.2); }
.bg-blue-900\/20 { background-color: rgba(30, 58, 138, 0.2); }
.bg-yellow-900\/20 { background-color: rgba(113, 63, 18, 0.2); }
.bg-red-900\/20 { background-color: rgba(127, 29, 29, 0.2); }
.bg-purple-900\/50 { background-color: rgba(88, 28, 135, 0.5); }
.bg-blue-900\/50 { background-color: rgba(30, 58, 138, 0.5); }
.bg-emerald-900\/50 { background-color: rgba(6, 78, 59, 0.5); }
.bg-yellow-900\/50 { background-color: rgba(113, 63, 18, 0.5); }

/* Additional Text colors */
.text-emerald-300 { color: rgb(110 231 183); }
.text-emerald-400 { color: rgb(52 211 153); }
.text-emerald-500 { color: rgb(16 185 129); }
.text-blue-300 { color: rgb(147 197 253); }
.text-purple-300 { color: rgb(196 181 253); }
.text-yellow-300 { color: rgb(253 224 71); }
.text-yellow-400 { color: rgb(250 204 21); }
.text-red-300 { color: rgb(252 165 165); }

/* Additional Background colors for Admin Dashboard */
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }
.bg-yellow-500\/20 { background-color: rgba(234, 179, 8, 0.2); }
.bg-cyan-900\/50 { background-color: rgba(22, 78, 99, 0.5); }
.bg-slate-700\/50 { background-color: transparent; }
.border-slate-700\/50 { border-color: transparent; }
.bg-cyan-500\/20 { background-color: rgba(6, 182, 212, 0.2); }

/* List utilities */
.list-none { list-style-type: none; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

/* Table utilities */
.table { display: table; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.divide-y > * + * { border-top-width: 1px; }
.divide-slate-700 > * + * { border-top-color: rgb(51 65 85); }

/* Additional spacing utilities */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* Transform utilities */
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-x-1\/2 { --tw-translate-x: -50%; }

/* File input styling */
.file\:mr-4::file-selector-button { margin-right: 1rem; }
.file\:py-2::file-selector-button { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.file\:px-4::file-selector-button { padding-left: 1rem; padding-right: 1rem; }
.file\:rounded-full::file-selector-button { border-radius: 9999px; }
.file\:border-0::file-selector-button { border-width: 0; }
.file\:text-sm::file-selector-button { font-size: 0.875rem; line-height: 1.25rem; }
.file\:font-semibold::file-selector-button { font-weight: 600; }
.file\:bg-blue-600::file-selector-button { background-color: rgb(37 99 235); }
.file\:text-white::file-selector-button { color: rgb(255 255 255); }
.hover\:file\:bg-blue-700:hover::file-selector-button { background-color: rgb(29 78 216); }

/* Shoebox-specific styles */
.trigger-option {
  background-color: rgb(30 41 59 / 0.5);
  border: 1px solid rgb(51 65 85);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.trigger-option:hover {
  background-color: rgb(51 65 85 / 0.5);
  border-color: rgb(59 130 246 / 0.5);
}

.trigger-option:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgb(59 130 246 / 0.5);
}

.trigger-option.active {
  background: linear-gradient(135deg, #D46A2A, #E09C3D);
  border-color: #E09C3D;
  box-shadow: 0 0 0 2px rgba(224, 156, 61, 0.5);
  color: #FFFFFF;
}

.trigger-option.active i,
.trigger-option.active i.text-red-400,
.trigger-option.active i.text-blue-400,
.trigger-option.active i.text-cyan-400,
.trigger-option.active i.text-amber-400 {
  color: #FFFFFF !important;
}

.trigger-option.active span,
.trigger-option.active p,
.trigger-option.active div,
.trigger-option.active h3,
.trigger-option.active .text-white,
.trigger-option.active .text-slate-400,
.trigger-option.active .text-slate-300 {
  color: #FFFFFF !important;
}

.item-type-card {
  background-color: rgb(30 41 59 / 0.5);
  border: 1px solid rgb(51 65 85);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.item-type-card:hover {
  background-color: rgb(51 65 85 / 0.5);
  border-color: rgb(59 130 246 / 0.5);
}

.item-type-card:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgb(59 130 246 / 0.5);
}

.item-type-card.active {
  background-color: rgb(37 99 235 / 0.2);
  border-color: rgb(59 130 246);
  box-shadow: 0 0 0 2px rgb(59 130 246 / 0.5);
}

.item-type-card.active i {
  color: rgb(147 197 253);
}

.preset-btn {
  background-color: rgb(30 41 59 / 0.5);
  border: 1px solid rgb(51 65 85);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: rgb(203 213 225);
  transition: all 0.2s;
}

.preset-btn:hover {
  background-color: rgb(51 65 85 / 0.5);
  border-color: rgb(59 130 246 / 0.5);
  color: white;
}

.preset-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgb(59 130 246 / 0.5);
}

.caretaker-item.selected {
  background-color: rgb(37 99 235 / 0.2);
  border-color: rgb(59 130 246);
}

/* Form input styles */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(226 232 240);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(129, 87, 57, 0.4);
  border: 1px solid rgba(129, 87, 57, 0.6);
  border-radius: 0.5rem;
  color: rgb(248 250 252);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #E09C3D;
  box-shadow: 0 0 0 3px rgba(224, 156, 61, 0.2);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgb(148 163 184);
}

.form-textarea {
  resize: vertical;
  min-height: 5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.info-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.info-container span {
  font-size: 0.875rem;
  color: rgb(148 163 184);
}

/* Ensure hidden sections stay hidden until JavaScript shows them */
#shoeboxFormFields {
  transition: opacity 0.3s ease-in-out;
}

#shoeboxFormFields[style*="display: none"] {
  opacity: 0;
  pointer-events: none;
}

#shoeboxFormFields[style*="display: block"] {
  opacity: 1;
  pointer-events: auto;
}

/* Green color utilities */
.bg-green-600 { background-color: rgb(22 163 74); }
.bg-green-700 { background-color: rgb(21 128 61); }
.hover\:bg-green-700:hover { background-color: rgb(21 128 61); }

/* Additional background colors */
.bg-red-600 { background-color: rgb(220 38 38); }
.bg-red-700 { background-color: rgb(185 28 28); }
.hover\:bg-red-700:hover { background-color: rgb(185 28 28); }

/* Max-width utilities */
.max-w-400 { max-width: 250px; }
.max-w-48 { max-width: 12rem; } /* 192px */

/* Min-width utilities */
.min-w-10 { min-width: 2.5rem; } /* 40px */

/* Custom spacing utilities */
.ml-50px { margin-left: 50px; }

/* Background decorations */
.bg-decoration-1 {
  background-color: rgba(224, 156, 61, 0.1);
}

.bg-decoration-2 {
  background-color: rgba(212, 106, 42, 0.1);
}

/* Sales card border */
.sales-card-border {
  border-color: rgba(224, 156, 61, 0.3);
}

/* AboutUs Fire Keepers card */
.fire-keepers-card {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(217, 119, 6, 0.1));
  border-color: rgba(251, 191, 36, 0.3);
}

/* AboutUs value cards */
.value-card {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.05), rgba(217, 119, 6, 0.05));
  border-color: rgba(251, 191, 36, 0.2);
}

/* AboutUs CTA card */
.aboutus-cta-card {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(217, 119, 6, 0.1));
  border-color: rgba(251, 191, 36, 0.3);
}

/* Video CTA box */
.video-cta-box {
  background: linear-gradient(to right, rgba(212, 106, 42, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(224, 156, 61, 0.3);
}

/* Dashboard Guided Legacy Card */
.dashboard-guided-legacy-card {
  background-color: #3E2819;
  border: 1px solid #815739;
}

/* Remove underlines from icons in links and buttons */
a i,
button i,
a .fas,
a .fab,
a .far,
button .fas,
button .fab,
button .far {
  text-decoration: none !important;
}

/* Sales Scenarios page styles */
.ss-header { position: relative; }
.ss-back-btn { position: absolute; top: 0; right: 0; }
.ss-accordion-btn { background: none; border: none; cursor: pointer; }
.ss-icon-green { background: rgba(16,185,129,0.1); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ss-icon-amber { background: rgba(245,158,11,0.1); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ss-chevron { transition: transform 0.3s; }
.ss-collapse-body { padding: 0 1.25rem 1.25rem; border-top: 1px solid rgba(100,116,139,0.2); }
.ss-description { margin-top: 1rem; line-height: 1.7; white-space: pre-line; }
.ss-objection-inner { margin-top: 1rem; }
.ss-objection-label { margin-bottom: 0.75rem; }
.ss-response-text { line-height: 1.7; }
.admin-back-btn { position: absolute; top: 1rem; right: 1rem; z-index: 10; }
