/* PM SHRI Kendriya Vidyalaya Chhatrapati Sambhajinagar Cantt
   Custom Ultra-Clean Theme & Component Stylesheet (Zero CDN Dependencies) */

:root {
  --bg-dark: #070f1e;
  --bg-card: #0d1b2a;
  --bg-card-hover: #132238;
  --bg-surface: #1b2d45;
  --border-color: #213755;
  --border-highlight: #3b82f6;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.2);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.25);
  --emerald: #10b981;
  --rose: #f43f5e;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Stylized Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #070f1e;
}
::-webkit-scrollbar-thumb {
  background: #1e3a5f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.nav-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.brand-text h1 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
}

.brand-text p {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--gold);
}

.admin-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.admin-portal-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* Hero Section */
.hero {
  padding: 75px 0 45px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.84) 0%, rgba(5, 11, 20, 0.94) 75%, #050b14 100%), url('/assets/campus-bg.jpg') center/cover no-repeat;
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow: inset 0 -30px 50px #050b14;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--gold);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 30px;
}

/* Quick Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  text-align: left;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Chatbot Section */
.chat-section {
  padding: 20px 0 60px;
}

.chat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 750px;
}

.chat-header {
  padding: 16px 24px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid var(--gold);
}

.bot-meta h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.bot-meta p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.user-badge-pill {
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color var(--transition-fast);
}

.user-badge-pill:hover {
  border-color: var(--gold);
}

.btn-icon-subtle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon-subtle:hover {
  background: var(--bg-card);
  color: var(--rose);
  border-color: var(--rose);
}

/* Suggestion Pills */
.suggestion-bar {
  padding: 12px 20px;
  background: rgba(13, 27, 42, 0.6);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.suggestion-bar::-webkit-scrollbar { display: none; }

.suggestion-pill {
  white-space: nowrap;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.suggestion-pill:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* Chat Messages Area */
.chat-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Chat Bubbles */
.chat-bubble {
  max-width: 85%;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.25s ease;
}

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

.chat-bubble-user {
  align-self: flex-end;
  background: #1e3a8a;
  border: 1px solid #2563eb;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-bubble-assistant {
  align-self: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.bubble-content {
  padding: 16px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.user-attached-file-badge {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  display: inline-block;
}

/* Bubble Toolbar (Copy, Edit, Regenerate) */
.bubble-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
}

.toolbar-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  transition: all var(--transition-fast);
}

.toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.model-badge {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}

/* Markdown Rendering Inside Bubbles */
.bubble-content .md-h1,
.bubble-content .md-h2,
.bubble-content .md-h3 {
  color: var(--gold);
  margin-top: 14px;
  margin-bottom: 8px;
}
.bubble-content .md-h1:first-child,
.bubble-content .md-h2:first-child,
.bubble-content .md-h3:first-child {
  margin-top: 0;
}
.bubble-content .md-p {
  margin-bottom: 10px;
}
.bubble-content .md-p:last-child {
  margin-bottom: 0;
}
.bubble-content .md-ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.bubble-content .md-li {
  margin-bottom: 4px;
}
.bubble-content .md-quote {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  color: var(--text-muted);
  margin: 12px 0;
  font-style: italic;
}
.bubble-content .md-link {
  color: #60a5fa;
  text-decoration: underline;
}
.bubble-content .inline-code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85em;
  color: var(--gold);
}
.bubble-content .code-block {
  background: #050b14;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow-x: auto;
  margin: 10px 0;
}

/* Markdown Tables */
.table-responsive {
  overflow-x: auto;
  margin: 14px 0;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.md-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.md-table th {
  background: #091322;
  color: var(--gold);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
}
.md-table td {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.md-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* Interactive Widget Callout Button inside Chat */
.interactive-widget-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 6px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
}

.callout-icon {
  font-size: 1.5rem;
}

.callout-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.callout-label {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.callout-title {
  font-size: 0.95rem;
  color: #fff;
}

.open-canvas-btn {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.open-canvas-btn:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

/* Typing Indicator */
.typing-indicator {
  display: none;
  align-self: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  border-bottom-left-radius: 4px;
  gap: 6px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Chat Input Bar */
.chat-input-bar {
  padding: 16px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.attachment-chip {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  color: #60a5fa;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  width: fit-content;
}

.attachment-chip button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.input-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.attach-btn-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.attach-btn-label:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.chat-textarea {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  resize: none;
  min-height: 44px;
  max-height: 140px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.chat-textarea:focus {
  border-color: var(--gold);
}

.send-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gold);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.send-btn:hover:not(:disabled) {
  background: #fbbf24;
  transform: translateY(-1px);
}

.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
}

.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 18px 20px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-arrow {
  color: var(--gold);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Official Portals Directory */
.portals-section {
  padding: 60px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.portal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.portal-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.portal-card h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.portal-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.portal-link-label {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
  background: #040913;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  animation: modalScale 0.2s ease;
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

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

.modal-header h3 {
  color: #fff;
  font-size: 1.3rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 18px;
}

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
}

.btn-primary {
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: #fbbf24;
}

/* Admin Dashboard Specific */
.admin-modal-box {
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  overflow-x: auto;
}

.admin-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.admin-tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.status-chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-right: 6px;
}

.chip-ok { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.chip-fail { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.chip-empty { background: rgba(100, 116, 139, 0.2); color: #94a3b8; }

.admin-msg-box {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  font-size: 0.88rem;
  display: none;
}
.msg-success { background: rgba(16, 185, 129, 0.15); border: 1px solid #059669; color: #a7f3d0; }
.msg-error { background: rgba(239, 68, 68, 0.15); border: 1px solid #dc2626; color: #fecaca; }
.msg-info { background: rgba(59, 130, 246, 0.15); border: 1px solid #2563eb; color: #bfdbfe; white-space: pre-line; }

.widget-admin-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}
.widget-id-pill {
  font-size: 0.75rem;
  background: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--gold);
  margin-left: 8px;
}
.btn-sm {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  border: 1px solid var(--border-color);
  font-weight: 600;
}
.btn-outline { background: transparent; color: #fff; }
.btn-danger { background: rgba(239, 68, 68, 0.2); color: #f87171; border-color: rgba(239, 68, 68, 0.4); }

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .chat-card { height: 680px; }
  .chat-bubble { max-width: 95%; }
  .interactive-widget-callout { flex-direction: column; align-items: flex-start; }
  .nav-container { flex-wrap: wrap; gap: 12px; }
  .nav-menu { flex-wrap: wrap; gap: 8px; }
  .brand-text h1 { font-size: 0.9rem; }
  .brand-text p { font-size: 0.65rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.65rem; }
  .nav-menu { justify-content: center; width: 100%; }
  .hero-badges { gap: 6px; }
  .badge { font-size: 0.68rem; padding: 4px 8px; }
}

