/* Navigation Bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), border-color var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 17, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(52, 211, 153, 0.12);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Emblem */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.4);
}

.brand-emblem svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-family: var(--font-sans);
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding-block: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-mint);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-mint);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: rgba(52, 211, 153, 0.1);
  border-color: var(--accent-mint);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--bg-surface-glass-border);
  border-radius: var(--radius-md);
  min-width: 185px;
  max-height: 360px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  padding: 0.4rem;
  z-index: 101;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lang-dropdown::-webkit-scrollbar {
  width: 6px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
  background: rgba(52, 211, 153, 0.3);
  border-radius: 4px;
}

.lang-dropdown.open {
  display: flex;
}

.lang-option {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  text-align: left;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.lang-flag {
  font-size: 1.1rem;
}

.lang-option:hover {
  color: var(--accent-mint);
  background: rgba(52, 211, 153, 0.12);
}

.lang-option.active {
  color: var(--accent-mint);
  font-weight: 700;
  background: rgba(52, 211, 153, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--bg-primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(52, 211, 153, 0.4);
  color: var(--accent-mint);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #1a1002;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--accent-mint);
  border: 1px solid var(--accent-mint);
}

.btn-outline:hover {
  background: rgba(52, 211, 153, 0.1);
  box-shadow: var(--shadow-glow);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-surface-elevated);
  border-left: 1px solid var(--border-brand);
  z-index: 1000;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-slow);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.4rem;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
}

.mobile-nav-item a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.mobile-nav-item a:hover {
  color: var(--accent-mint);
}

/* Cards System */
.glass-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--bg-surface-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-xl);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translateY(-4px);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 9, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-container {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(52, 211, 153, 0.15);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.75rem 2rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--accent-danger);
  color: var(--accent-danger);
}

.modal-body {
  padding: 2rem;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(6, 17, 13, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-mint);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
  outline: none;
}

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 6.25rem;
  right: 1.75rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-mint);
  color: var(--text-primary);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Modal Wide Variant & Utility classes */
.modal-container-wide {
  max-width: 620px;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-gold {
  color: #fbbf24;
}

/* Donation Methods Navigation Tabs */
.donation-methods-nav {
  display: flex;
  gap: 0.4rem;
  background: rgba(4, 15, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.35rem;
  margin-bottom: 1.5rem;
}

.donation-method-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.donation-method-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.donation-method-tab.active {
  background: rgba(52, 211, 153, 0.14);
  color: var(--accent-mint);
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}

.donation-tab-panel {
  display: none;
}

.donation-tab-panel.active {
  display: block;
  animation: fadeInPanel 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cryptocurrency Options Panel */
.crypto-intro-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.crypto-intro-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.crypto-assets-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.crypto-card {
  background: rgba(6, 20, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  transition: all var(--transition-fast);
}

.crypto-card:hover {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(7, 26, 18, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.crypto-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.crypto-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.crypto-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.15rem 0;
}

.crypto-network {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  display: block;
}

.crypto-icon-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btc-badge {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.usdt-badge {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.bnb-badge {
  background: rgba(234, 179, 8, 0.18);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.sol-badge {
  background: rgba(139, 92, 246, 0.18);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.eth-badge {
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.crypto-address-box {
  background: rgba(2, 9, 6, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  word-break: break-all;
  user-select: all;
}

.crypto-address-box code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-mint);
  line-height: 1.4;
  display: block;
}

.btn-copy-address {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-address:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(52, 211, 153, 0.45);
}

.btn-copy-address.copied {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--accent-mint);
  color: var(--accent-mint);
}

/* Traditional Banking Panel */
.banking-intro-box {
  margin-bottom: 1.25rem;
}

.banking-intro-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.banking-details-card {
  background: rgba(6, 20, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 0.4rem 1.25rem;
  margin-bottom: 1.25rem;
}

.banking-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  gap: 1rem;
}

.banking-field-row:last-child {
  border-bottom: none;
}

.banking-field-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.banking-field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #94a3b8);
}

.banking-field-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.banking-field-highlight {
  background: rgba(245, 158, 11, 0.06);
  margin: 0.4rem -1.25rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(245, 158, 11, 0.3);
}

.banking-note-box {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: #fbbf24;
  line-height: 1.5;
}

.banking-note-box svg {
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .donation-methods-nav {
    flex-direction: column;
    gap: 0.35rem;
  }
  .donation-method-tab {
    justify-content: flex-start;
    padding: 0.6rem 0.8rem;
  }
  .banking-field-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .banking-field-row .btn-copy-address {
    align-self: flex-start;
  }
}

/* ==========================================================================
   Intuitive AI Chat Assistant Widget
   ========================================================================== */

/* Floating Launcher Button */
.ai-chat-trigger {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1080;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.35rem 0.8rem 1.15rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #041209;
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4), 0 0 20px rgba(16, 185, 129, 0.2);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--transition-normal);
}

.ai-chat-trigger:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.55), 0 0 30px rgba(52, 211, 153, 0.4);
  color: #000;
}

.ai-chat-trigger.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: var(--accent-mint);
  transform: scale(0.98);
}

.chat-trigger-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-trigger-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.chat-trigger-pulse {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.35);
  z-index: -1;
  animation: triggerAura 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes triggerAura {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.chat-notification-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  background: #fbbf24;
  border: 2px solid var(--bg-primary);
  border-radius: 50%;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* AI Chat Window Container */
.ai-chat-window {
  position: fixed;
  bottom: 5.75rem;
  right: 1.75rem;
  width: 410px;
  max-width: calc(100vw - 2.5rem);
  height: 590px;
  max-height: calc(100vh - 120px);
  background: rgba(5, 18, 12, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(16, 185, 129, 0.15);
  z-index: 1070;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.ai-chat-header {
  padding: 1.1rem 1.25rem;
  background: rgba(4, 14, 9, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.ai-chat-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-chat-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-chat-avatar svg {
  width: 20px;
  height: 20px;
}

.online-indicator {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 9px;
  height: 9px;
  background: #34d399;
  border-radius: 50%;
  border: 2px solid #05140b;
}

.ai-chat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.ai-chat-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
}

.ai-chat-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-control-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-control-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

/* Chat Messages Scroll Area */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}

.chat-msg {
  display: flex;
  gap: 0.7rem;
  max-width: 90%;
  animation: fadeInMsg 0.22s ease-out;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg-user {
  align-self: flex-end;
  justify-content: flex-end;
}

.chat-msg-bot {
  align-self: flex-start;
}

.chat-avatar-bot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.chat-avatar-bot svg {
  width: 15px;
  height: 15px;
}

.chat-bubble {
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-md);
  font-size: 0.8875rem;
  line-height: 1.5;
}

.chat-bubble-user {
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--text-primary);
  border-top-right-radius: 4px;
}

.chat-bubble-user p {
  margin: 0;
}

.chat-bubble-bot {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-top-left-radius: 4px;
}

.chat-bubble-bot p {
  margin: 0 0 0.5rem;
}

.chat-bubble-bot p:last-child {
  margin-bottom: 0;
}

.chat-bubble-bot ul,
.chat-bubble-bot ol {
  margin: 0.4rem 0 0.5rem 1.15rem;
  padding: 0;
}

.chat-bubble-bot li {
  margin-bottom: 0.25rem;
}

.chat-bubble-bot code {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  color: var(--accent-mint);
  font-size: 0.8125rem;
}

.chat-bubble-bot a {
  color: var(--accent-mint);
  text-decoration: underline;
}

/* Chat Action Buttons */
.chat-actions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary-sm {
  background: var(--gradient-brand);
  color: #000;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
}

.btn-gold-sm {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #1a1002;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.btn-gold-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.btn-outline-sm {
  background: transparent;
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--accent-mint);
}

.btn-outline-sm:hover {
  background: rgba(52, 211, 153, 0.12);
  border-color: var(--accent-mint);
}

/* Suggestions Group */
.chat-suggestions-group {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.07);
}

.chat-suggestions-label {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  display: block;
  margin-bottom: 0.35rem;
}

.chat-suggestions-pills {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.chat-suggestion-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.7875rem;
  text-align: left;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-suggestion-pill:hover {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--accent-mint);
}

/* Typing Indicator */
.ai-chat-typing {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.25rem;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-mint);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* Quick FAQ Chips Tray */
.ai-chat-faq-tray {
  padding: 0.5rem 1rem;
  background: rgba(3, 11, 7, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.ai-chat-faq-chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(52, 211, 153, 0.3) transparent;
}

.ai-chat-faq-chips::-webkit-scrollbar {
  height: 4px;
}

.ai-chat-faq-chips::-webkit-scrollbar-thumb {
  background: rgba(52, 211, 153, 0.3);
  border-radius: 4px;
}

.chat-faq-chip {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.7875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.chat-faq-chip:hover {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
  color: var(--accent-mint);
}

/* Chat Input Footer */
.ai-chat-footer {
  padding: 0.85rem 1rem;
  background: rgba(4, 14, 9, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.ai-chat-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 20, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.4rem 0.3rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ai-chat-form:focus-within {
  border-color: var(--accent-mint);
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.25);
}

.ai-chat-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.ai-chat-input::placeholder {
  color: var(--text-muted, #64748b);
}

.ai-chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.ai-chat-send-btn:hover {
  transform: scale(1.08);
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .ai-chat-trigger {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.7rem 1.1rem;
  }
  .ai-chat-window {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 82vh;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    transform-origin: bottom center;
  }
}


