*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent !important;
}

.nav-link,
.mobile-dock-item,
.tab-btn,
.brand-logo,
.btn-synth-primary,
.btn-synth-secondary,
.btn-discord-header,
.theme-toggle-btn,
.accordion-summary,
.quick-nav-grid,
.synth-card {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  outline: none !important;
}

:root {
  /* Synthesia Light Tech Palette */
  --bg-canvas: #f4f7fc;
  --bg-surface: #ffffff;
  --bg-subtle: #edf2fa;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --blue-primary: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  
  --purple-accent: #6366f1;
  --emerald-accent: #10b981;
  
  --border-card: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(37, 99, 235, 0.08);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Synthesia Dark Tech Palette */
html.dark, [data-theme="dark"] {
  --bg-canvas: #090d16;
  --bg-surface: #111827;
  --bg-subtle: #1f2937;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --blue-primary: #3b82f6;
  --blue-hover: #60a5fa;
  --blue-light: rgba(59, 130, 246, 0.15);
  --blue-border: rgba(59, 130, 246, 0.35);
  
  --purple-accent: #818cf8;
  --emerald-accent: #34d399;
  
  --border-card: #1f2937;
  --border-subtle: #374151;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(59, 130, 246, 0.2);
}

html.dark body {
  background-color: #060911;
  background-image: 
    radial-gradient(1300px circle at 50% -80px, rgba(59, 130, 246, 0.65) 0%, transparent 70%),
    radial-gradient(1100px circle at 10% 450px, rgba(147, 51, 234, 0.55) 0%, transparent 65%),
    radial-gradient(1000px circle at 90% 850px, rgba(16, 185, 129, 0.45) 0%, transparent 65%),
    radial-gradient(1200px circle at 30% 1450px, rgba(6, 182, 212, 0.50) 0%, transparent 70%),
    radial-gradient(1000px circle at 85% 1950px, rgba(236, 72, 153, 0.45) 0%, transparent 65%);
  background-attachment: fixed;
  position: relative;
}

html.dark body::before {
  content: '';
  position: fixed;
  top: 15%;
  left: 8%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, rgba(139, 92, 246, 0.3) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1 !important;
  animation: ambientFloat1 18s ease-in-out infinite alternate;
}

html.dark body::after {
  content: '';
  position: fixed;
  bottom: 20%;
  right: 8%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.40) 0%, rgba(6, 182, 212, 0.35) 50%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: -1 !important;
  animation: ambientFloat2 22s ease-in-out infinite alternate;
}

@keyframes ambientFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, 60px) scale(1.15); }
  100% { transform: translate(-60px, 100px) scale(0.92); }
}

@keyframes ambientFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-90px, -70px) scale(1.2); }
  100% { transform: translate(70px, -50px) scale(0.88); }
}

html.dark .synth-header {
  background: rgba(6, 9, 17, 0.30);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

html.dark .synth-review-pill {
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(59, 130, 246, 0.55);
  color: #60a5fa;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

html.dark .synth-hero-title {
  color: #f8fafc;
}

html.dark .synth-app-frame {
  background: rgba(15, 23, 42, 0.22) !important;
  backdrop-filter: blur(20px) saturate(220%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(220%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.30) !important;
}

html.dark .app-frame-nav-tabs {
  background: rgba(15, 23, 42, 0.35) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

html.dark .app-tab-btn {
  color: #94a3b8;
}

html.dark .app-tab-btn.active {
  background: rgba(59, 130, 246, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.6) !important;
  box-shadow: 0 2px 14px rgba(59, 130, 246, 0.4);
}

html.dark .app-frame-content-box {
  background: rgba(15, 23, 42, 0.18) !important;
  backdrop-filter: blur(16px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

html.dark .app-frame-ip-bar {
  background: rgba(15, 23, 42, 0.25) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #f8fafc;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.30) !important;
}

html.dark .btn-synth-secondary {
  background: rgba(30, 41, 59, 0.40);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}

:root:not(.dark) .synth-card,
:root:not(.dark) .glass-card,
:root:not(.dark) .accordion-item,
:root:not(.dark) .legal-card,
:root:not(.dark) .tab-buttons,
:root:not(.dark) .synth-details-box,
:root:not(.dark) .data-box,
:root:not(.dark) .modal-content,
:root:not(.dark) .dsgvo-preview-card,
:root:not(.dark) .login-card,
:root:not(.dark) .dashboard-header-card,
:root:not(.dark) .search-card,
:root:not(.dark) .result-card,
:root:not(.dark) .feature-deep-card,
:root:not(.dark) .feature-card,
:root:not(.dark) .connect-card,
:root:not(.dark) .calculator-box,
:root:not(.dark) .calc-item-btn {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

:root:not(.dark) .synth-card:hover,
:root:not(.dark) .glass-card:hover,
:root:not(.dark) .accordion-item:hover,
:root:not(.dark) .data-box:hover,
:root:not(.dark) .feature-deep-card:hover,
:root:not(.dark) .calc-item-btn:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.15), 0 0 25px rgba(37, 99, 235, 0.2), inset 0 1px 0 #ffffff !important;
}

html.dark .synth-card,
html.dark .glass-card,
html.dark .accordion-item,
html.dark .legal-card,
html.dark .tab-buttons,
html.dark .synth-details-box,
html.dark .data-box,
html.dark .modal-content,
html.dark .dsgvo-preview-card,
html.dark .login-card,
html.dark .dashboard-header-card,
html.dark .search-card,
html.dark .result-card,
html.dark .feature-deep-card,
html.dark .feature-card,
html.dark .connect-card,
html.dark .calculator-box,
html.dark .calc-item-btn {
  background: rgba(15, 23, 42, 0.20) !important;
  backdrop-filter: blur(16px) saturate(220%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(220%) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.30), inset 0 0 20px rgba(255, 255, 255, 0.03) !important;
}

html.dark .synth-card:hover,
html.dark .glass-card:hover,
html.dark .accordion-item:hover,
html.dark .data-box:hover,
html.dark .feature-deep-card:hover,
html.dark .calc-item-btn:hover {
  background: rgba(30, 41, 59, 0.35) !important;
  border-color: rgba(96, 165, 250, 0.6) !important;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.6), 0 0 35px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.40) !important;
}

html.dark .synth-details-box,
html.dark .feature-pill {
  background: rgba(31, 41, 55, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

html.dark .accordion-summary:hover {
  background: rgba(31, 41, 55, 0.4);
}

html.dark .tab-buttons {
  background: rgba(17, 24, 39, 0.4) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html.dark .tab-btn {
  color: #94a3b8;
}

html.dark .tab-btn.active {
  background: var(--blue-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

html.dark .cmd-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

html.dark .synth-footer {
  background: rgba(9, 13, 22, 0.35) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-canvas);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-primary);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f1f5f9;
  background-image: 
    radial-gradient(1300px circle at 50% -100px, rgba(37, 99, 235, 0.25) 0%, transparent 70%),
    radial-gradient(1100px circle at 10% 450px, rgba(124, 58, 237, 0.18) 0%, transparent 65%),
    radial-gradient(1000px circle at 90% 850px, rgba(16, 185, 129, 0.18) 0%, transparent 65%),
    radial-gradient(1200px circle at 30% 1450px, rgba(14, 165, 233, 0.20) 0%, transparent 70%),
    radial-gradient(1000px circle at 85% 1950px, rgba(236, 72, 153, 0.16) 0%, transparent 65%);
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 12%;
  left: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.20) 0%, rgba(99, 102, 241, 0.14) 50%, transparent 70%);
  filter: blur(75px);
  pointer-events: none;
  z-index: -1 !important;
  animation: ambientFloatLight1 20s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  bottom: 18%;
  right: 5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(14, 165, 233, 0.15) 50%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
  z-index: -1 !important;
  animation: ambientFloatLight2 24s ease-in-out infinite alternate;
}

@keyframes ambientFloatLight1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 50px) scale(1.12); }
  100% { transform: translate(-50px, 80px) scale(0.95); }
}

@keyframes ambientFloatLight2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -60px) scale(1.15); }
  100% { transform: translate(60px, -40px) scale(0.9); }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Synthesia Dashboard Non-Scrolling View Switcher
   ========================================================================== */
.main-view-container {
  padding-top: 110px;
  padding-bottom: 50px;
  min-height: calc(100vh - 100px);
}

.view-panel {
  display: none;
  opacity: 0;
}

.view-panel.active {
  display: block;
  animation: synthFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes synthFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.clickable-card {
  cursor: pointer;
  user-select: none;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1060px;
  margin: 0 auto;
}

/* ==========================================================================
   Synthesia Navigation Bar
   ========================================================================== */
.synth-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(244, 247, 252, 0.40);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-logo img {
  height: 38px;
  width: auto;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-accent {
  color: #ec4899;
  font-weight: 900;
}

html.dark .brand-accent {
  color: #FFB6C1;
  text-shadow: 0 0 12px rgba(255, 182, 193, 0.35);
}

.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html.dark .nav-menu {
  background: rgba(15, 23, 42, 0.28) !important;
  backdrop-filter: blur(20px) saturate(220%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(220%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.header-nav-indicator {
  position: absolute;
  top: 0.32rem;
  bottom: 0.32rem;
  left: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(37, 99, 235, 0.90));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1), width 0.45s cubic-bezier(0.34, 1.35, 0.64, 1), opacity 0.25s ease;
  z-index: 0;
  pointer-events: none;
}

.nav-link {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.48rem 1.15rem;
  border-radius: var(--radius-full);
  transition: transform 0.2s ease, color 0.2s ease;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link:hover {
  color: var(--blue-primary);
  transform: scale(1.02);
}

html.dark .nav-link {
  color: #94a3b8;
}

html.dark .nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff !important;
  font-weight: 800;
}

html.dark .nav-link.active {
  color: #ffffff !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-discord-header {
  background: #5865f2;
  color: #ffffff !important;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-discord-header:hover {
  background: #4752c4;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
}

.btn-discord-header svg {
  transition: transform 0.3s ease;
}

.btn-discord-header:hover svg {
  transform: scale(1.15) rotate(-8deg);
}

.btn-discord-header svg {
  fill: currentColor;
  flex-shrink: 0;
}

.theme-toggle-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  outline: none;
}

html.dark .theme-toggle-btn {
  background: #111827;
  border-color: #1f2937;
  color: #fbbf24;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.15);
}

html.light .theme-toggle-btn {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #6366f1;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.12);
}

.theme-toggle-btn:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--blue-primary);
}

html.dark .theme-toggle-btn:hover {
  color: #f59e0b;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.4);
}

html.light .theme-toggle-btn:hover {
  color: #4f46e5;
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

.theme-icon-svg {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle-btn:hover .theme-icon-svg {
  transform: rotate(45deg);
}

.link-action {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.link-action:hover {
  color: var(--blue-primary);
}

/* Synthesia Buttons */
.btn-synth-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-synth-primary:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.6), 0 0 15px rgba(59, 130, 246, 0.4);
}

.btn-synth-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-synth-secondary:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* Toast Tooltip Notification */
.toast-container {
  position: fixed;
  bottom: max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 5.5rem));
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  max-width: calc(100vw - 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000000;
  pointer-events: none;
}

.toast {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid var(--blue-primary);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

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

.toast-icon {
  color: var(--emerald-accent);
}

/* ==========================================================================
   Synthesia Hero Section Layout
   ========================================================================== */
.synth-hero {
  padding-top: 140px;
  padding-bottom: 70px;
  text-align: center;
}

.synth-hero-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Synthesia Top Capsule Review Badge */
.synth-review-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid #dbeafe;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e40af;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.badge-icon {
  width: 18px;
  height: 18px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
}

/* Synthesia Giant Heading with Gradient Highlight */
.synth-hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.synth-hero-sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 2.25rem;
  font-weight: 500;
  line-height: 1.6;
}

.synth-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.synth-sub-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  text-align: center;
}

/* ==========================================================================
   Synthesia Hero Showcase App Frame (Interactive Showcase Card)
   ========================================================================== */
.synth-app-frame {
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 40%, #ffffff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
}

.app-frame-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  max-width: 480px;
  margin: 0 auto 1.25rem auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.app-tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.app-tab-btn.active {
  background: #ffffff;
  color: var(--blue-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.app-frame-content-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-frame-landscape-bg {
  position: absolute;
  inset: 0;
  background-image: url('1920x1080_axismp.png');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  pointer-events: none;
}

.app-frame-logo {
  max-width: 260px;
  height: auto;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.app-frame-ip-bar {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.ip-text {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-primary);
}

/* ==========================================================================
   Synthesia Grid Sections (Cards & Features)
   ========================================================================== */
.synth-section {
  padding: 80px 0;
}

.synth-section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
}

.synth-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-primary);
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.synth-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.synth-section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Connection Cards Grid */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.synth-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.synth-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-lg);
}

.synth-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.synth-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

html.dark .synth-card-title {
  color: #ffffff !important;
}

.synth-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.link-action {
  color: var(--blue-primary) !important;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.2s ease;
}

html.dark .link-action {
  color: #3b82f6 !important;
}

.synth-details-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.9rem;
}

.detail-row:not(:last-child) {
  border-bottom: 1px solid var(--border-subtle);
}

.detail-key {
  color: var(--text-muted);
  font-weight: 600;
}

.detail-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-primary);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.feature-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--bg-canvas);
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
}

/* Accordion Component */
.tabs-container {
  max-width: 900px;
  margin: 0 auto;
}

.tab-buttons {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: var(--bg-surface);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.tab-indicator {
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0;
  border-radius: var(--radius-full);
  background: var(--blue-primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: transform 0.48s cubic-bezier(0.34, 1.35, 0.64, 1), width 0.48s cubic-bezier(0.34, 1.35, 0.64, 1), opacity 0.25s ease;
  z-index: 0;
  pointer-events: none;
}

.tab-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 0.65rem 1.25rem;
  background: transparent !important;
  border: none;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color 0.25s ease;
}

.tab-btn.active {
  color: #ffffff !important;
}

.tab-content {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.tab-content.active {
  display: flex;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.accordion-item:hover {
  border-color: var(--blue-primary);
}

.accordion-summary {
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-summary > span:last-child,
.accordion-summary .chevron,
.accordion-arrow {
  display: inline-block;
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1), color 0.24s ease;
  font-size: 0.85rem;
  color: var(--text-muted);
}

details[open]:not(.is-closing) > .accordion-summary > span:last-child,
details[open]:not(.is-closing) > .accordion-summary .chevron,
details[open]:not(.is-closing) > .accordion-summary .accordion-arrow {
  transform: rotate(180deg);
  color: var(--blue-primary);
}

.cmd-badge {
  font-family: var(--font-mono);
  background: var(--blue-light);
  color: var(--blue-primary);
  border: 1px solid var(--blue-border);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  margin-right: 0.75rem;
}

.accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.25rem;
  padding-top: 1rem;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 0.2rem;
}

.rules-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.rules-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue-primary);
  font-weight: bold;
}

.rules-list strong {
  color: var(--text-primary);
}

.rules-list code {
  font-family: var(--font-mono);
  background: var(--blue-light);
  color: var(--blue-primary);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* Legal Pages */
.legal-page {
  padding-top: 130px;
  padding-bottom: 80px;
}

.page-content-section {
  padding-bottom: 5rem;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto 4rem auto;
  box-shadow: var(--shadow-md);
}

.legal-card h1 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 1rem;
}

.legal-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--blue-primary);
}

.legal-card p, .legal-card ul {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Synthesia Footer - Translucent Glassmorphic */
.synth-footer {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 -10px 30px rgba(37, 99, 235, 0.05), inset 0 1px 0 #ffffff;
  padding: 3.5rem 0 3rem 0;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.footer-link:hover {
  color: var(--blue-primary);
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

html.dark .footer-link {
  color: #94a3b8;
}

html.dark .footer-link:hover {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  max-width: 680px;
  margin: 0 auto;
}

.footer-copy-main {
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-copy-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* Mobile Bottom Dock (Hidden by default on Desktop) */
.mobile-bottom-dock {
  display: none;
}

@media (max-width: 1280px) {
  /* Fix iOS / Mobile WebKit background-attachment: fixed scroll glitch & black box artifact */
  html {
    background-color: #060911 !important;
  }
  html.light {
    background-color: #f4f7fc !important;
  }
  html, body, html.dark body, html.light body {
    background-attachment: scroll !important;
  }

  /* Performance optimization: disable heavy background animations on mobile/tablets */
  body::before, body::after, html.dark body::before, html.dark body::after {
    display: none !important;
  }

  .desktop-only-cta {
    display: none !important;
  }
  .nav-menu {
    display: none !important;
  }
  .synth-hero-title {
    font-size: clamp(1.8rem, 5.5vw, 2.8rem);
  }
  .synth-hero {
    padding-top: 100px;
  }
  .app-frame-ip-bar {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    align-items: center;
    text-align: center;
  }

  .synth-footer {
    padding-bottom: 110px !important;
  }

  /* Fixed Floating Mobile & Tablet Bottom Navigation Dock */
  .mobile-bottom-dock {
    display: block !important;
    position: fixed !important;
    bottom: max(1.2rem, env(safe-area-inset-bottom, 1.2rem)) !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    width: calc(100% - 2rem) !important;
    max-width: 480px !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
    touch-action: none !important;
    user-select: none;
    -webkit-user-select: none;
  }

  .mobile-dock-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(15, 23, 42, 0.60) !important;
    backdrop-filter: blur(32px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(210%) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: var(--radius-full) !important;
    padding: 0.4rem 0.5rem !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    touch-action: none !important;
  }

  html.light .mobile-dock-inner {
    background: rgba(255, 255, 255, 0.65) !important;
    border-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15), inset 0 1px 0 #ffffff !important;
  }

  .mobile-dock-indicator {
    position: absolute;
    top: 0.4rem;
    bottom: 0.4rem;
    left: 0;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.95));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1), width 0.45s cubic-bezier(0.34, 1.35, 0.64, 1), opacity 0.25s ease;
    z-index: 0;
    pointer-events: none;
  }

  .mobile-dock-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-full);
    transition: color 0.25s ease;
    flex: 1;
    text-align: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
  }

  html.light .mobile-dock-item {
    color: #64748b;
  }

  .mobile-dock-item.active {
    color: #ffffff !important;
  }

  /* Grid Responsiveness for Tablets and Mobile */
  .connect-grid,
  .quick-nav-grid,
  .features-deep-grid,
  .data-grid,
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 576px) {
  .synth-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .synth-cta-row button {
    width: 100%;
    justify-content: center;
  }

  .synth-card,
  .glass-card,
  .search-card,
  .result-card,
  .feature-deep-card {
    padding: 1.5rem 1.2rem !important;
    border-radius: 18px !important;
  }

  .search-input-group {
    flex-direction: column;
    width: 100%;
  }

  .search-input-group button {
    width: 100%;
    justify-content: center;
  }
}

  .legal-card {
    padding: 1.5rem 1.25rem;
  }

  .legal-card h1 {
    font-size: clamp(1.4rem, 6vw, 2.25rem);
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .legal-card h2 {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   Interactive Economy Price Calculator Widget
   ========================================================================== */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.calc-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.calc-item-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 1rem;
  background: var(--bg-canvas);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.calc-item-btn:hover {
  border-color: var(--blue-primary);
  transform: translateY(-2px);
}

.calc-item-btn.selected {
  border-color: var(--emerald-main) !important;
  background: rgba(16, 185, 129, 0.08) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.calc-item-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.calc-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.calc-result-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  gap: 1rem;
}

.calc-result-val {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--emerald-main);
}

/* ==========================================================================
   Deep Feature Cards & Grid
   ========================================================================== */
.features-deep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-deep-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.feature-deep-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.feature-badge-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-deep-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-deep-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.feature-list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-list-check li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-list-check li span {
  color: var(--emerald-main);
  font-weight: 800;
}

/* Command Badges & Rules List */
.cmd-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-main);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-right: 0.75rem;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rules-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   Admin Dashboard & DSGVO Tooling Styles
   ========================================================================== */
.admin-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-full);
  margin-left: 0.4rem;
  vertical-align: middle;
}

.login-card {
  padding: 4rem 3rem;
  text-align: center;
  border-radius: 32px !important;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.65), 0 0 35px rgba(59, 130, 246, 0.22) !important;
}

.lock-avatar-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.5rem auto;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary-synth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  border: none !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
  width: 100%;
}

.btn-primary-synth:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.65), 0 0 20px rgba(59, 130, 246, 0.4);
}

.form-group {
  text-align: left;
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

html.dark .form-input,
html.dark .form-textarea,
.modal-content input,
.modal-content textarea,
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(15, 23, 42, 0.85) !important;
  color: #f8fafc !important;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

html.light .form-input,
html.light .form-textarea,
html.light .modal-content input,
html.light .modal-content textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

.form-input:focus,
.form-textarea:focus,
.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

.btn-search-synth {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-search-synth:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.65);
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}

.btn-back-website {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #f8fafc !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

html.light .btn-back-website {
  background: rgba(15, 23, 42, 0.06) !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

.btn-back-website:hover {
  background: rgba(37, 99, 235, 0.2) !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(15, 23, 42, 0.75) !important;
  color: #f8fafc !important;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  resize: vertical;
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.error-msg {
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.dashboard-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 2.25rem;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.35) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.30) !important;
}

.dashboard-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.system-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 0.3rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.status-dot.online {
  background: #34d399;
  box-shadow: 0 0 12px #34d399;
}

/* Search Card & Input Group Improvements */
.search-card {
  padding: 2.25rem 2.5rem !important;
  border-radius: 24px !important;
  background: rgba(15, 23, 42, 0.35) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

:root:not(.dark) .search-card {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.1), inset 0 1px 0 #ffffff !important;
}

.search-input-group {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
  align-items: center;
}

.search-input {
  flex: 1;
  background: rgba(15, 23, 42, 0.3) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  padding: 0.95rem 1.35rem !important;
  font-size: 1.02rem !important;
  color: #ffffff !important;
  transition: all 0.25s ease !important;
}

.search-input::placeholder {
  color: rgba(248, 250, 252, 0.45) !important;
}

.search-input:focus {
  outline: none !important;
  background: rgba(15, 23, 42, 0.5) !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25), 0 4px 20px rgba(59, 130, 246, 0.2) !important;
}

:root:not(.dark) .search-input {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
  color: #0f172a !important;
}

:root:not(.dark) .search-input::placeholder {
  color: rgba(15, 23, 42, 0.45) !important;
}

:root:not(.dark) .search-input:focus {
  background: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2) !important;
}

.result-card {
  padding: 2.25rem;
  background: rgba(15, 23, 42, 0.35) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.30) !important;
  margin-bottom: 3.5rem !important;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.player-avatar-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.player-avatar-box img {
  border-radius: 14px;
  border: 2px solid #3b82f6;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}

.player-avatar-box h2 {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 0 0.25rem 0;
  color: #ffffff;
}

.mono-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-group {
  display: flex;
  gap: 0.6rem;
}

.rank-badge {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 800;
}

.status-badge {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 800;
}

.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 1.75rem 0;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.data-box {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  padding: 1.25rem 1.4rem;
  border-radius: 16px !important;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.data-box:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.25);
}

.data-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 800;
}

.data-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
}

.action-buttons-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-action {
  padding: 0.85rem 1.6rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-export {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-email {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-delete {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-content {
  max-width: 680px;
  width: 100%;
  padding: 2.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(24px);
  color: var(--text-main);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-card);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-card);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-card);
  flex-wrap: wrap;
}

.modal-footer button,
.btn-modal-pri,
.btn-modal-sec {
  padding: 0.65rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
  font-family: inherit !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s !important;
  outline: none !important;
  display: inline-flex !alignment;
  align-items: center;
  gap: 0.5rem;
}

.btn-modal-pri {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
}

.btn-modal-pri:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6) !important;
}

.btn-modal-sec {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-card) !important;
}

.btn-modal-sec:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Styled Report Preview Card inside Modal */
.dsgvo-preview-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-family: var(--font-sans);
}

.preview-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-card);
}

.preview-banner-title h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.preview-banner-title p {
  margin: 0.2rem 0 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.preview-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-table td.label-td {
  font-weight: 700;
  color: var(--text-muted);
  width: 38%;
}

.preview-table td.val-td {
  font-weight: 700;
  color: var(--text-main);
}

.border-danger {
  border-color: rgba(239, 68, 68, 0.5) !important;
}

.danger-title {
  color: #ef4444;
}

.warning-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: #f87171;
  margin-top: 1rem;
}

.btn-danger-synth {
  background: #ef4444;
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
}

.btn-danger-outline {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
}

.footer-admin-link {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-admin-link:hover {
  opacity: 1;
}

.rules-list li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--blue-primary);
  font-size: 1.2rem;
  line-height: 1;
}

.rules-list li strong {
  color: var(--text-primary);
}
