/* ==========================================================================
   55 ACRE | KHARAGPUR RESIDENTIAL LANDING PAGE (100% LIGHT PREMIUM THEME)
   ========================================================================== */

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-deep: #047857;
  --primary-light: #ecfdf5;
  --primary-tint: #f0fdf4;
  --primary-glow: rgba(16, 185, 129, 0.2);
  
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --secondary-muted: #64748b;
  --secondary-subtle: #94a3b8;
  
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fffbeb;
  
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: #10b981;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 25px -4px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-elevated: 0 20px 35px -8px rgba(16, 185, 129, 0.12), 0 6px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-float: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--secondary);
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Glassmorphism Components */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.glass-card {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

/* Gradients (All Bright & Elegant) */
.hero-gradient {
  background: radial-gradient(circle at 10% 20%, #f0fdf4 0%, #f8fafc 60%),
              radial-gradient(circle at 90% 80%, #fffbeb 0%, transparent 50%);
}

.survey-light-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 50%, #f8fafc 100%);
}

.guide-light-gradient {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #fffbeb 100%);
}

/* Icon Boxes */
.icon-box-emerald {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid #a7f3d0;
}

.icon-box-indigo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid #c7d2fe;
}

.icon-box-amber {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid #fde68a;
}

/* ==========================================================================
   Intent Selection Popup Modal
   ========================================================================== */
#intent-popup-modal {
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.28s ease;
}

#intent-popup-modal.modal-visible #intent-modal-card {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

#intent-modal-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.96) translateY(12px);
  opacity: 0;
}

.intent-choice-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.intent-choice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -6px rgba(15, 23, 42, 0.09), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

/* Interactive Role Cards in Hero */
.role-choice-card {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-subtle);
}

.role-choice-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-elevated);
}

.role-choice-card.active {
  border-color: var(--primary);
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
  box-shadow: var(--shadow-elevated);
}

.role-choice-card.active .role-check-badge {
  display: flex;
}

.role-check-badge {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

/* Priority Chips */
.priority-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--secondary-light);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: var(--shadow-subtle);
}

.priority-chip:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.priority-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary-deep);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.priority-chip.active i {
  color: #ffffff !important;
}

/* Location Cards */
.location-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.location-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-elevated);
}

.location-card.selected-for-compare {
  border-color: var(--primary);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-card);
}

/* Priority Badges */
.badge-priority {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-high {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge-selective {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-medium {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
}

/* Wizard Options (Light UI) */
.wizard-step {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.wizard-step.active {
  display: block;
}

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

.form-option-tile {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--secondary-light);
  box-shadow: var(--shadow-subtle);
  user-select: none;
}

.form-option-tile:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-deep);
  transform: translateY(-1px);
}

.form-option-tile:has(input:checked),
.form-option-tile.selected {
  border-color: var(--primary) !important;
  background: var(--primary-light) !important;
  color: var(--primary-deep) !important;
  box-shadow: 0 0 0 1.5px var(--primary) !important;
}

.form-option-tile:has(input:checked) .tile-radio,
.form-option-tile.selected .tile-radio {
  border-color: var(--primary) !important;
  background: var(--primary) !important;
}

.tile-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: #ffffff;
}

.tile-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

/* Form Multi-Select Chips (Step 3 & 4) */
.form-check-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--secondary-light);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-shadow: var(--shadow-subtle);
}

.form-check-chip:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-deep);
  transform: translateY(-1px);
}

.form-check-chip:has(input:checked),
.form-check-chip.selected {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary-deep) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
}

body.theme-investor .form-check-chip:has(input:checked),
body.theme-investor .form-check-chip.selected {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

.form-check-chip:has(input:checked) i,
.form-check-chip.selected i {
  color: #ffffff !important;
}

/* Investor Location Multi-Select Tiles (Investor Step 1) */
.investor-loc-tile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-shadow: var(--shadow-subtle);
}

.investor-loc-tile:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.investor-loc-tile:has(input:checked),
.investor-loc-tile.selected {
  border-color: var(--primary) !important;
  background: var(--primary-light) !important;
  box-shadow: 0 0 0 1.5px var(--primary) !important;
}

.loc-tile-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: transparent;
  transition: all 0.2s ease;
  background: #ffffff;
  flex-shrink: 0;
}

.investor-loc-tile:has(input:checked) .loc-tile-checkbox,
.investor-loc-tile.selected .loc-tile-checkbox {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

/* Quick Select Location Pills */
.quick-loc-pill.selected {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary-deep) !important;
}

/* Floating Compare Bar (Light UI) */
.compare-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: #ffffff;
  border: 2px solid var(--primary);
  color: var(--secondary);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-float);
  z-index: 40;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  max-width: 92vw;
}

.compare-floating-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.compare-floating-bar.in-survey-hidden,
.compare-floating-bar.user-dismissed {
  transform: translateX(-50%) translateY(160%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Modal Drawer (Light UI) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 50;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.modal-drawer {
  background: #ffffff;
  width: 100%;
  max-width: 740px;
  height: 100%;
  max-height: 100vh;
  margin-left: auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
}

.modal-overlay.active .modal-drawer {
  transform: translateX(0);
}

/* Comparison Table Styling (Clean Light UI) */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  position: sticky;
  left: 0;
  background: #f8fafc;
  z-index: 10;
  width: 210px;
  font-weight: 700;
  color: var(--secondary-light);
  border-right: 1.5px solid var(--border);
}

/* Benchmark Disclaimer Callout */
.benchmark-badge {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--accent);
  color: #92400e;
  padding: 12px 16px;
  font-size: 0.8125rem;
  line-height: 1.5;
  border-radius: var(--radius-sm);
}

/* Sticky Mobile Quick Action Bar (Light UI) */
@media (max-width: 768px) {
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    display: flex;
    gap: 10px;
    z-index: 35;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  }
  body {
    padding-bottom: 74px;
  }
}

/* ==========================================================================
   DYNAMIC THEME: INVESTOR BLUE / INDIGO MODE
   Transforms the entire page visual language into sleek institutional Blue
   ========================================================================== */
body.theme-investor {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-deep: #1e40af;
  --primary-light: #eff6ff;
  --primary-tint: #f0f7ff;
  --primary-glow: rgba(37, 99, 235, 0.2);
  --border-focus: #2563eb;
}

body.theme-investor ::selection {
  background-color: #2563eb !important;
  color: #ffffff !important;
}

/* Logo adapts to crisp Finance Blue */
body.theme-investor .brand-logo-img {
  filter: hue-rotate(55deg) saturate(1.2);
}

/* Gradients */
body.theme-investor .hero-gradient {
  background: radial-gradient(circle at 10% 20%, #eff6ff 0%, #f8fafc 60%),
              radial-gradient(circle at 90% 80%, #e0e7ff 0%, transparent 50%) !important;
}

body.theme-investor .survey-light-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 50%, #f8fafc 100%) !important;
}

body.theme-investor .guide-light-gradient {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #e0e7ff 100%) !important;
}

/* Hero Headline & Eyebrow in Investor Blue */
body.theme-investor #hero-main-title span {
  background-image: linear-gradient(to right, #2563eb, #4f46e5, #1d4ed8) !important;
  -webkit-background-clip: text !important;
}

/* Emerald Utility Overrides when in Investor Mode */
body.theme-investor .bg-emerald-600 {
  background-color: #2563eb !important;
}

body.theme-investor .hover\:bg-emerald-700:hover,
body.theme-investor .bg-emerald-700 {
  background-color: #1d4ed8 !important;
}

body.theme-investor .text-emerald-600 {
  color: #2563eb !important;
}

body.theme-investor .text-emerald-700 {
  color: #1d4ed8 !important;
}

body.theme-investor .text-emerald-800 {
  color: #1e40af !important;
}

body.theme-investor .text-emerald-900 {
  color: #1e3a8a !important;
}

body.theme-investor .bg-emerald-50 {
  background-color: #eff6ff !important;
}

body.theme-investor .bg-emerald-100 {
  background-color: #dbeafe !important;
}

body.theme-investor .border-emerald-100,
body.theme-investor .border-emerald-200 {
  border-color: #bfdbfe !important;
}

body.theme-investor .shadow-emerald-500\/20,
body.theme-investor .shadow-emerald-500\/25 {
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.25) !important;
}

body.theme-investor .focus\:ring-emerald-500:focus {
  --tw-ring-color: #2563eb !important;
}

/* Location Cards in Investor Mode */
body.theme-investor .location-card:hover {
  border-color: #2563eb !important;
  box-shadow: 0 20px 35px -8px rgba(37, 99, 235, 0.16), 0 6px 16px -4px rgba(15, 23, 42, 0.04) !important;
}

body.theme-investor .location-card.selected-for-compare {
  border-color: #2563eb !important;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%) !important;
  box-shadow: 0 0 0 2px #2563eb, var(--shadow-card) !important;
}

body.theme-investor .badge-high {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
}

body.theme-investor .badge-high i {
  color: #2563eb !important;
}

/* Priority Chips */
body.theme-investor .priority-chip:hover {
  border-color: #2563eb !important;
  color: #1e40af !important;
  background: #eff6ff !important;
}

body.theme-investor .priority-chip.active {
  background: #2563eb !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
  color: #ffffff !important;
}

body.theme-investor .priority-chip.active i {
  color: #ffffff !important;
}

/* Floating Compare Bar */
body.theme-investor .compare-floating-bar {
  border-color: #bfdbfe !important;
}

body.theme-investor #compare-count-badge {
  background-color: #2563eb !important;
}

body.theme-investor #floating-compare-btn {
  background-color: #2563eb !important;
}

body.theme-investor #floating-compare-btn:hover {
  background-color: #1d4ed8 !important;
}

/* Multi-Step Survey Forms */
body.theme-investor .form-option-tile:hover {
  border-color: #2563eb !important;
  background: #f8faff !important;
}

body.theme-investor .form-option-tile.selected {
  border-color: #2563eb !important;
  background: #eff6ff !important;
  color: #1e40af !important;
}

body.theme-investor .form-option-tile.selected .tile-radio {
  border-color: #2563eb !important;
  background-color: #2563eb !important;
}

body.theme-investor input[type="checkbox"] {
  accent-color: #2563eb !important;
}

body.theme-investor #investor-progress-bar {
  background: linear-gradient(to right, #2563eb, #4f46e5) !important;
}

/* Sticky Mobile Bottom Bar */
body.theme-investor .mobile-bottom-bar a[href="#survey-section"] {
  background-color: #2563eb !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Ambient Floating Badges & Contextual Icons System (100% Light Theme)
   ========================================================================== */

/* Primary Hero Floating Glass Badges */
.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  pointer-events: auto;
}

.hero-floating-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 16px 32px -6px rgba(16, 185, 129, 0.18), 0 6px 14px -3px rgba(15, 23, 42, 0.05);
}

body.theme-investor .hero-floating-card:hover {
  border-color: #2563eb;
  box-shadow: 0 16px 32px -6px rgba(37, 99, 235, 0.18), 0 6px 14px -3px rgba(15, 23, 42, 0.05);
}

.hero-floating-card .badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

body.theme-investor .hero-floating-card .badge-icon {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.hero-floating-card .badge-title {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.hero-floating-card .badge-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--secondary-light);
  line-height: 1.3;
}

/* Animations for Floating Elements */
.animate-float-1 {
  animation: floatGentle1 6.2s ease-in-out infinite alternate;
}

.animate-float-2 {
  animation: floatGentle2 7.1s ease-in-out infinite alternate -2.2s;
}

.animate-float-3 {
  animation: floatGentle3 6.8s ease-in-out infinite alternate -3.5s;
}

.animate-float-4 {
  animation: floatGentle4 7.8s ease-in-out infinite alternate -1.6s;
}

.animate-drift {
  animation: floatDrift 6.4s ease-in-out infinite alternate;
}

@keyframes floatGentle1 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-11px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatGentle2 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatGentle3 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatGentle4 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatDrift {
  0% { transform: translate(0px, 0px); }
  50% { transform: translate(6px, -10px); }
  100% { transform: translate(0px, 0px); }
}

/* Ambient Floating Micro-Chips (Small decorative pills throughout page) */
.ambient-floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--secondary);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  pointer-events: none;
  z-index: 5;
  user-select: none;
}

.ambient-floating-chip i {
  color: var(--primary);
  font-size: 11px;
}

body.theme-investor .ambient-floating-chip i {
  color: #2563eb;
}

/* Section Ambient Badges (Beside section headings) */
.section-ambient-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s ease;
  user-select: none;
}

.section-ambient-pill:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  transform: translateY(-1px);
}

.section-ambient-pill i {
  color: var(--primary);
}

body.theme-investor .section-ambient-pill i {
  color: #2563eb;
}

/* Mini Floating Badge (for 3D whitepaper card) */
.floating-card-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--secondary);
  box-shadow: 0 8px 20px -2px rgba(15, 23, 42, 0.1);
  user-select: none;
}
