/* ==========================================================================
   COMPONENTS DESIGN SYSTEM
   Glassmorphic Nav, Cards, Modals, Badges, Buttons, Forms & Footers
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--container-max);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--bg-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  top: 10px;
  padding: 10px 20px;
  background: rgba(5, 7, 12, 0.88);
  border-color: rgba(243, 194, 118, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-emblem {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--gold-glow);
  position: relative;
}

.logo-emblem svg {
  width: 20px;
  height: 20px;
  fill: #05070c;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-primary);
  line-height: 1;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--cyan-primary));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  padding: 4px;
}

/* --------------------------------------------------------------------------
   2. BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  color: #05070c;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(243, 194, 118, 0.45);
}

.btn-secondary {
  background: rgba(16, 23, 38, 0.6);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: var(--blur-glass);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
  background: rgba(22, 32, 53, 0.8);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--border-active);
}

.btn-outline-gold:hover {
  background: rgba(243, 194, 118, 0.12);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-gold {
  background: rgba(243, 194, 118, 0.12);
  color: var(--gold-primary);
  border: 1px solid rgba(243, 194, 118, 0.3);
}

.badge-cyan {
  background: rgba(77, 238, 234, 0.12);
  color: var(--cyan-primary);
  border: 1px solid rgba(77, 238, 234, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* --------------------------------------------------------------------------
   3. PHILOSOPHY & PROBLEM SOLVING CARDS
   -------------------------------------------------------------------------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: var(--blur-glass);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.philosophy-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-subtle), 0 0 25px rgba(243, 194, 118, 0.08);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(243, 194, 118, 0.08);
  border: 1px solid rgba(243, 194, 118, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.philosophy-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.philosophy-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   4. PRODUCT & ECOSYSTEM SHOWCASE
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: var(--blur-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-subtle), 0 0 35px var(--gold-glow);
}

.product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(77, 238, 234, 0.08);
  border: 1px solid rgba(77, 238, 234, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  font-size: 1.4rem;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.product-tagline {
  color: var(--gold-primary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-features-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-features-list li {
  font-size: 0.88rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features-list li svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. WEEKLY JOURNAL & THOUGHT PROCESS
   -------------------------------------------------------------------------- */
.journal-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(16, 23, 38, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-glass);
}

.filter-tab.active {
  background: var(--gold-primary);
  color: #05070c;
  font-weight: 600;
  border-color: var(--gold-primary);
  box-shadow: 0 0 18px var(--gold-glow);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.journal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: var(--blur-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.journal-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-subtle);
}

.journal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.journal-card h3 {
  font-size: 1.3rem;
  line-height: 1.35;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.journal-card:hover h3 {
  color: var(--gold-light);
}

.journal-snippet {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.journal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(243, 194, 118, 0.15);
  border: 1px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gold-primary);
}

.author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   6. NGO IMPACT & LIVE STATS
   -------------------------------------------------------------------------- */
.stats-banner {
  background: linear-gradient(135deg, rgba(16, 23, 38, 0.9), rgba(9, 14, 23, 0.9));
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  margin-bottom: 60px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. CAREERS SECTION
   -------------------------------------------------------------------------- */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.career-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: var(--blur-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.career-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-subtle);
}

.career-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.career-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.career-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.career-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.requirements-mini {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.requirements-mini li {
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.requirements-mini li::before {
  content: '•';
  color: var(--gold-primary);
  font-size: 1.2rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   8. NEWSLETTER / WEEKLY SUBSCRIPTION
   -------------------------------------------------------------------------- */
.newsletter-card {
  background: linear-gradient(135deg, rgba(22, 32, 53, 0.8), rgba(10, 14, 26, 0.95));
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 520px;
  margin: 32px auto 0 auto;
  flex-wrap: wrap;
}

.input-glass {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  background: rgba(5, 7, 12, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.input-glass:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* --------------------------------------------------------------------------
   9. MODALS (Article Reader & Career Application)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 8, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: rgba(243, 194, 118, 0.2);
  color: var(--gold-primary);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  background: rgba(5, 7, 12, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* --------------------------------------------------------------------------
   10. TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(16, 23, 38, 0.95);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-full);
  padding: 14px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #030407;
  padding: 80px 0 40px 0;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 18px 0 24px 0;
  max-width: 380px;
}

.footer-col h4 {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   12. GENESIS LETTER & ROADMAP PROGRESS CARDS
   -------------------------------------------------------------------------- */
.genesis-manifesto-box {
  background: linear-gradient(135deg, rgba(22, 32, 53, 0.75), rgba(8, 12, 22, 0.95));
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-bottom: 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.genesis-manifesto-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-primary), var(--cyan-primary));
}

.genesis-quote {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.genesis-body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: var(--blur-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.roadmap-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.roadmap-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.roadmap-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.roadmap-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--cyan-primary));
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. SOUL COMPANION (SMART FLOATING AI GUIDE)
   -------------------------------------------------------------------------- */
.soul-companion-wrapper {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 1050;
}

.companion-trigger-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  background: rgba(10, 15, 28, 0.88);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-full);
  backdrop-filter: var(--blur-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow);
  color: var(--gold-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.companion-trigger-btn:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px var(--gold-glow);
}

.companion-orb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--cyan-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #05070c;
  box-shadow: 0 0 14px var(--gold-primary);
}

.companion-btn-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.companion-pulse-ring {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-full);
  opacity: 0.5;
  animation: pulseRing 3s infinite ease-out;
  pointer-events: none;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 0; }
}

.companion-drawer {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 360px;
  max-width: calc(100vw - 40px);
  height: 480px;
  max-height: calc(100vh - 120px);
  background: rgba(8, 12, 22, 0.96);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: var(--transition-smooth);
}

.companion-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.companion-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 23, 38, 0.5);
}

.companion-guide-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(243, 194, 118, 0.15);
  border: 1px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1rem;
}

.companion-guide-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.companion-guide-status {
  font-size: 0.75rem;
  color: var(--gold-primary);
}

.companion-close-btn {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.companion-close-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.15);
}

.companion-chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.companion-msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.55;
}

.companion-msg-bot {
  align-self: flex-start;
  background: rgba(22, 32, 53, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-top-left-radius: 4px;
}

.companion-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  color: #05070c;
  font-weight: 500;
  border-top-right-radius: 4px;
}

.companion-chips-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.quick-chip {
  text-align: left;
  padding: 8px 12px;
  background: rgba(16, 23, 38, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.quick-chip:hover {
  background: rgba(243, 194, 118, 0.12);
  border-color: var(--border-active);
  color: var(--gold-light);
}

.companion-input-form {
  padding: 12px 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 14, 26, 0.8);
}

.companion-input-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  font-family: inherit;
}

.companion-input-form button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #05070c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.companion-input-form button:hover {
  transform: scale(1.08);
}
