/* Bootstrap Light Theme (Default) */
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
  color: #1e293b;
  min-height: 100vh;
}

/* Custom Animations */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); }
  50% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.7); }
}
@keyframes slide-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce-in {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}
.animate-slide-in {
  animation: slide-in 0.5s ease-out;
}
.animate-bounce-in {
  animation: bounce-in 0.6s ease-out;
}
.animate-spin-slow {
  animation: spin-slow 3s linear infinite;
}

/* Prevent horizontal scrollbar */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Mobile padding adjustments */
@media (max-width: 991.98px) {
  #main-content {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Center all buttons on mobile */
  #tool-content .btn,
  #default-content .btn,
  #tool-content button:not(.nav-item):not(.scroll-top):not(.theme-toggle):not(.toast-close-button),
  #default-content button:not(.nav-item):not(.scroll-top):not(.theme-toggle):not(.toast-close-button) {
    display: flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Center button containers on mobile */
  #tool-content .d-flex.flex-column.gap-2,
  #tool-content .d-flex.flex-wrap.gap-3,
  #default-content .d-flex.flex-column.gap-2,
  #default-content .d-flex.flex-wrap.gap-3 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  /* Center controls section on mobile */
  #tool-content .d-flex.flex-wrap.gap-3.w-100,
  #default-content .d-flex.flex-wrap.gap-3.w-100 {
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Ensure individual buttons are centered */
  #tool-content button.btn,
  #default-content button.btn {
    width: 100% !important;
    max-width: 300px !important;
  }
  
  /* Make all cards above buttons full width (col-12) on mobile */
  /* Target cards in controls section that are siblings of button containers */
  #tool-content .d-flex.flex-wrap.gap-3.w-100 > .card,
  #default-content .d-flex.flex-wrap.gap-3.w-100 > .card,
  #tool-content .d-flex.flex-wrap.gap-3 > .card.bg-dark-subtle,
  #default-content .d-flex.flex-wrap.gap-3 > .card.bg-dark-subtle,
  #tool-content .d-flex.flex-wrap.gap-3 > .card,
  #default-content .d-flex.flex-wrap.gap-3 > .card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }
  
  /* Ensure button container is also full width */
  #tool-content .d-flex.flex-wrap.gap-3 > .d-flex.flex-column.gap-2,
  #default-content .d-flex.flex-wrap.gap-3 > .d-flex.flex-column.gap-2 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Center Common Use Cases sections on mobile */
  /* Target rows that contain col-md-6 col-lg-4 (used in Common Use Cases) */
  #tool-content .row.g-4,
  #default-content .row.g-4,
  .row.g-4 {
    justify-content: center !important;
  }
  
  /* Center Common Use Cases cards on mobile */
  #tool-content .row.g-4 > .col-md-6.col-lg-4,
  #default-content .row.g-4 > .col-md-6.col-lg-4,
  #tool-content .row.g-4 > .col-md-6.col-lg-3,
  #default-content .row.g-4 > .col-md-6.col-lg-3,
  .row.g-4 > .col-md-6.col-lg-4,
  .row.g-4 > .col-md-6.col-lg-3 {
    display: flex !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Ensure Common Use Cases cards are centered and full width on mobile */
  #tool-content .row.g-4 > .col-md-6.col-lg-4 > .card,
  #default-content .row.g-4 > .col-md-6.col-lg-4 > .card,
  #tool-content .row.g-4 > .col-md-6.col-lg-3 > .card,
  #default-content .row.g-4 > .col-md-6.col-lg-3 > .card,
  .row.g-4 > .col-md-6.col-lg-4 > .card,
  .row.g-4 > .col-md-6.col-lg-3 > .card {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Center content inside Common Use Cases cards on mobile */
  #tool-content .row.g-4 > .col-md-6.col-lg-4 > .card .card-body,
  #default-content .row.g-4 > .col-md-6.col-lg-4 > .card .card-body,
  #tool-content .row.g-4 > .col-md-6.col-lg-3 > .card .card-body,
  #default-content .row.g-4 > .col-md-6.col-lg-3 > .card .card-body,
  .row.g-4 > .col-md-6.col-lg-4 > .card .card-body,
  .row.g-4 > .col-md-6.col-lg-3 > .card .card-body {
    text-align: center !important;
  }
  
  /* Center icons in Common Use Cases cards */
  #tool-content .row.g-4 > .col-md-6.col-lg-4 > .card i,
  #default-content .row.g-4 > .col-md-6.col-lg-4 > .card i,
  #tool-content .row.g-4 > .col-md-6.col-lg-3 > .card i,
  #default-content .row.g-4 > .col-md-6.col-lg-3 > .card i,
  .row.g-4 > .col-md-6.col-lg-4 > .card i,
  .row.g-4 > .col-md-6.col-lg-3 > .card i {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    text-align: center !important;
  }
  
  /* Center headings in Common Use Cases cards */
  #tool-content .row.g-4 > .col-md-6.col-lg-4 > .card h5,
  #default-content .row.g-4 > .col-md-6.col-lg-4 > .card h5,
  #tool-content .row.g-4 > .col-md-6.col-lg-3 > .card h5,
  #default-content .row.g-4 > .col-md-6.col-lg-3 > .card h5,
  .row.g-4 > .col-md-6.col-lg-4 > .card h5,
  .row.g-4 > .col-md-6.col-lg-3 > .card h5 {
    text-align: center !important;
  }
  
  /* Center paragraphs in Common Use Cases cards */
  #tool-content .row.g-4 > .col-md-6.col-lg-4 > .card p,
  #default-content .row.g-4 > .col-md-6.col-lg-4 > .card p,
  #tool-content .row.g-4 > .col-md-6.col-lg-3 > .card p,
  #default-content .row.g-4 > .col-md-6.col-lg-3 > .card p,
  .row.g-4 > .col-md-6.col-lg-4 > .card p,
  .row.g-4 > .col-md-6.col-lg-3 > .card p {
    text-align: center !important;
  }
  
  /* Center footer content on mobile */
  footer .row.g-4.g-lg-5,
  footer .row.g-4 {
    justify-content: center !important;
  }
  
  /* Center footer columns on mobile */
  footer .col-12.col-md-6.col-lg-3 {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  /* Center footer headings */
  footer h3,
  footer h5 {
    text-align: center !important;
    justify-content: center !important;
  }
  
  /* Center footer text */
  footer p {
    text-align: center !important;
  }
  
  /* Center footer lists */
  footer ul.list-unstyled {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  /* Center footer links */
  footer .footer-link {
    justify-content: center !important;
  }
  
  /* Center social media icons */
  footer .d-flex.gap-3 {
    justify-content: center !important;
  }
  
  /* Center footer feature items */
  footer .footer-feature-item {
    justify-content: center !important;
  }
  
  /* Center bottom bar content */
  footer .footer-border-top .d-flex {
    justify-content: center !important;
    text-align: center !important;
  }
  
  footer .footer-border-top .d-flex.flex-column {
    align-items: center !important;
  }
  
  footer .footer-border-top .d-flex.flex-md-row {
    align-items: center !important;
  }
  
  footer .footer-border-top p {
    text-align: center !important;
  }
  
  footer .footer-border-top .d-flex.gap-3 {
    justify-content: center !important;
  }
}

@media (max-width: 576px) {
  #main-content {
    padding-top: 70px;
  }
}

/* Dark Theme (Default) */
:root {
  --bs-primary: #3b82f6;
  --bs-secondary: #64748b;
  --bs-success: #10b981;
  --bs-info: #06b6d4;
  --bs-warning: #f59e0b;
  --bs-danger: #ef4444;
  --bs-dark: #0f172a;
  --bs-light: #f8fafc;
  --bs-body-bg: #0f172a;
  --bs-body-color: #f8fafc;
  --bs-border-color: rgba(255, 255, 255, 0.1);
  --bg-gradient-start: #0f172a;
  --bg-gradient-mid: #1e293b;
  --bg-gradient-end: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.6);
  --card-border: rgba(255, 255, 255, 0.1);
  --form-bg: rgba(30, 41, 59, 0.8);
  --form-border: rgba(255, 255, 255, 0.1);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --nav-bg: rgba(15, 23, 42, 0.95);
  --dropzone-bg: rgba(30, 41, 59, 0.4);
  --dropzone-border: rgba(255, 255, 255, 0.2);
  --progress-bg: rgba(255, 255, 255, 0.1);
}

/* Light Theme */
[data-theme="light"] {
  --bs-primary: #3b82f6;
  --bs-secondary: #64748b;
  --bs-success: #10b981;
  --bs-info: #06b6d4;
  --bs-warning: #f59e0b;
  --bs-danger: #ef4444;
  --bs-dark: #f8fafc;
  --bs-light: #0f172a;
  --bs-body-bg: #ffffff;
  --bs-body-color: #1e293b;
  --bs-border-color: rgba(0, 0, 0, 0.1);
  --bg-gradient-start: #f8fafc;
  --bg-gradient-mid: #e2e8f0;
  --bg-gradient-end: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(0, 0, 0, 0.1);
  --form-bg: rgba(255, 255, 255, 0.95);
  --form-border: rgba(0, 0, 0, 0.15);
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --dropzone-bg: rgba(248, 250, 252, 0.8);
  --dropzone-border: rgba(0, 0, 0, 0.15);
  --progress-bg: rgba(0, 0, 0, 0.1);
}

body {
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%) !important;
  color: var(--bs-body-color) !important;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Force light theme background by default */
html:not([data-theme]) body,
html[data-theme="light"] body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%) !important;
  color: #1e293b !important;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%) !important;
}

.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card styling */
.card {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Form controls */
.form-control, .form-select {
  background-color: var(--form-bg) !important;
  border-color: var(--form-border) !important;
  color: var(--text-primary) !important;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.form-control:focus, .form-select:focus {
  background-color: var(--form-bg) !important;
  border-color: var(--bs-primary) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25) !important;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%) !important;
  border: none !important;
}

/* Progress bar */
.progress {
  background-color: var(--progress-bg) !important;
  transition: background-color 0.3s ease;
}

.progress-bar.bg-gradient-primary,
.progress-bar.bg-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%) !important;
  background-color: transparent !important;
}

/* Dropzone */
.dropzone {
  border: 2px dashed var(--dropzone-border) !important;
  background-color: var(--dropzone-bg) !important;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.dropzone:hover {
  border-color: var(--bs-primary) !important;
  background-color: var(--dropzone-bg) !important;
  opacity: 0.9;
}

/* Text colors */
.text-light {
  color: var(--text-primary) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

/* Falcon-style Dropdown Theme Selector */
.dropdown-menu {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  backdrop-filter: blur(10px);
}

.dropdown-item {
  color: var(--text-primary) !important;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--bs-primary) !important;
  color: #ffffff !important;
}

.dropdown-item.active {
  background-color: rgba(59, 130, 246, 0.15) !important;
  color: var(--bs-primary) !important;
}

.dropdown-item i {
  width: 16px;
  text-align: center;
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--bs-primary);
  background-color: var(--card-bg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.theme-toggle i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.theme-toggle:hover i {
  transform: rotate(180deg);
}

@media (max-width: 991.98px) {
  .theme-toggle {
    top: 80px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
}

/* Simple dark theme for toastr */
#toast-container {
  top: 20px;
  right: 20px;
}

.toast {
  background-color: rgba(30, 41, 59, 0.95) !important;
  color: #f8fafc !important;
  border-left: 4px solid !important;
  opacity: 1 !important;
}

.toast-success {
  border-left-color: #10b981 !important;
}

.toast-error {
  border-left-color: #ef4444 !important;
}

.toast-warning {
  border-left-color: #f59e0b !important;
}

.toast-info {
  border-left-color: #06b6d4 !important;
}

.toast-title {
  color: #f8fafc !important;
}

.toast-message {
  color: #cbd5e1 !important;
}

.toast-close-button {
  color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

.toast-close-button:hover {
  color: #f8fafc !important;
  opacity: 1 !important;
}

/* Smooth fadeout animation */
@keyframes toastFadeOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(100px) scale(0.8);
  }
}

@keyframes toastFadeIn {
  from {
    opacity: 0;
    transform: translateX(100px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Footer Animations */
@keyframes footerFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  animation: footerFadeIn 0.6s ease-out;
}

/* Footer Theme Support */
.footer-theme {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
  border-top: 2px solid rgba(59, 130, 246, 0.2);
}

html[data-theme="light"] .footer-theme {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.footer-gradient-line {
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

html[data-theme="light"] .footer-gradient-line {
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-text-light {
  color: #cbd5e1;
}

html[data-theme="light"] .footer-text-light {
  color: #475569;
}

.footer-text-secondary {
  color: #94a3b8;
}

html[data-theme="light"] .footer-text-secondary {
  color: #64748b;
}

.footer-border-top {
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  transition: border-color 0.3s ease;
}

html:not([data-theme]) .footer-border-top,
html[data-theme="light"] .footer-border-top {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-link {
  position: relative;
}

/* Footer Link Styles */
.footer-link {
  position: relative;
}

.footer-link:hover {
  color: #60a5fa !important;
  transform: translateX(5px);
}

.footer-link-icon {
  position: relative;
  z-index: 1;
}

.footer-link:hover .footer-link-icon {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.footer-link:hover::before {
  width: calc(100% - 1.5rem);
}

/* Footer Icon Links */
.footer-icon-link {
  position: relative;
  overflow: hidden;
}

.footer-icon-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-icon-link:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.footer-icon-link:hover::before {
  width: 100%;
  height: 100%;
}

.footer-icon-link i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-icon-link:hover i {
  transform: scale(1.15) rotate(8deg);
}

/* Footer Feature Items */
.footer-feature-item:hover {
  transform: translateX(8px);
}

.footer-feature-item:hover i {
  transform: scale(1.2);
}

/* Footer Bottom Links */
.footer-bottom-link {
  position: relative;
}

.footer-bottom-link:hover {
  color: #60a5fa !important;
  background-color: rgba(59, 130, 246, 0.1) !important;
}

.footer-bottom-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.footer-bottom-link:hover::after {
  width: calc(100% - 1.5rem);
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: white;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

/* Ensure toasts can fade out */
#toast-container > div {
  animation: toastFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Fadeout animation class */
#toast-container > div.toast-fadeout,
#toast-container > div.toast-removing {
  animation: toastFadeOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  opacity: 0 !important;
  transform: translateX(100px) scale(0.8) !important;
}

/* Ensure toastr's default fadeout works */
.toast.toast-removing {
  opacity: 0 !important;
  transform: translateX(100px) scale(0.8) !important;
}

/* Privacy Policy Page Specific Styles */
/* Elegant Navigation */
.privacy-nav {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Elegant Header */
.privacy-header {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-gradient-start) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  border-bottom: 1px solid var(--card-border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

html:not([data-theme]) .privacy-header,
html[data-theme="light"] .privacy-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.privacy-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #3b82f6);
}

.header-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
}

.header-icon i {
  font-size: 2.5rem;
  color: white;
}

/* Content Cards - Elegant Design */
.privacy-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
}

html:not([data-theme]) .privacy-card,
html[data-theme="light"] .privacy-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.privacy-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.2);
}

.section-header {
  cursor: pointer;
  padding: 2rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 1px solid var(--card-border);
}

.section-header h2 {
  margin-bottom: 0.25rem;
}

.section-header .small {
  font-size: 0.95rem;
  font-weight: 500;
}

.section-header:hover {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.03), transparent);
}

html[data-theme="dark"] .section-header:hover {
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.1), transparent);
}

.section-header.active {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.06), transparent);
}

html[data-theme="dark"] .section-header.active {
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.15), transparent);
}

.section-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-right: 1.25rem;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
  color: #3b82f6;
  flex-shrink: 0;
}

.section-header:hover .section-icon {
  transform: scale(1.05) rotate(3deg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.15));
}

.section-content {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-content.expanded {
  max-height: 5000px;
  padding: 2rem;
}

.section-content.expanded p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

html:not([data-theme]) .section-content.expanded p,
html[data-theme="light"] .section-content.expanded p {
  color: #1e293b;
}

html[data-theme="dark"] .section-content.expanded p {
  color: #e2e8f0;
}

.section-toggle {
  transition: transform 0.3s ease;
  color: var(--text-secondary);
  font-size: 1.25rem;
}

.section-header.active .section-toggle {
  transform: rotate(180deg);
  color: var(--bs-primary);
}

/* Privacy Page Typography */
.privacy-page h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

html:not([data-theme]) .privacy-page h1,
html[data-theme="light"] .privacy-page h1 {
  color: #0f172a;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="dark"] .privacy-page h1 {
  color: #f8fafc;
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-page h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

html[data-theme="dark"] .privacy-page h2 {
  color: #f1f5f9;
}

.privacy-page h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

html[data-theme="dark"] .privacy-page h3 {
  color: #e2e8f0;
}

.privacy-page p {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

html:not([data-theme]) .privacy-page p,
html[data-theme="light"] .privacy-page p {
  color: #1e293b;
}

html[data-theme="dark"] .privacy-page p {
  color: #e2e8f0;
}

/* Highlight Boxes */
.highlight-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
  border-left: 4px solid #3b82f6;
  border-radius: 12px;
  padding: 1.75rem;
  margin: 2rem 0;
  transition: all 0.3s ease;
}

html[data-theme="dark"] .highlight-box {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(34, 211, 238, 0.15));
  border-left-color: #60a5fa;
}

.highlight-box p,
.highlight-box h4 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

html:not([data-theme]) .highlight-box p,
html[data-theme="light"] .highlight-box p {
  color: #1e293b;
}

html[data-theme="dark"] .highlight-box p {
  color: #f1f5f9;
}

.highlight-box:hover {
  border-left-width: 6px;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
}

.info-box {
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid #10b981;
  border-radius: 12px;
  padding: 1.75rem;
  margin: 2rem 0;
}

html[data-theme="dark"] .info-box {
  background: rgba(52, 211, 153, 0.15);
  border-left-color: #34d399;
}

.info-box p {
  color: var(--text-primary);
  margin-bottom: 0;
}

html:not([data-theme]) .info-box p,
html[data-theme="light"] .info-box p {
  color: #1e293b;
}

html[data-theme="dark"] .info-box p {
  color: #f1f5f9;
}

.warning-box {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  padding: 1.75rem;
  margin: 2rem 0;
}

html[data-theme="dark"] .warning-box {
  background: rgba(251, 191, 36, 0.15);
  border-left-color: #fbbf24;
}

.warning-box p {
  color: var(--text-primary);
  margin-bottom: 0;
}

html:not([data-theme]) .warning-box p,
html[data-theme="light"] .warning-box p {
  color: #1e293b;
}

html[data-theme="dark"] .warning-box p {
  color: #f1f5f9;
}

/* Table of Contents */
.toc-card {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

html:not([data-theme]) .toc-card,
html[data-theme="light"] .toc-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.toc-card::-webkit-scrollbar {
  width: 6px;
}

.toc-card::-webkit-scrollbar-track {
  background: transparent;
}

.toc-card::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.toc-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

html:not([data-theme]) .toc-link,
html[data-theme="light"] .toc-link {
  color: #64748b;
}

.toc-link i {
  margin-right: 0.75rem;
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}

.toc-link:hover,
.toc-link.active {
  color: var(--bs-primary);
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent);
  padding-left: 1.25rem;
  transform: translateX(4px);
}

html[data-theme="dark"] .toc-link:hover,
html[data-theme="dark"] .toc-link.active {
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.15), transparent);
}

/* List Items */
.privacy-list-item {
  padding: 0.875rem 0 0.875rem 2.25rem;
  position: relative;
  transition: all 0.3s ease;
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

html:not([data-theme]) .privacy-list-item,
html[data-theme="light"] .privacy-list-item {
  color: #1e293b;
}

html[data-theme="dark"] .privacy-list-item {
  color: #e2e8f0;
}

.privacy-list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--bs-success);
  font-weight: 700;
  font-size: 1.2rem;
}

.privacy-list-item:hover {
  padding-left: 2.75rem;
  color: var(--bs-primary);
}

/* Links */
.privacy-link {
  color: var(--bs-primary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.privacy-link:hover {
  color: var(--bs-info);
}

.privacy-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  transition: width 0.3s ease;
}

.privacy-link:hover::after {
  width: 100%;
}

/* Buttons */
.back-btn {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  font-size: 1rem;
}

.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  color: white;
}

/* Feature Cards */
.feature-card {
  background: rgba(59, 130, 246, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

html[data-theme="dark"] .feature-card {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.2);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

