/* ═══════════════════════════════════════════════════════════════════════
   SITE-WIDE UPGRADES: 20 Visual Upgrades per Section
   (Account, Resident, Canvas, Tablet, Alpha)
   ═══════════════════════════════════════════════════════════════════════ */

/* =========================================================================
   ACCOUNT / PROFILE (20 Upgrades)
   ========================================================================= */
/* 1. Add glassmorphism to account panels */
.account-panel, .settings-card {
  background: rgba(18, 16, 14, 0.65);
  backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.02);
}
/* 2. Soften input focus states */
.settings-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 100, 26, 0.15), inset 0 1px 3px rgba(0,0,0,0.2);
}
/* 3. Add magnetic depth to profile buttons */
.btn-account { transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s; }
.btn-account:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.3); }
/* 4. Elegant typography for account headers */
.account-header h2 { text-shadow: 0 2px 10px rgba(0,0,0,0.5); letter-spacing: -0.01em; }
/* 5. Smooth transitions on toggle switches */
.toggle-switch { transition: background 0.3s, border-color 0.3s; }
.toggle-switch::after { transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
/* 6. Pulse effect on active subscription badge */
.badge-active { animation: sub-pulse 4s infinite; }
@keyframes sub-pulse { 0%, 100% { box-shadow: 0 0 4px rgba(232,100,26,0.3); } 50% { box-shadow: 0 0 12px rgba(232,100,26,0.6); } }
/* 7. Hover reveal on API keys */
.api-key-box { filter: blur(4px); transition: filter 0.3s; cursor: pointer; }
.api-key-box:hover { filter: blur(0); }
/* 8. Account stat counter animation */
.stat-value { font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
/* 9. Glowing border on avatar */
.profile-avatar { box-shadow: 0 0 0 2px rgba(255,255,255,0.05), 0 0 20px rgba(232,100,26,0.2); }
/* 10. Smooth expand for accordions */
.account-accordion { transition: max-height 0.5s ease; overflow: hidden; }
/* 11. Subtle noise background on account page */
.account-layout { background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="2" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)" opacity="0.015"/%3E%3C/svg%3E'); }
/* 12. Polished scrollbars for billing history */
.billing-history::-webkit-scrollbar { width: 6px; }
.billing-history::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
/* 13. Active state for side navigation */
.account-nav .active { border-left: 2px solid var(--accent); background: linear-gradient(90deg, rgba(232,100,26,0.1), transparent); }
/* 14. Add fade-in on page load */
.account-panel { animation: fade-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
/* 15. Staggered load for account cards */
.account-panel:nth-child(2) { animation-delay: 0.1s; }
.account-panel:nth-child(3) { animation-delay: 0.2s; }
/* 16. Improve contrast of muted text */
.account-muted { color: rgba(255,255,255,0.55); }
/* 17. Danger zone styling */
.danger-zone { border-color: rgba(220, 53, 69, 0.3); background: rgba(220, 53, 69, 0.05); }
/* 18. Danger button hover */
.btn-danger:hover { background: rgba(220, 53, 69, 0.8); box-shadow: 0 0 16px rgba(220, 53, 69, 0.4); }
/* 19. Checkbox custom styling */
.custom-checkbox:checked + label::before { background: var(--accent); border-color: var(--accent); }
/* 20. Tooltip for tier features */
.tier-feature[data-tip]::after { backdrop-filter: blur(8px); }

/* =========================================================================
   RESIDENT (20 Upgrades)
   ========================================================================= */
/* 21. Deepen message shadow */
.msg-bubble { box-shadow: 0 2px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05); }
/* 22. Input bar glass effect */
.chat-input-wrap { background: rgba(10, 8, 7, 0.85); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.03); }
/* 23. Typing indicator bounce */
.typing-dot { animation: type-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 type-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
/* 24. Resident avatar pulse */
.res-avatar { animation: res-breathe 4s infinite ease-in-out; }
@keyframes res-breathe { 0%, 100% { box-shadow: 0 0 10px rgba(232,100,26,0.2); } 50% { box-shadow: 0 0 20px rgba(232,100,26,0.4); } }
/* 25. Smooth message entrance */
.msg-bubble { animation: msg-slide 0.4s cubic-bezier(0.34,1.56,0.64,1) backwards; }
@keyframes msg-slide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* 26. Custom markdown code block styling in chat */
.msg-bubble pre { background: #080706; border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; }
/* 27. Subtle background gradient for chat area */
.chat-window { background: radial-gradient(circle at top, rgba(232,100,26,0.02), transparent 80%); }
/* 28. Enhance send button state */
.btn-send:not(:disabled) { filter: drop-shadow(0 0 8px rgba(232,100,26,0.5)); }
/* 29. System message delicate styling */
.msg-system { color: rgba(255,255,255,0.4); font-style: italic; font-size: 0.9em; text-align: center; }
/* 30. Sticky date headers */
.date-divider { position: sticky; top: 10px; z-index: 10; backdrop-filter: blur(8px); padding: 4px 12px; border-radius: 12px; }
/* 31. Ambient audio visualizer bars */
.audio-bar { transition: height 0.1s ease; background: var(--accent); }
/* 32. Voice recording active pulse */
.btn-record.active { animation: record-pulse 1.5s infinite; background: rgba(220, 53, 69, 0.2); color: #ff4d4f; }
@keyframes record-pulse { 0% { box-shadow: 0 0 0 0 rgba(220,53,69,0.4); } 70% { box-shadow: 0 0 0 10px rgba(220,53,69,0); } 100% { box-shadow: 0 0 0 0 rgba(220,53,69,0); } }
/* 33. Smooth auto-scroll behavior */
.chat-history { scroll-behavior: smooth; }
/* 34. Markdown table border glow */
.msg-bubble table { border-collapse: collapse; }
.msg-bubble th, .msg-bubble td { border: 1px solid rgba(255,255,255,0.1); padding: 6px 12px; }
/* 35. Read receipt micro-animation */
.read-tick { stroke-dasharray: 10; stroke-dashoffset: 10; animation: draw-tick 0.3s forwards; }
@keyframes draw-tick { to { stroke-dashoffset: 0; } }
/* 36. Hover actions on messages */
.msg-actions { opacity: 0; transition: opacity 0.2s; }
.msg-bubble:hover .msg-actions { opacity: 1; }
/* 37. Elegant link styling in chat */
.msg-bubble a { color: var(--accent-bright); text-decoration: underline; text-decoration-color: rgba(232,100,26,0.4); text-underline-offset: 4px; }
/* 38. Emphasize user message slightly different */
.msg-user { background: rgba(255,255,255,0.05); }
/* 39. Connection status dot */
.conn-status { transition: background-color 0.3s; }
.conn-status.online { background-color: #3FA9A5; box-shadow: 0 0 8px rgba(63, 169, 165, 0.6); }
/* 40. Fullscreen image viewer transition */
.lightbox-img { transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }

/* =========================================================================
   CANVAS (20 Upgrades)
   ========================================================================= */
/* 41. Infinite grid background dots */
.canvas-board { background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 24px 24px; }
/* 42. Canvas node shadow depth */
.canvas-node { box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.05); }
/* 43. Dragging interactive state */
.canvas-node.dragging { opacity: 0.8; transform: scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.6); cursor: grabbing; }
/* 44. Smooth zoom transition */
.canvas-layer { transition: transform 0.1s linear; }
/* 45. Connection line polish */
.conn-line { stroke: rgba(232,100,26,0.5); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(232,100,26,0.3)); }
/* 46. Node hover border */
.canvas-node:hover { border-color: rgba(255,255,255,0.2); }
/* 47. Active selected node */
.canvas-node.selected { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(232,100,26,0.3); }
/* 48. Minimap glass effect */
.canvas-minimap { background: rgba(0,0,0,0.5); backdrop-filter: blur(12px); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
/* 49. Toolbar floating effect */
.canvas-toolbar { box-shadow: 0 8px 24px rgba(0,0,0,0.6); backdrop-filter: blur(16px); }
/* 50. Canvas tooltip follow cursor */
.canvas-cursor-tip { transition: transform 0.05s linear; pointer-events: none; }
/* 51. Node creation ripple */
@keyframes node-pop { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.canvas-node { animation: node-pop 0.3s cubic-bezier(0.34,1.56,0.64,1); }
/* 52. Data flow animation on lines */
.conn-line.flow { stroke-dasharray: 8; animation: line-flow 1s linear infinite; }
@keyframes line-flow { to { stroke-dashoffset: -16; } }
/* 53. Socket connection point glow */
.node-socket { background: #111; border: 1px solid rgba(255,255,255,0.2); transition: all 0.2s; }
.node-socket:hover { background: var(--accent); transform: scale(1.2); }
/* 54. Context menu glass styling */
.canvas-context { backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.1); }
/* 55. Group box bounding area styling */
.canvas-group { border: 2px dashed rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); }
/* 56. Smooth panning */
.canvas-board { will-change: transform; }
/* 57. Text editing inline state */
.node-title[contenteditable="true"] { background: rgba(255,255,255,0.05); outline: none; caret-color: var(--accent); }
/* 58. Lock icon for read-only nodes */
.node-locked::after { content: "🔒"; position: absolute; top: -8px; right: -8px; font-size: 12px; }
/* 59. Node color tags */
.node-tag { border-radius: 4px; padding: 2px 6px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
/* 60. Canvas background gradient */
.canvas-wrap { background: radial-gradient(circle at center, #111 0%, #050505 100%); }

/* =========================================================================
   TABLET (20 Upgrades)
   ========================================================================= */
/* 61. Tablet frame bezel reflection */
.tablet-frame { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 24px 64px rgba(0,0,0,0.8); }
.tablet-frame::after { content:""; position:absolute; top:0; left:0; right:0; height:40%; background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent); pointer-events:none; }
/* 62. Screen glare animation */
.tablet-screen::before { content:""; position:absolute; top:-100%; left:-100%; width:50%; height:300%; background:linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent); transform:rotate(45deg); animation: glare-sweep 8s infinite; pointer-events:none; }
@keyframes glare-sweep { 0%, 50% { left: -100%; } 100% { left: 200%; } }
/* 63. Touch target ripple effect */
.touch-target { position: relative; overflow: hidden; }
/* 64. Fingerprint smudge texture */
.tablet-screen { background-image: url('data:image/svg+xml;utf8,<svg opacity="0.02" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="10" fill="white" filter="blur(2px)"/></svg>'); }
/* 65. Battery/wifi icon glow */
.status-bar svg { filter: drop-shadow(0 0 2px rgba(255,255,255,0.5)); }
/* 66. App icon scale on press */
.tablet-app:active { transform: scale(0.92); }
/* 67. Home indicator bar */
.home-indicator { background: rgba(255,255,255,0.3); border-radius: 10px; transition: background 0.2s; }
.home-indicator:hover { background: rgba(255,255,255,0.6); }
/* 68. Screen unlock fade */
.tablet-locked { animation: unlock-fade 0.5s forwards; }
@keyframes unlock-fade { to { opacity: 0; pointer-events: none; } }
/* 69. App opening transition */
.app-view { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s; }
.app-view.hidden { transform: scale(0.95); opacity: 0; pointer-events: none; }
/* 70. Keyboard pop-up animation */
.tablet-keyboard { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.tablet-keyboard.hidden { transform: translateY(100%); }
/* 71. Notification banner slide */
.tablet-notif { animation: notif-slide 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes notif-slide { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
/* 72. Widget glass depth */
.tablet-widget { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); }
/* 73. Camera punch-hole styling */
.tablet-camera { background: #000; box-shadow: inset 0 0 4px rgba(255,255,255,0.2); }
/* 74. Swipe to go back gesture shadow */
.swipe-back-shadow { box-shadow: -10px 0 20px rgba(0,0,0,0.5); }
/* 75. Volume HUD fade */
.volume-hud { transition: opacity 0.2s; backdrop-filter: blur(10px); }
/* 76. Power button hardware styling */
.hw-btn-power { box-shadow: inset -1px 0 2px rgba(255,255,255,0.2); }
/* 77. Landscape orientation transition */
.tablet-frame { transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1); }
.tablet-landscape { transform: rotate(-90deg); }
/* 78. App switcher card cascade */
.switcher-card { transition: transform 0.3s; }
/* 79. Pull to refresh spinner */
.pull-spinner { transition: transform 0.2s, opacity 0.2s; }
/* 80. Screen off pure black */
.screen-off { background: #000 !important; }

/* =========================================================================
   ALPHA (20 Upgrades)
   ========================================================================= */
/* 81. Alpha god-eye intense theme */
.alpha-dashboard { background: #050302; color: #f5f5f5; }
/* 82. Hover rows in data tables */
.alpha-table tr { transition: background 0.15s; }
.alpha-table tr:hover { background: rgba(232, 100, 26, 0.08); }
/* 83. Telemetry chart glows */
.alpha-chart path { stroke-width: 2; filter: drop-shadow(0 0 6px rgba(232,100,26,0.6)); }
/* 84. Terminal carets for logs */
.log-line::before { content: ">"; color: rgba(255,255,255,0.3); margin-right: 8px; }
.log-cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* 85. Scanline overlay on dashboard */
.alpha-dashboard::after { content:""; position:fixed; inset:0; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%); background-size: 100% 4px; pointer-events: none; z-index: 9999; opacity: 0.3; }
/* 86. Critical alert styling */
.alert-critical { border-left: 4px solid #ff4d4f; background: rgba(255, 77, 79, 0.1); animation: crit-pulse 2s infinite; }
@keyframes crit-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; box-shadow: inset 0 0 10px rgba(255, 77, 79, 0.2); } }
/* 87. Data stream matrix text */
.data-stream { color: #3FA9A5; font-family: monospace; text-shadow: 0 0 5px rgba(63, 169, 165, 0.5); }
/* 88. Monospace numeral lining */
.alpha-metric { font-variant-numeric: tabular-nums; font-family: monospace; }
/* 89. Impersonation banner */
.impersonation-active { background: repeating-linear-gradient(45deg, rgba(232,100,26,0.1), rgba(232,100,26,0.1) 10px, transparent 10px, transparent 20px); border-bottom: 2px solid var(--accent); }
/* 90. God-mode switch */
.switch-god { border: 1px solid var(--accent); box-shadow: 0 0 10px rgba(232,100,26,0.3); }
/* 91. Live data flash */
.flash-update { animation: val-flash 0.5s; }
@keyframes val-flash { 0% { background: var(--accent); color: #000; } 100% { background: transparent; color: inherit; } }
/* 92. Sidebar collapse transition */
.alpha-sidebar { transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
/* 93. Metric card depth */
.metric-card { border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
/* 94. Heatmap color scale */
.heatmap-high { background: rgba(220, 53, 69, 0.6); }
.heatmap-med { background: rgba(255, 179, 71, 0.6); }
.heatmap-low { background: rgba(63, 169, 165, 0.6); }
/* 95. Sortable table header arrows */
.th-sort:hover { color: var(--accent); cursor: pointer; }
/* 96. Skeleton loading for alpha tables */
.alpha-skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.02) 75%); background-size: 200% 100%; animation: load-sweep 1.5s infinite; }
/* 97. Server load visual gauge */
.load-gauge-fill { transition: width 0.5s ease; background: var(--accent); }
/* 98. Realtime heartbeat indicator */
.ws-heartbeat { width: 8px; height: 8px; border-radius: 50%; background: #3FA9A5; box-shadow: 0 0 8px #3FA9A5; }
/* 99. Tooltip for raw JSON */
.json-peek { font-size: 11px; max-height: 200px; overflow-y: auto; background: #000; padding: 8px; }
/* 100. Admin sticky header */
.alpha-header { position: sticky; top: 0; backdrop-filter: blur(16px); z-index: 50; border-bottom: 1px solid rgba(255,255,255,0.05); }


/* =========================================================================
   VISUALS & HERO IMAGERY — 100% VISIBLE & ROBUST
   ========================================================================= */
.visual {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--radius-slab, 28px);
  background: var(--bg-sunken, rgba(10, 10, 12, 0.7));
  border: 1px solid var(--hairline, rgba(255, 255, 255, 0.08));
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  transition: border-color var(--dur-2, 300ms) var(--ease, ease), box-shadow var(--dur-2, 300ms) var(--ease, ease);
}
.visual:hover {
  border-color: var(--hairline-amber, rgba(232, 100, 26, 0.4));
  box-shadow: 0 20px 50px -14px rgba(232, 100, 26, 0.2), 0 0 25px rgba(232, 100, 26, 0.1);
}

.visual .gen-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  display: block !important;
  z-index: 2 !important;
  opacity: 1 !important;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.4s ease;
  pointer-events: none;
}
.visual:hover .gen-img {
  transform: scale(1.04);
}

.visual svg {
  position: relative;
  z-index: 1;
}

.visual .gen-note {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  z-index: 3;
  padding: 6px 12px;
  font-size: 11px;
  line-height: 1.4;
  color: #FFE6D5;
  background: rgba(14, 12, 10, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  pointer-events: none;
}

.app-card {
  transition: transform var(--dur-2, 300ms) var(--ease, ease), border-color var(--dur-2, 300ms) var(--ease, ease), box-shadow var(--dur-2, 300ms) var(--ease, ease);
}
.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-amber, rgba(232, 100, 26, 0.35));
  box-shadow: 0 20px 48px -14px rgba(232, 100, 26, 0.25);
}
.app-card .visual {
  min-height: 175px !important;
  width: 100% !important;
  display: block !important;
  position: relative !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.app-card .visual .gen-img {
  z-index: 2 !important;
}

/* =========================================================================
   NAVIGATION & MOBILE DRAWER OVERHAUL
   ========================================================================= */
@media (max-width: 860px) {
  .nav-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .hide-sm {
    display: none !important;
  }
  .nav__inner {
    padding: 0 16px;
  }
}

.nav-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline, rgba(255, 255, 255, 0.1));
  border-radius: 999px;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.nav-menu-toggle:hover {
  background: var(--hover-tint, rgba(255, 255, 255, 0.12));
  border-color: var(--accent, #E8641A);
  color: var(--accent-bright, #FF9A4D);
}
.nav-menu-toggle.active {
  background: rgba(232, 100, 26, 0.2);
  border-color: var(--accent, #E8641A);
  color: var(--accent-bright, #FF9A4D);
  transform: rotate(90deg);
}

.mobile-nav-drawer {
  position: absolute;
  top: calc(100% + 10px);
  left: 12px;
  right: 12px;
  padding: 18px 20px;
  background: rgba(14, 13, 16, 0.94);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid var(--hairline-strong, rgba(255, 255, 255, 0.12));
  border-radius: 20px;
  box-shadow: 0 28px 70px -16px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 9999;
  animation: mobileNavPop 0.25s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}
@keyframes mobileNavPop {
  from { opacity: 0; transform: translateY(-10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.2s ease;
}
.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: rgba(232, 100, 26, 0.14);
  border-color: rgba(232, 100, 26, 0.35);
  color: var(--accent-bright, #FF9A4D);
  transform: translateX(4px);
}
.mobile-nav-links a::after {
  content: "→";
  font-size: 14px;
  opacity: 0.6;
}

/* =========================================================================
   FLOATING MOBILE QUICK-DOCK (Easy Thumb Navigation)
   ========================================================================= */
.mobile-quick-dock {
  display: none;
}
@media (max-width: 768px) {
  .mobile-quick-dock {
    display: flex;
    position: fixed;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 9000;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(16, 14, 18, 0.88);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  .mqd-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    text-decoration: none;
    color: var(--text-secondary, #B5ABA1);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    min-width: 52px;
    transition: all 0.2s ease;
  }
  .mqd-btn:active, .mqd-btn.active {
    color: #FFF;
    background: rgba(232, 100, 26, 0.28);
    box-shadow: 0 0 14px rgba(232, 100, 26, 0.4);
  }
  .mqd-icon {
    font-size: 15px;
    margin-bottom: 2px;
    color: var(--accent-bright, #FF9A4D);
  }
  body {
    padding-bottom: 72px;
  }
}

/* =========================================================================
   TABLET RESPONSIVENESS & INTERACTION ENHANCEMENTS
   ========================================================================= */
.tablet-wrap {
  width: 100% !important;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .tablet {
    padding: 6px !important;
    border-radius: 20px !important;
  }
  .tablet-screen {
    display: flex !important;
    flex-direction: column !important;
    min-height: 80vh !important;
  }
  .tablet-screen .status-strip {
    order: 1;
    overflow-x: auto;
    padding: 10px 14px;
    font-size: 12px;
  }
  .tablet-screen .panels {
    order: 2;
    flex: 1;
  }
  .tablet-screen .rail {
    order: 3;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    padding: 8px 8px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    border-right: 0 !important;
    border-top: 1px solid var(--hairline-amber, rgba(232, 100, 26, 0.3)) !important;
    gap: 6px !important;
    background: rgba(14, 12, 16, 0.95) !important;
    position: sticky;
    bottom: 0;
    z-index: 10;
  }
  .tablet-screen .rail-btn {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
    padding: 8px 12px !important;
    min-width: 60px;
  }
  .tablet-screen .rail-btn .rail-label {
    font-size: 9px !important;
    white-space: nowrap;
  }
}

/* =========================================================================
   RELIQUARY VAULT STYLING & ANIMATIONS
   ========================================================================= */
.reliquary-stage {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(24px, 4vh, 50px) 16px 80px;
}
.rq-mast {
  text-align: center;
  margin-bottom: 34px;
}
.rq-title {
  font-family: var(--font-display, inherit);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 6px 0 12px;
}
.rq-oneliner {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}
.rq-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.rq-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline, rgba(255, 255, 255, 0.08));
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.rq-tab-btn:hover {
  background: var(--hover-tint, rgba(255, 255, 255, 0.08));
  color: var(--text-primary);
  border-color: rgba(232, 100, 26, 0.3);
}
.rq-tab-btn.active {
  background: rgba(232, 100, 26, 0.2);
  border-color: var(--accent, #E8641A);
  color: #FFF;
  box-shadow: 0 0 16px rgba(232, 100, 26, 0.35);
}
.rq-view-pane {
  display: none;
  animation: rqPaneFade 0.35s ease both;
}
.rq-view-pane.active {
  display: block;
}
@keyframes rqPaneFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   PERFORMANCE & COMPOSITING LAW
   ========================================================================= */
.visual, .hero-reel-card, .app-card, .nav, .mobile-quick-dock {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* =========================================================================
   HIGH-RESOLUTION ONLY & SUPER-FAST COMPONENT ARCHITECTURE (20 UPGRADES / SECTION)
   ========================================================================= */

/* 1. Global High-DPI & Retina Sharpness Law */
*, *::before, *::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, canvas {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
}

/* Fast touch response without 300ms tap delay */
a, button, input, select, textarea, .mqd-btn, .cmd-palette-btn, .theme-toggle-btn {
  touch-action: manipulation;
}

/* 2. Section 1: Hero & Lobby High-Resolution Enhancements */
.hero-wordmark {
  font-size: clamp(3.4rem, 11vw, 7.8rem) !important;
  letter-spacing: clamp(0.12em, 2vw, 0.28em) !important;
  text-indent: clamp(0.12em, 2vw, 0.28em) !important;
  text-shadow: 0 0 40px rgba(232, 100, 26, 0.35), 0 2px 10px rgba(0, 0, 0, 0.8);
}
.hero-veil {
  background: radial-gradient(100% 100% at 50% 30%, transparent 20%, rgba(10, 10, 11, 0.88) 100%) !important;
}
.hero-harmonic-bar {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 16px;
  padding: 0 6px;
  vertical-align: middle;
}
.hero-harmonic-bar span {
  width: 2.5px;
  height: 100%;
  background: var(--accent-bright, #FF9A4D);
  border-radius: 2px;
  animation: harmonicWave 1.4s ease-in-out infinite alternate;
}
.hero-harmonic-bar span:nth-child(2) { animation-delay: 0.2s; height: 65%; }
.hero-harmonic-bar span:nth-child(3) { animation-delay: 0.4s; height: 85%; }
.hero-harmonic-bar span:nth-child(4) { animation-delay: 0.1s; height: 50%; }
.hero-harmonic-bar span:nth-child(5) { animation-delay: 0.3s; height: 75%; }
@keyframes harmonicWave {
  0% { transform: scaleY(0.25); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; filter: drop-shadow(0 0 4px #FF9A4D); }
}

/* 3. Section 2: The Mind & Memory Engine High-Res Upgrades (#how, #dreams, #grows) */
.river .junction {
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(232, 100, 26, 0.7));
}
.river .junction.bright {
  animation: junctionBeacon 2s ease-in-out infinite alternate;
}
@keyframes junctionBeacon {
  from { r: 3.8px; filter: drop-shadow(0 0 4px rgba(255, 179, 71, 0.6)); }
  to   { r: 5.5px; filter: drop-shadow(0 0 12px rgba(255, 179, 71, 1)); fill: #FFF; }
}

.dreamroom {
  perspective: 1000px;
  transform-style: preserve-3d;
}
.dreamwall {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.dreamwall:hover {
  transform: scale(1.02) translateZ(10px);
}

.circadian-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(232, 100, 26, 0.12);
  border: 1px solid rgba(232, 100, 26, 0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright, #FF9A4D);
  margin-top: 10px;
  box-shadow: 0 0 20px rgba(232, 100, 26, 0.2);
}
.circadian-badge .circadian-clock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF9A4D;
  box-shadow: 0 0 8px #FF9A4D;
  animation: circadianPulse 1.8s ease-in-out infinite;
}
@keyframes circadianPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* 4. Developmental Phase Orbs (Hi-DPI Crystals) */
.orb {
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
}
.orb:hover {
  transform: translateY(-8px) scale(1.08) !important;
  border-color: rgba(232, 100, 26, 0.6) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(232, 100, 26, 0.4) !important;
}
.orb::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}

/* 5. Section 3: Embodiment & Industry Cards (#uses, #different) */
.app-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease !important;
  transform-style: preserve-3d;
}
.app-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-color: rgba(232, 100, 26, 0.45) !important;
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(232, 100, 26, 0.25) !important;
}
.vessel-telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bright, #FF9A4D);
  background: rgba(232, 100, 26, 0.1);
  border: 1px solid rgba(232, 100, 26, 0.25);
  border-radius: 6px;
  margin-top: 8px;
}

/* 6. Split Portrait Interactive Scrubber */
.split.visual {
  position: relative;
  overflow: hidden;
  user-select: none;
}
.split__seam {
  box-shadow: 0 0 20px rgba(232, 100, 26, 0.9), 0 0 40px rgba(232, 100, 26, 0.4);
}

/* 7. Super-Fast Page Rendering Performance */
.section {
  contain: content;
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}
#heroSection, .hero {
  content-visibility: visible !important;
  contain: none !important;
}

/* 8. Zero-Layout-Shift Hero Slots */
.visual[data-gen-slot] {
  aspect-ratio: 16 / 9;
  min-height: 240px;
  background: #0E0D0B;
}

/* 9. Section 6: Reliquary Cryptographic Laser Sweep */
.reliquary-box {
  position: relative;
  overflow: hidden;
}
.reliquary-box::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF9A4D, transparent);
  box-shadow: 0 0 14px #FF9A4D;
  animation: laserScan 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes laserScan {
  0% { top: -10%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* 10. Section 4: Tablet Suite High-DPI Enhancements */
.tablet {
  image-rendering: -webkit-optimize-contrast;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
.tablet-battery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline, rgba(255, 255, 255, 0.1));
  border-radius: 999px;
  color: var(--text-secondary);
}
.tablet-battery-bar {
  width: 36px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}
.tablet-battery-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #E8641A, #7EBC8F);
  border-radius: inherit;
}

/* =========================================================================
   RELIQUARY UI REDO — THE SACRED CRYPTOGRAPHIC VAULT
   ========================================================================= */

.reliquary-page {
  background: #09090b !important;
  color: var(--text-primary, #f5f0eb);
  overflow-x: hidden;
}

.reliquary-stage {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: clamp(32px, 5vh, 64px) 20px 100px !important;
  position: relative;
  z-index: 2;
}

/* 1. Grand Ceremonial Masthead — Perfectly Centered */
.rq-mast {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 32px !important;
  margin: 0 auto 36px auto !important;
  width: 100% !important;
  max-width: 960px !important;
  gap: 20px !important;
}
.rq-mast-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}
.rq-mast-title .rq-eyebrow {
  color: var(--accent-bright, #FF9A4D) !important;
  font-family: var(--font-mono, monospace) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  margin: 0 auto 10px auto !important;
  text-align: center !important;
}
.rq-mast-title .rq-title {
  font-family: var(--font-display, "Fraunces", serif) !important;
  font-size: clamp(32px, 4.5vw, 50px) !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  color: #fff !important;
  text-shadow: 0 0 50px rgba(232, 100, 26, 0.25) !important;
  margin: 0 auto 14px auto !important;
  text-align: center !important;
}
.rq-mast-title .rq-oneliner {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  max-width: 62ch !important;
  margin: 0 auto !important;
  text-align: center !important;
}
.rq-telemetry {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 24px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  padding: 14px 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  margin: 8px auto 0 auto !important;
  text-align: center !important;
}
.rq-tel-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-left: 20px !important;
  padding-right: 4px !important;
  text-align: center !important;
}
.rq-tel-box:first-child {
  border-left: none !important;
  padding-left: 0 !important;
}
.rq-tel-box .tel-lbl {
  font-family: var(--font-mono, monospace) !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: rgba(255, 255, 255, 0.4) !important;
  text-align: center !important;
}
.rq-tel-box .tel-val {
  font-family: var(--font-mono, monospace) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--accent-bright, #FF9A4D) !important;
  text-align: center !important;
}

/* 2. Sleek Tab Switcher — Centered */
.rq-tabs {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding-bottom: 18px !important;
  margin: 0 auto 36px auto !important;
  width: 100% !important;
  overflow-x: auto;
  scrollbar-width: none;
}
.rq-tabs::-webkit-scrollbar { display: none; }
.rq-tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
}
.rq-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border-color: rgba(232, 100, 26, 0.4) !important;
  transform: translateY(-1px) !important;
}
.rq-tab-btn.active {
  background: linear-gradient(135deg, rgba(232, 100, 26, 0.25), rgba(232, 100, 26, 0.08)) !important;
  border-color: var(--accent, #E8641A) !important;
  color: #fff !important;
  box-shadow: 0 0 24px rgba(232, 100, 26, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.rq-tab-btn .tab-icon {
  font-size: 15px;
  color: var(--accent-bright, #FF9A4D);
}
.rq-tab-btn .tab-badge {
  background: var(--accent, #E8641A) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(232, 100, 26, 0.6) !important;
}

/* 3. The Neural Seal Frame & Pedestal */
.neural-seal-frame {
  position: relative !important;
  width: 100% !important;
  max-width: 440px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 32px !important;
  background: radial-gradient(circle at 50% 50%, rgba(20, 18, 24, 0.95), rgba(10, 9, 12, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 50px -15px var(--seal-glow, rgba(232, 100, 26, 0.25)) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
.reticle-corner {
  position: absolute;
  color: rgba(232, 100, 26, 0.5);
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  pointer-events: none;
  z-index: 5;
}
.reticle-tl { top: 16px; left: 18px; }
.reticle-tr { top: 16px; right: 18px; }
.reticle-bl { bottom: 16px; left: 18px; }
.reticle-br { bottom: 16px; right: 18px; }

.neural-seal-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}
.seal-monogram-tag {
  position: absolute !important;
  bottom: 16px !important;
  font-family: var(--font-mono, monospace) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--accent-bright, #FF9A4D) !important;
  background: rgba(14, 13, 16, 0.8) !important;
  padding: 4px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(232, 100, 26, 0.35) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
  z-index: 6 !important;
}

/* 4. Cryptographic Soul Ledger Telemetry */
.telemetry-panel {
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 24px !important;
  background: rgba(18, 16, 22, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.panel-heading {
  margin: 0 0 18px 0 !important;
  font-family: var(--font-mono, monospace) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--accent-bright, #FF9A4D) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-heading::before {
  content: "◈";
  color: var(--accent, #E8641A);
}
.telemetry-rows {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.t-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 13.5px !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 8px !important;
}
.t-lbl {
  color: rgba(255, 255, 255, 0.5) !important;
  font-family: var(--font-mono, monospace) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}
.t-val {
  color: #fff !important;
  font-weight: 500 !important;
}
.t-val.highlight {
  color: #34d399 !important;
  background: rgba(52, 211, 153, 0.1) !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(52, 211, 153, 0.25) !important;
}

/* 5. Buttons and Action Controls */
.qr-action-stack #btn-mint-qr, .reliquary-actions #btn-seal {
  background: linear-gradient(135deg, #FF9A4D, #E8641A) !important;
  color: #000 !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  height: 48px !important;
  border: none !important;
  box-shadow: 0 8px 26px rgba(232, 100, 26, 0.45) !important;
  transition: all 0.25s ease !important;
}
.qr-action-stack #btn-mint-qr:hover, .reliquary-actions #btn-seal:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 34px rgba(232, 100, 26, 0.6) !important;
}
.qr-explanation {
  border-radius: 18px !important;
  border: 1px solid rgba(232, 100, 26, 0.25) !important;
  padding: 16px 18px !important;
  background: rgba(232, 100, 26, 0.06) !important;
  backdrop-filter: blur(10px) !important;
}
.exp-title {
  font-family: var(--font-mono, monospace) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: var(--accent-bright, #FF9A4D) !important;
  margin: 0 0 8px 0 !important;
}
.exp-body {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  margin: 0 !important;
}

/* 6. Grand Timeline Glass Slab */
.reliquary-frame {
  border-radius: 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(14, 13, 16, 0.9) !important;
  box-shadow: 0 40px 100px -25px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
.reliquary-guidance {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  padding: 14px 18px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
  margin-bottom: 20px !important;
}

/* 7. Waking Bench & Dropzone */
.wake-zone {
  border: 2px dashed rgba(232, 100, 26, 0.4) !important;
  border-radius: 24px !important;
  padding: 36px 24px !important;
  background: radial-gradient(circle at 50% 50%, rgba(232, 100, 26, 0.04), transparent 80%) !important;
  transition: all 0.3s ease !important;
}
.wake-zone:hover, .wake-zone.drag-over {
  border-color: var(--accent-bright, #FF9A4D) !important;
  background: rgba(232, 100, 26, 0.1) !important;
  box-shadow: 0 0 35px rgba(232, 100, 26, 0.25) !important;
}
.preview-card {
  border-radius: 24px !important;
  border: 1px solid rgba(232, 100, 26, 0.35) !important;
  padding: 24px !important;
  background: rgba(18, 16, 22, 0.9) !important;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* 8. Handshake & Keyring Cards */
.scanned-handshake-card {
  margin-bottom: 32px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(232, 100, 26, 0.45) !important;
  background: radial-gradient(circle at 0% 0%, rgba(232, 100, 26, 0.15), rgba(16, 14, 18, 0.95) 70%) !important;
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.85) !important;
  padding: 24px !important;
}
.keyring-room {
  width: 100% !important;
}
.keyring-header {
  margin-bottom: 24px !important;
}
.keyring-title {
  font-family: var(--font-display, inherit) !important;
  font-size: 26px !important;
  margin: 0 0 8px 0 !important;
  color: #fff !important;
}
.keyring-desc {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin: 0 !important;
}
.keyring-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 20px !important;
}
.keyring-card {
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 20px !important;
  background: rgba(18, 16, 22, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: all 0.25s ease !important;
}
.keyring-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(232, 100, 26, 0.4) !important;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.9), 0 0 25px rgba(232, 100, 26, 0.15) !important;
}
.keyring-card-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 14px !important;
}
.keyring-res-name {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  color: #fff !important;
}
.keyring-status-badge {
  font-family: var(--font-mono, monospace) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  background: rgba(232, 100, 26, 0.15) !important;
  color: var(--accent-bright, #FF9A4D) !important;
  border: 1px solid rgba(232, 100, 26, 0.3) !important;
}
.keyring-meta-list {
  font-family: var(--font-mono, monospace) !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-bottom: 16px !important;
}
.btn-confirm-release {
  background: linear-gradient(135deg, #FF9A4D, #E8641A) !important;
  color: #000 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  height: 40px !important;
  border: none !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(232, 100, 26, 0.4) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SOMATIC SWARM STUDIO — ELEVATED LUXURY INTERFACE
   ═══════════════════════════════════════════════════════════════════════════════ */
.somatic-studio-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 12px 14px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.somatic-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.somatic-ai-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.somatic-soul-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: radial-gradient(circle at 35% 35%, var(--accent-bright, #FF9A4D), #9A3412);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(232, 100, 26, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.somatic-ai-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.somatic-ai-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.somatic-ai-sub {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.somatic-vital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 6px;
}

.somatic-vital-cell {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
}

.somatic-vital-k {
  font-size: 9px;
  font-family: var(--font-mono, monospace);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.somatic-vital-v {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-bright, #FF9A4D);
  margin-top: 1px;
  font-family: var(--font-mono, monospace);
}

/* 12 Archetypal Body Morph Targets Grid */
.fp-morph-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.fp-morph-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 11px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.fp-morph-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 100, 26, 0.4);
  transform: translateY(-1px);
}

.fp-morph-card.active {
  background: rgba(232, 100, 26, 0.12);
  border-color: var(--accent-bright, #FF9A4D);
  box-shadow: 0 0 0 1px var(--accent-bright, #FF9A4D), 0 8px 24px -6px rgba(232, 100, 26, 0.4);
}

.fp-morph-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
}

.fp-morph-icon {
  font-size: 16px;
  line-height: 1;
}

.fp-morph-tag {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
}

.fp-morph-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.fp-morph-desc {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}

/* Featured AI Signature Aura Card */
.fp-signature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fp-sig-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fp-sig-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.fp-sig-pill {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(232, 100, 26, 0.2);
  color: var(--accent-bright, #FF9A4D);
  border: 1px solid rgba(232, 100, 26, 0.35);
}

.fp-sig-swatches {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fp-sig-gradient-bar {
  flex: 1;
  height: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(90deg, #38BDF8, #F59E0B);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.fp-sig-code {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

/* Curated Inks Grid */
.fp-inks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.mode-swatch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 7px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: rgba(255, 255, 255, 0.8);
}

.mode-swatch:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.mode-swatch.active {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent-bright, #FF9A4D);
  box-shadow: 0 0 0 1px var(--accent-bright, #FF9A4D);
  color: #fff;
}

.swatch-pip {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}

.swatch-signature { background: linear-gradient(135deg, #38BDF8, #F59E0B); color: #38BDF8; }
.swatch-amber { background: #FFB347; color: #FFB347; }
.swatch-ember { background: #FF5722; color: #FF5722; }
.swatch-ocean { background: #00B4D8; color: #00B4D8; }
.swatch-spectrum { background: #C084FC; color: #C084FC; }
.swatch-prism { background: #34D399; color: #34D399; }
.swatch-ghost { background: #F1F5F9; color: #F1F5F9; }
.swatch-density { background: #F59E0B; color: #F59E0B; }
.swatch-neon { background: #22C55E; color: #22C55E; }
.swatch-rose { background: #FB7185; color: #FB7185; }

.swatch-label {
  font-size: 11px;
  font-weight: 500;
}

/* Movement Gait Chips */
.fp-gait-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.fp-gait-chip {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.15s ease;
}

.fp-gait-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.fp-gait-chip.active {
  background: rgba(232, 100, 26, 0.15);
  border-color: var(--accent-bright, #FF9A4D);
  color: var(--accent-bright, #FF9A4D);
  font-weight: 600;
}

/* Reflex Impulses */
.fp-reflex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 5px;
}

.fp-reflex-btn {
  font-size: 10px !important;
  padding: 6px 4px !important;
  text-align: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: all 0.15s ease !important;
}

.fp-reflex-btn:hover {
  background: rgba(232, 100, 26, 0.12) !important;
  border-color: rgba(232, 100, 26, 0.4) !important;
  color: var(--accent-bright, #FF9A4D) !important;
  transform: translateY(-1px) !important;
}

.fp-reflex-btn:active {
  transform: scale(0.96) !important;
}

/* Edge Sync Hero Banner */
.fp-hero-sync {
  background: linear-gradient(135deg, rgba(232, 100, 26, 0.15), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(232, 100, 26, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 24px -8px rgba(232, 100, 26, 0.3);
}

.fp-sync-btn {
  background: linear-gradient(135deg, #FF9A4D, #E8641A) !important;
  color: #120b05 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.03em !important;
  height: 38px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(232, 100, 26, 0.4) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.fp-sync-btn:hover {
  box-shadow: 0 6px 20px rgba(232, 100, 26, 0.6) !important;
  transform: translateY(-1px) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SOMATIC SWARM 3.0: MULTI-BODY KINETICS, TEACHING ACADEMY & CHOREOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

/* Native Chosen Archetype Hero Card */
.native-vessel-hero-card {
  background: radial-gradient(120% 120% at 0% 0%, rgba(232, 100, 26, 0.16), rgba(18, 16, 20, 0.85));
  border: 1px solid rgba(232, 100, 26, 0.45);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 30px -10px rgba(232, 100, 26, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.native-vessel-hero-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 154, 77, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.somatic-archetype-seal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(232, 100, 26, 0.25), rgba(255, 179, 71, 0.15));
  border: 1px solid rgba(255, 154, 77, 0.5);
  color: var(--accent-bright, #FF9A4D);
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Multi-Cluster & Formation Switchers */
.fp-cluster-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fp-cluster-btn {
  flex: 1;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 11px;
}

.fp-cluster-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 100, 26, 0.3);
  color: #fff;
}

.fp-cluster-btn.active {
  background: rgba(232, 100, 26, 0.15);
  border-color: var(--accent-bright, #FF9A4D);
  color: #fff;
  box-shadow: 0 0 0 1px var(--accent-bright, #FF9A4D), 0 4px 14px rgba(232, 100, 26, 0.3);
}

.fp-cluster-icon {
  font-size: 16px;
  line-height: 1;
}

/* Independent Rotation & Mode Radios */
.fp-spin-mode-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.fp-spin-btn {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 10.5px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.fp-spin-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.fp-spin-btn.active {
  background: rgba(232, 100, 26, 0.18);
  border-color: var(--accent-bright, #FF9A4D);
  color: var(--accent-bright, #FF9A4D);
  font-weight: 600;
}

/* Somatic Semantic Prompt Box */
.fp-prompt-box {
  background: linear-gradient(135deg, rgba(232, 100, 26, 0.08), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(232, 100, 26, 0.35);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fp-prompt-input-row {
  display: flex;
  gap: 6px;
}

.fp-prompt-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.fp-prompt-input:focus {
  outline: none;
  border-color: var(--accent-bright, #FF9A4D);
  box-shadow: 0 0 12px rgba(232, 100, 26, 0.25);
}

.fp-prompt-btn {
  background: linear-gradient(135deg, #FF9A4D, #E8641A);
  color: #120b05;
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fp-prompt-btn:hover {
  box-shadow: 0 0 14px rgba(232, 100, 26, 0.5);
  transform: translateY(-1px);
}

/* Quick Prompt Suggestions */
.fp-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.fp-quick-pill {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all 0.15s ease;
}

.fp-quick-pill:hover {
  background: rgba(232, 100, 26, 0.15);
  border-color: rgba(232, 100, 26, 0.4);
  color: #fff;
}

/* Teaching Cards Grid */
.fp-teaching-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.fp-teaching-card {
  display: flex;
  flex-direction: column;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.fp-teaching-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 100, 26, 0.35);
  transform: translateY(-1px);
}

.fp-teaching-card.active {
  background: rgba(232, 100, 26, 0.14);
  border-color: var(--accent-bright, #FF9A4D);
  box-shadow: 0 0 0 1px var(--accent-bright, #FF9A4D);
}

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

.fp-teaching-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
}

.fp-teaching-desc {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}

/* Proprioceptive Mastery Level Card */
.fp-mastery-level-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fp-thought-stream {
  background: rgba(0, 0, 0, 0.4);
  border-left: 3px solid var(--accent-bright, #FF9A4D);
  border-radius: 0 8px 8px 0;
  padding: 8px 10px;
  font-size: 11px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}




/* ═══════════════════════════════════════════════════════════════════════════════
   SOMATIC SWARM STUDIO REDO: CYBER-ORGANIC GLASSMORPHISM & CONVERSATIONAL BRIDGE
   ═══════════════════════════════════════════════════════════════════════════════ */

.form-panel {
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  background: linear-gradient(180deg, rgba(14, 12, 17, 0.94), rgba(7, 6, 9, 0.98)) !important;
  border-left: 1px solid rgba(232, 100, 26, 0.3) !important;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8), inset 1px 0 0 rgba(255, 255, 255, 0.08) !important;
}

.fp-tabs {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.fp-tabs::-webkit-scrollbar { display: none; }

.fp-tab {
  flex: 0 0 auto;
  font-size: 10.5px;
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}
.fp-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.fp-tab.active {
  background: rgba(232, 100, 26, 0.18);
  border-color: rgba(232, 100, 26, 0.4);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(232, 100, 26, 0.25);
}

/* Conversational Embodiment Card */
.fp-embodiment-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(232, 100, 26, 0.06), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(232, 100, 26, 0.25);
  border-radius: 14px;
  padding: 14px;
}

.fp-sensation-monitor {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.fp-sensation-monitor::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent-bright, #FF9A4D), transparent);
  animation: sensation-pulse 3s infinite ease-in-out;
}
@keyframes sensation-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.fp-inquiry-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fp-inquiry-btn:hover {
  background: rgba(232, 100, 26, 0.14);
  border-color: rgba(232, 100, 26, 0.4);
  color: #fff;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(232, 100, 26, 0.18);
}

/* Living Organic Inspiration Pills */
.fp-quick-pill {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fp-quick-pill:hover {
  background: rgba(232, 100, 26, 0.2);
  border-color: var(--accent-bright, #FF9A4D);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 100, 26, 0.3);
}

.fp-teaching-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.fp-teaching-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.fp-teaching-card.active {
  border-color: var(--accent-bright, #FF9A4D);
  background: linear-gradient(135deg, rgba(232, 100, 26, 0.18), rgba(0, 0, 0, 0.35));
  box-shadow: 0 0 16px rgba(232, 100, 26, 0.25);
}
