/* ==========================================================================
   SYNTERIAL PUBLIC DESIGN SYSTEM
   Disciplined Monochrome Architecture (Pure Light & Sharp Obsidian)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces & Backgrounds */
  --dx-bg: #fafafa;
  --dx-surface-0: #ffffff;
  --dx-surface-1: #ffffff;
  --dx-surface-2: #f4f4f5;
  --dx-surface-3: #e4e4e7;
  
  /* Borders & Focus Rings */
  --dx-border: rgba(0, 0, 0, 0.08);
  --dx-border-strong: rgba(0, 0, 0, 0.16);
  --dx-border-focus: rgba(0, 0, 0, 0.65);

  /* Typography Colors */
  --dx-text-primary: #09090b;
  --dx-text-secondary: #27272a;
  --dx-text-muted: #71717a;
  --dx-text-subtle: #a1a1aa;

  /* Obsidian Accents & High-Contrast Controls */
  --dx-accent-bg: #09090b;
  --dx-accent-fg: #ffffff;
  --dx-accent-hover: #27272a;
  --dx-accent-glow: rgba(0, 0, 0, 0.08);

  /* Layout Spatial Dimensions */
  --dx-sidebar-collapsed: 60px;
  --dx-sidebar-expanded: 260px;
  --dx-header-height: 56px;
  --dx-content-max-width: 900px;
}

/* --------------------------------------------------------------------------
   2. Reset, Base Typography & Minimalist Scrollbars
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100vh;
  height: 100dvh;
  background-color: var(--dx-bg);
  color: var(--dx-text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   3. Utility Surfaces, Cards, & Typography Helpers
   -------------------------------------------------------------------------- */
.bg-dx-card {
  background: var(--dx-surface-1) !important;
  border: 1px solid var(--dx-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.bg-dx-inner {
  background: var(--dx-surface-2) !important;
  border: 1px solid var(--dx-border) !important;
  border-radius: 12px !important;
}

.border-dx { border-color: var(--dx-border) !important; }
.text-dx-primary { color: var(--dx-text-primary) !important; }
.text-dx-muted { color: var(--dx-text-muted) !important; }
.text-dx-subtle { color: var(--dx-text-subtle) !important; }

/* --------------------------------------------------------------------------
   4. Buttons, Badges, & Interactive Triggers
   -------------------------------------------------------------------------- */
.btn-dx-primary {
  background: var(--dx-accent-bg) !important;
  color: var(--dx-accent-fg) !important;
  border: 1px solid var(--dx-accent-bg) !important;
  border-radius: 10px !important;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-dx-primary:hover {
  background: var(--dx-accent-hover) !important;
  border-color: var(--dx-accent-hover) !important;
  color: #ffffff !important;
}

.btn-dx-secondary {
  background: var(--dx-surface-2) !important;
  color: var(--dx-text-primary) !important;
  border: 1px solid var(--dx-border-strong) !important;
  border-radius: 10px !important;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-dx-secondary:hover {
  background: var(--dx-surface-3) !important;
  border-color: var(--dx-border-focus) !important;
  color: var(--dx-text-primary) !important;
}

.btn-dx-google-header {
  background: #ffffff !important;
  color: var(--dx-text-primary) !important;
  border: 1px solid var(--dx-border-strong) !important;
  border-radius: 10px !important;
  font-weight: 600;
  font-size: 12.5px;
  padding: 6px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-dx-google-header:hover {
  background: var(--dx-surface-2) !important;
  border-color: var(--dx-border-focus) !important;
  color: var(--dx-text-primary) !important;
}

.btn-dx-modal-item {
  width: 100%;
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--dx-text-primary);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-dx-modal-item:hover {
  background: var(--dx-surface-3);
  border-color: var(--dx-border-strong);
  color: var(--dx-text-primary);
}

.btn-dx-modal-danger {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 12px;
  padding: 12px 16px;
  color: #09090b;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-top: 8px;
}

.btn-dx-modal-danger:hover {
  background: var(--dx-surface-2);
  border-color: var(--dx-border-focus);
}

.badge-dx-token {
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  color: var(--dx-text-primary);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.badge-dx-token:hover {
  background: var(--dx-surface-3);
  border-color: var(--dx-border-focus);
}

/* --------------------------------------------------------------------------
   5. Avatars & Identity Components
   -------------------------------------------------------------------------- */
.profile-avatar-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
}

.profile-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--dx-border-strong);
  display: block;
}

.avatar-initial-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #09090b;
  color: #ffffff;
  border: 2px solid var(--dx-border-strong);
  font-size: 26px;
  font-weight: 800;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  user-select: none;
}

.sidebar-avatar-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.user-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--dx-border-strong);
  display: block;
}

.avatar-initial-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #09090b;
  color: #ffffff;
  border: 1px solid var(--dx-border-strong);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  flex-shrink: 0;
  user-select: none;
}

/* --------------------------------------------------------------------------
   6. App Shell & Collapsible Sidebar Architecture
   -------------------------------------------------------------------------- */
.app-shell {
  display: flex;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  position: relative;
}

.app-sidebar {
  width: var(--dx-sidebar-collapsed);
  height: 100%;
  background: var(--dx-surface-1);
  border-right: 1px solid var(--dx-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 300;
  overflow: hidden;
}

.app-sidebar.expanded {
  width: var(--dx-sidebar-expanded);
}

.sidebar-brand-header {
  height: var(--dx-header-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  border-bottom: 1px solid var(--dx-border);
  gap: 10px;
}

.sidebar-toggle-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--dx-border);
  color: var(--dx-text-muted);
  font-size: 18px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
  background: var(--dx-surface-2);
  color: var(--dx-text-primary);
  border-color: var(--dx-border-strong);
}

/* Sidebar Official 3D Ribbon Logo */
.sidebar-brand-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  display: none;
}

.app-sidebar.expanded .sidebar-brand-logo {
  display: inline-block;
}

.brand-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dx-text-primary);
  white-space: nowrap;
  display: none;
}

.app-sidebar.expanded .brand-title {
  display: inline;
}

.sidebar-menu {
  flex: 1;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sidebar-section-label {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--dx-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 8px 4px;
  white-space: nowrap;
  display: none;
}

.app-sidebar.expanded .sidebar-section-label {
  display: block;
}

.sidebar-new-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 42px;
  height: 42px;
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  color: var(--dx-text-primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  margin: 0 auto 6px;
}

.sidebar-new-chat-btn:hover {
  background: var(--dx-surface-3);
  border-color: var(--dx-border-focus);
  color: var(--dx-text-primary);
}

.sidebar-new-chat-btn i {
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-new-chat-btn span {
  display: none;
  white-space: nowrap;
}

.app-sidebar.expanded .sidebar-new-chat-btn {
  width: 100%;
  height: auto;
  padding: 10px 14px;
  justify-content: flex-start;
}

.app-sidebar.expanded .sidebar-new-chat-btn span {
  display: inline;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 42px;
  height: 38px;
  color: var(--dx-text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  margin: 0 auto;
}

.app-sidebar.expanded .sidebar-nav-item {
  width: 100%;
  height: auto;
  justify-content: flex-start;
  padding: 8px 10px;
}

.sidebar-nav-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-nav-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}

.app-sidebar.expanded .sidebar-nav-item span {
  display: inline;
}

.sidebar-nav-item:hover {
  color: var(--dx-text-primary);
  background: var(--dx-surface-2);
  border-color: var(--dx-border);
}

.sidebar-nav-item.active {
  color: var(--dx-text-primary);
  background: var(--dx-surface-2);
  border-color: var(--dx-border-strong);
  font-weight: 700;
}

.sidebar-nav-item.active i {
  color: var(--dx-text-primary);
}

.sidebar-load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 42px;
  height: 34px;
  color: var(--dx-text-subtle);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px dashed var(--dx-border-strong);
  background: transparent;
  margin: 4px auto 8px;
}

.sidebar-load-more-btn:hover {
  background: var(--dx-surface-2);
  color: var(--dx-text-primary);
  border-color: var(--dx-border-focus);
}

.sidebar-load-more-btn i {
  font-size: 14px;
  flex-shrink: 0;
}

.sidebar-load-more-btn span {
  display: none;
  white-space: nowrap;
}

.app-sidebar.expanded .sidebar-load-more-btn {
  width: 100%;
  justify-content: flex-start;
  padding: 6px 10px;
}

.app-sidebar.expanded .sidebar-load-more-btn span {
  display: inline;
}

.sidebar-footer {
  padding: 10px 8px;
  border-top: 1px solid var(--dx-border);
  display: flex;
  justify-content: center;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px;
  border-radius: 50%;
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: all 0.15s ease;
}

.user-profile-badge:hover {
  opacity: 0.85;
}

.app-sidebar.expanded .user-profile-badge {
  border-radius: 12px;
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border);
  padding: 8px 10px;
  justify-content: flex-start;
}

.app-sidebar.expanded .user-profile-badge:hover {
  background: var(--dx-surface-3);
  border-color: var(--dx-border-strong);
}

.user-info {
  flex: 1;
  min-width: 0;
  display: none;
  text-align: left;
}

.app-sidebar.expanded .user-info {
  display: block;
}

.user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dx-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.user-handle {
  font-size: 11px;
  color: var(--dx-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   7. Workspace Flex-Column Layout & Header
   -------------------------------------------------------------------------- */
.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background: var(--dx-bg);
  overflow: hidden;
}

.top-header {
  height: var(--dx-header-height);
  background: transparent !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 110;
  flex-shrink: 0;
}

.top-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mobile-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  color: var(--dx-text-primary);
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  background: var(--dx-surface-3);
  border-color: var(--dx-border-focus);
}

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

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  z-index: 290;
  display: none;
}

/* --------------------------------------------------------------------------
   8. Centered Hero Welcome State (With Official 3D Ribbon Logo)
   -------------------------------------------------------------------------- */
.workspace-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - var(--dx-header-height) - 180px);
  padding: 32px 20px;
  user-select: none;
  animation: fadeInHero 0.25s ease-out;
}

.workspace-hero-brand-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.workspace-hero-brand-img:hover {
  transform: scale(1.08) rotate(-3deg);
}

.workspace-hero-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dx-text-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.workspace-hero-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: var(--dx-text-muted);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

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

/* --------------------------------------------------------------------------
   9. Conversational Viewport & Message Bubbles
   -------------------------------------------------------------------------- */
.view-viewport {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

.view-section {
  width: 100%;
  max-width: var(--dx-content-max-width);
  margin: 0 auto;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
}

.chat-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.chat-row-user {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.chat-bubble-user-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: min(85%, 680px);
}

.chat-bubble-user {
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  color: var(--dx-text-primary);
  padding: 12px 18px;
  border-radius: 18px 18px 4px 18px;
  font-size: 14.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-bubble-attachments-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.chat-bubble-attachment-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--dx-border-strong);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chat-bubble-attachment-thumb.clickable {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chat-bubble-attachment-thumb.clickable:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chat-row-assistant {
  display: block;
  width: 100%;
}

.assistant-content-wrapper {
  width: 100%;
}

/* --------------------------------------------------------------------------
   10. Markdown Typography & Rich Rendering
   -------------------------------------------------------------------------- */
.markdown-body {
  font-size: 14.5px;
  color: var(--dx-text-secondary);
  line-height: 1.65;
  word-break: break-word;
}

.markdown-body > *:first-child {
  margin-top: 0 !important;
}

.markdown-body p { margin-bottom: 14px; }
.markdown-body p:last-child { margin-bottom: 0; }

.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 {
  color: var(--dx-text-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 22px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.markdown-body h1 { font-size: 20px; }
.markdown-body h2 { font-size: 18px; }
.markdown-body h3 { font-size: 16px; }
.markdown-body h4 { font-size: 14.5px; }

.markdown-body ul, .markdown-body ol {
  margin-bottom: 14px;
  padding-left: 20px;
}

.markdown-body li { margin-bottom: 4px; }

.markdown-body strong {
  color: var(--dx-text-primary);
  font-weight: 700;
}

.markdown-body blockquote {
  border-left: 3px solid var(--dx-text-primary);
  background: var(--dx-surface-2);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  margin: 14px 0;
  color: var(--dx-text-secondary);
  font-style: normal;
}

.markdown-body code:not(pre code) {
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  color: var(--dx-text-primary);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.markdown-body pre {
  background: #18181b;
  color: #fafafa;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--dx-border-strong);
  overflow-x: auto;
  font-size: 13px;
  margin: 14px 0;
  line-height: 1.5;
}

.markdown-body pre code {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}

.markdown-body th {
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  padding: 8px 12px;
  font-weight: 700;
  color: var(--dx-text-primary);
  text-align: left;
}

.markdown-body td {
  border: 1px solid var(--dx-border);
  padding: 8px 12px;
  color: var(--dx-text-secondary);
}

.markdown-body hr {
  border: none;
  border-top: 1px solid var(--dx-border-strong);
  margin: 20px 0;
}

/* --------------------------------------------------------------------------
   11. Code Block Copy Utility
   -------------------------------------------------------------------------- */
.code-block-wrapper {
  position: relative;
  margin: 14px 0;
}

.code-block-wrapper pre {
  margin: 0 !important;
}

.btn-code-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.btn-code-copy:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-code-copy.copied {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
}

/* --------------------------------------------------------------------------
   12. Proportional Media Display System (Videos & Images)
   -------------------------------------------------------------------------- */
.chat-media-wrapper {
  margin: 12px 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chat-media-wrapper[data-ratio="9:16"] {
  max-width: 300px;
}

.chat-media-wrapper[data-ratio="1:1"] {
  max-width: 440px;
}

.chat-media-wrapper[data-ratio="16:9"] {
  max-width: 640px;
}

.chat-media-frame {
  width: 100%;
  background: #000000;
  border: 1px solid var(--dx-border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-media-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: 17px;
}

.chat-media-video {
  width: 100%;
  max-height: 520px;
  display: block;
  background: #000000;
  border-radius: 17px;
  outline: none;
}

.chat-media-wrapper[data-ratio="9:16"] .chat-media-video {
  aspect-ratio: 9 / 16;
  max-height: 520px;
  object-fit: cover;
}

.chat-media-wrapper[data-ratio="16:9"] .chat-media-video {
  aspect-ratio: 16 / 9;
}

.chat-media-wrapper[data-ratio="1:1"] .chat-media-video {
  aspect-ratio: 1 / 1;
}

.chat-media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 0;
  width: 100%;
}

.chat-media-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--dx-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chat-media-tag i {
  font-size: 13px;
  color: var(--dx-text-subtle);
}

.chat-media-action {
  background: #ffffff;
  border: 1px solid var(--dx-border-strong);
  color: var(--dx-text-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.chat-media-action:hover {
  background: var(--dx-surface-2);
  border-color: var(--dx-border-focus);
  color: var(--dx-text-primary);
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  border-radius: 12px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--dx-text-subtle);
  border-radius: 50%;
  animation: pulseDot 1.2s infinite ease-in-out;
}

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

@keyframes pulseDot {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.4; }
  40% { transform: scale(1.3); opacity: 1; }
}

/* --------------------------------------------------------------------------
   13. Docked Bottom Composer Capsule
   -------------------------------------------------------------------------- */
.studio-composer-wrapper {
  flex-shrink: 0;
  width: 100%;
  max-width: var(--dx-content-max-width);
  margin: 0 auto;
  padding: 10px 24px 18px;
  background: var(--dx-bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 20;
}

.composer-controls-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.composer-mode-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  padding: 3px;
  border-radius: 12px;
}

.mode-pill-btn {
  background: transparent;
  border: none;
  color: var(--dx-text-muted);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.mode-pill-btn.active {
  background: #ffffff;
  color: var(--dx-text-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.mode-pill-btn:hover:not(.active) { color: var(--dx-text-primary); }

.composer-dynamic-options {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-select-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  padding: 3px 8px 3px 10px;
  border-radius: 12px;
}

.pill-select-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--dx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  user-select: none;
}

.pill-select-control {
  background: transparent;
  border: none;
  color: var(--dx-text-primary);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  padding: 4px 6px;
  border-radius: 6px;
  font-family: inherit;
}

.pill-select-control:focus {
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--dx-accent-glow);
}

.composer-capsule {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--dx-border-strong);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.composer-capsule:focus-within {
  border-color: var(--dx-border-focus);
}

.composer-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: var(--dx-text-primary);
  font-size: 14.5px;
  font-family: inherit;
  min-height: 48px;
  max-height: 180px;
  line-height: 1.5;
}

.composer-input::placeholder { color: var(--dx-text-subtle); }

.composer-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.composer-left-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.composer-add-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  color: var(--dx-text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 16px;
  flex-shrink: 0;
}

.composer-add-btn:hover {
  background: var(--dx-surface-3);
  border-color: var(--dx-border-focus);
}

.composer-add-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.composer-attachments-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.attachment-pill-thumb {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: visible;
  flex-shrink: 0;
}

.attachment-pill-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--dx-border-strong);
  display: block;
}

.attachment-delete-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 16px;
  height: 16px;
  background: #09090b;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: transform 0.15s ease, background-color 0.15s ease;
  z-index: 5;
}

.attachment-delete-btn:hover {
  background: #27272a;
  transform: scale(1.15);
}

.composer-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dx-accent-bg);
  color: var(--dx-accent-fg);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  font-size: 15px;
  flex-shrink: 0;
}

.composer-send-btn:hover { transform: scale(1.06); }

.composer-disclaimer {
  width: 100%;
  font-size: 11.5px;
  color: var(--dx-text-subtle);
  text-align: center;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   14. Modals & Authentication Cards
   -------------------------------------------------------------------------- */
.modal-card {
  background: #ffffff !important;
  border: 1px solid var(--dx-border-strong) !important;
  border-radius: 20px !important;
  color: var(--dx-text-primary) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.modal-header {
  border-bottom: 1px solid var(--dx-border) !important;
  padding: 18px 24px !important;
}

.modal-footer {
  border-top: 1px solid var(--dx-border) !important;
  padding: 14px 24px !important;
}

.btn-google-auth {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--dx-border-strong);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--dx-text-primary);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.btn-google-auth:hover {
  background: var(--dx-surface-2);
  border-color: var(--dx-border-focus);
  color: var(--dx-text-primary);
}

.form-check-label a {
  color: var(--dx-text-primary);
  text-decoration: underline;
  font-weight: 600;
}

.form-check-label a:hover {
  color: var(--dx-text-muted);
}

/* --------------------------------------------------------------------------
   15. Subscription Plans & Pricing Grids
   -------------------------------------------------------------------------- */
.billing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 24px;
}

.billing-toggle-pills {
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  padding: 4px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.billing-toggle-btn {
  background: transparent;
  border: none;
  color: var(--dx-text-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.billing-toggle-btn.active {
  background: #ffffff;
  color: var(--dx-text-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.discount-pill {
  background: #09090b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.plan-card {
  background: #ffffff;
  border: 1px solid var(--dx-border-strong);
  border-radius: 18px;
  padding: 24px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-card:hover {
  border-color: var(--dx-border-focus);
}

.plan-card.featured {
  border: 2px solid #09090b;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.plan-badge-popular {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #09090b;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 99px;
}

.plan-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dx-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.plan-subtitle {
  font-size: 12.5px;
  color: var(--dx-text-muted);
  margin-bottom: 18px;
  line-height: 1.4;
}

.plan-pricing-box {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--dx-border);
}

.price-value {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--dx-text-primary);
  line-height: 1;
}

.price-cadence {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dx-text-muted);
  margin-left: 4px;
}

.price-billed-info {
  font-size: 11.5px;
  color: var(--dx-text-subtle);
  margin-top: 4px;
  min-height: 18px;
}

.plan-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-feature-item {
  font-size: 13px;
  color: var(--dx-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.plan-feature-item i {
  color: #09090b;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.btn-plan-action {
  width: 100%;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none !important;
}

.btn-plan-action.current {
  background: var(--dx-surface-2);
  color: var(--dx-text-muted);
  border: 1px solid var(--dx-border);
  cursor: default;
}

.btn-plan-action.primary {
  background: #09090b;
  color: #ffffff;
  border: 1px solid #09090b;
}

.btn-plan-action.primary:hover {
  background: #27272a;
  border-color: #27272a;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   16. Notifications & Toast Pills
   -------------------------------------------------------------------------- */
.toast-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffffff;
  border: 1px solid var(--dx-border-strong);
  color: var(--dx-text-primary);
  padding: 10px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 2000;
}

/* --------------------------------------------------------------------------
   17. Responsive Mobile Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: grid; }

  .app-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--dx-sidebar-expanded) !important;
    transform: translateX(-100%);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 300 !important;
  }

  .app-sidebar.expanded { transform: translateX(0); }
  .app-sidebar.expanded ~ .sidebar-backdrop { display: block; }
  .top-header { padding: 0 14px; }
  
  .view-section {
    padding: 16px 14px 14px !important;
  }

  .studio-composer-wrapper {
    padding: 8px 14px 14px !important;
  }

  .chat-media-wrapper {
    max-width: 100% !important;
  }
}

/* ==========================================================================
   18. Dynamic Promotional Landing Page & FOMO Architecture (World-Class Overhaul)
   ========================================================================== */
.promo-experience {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--dx-bg);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Subtle Top Atmospheric Radial Spotlight */
.promo-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 480px;
  background: radial-gradient(ellipse at 50% 0%, rgba(9, 9, 11, 0.05) 0%, rgba(9, 9, 11, 0.015) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.promo-header {
  height: 64px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--dx-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.promo-header-inner {
  max-width: 960px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.promo-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

/* Official 3D Ribbon Logo on Promo Header */
.promo-brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.promo-brand-text {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dx-text-primary);
}

.promo-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 20px 90px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.promo-urgency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--dx-border-strong);
  border-radius: 99px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dx-text-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.promo-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #09090b;
  animation: promoPulse 1.4s infinite ease-in-out;
}

@keyframes promoPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.25); }
}

.promo-headline {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--dx-text-primary);
  line-height: 1.15;
  margin-bottom: 12px;
}

.promo-subheadline {
  font-size: 17px;
  color: var(--dx-text-muted);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.55;
  font-weight: 500;
}

/* Monolithic Countdown Units */
.promo-countdown-wrapper {
  background: #ffffff;
  border: 1px solid var(--dx-border-strong);
  border-radius: 20px;
  padding: 22px 28px;
  margin: 32px auto 18px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.countdown-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dx-text-muted);
  margin-bottom: 14px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.countdown-module {
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border);
  border-radius: 14px;
  min-width: 76px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--dx-text-primary);
  letter-spacing: -0.02em;
}

.countdown-lbl {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dx-text-subtle);
  margin-top: 4px;
}

.countdown-divider {
  font-size: 24px;
  font-weight: 800;
  color: var(--dx-text-subtle);
  user-select: none;
}

/* Scarcity Allocation Gauge */
.promo-scarcity-card {
  max-width: 500px;
  margin: 0 auto 36px;
  background: #ffffff;
  border: 1px solid var(--dx-border-strong);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.scarcity-badge-left {
  font-size: 13px;
  font-weight: 800;
  color: var(--dx-text-primary);
}

.scarcity-badge-right {
  font-size: 12.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: var(--dx-text-muted);
}

.scarcity-progress-track {
  width: 100%;
  height: 9px;
  background: var(--dx-surface-2);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid var(--dx-border);
}

.scarcity-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #27272a 0%, #09090b 100%);
  border-radius: 99px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Studio Capability Showcase Grid */
.promo-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.showcase-card {
  background: #ffffff;
  border: 1px solid var(--dx-border-strong);
  border-radius: 18px;
  padding: 22px 20px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  border-color: var(--dx-border-focus);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.showcase-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #09090b;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.showcase-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--dx-text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.showcase-desc {
  font-size: 13px;
  color: var(--dx-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* High-Converting Pricing & Conversion Card */
.promo-pricing-card {
  background: #ffffff;
  border: 2px solid #09090b;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.badge-promo-savings {
  background: #09090b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 99px;
}

.promo-price-main {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--dx-text-primary);
  line-height: 1;
}

.promo-price-strikethrough {
  font-size: 22px;
  font-weight: 600;
  color: var(--dx-text-subtle);
  text-decoration: line-through;
}

.promo-price-cadence {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dx-text-muted);
}

.promo-ratelock-banner {
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--dx-text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.btn-promo-action {
  width: 100%;
  background: #09090b !important;
  color: #ffffff !important;
  border: 1px solid #09090b !important;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.btn-promo-action:hover {
  background: #27272a !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

.btn-promo-action.disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.promo-feature-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dx-text-muted);
}

.promo-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deliverable-item {
  font-size: 14px;
  color: var(--dx-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.deliverable-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dx-surface-2);
  border: 1px solid var(--dx-border-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 12px;
  color: #09090b;
  margin-top: 1px;
}

/* Trust Strip */
.promo-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--dx-border-strong);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dx-text-muted);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.trust-pill i {
  color: #09090b;
  font-size: 14px;
}

/* Floating Social Proof Activity Ticker */
.promo-social-ticker {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--dx-border-strong);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: opacity 0.4s ease, transform 0.4s ease;
  max-width: 380px;
}

.promo-social-ticker.fade-out {
  opacity: 0;
  transform: translateY(8px);
}

.ticker-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #09090b;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ticker-content {
  font-size: 12px;
  color: var(--dx-text-secondary);
  line-height: 1.35;
}

.ticker-time {
  display: block;
  font-size: 10.5px;
  color: var(--dx-text-subtle);
  margin-top: 2px;
}

/* Responsive Adaptations */
@media (max-width: 991px) {
  .border-end-lg {
    border-right: none !important;
    border-bottom: 1px solid var(--dx-border);
    padding-bottom: 28px;
    padding-right: 0 !important;
  }

  .ps-lg-4 {
    padding-left: 0 !important;
    padding-top: 28px;
  }
}

@media (max-width: 768px) {
  .promo-headline {
    font-size: 30px;
  }

  .promo-subheadline {
    font-size: 15px;
  }

  .promo-pricing-card {
    padding: 24px 20px;
  }

  .promo-price-main {
    font-size: 40px;
  }

  .countdown-module {
    min-width: 60px;
    padding: 8px 4px;
  }

  .countdown-num {
    font-size: 24px;
  }

  .promo-showcase-grid {
    grid-template-columns: 1fr;
  }

  .promo-social-ticker {
    display: none;
  }
}
.modal-header {
    border-bottom: none !important;
}