/* ================================
   LAQTA THEME - Main Styles
   ================================ */

/* ----- Google Fonts Import ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ----- Root Variables ----- */
:root {
  --laqta-primary-50: #eff6ff;
  --laqta-primary-100: #dbeafe;
  --laqta-primary-200: #bfdbfe;
  --laqta-primary-300: #93c5fd;
  --laqta-primary-400: #60a5fa;
  --laqta-primary-500: #3b82f6;
  --laqta-primary-600: #2563eb;
  --laqta-primary-700: #1d4ed8;
  --laqta-primary-800: #1e40af;
  --laqta-primary-900: #1e3a8a;

  --laqta-slate-50: #f8fafc;
  --laqta-slate-100: #f1f5f9;
  --laqta-slate-200: #e2e8f0;
  --laqta-slate-300: #cbd5e1;
  --laqta-slate-400: #94a3b8;
  --laqta-slate-500: #64748b;
  --laqta-slate-600: #475569;
  --laqta-slate-700: #334155;
  --laqta-slate-800: #1e293b;
  --laqta-slate-850: #172033;
  --laqta-slate-900: #0f172a;
  --laqta-slate-950: #0a0f1a;

  --laqta-font-en: 'Inter', sans-serif;
  --laqta-font-ar: 'Tajawal', sans-serif;
}

/* ----- Typography ----- */
body.laqta-theme {
  font-family: var(--laqta-font-en);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.laqta-theme[dir="rtl"] {
  font-family: var(--laqta-font-ar);
}

/* ----- Glass Effect ----- */
.glass-effect {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dark .glass-effect {
  background: rgba(30, 41, 59, 0.8);
}

/* ----- Gradient Backgrounds ----- */
.gradient-primary {
  background: linear-gradient(135deg, var(--laqta-primary-500) 0%, var(--laqta-primary-700) 100%);
}

.gradient-text {
  background: linear-gradient(135deg, var(--laqta-primary-400) 0%, var(--laqta-primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mesh-gradient {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.3), transparent),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(59, 130, 246, 0.15), transparent);
}

/* ----- Buttons ----- */
.btn-laqta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, var(--laqta-primary-500) 0%, var(--laqta-primary-600) 100%);
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-laqta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.4);
  color: #fff !important;
  text-decoration: none;
}

.btn-laqta-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--laqta-primary-200);
}

.btn-laqta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--laqta-slate-700);
  background: #fff;
  border: 1px solid var(--laqta-slate-200);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-laqta-secondary:hover {
  background: var(--laqta-slate-50);
  border-color: var(--laqta-slate-300);
  text-decoration: none;
}

.btn-laqta-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--laqta-slate-200);
}

.dark .btn-laqta-secondary {
  background: var(--laqta-slate-800);
  border-color: var(--laqta-slate-700);
  color: var(--laqta-slate-200);
}

.dark .btn-laqta-secondary:hover {
  background: var(--laqta-slate-700);
  border-color: var(--laqta-slate-600);
}

.btn-laqta-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-laqta-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(239, 68, 68, 0.4);
  color: #fff !important;
  text-decoration: none;
}

.btn-laqta-danger:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}

/* ----- Cards ----- */
.card-laqta {
  background: #fff;
  border: 1px solid var(--laqta-slate-200);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card-laqta:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card-laqta-static {
  background: #fff;
  border: 1px solid var(--laqta-slate-200);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Auth card specific - tighter spacing */
.auth-card {
  background: #fff;
  border: 1px solid var(--laqta-slate-200);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.dark .card-laqta,
.dark .card-laqta-static,
.dark .auth-card {
  background: var(--laqta-slate-800);
  border-color: var(--laqta-slate-700);
}

/* ----- Navbar (Laqta Style) ----- */
.navbar-laqta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-laqta.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--laqta-slate-200);
}

.dark .navbar-laqta.scrolled {
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--laqta-slate-700);
}

.navbar-laqta .nav-link-laqta {
  color: var(--laqta-slate-600);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.navbar-laqta .nav-link-laqta:hover {
  color: var(--laqta-primary-600);
}

.dark .navbar-laqta .nav-link-laqta {
  color: var(--laqta-slate-300);
}

.dark .navbar-laqta .nav-link-laqta:hover {
  color: var(--laqta-primary-400);
}

/* Navbar link style for landing page */
.laqta-nav-link {
  color: var(--laqta-slate-600);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.laqta-nav-link:hover {
  color: var(--laqta-primary-600);
  background: var(--laqta-slate-50);
  text-decoration: none;
}

.dark .laqta-nav-link {
  color: var(--laqta-slate-300);
}

.dark .laqta-nav-link:hover {
  color: var(--laqta-primary-400);
  background: rgba(255, 255, 255, 0.05);
}

/* Nav divider */
.laqta-nav-divider {
  height: 1.5rem;
  width: 1px;
  background: var(--laqta-slate-200);
  margin: 0 0.5rem;
}

.dark .laqta-nav-divider {
  background: var(--laqta-slate-700);
}

/* ----- Hero Section ----- */
.hero-laqta {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-laqta h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .hero-laqta h1 {
    font-size: 2.25rem;
  }

  .hero-laqta {
    padding: 6rem 0 3rem;
  }
}

/* ----- Features Section ----- */
.feature-card {
  background: #fff;
  border: 1px solid var(--laqta-slate-200);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark .feature-card {
  background: var(--laqta-slate-800);
  border-color: var(--laqta-slate-700);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--laqta-primary-100);
  color: var(--laqta-primary-600);
  border-radius: 1rem;
  margin: 0 auto 1.5rem;
}

.dark .feature-icon {
  background: rgba(59, 130, 246, 0.2);
  color: var(--laqta-primary-400);
}

/* ----- Pricing Section ----- */
.pricing-card {
  background: #fff;
  border: 1px solid var(--laqta-slate-200);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--laqta-primary-500);
  box-shadow: 0 0 0 4px var(--laqta-primary-100);
  transform: scale(1.05);
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--laqta-slate-900);
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--laqta-slate-500);
}

.dark .pricing-card {
  background: var(--laqta-slate-800);
  border-color: var(--laqta-slate-700);
}

.dark .pricing-card .price {
  color: #fff;
}

.dark .pricing-card.featured {
  border-color: var(--laqta-primary-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* ----- Footer ----- */
.footer-laqta {
  background: var(--laqta-slate-950);
  color: var(--laqta-slate-300);
  padding: 4rem 0 2rem;
}

.footer-laqta a {
  color: var(--laqta-slate-400);
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-laqta a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-laqta h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Footer container */
.laqta-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .laqta-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .laqta-container {
    padding: 0 2rem;
  }
}

/* Footer grid */
.laqta-footer-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .laqta-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Footer bottom */
.laqta-footer-bottom {
  border-top: 1px solid var(--laqta-slate-800);
  padding-top: 1.5rem;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .laqta-footer-bottom {
    flex-direction: row;
  }
}

/* Footer links */
.laqta-footer-links {
  display: flex !important;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

/* Footer space-y fix */
.footer-laqta .space-y-2 > * + * {
  margin-top: 0.5rem;
}

/* Footer flex utilities - must override Bootstrap */
.footer-laqta .flex {
  display: flex !important;
}

.footer-laqta .items-center {
  align-items: center !important;
}

.footer-laqta .justify-center {
  justify-content: center !important;
}

.footer-laqta .gap-2 {
  gap: 0.5rem !important;
}

.footer-laqta .gap-3 {
  gap: 0.75rem !important;
}

.footer-laqta .mb-4 {
  margin-bottom: 1rem !important;
}

.footer-laqta .text-white {
  color: #fff !important;
}

.footer-laqta .text-slate-400 {
  color: var(--laqta-slate-400) !important;
}

.footer-laqta .text-slate-500 {
  color: var(--laqta-slate-500) !important;
}

.footer-laqta .text-sm {
  font-size: 0.875rem !important;
}

.footer-laqta .font-semibold {
  font-weight: 600 !important;
}

.footer-laqta .font-bold {
  font-weight: 700 !important;
}

.footer-laqta .rounded-xl {
  border-radius: 0.75rem !important;
}

.footer-laqta .rounded-lg {
  border-radius: 0.5rem !important;
}

.footer-laqta .w-9 {
  width: 2.25rem !important;
}

.footer-laqta .h-9 {
  height: 2.25rem !important;
}

.footer-laqta .w-10 {
  width: 2.5rem !important;
}

.footer-laqta .h-10 {
  height: 2.5rem !important;
}

.footer-laqta .w-5 {
  width: 1.25rem !important;
}

.footer-laqta .h-5 {
  height: 1.25rem !important;
}

.footer-laqta .w-6 {
  width: 1.5rem !important;
}

.footer-laqta .h-6 {
  height: 1.5rem !important;
}

.footer-laqta .h-8 {
  height: 2rem !important;
}

.footer-laqta .text-xl {
  font-size: 1.25rem !important;
}

/* Social links in footer */
.footer-laqta .bg-slate-800 {
  background-color: var(--laqta-slate-800) !important;
}

.footer-laqta .hover\:bg-slate-700:hover {
  background-color: var(--laqta-slate-700) !important;
}

/* Gradient primary for logo */
.footer-laqta .gradient-primary {
  background: linear-gradient(135deg, var(--laqta-primary-500) 0%, var(--laqta-primary-700) 100%);
}

/* Hidden utility for theme toggle */
.footer-laqta .hidden {
  display: none !important;
}

/* ----- Forms ----- */
.form-control-laqta {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  border: 1px solid var(--laqta-slate-300);
  border-radius: 0.5rem;
  background: #fff;
  transition: all 0.2s ease;
  min-height: 42px;
  height: auto;
  line-height: 1.5;
}

.form-control-laqta:focus {
  border-color: var(--laqta-primary-500);
  box-shadow: 0 0 0 2px var(--laqta-primary-100);
  outline: none;
}

.form-control-laqta::placeholder {
  color: var(--laqta-slate-400);
  font-size: 0.875rem;
}

.dark .form-control-laqta {
  background: var(--laqta-slate-800);
  border-color: var(--laqta-slate-600);
  color: #fff;
}

.dark .form-control-laqta:focus {
  border-color: var(--laqta-primary-500);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.dark .form-control-laqta::placeholder {
  color: var(--laqta-slate-500);
}

/* Select Element Styling */
select.form-control,
select.form-control-laqta {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem 1.25rem;
  padding: 0.625rem 2.5rem 0.625rem 0.875rem;
  min-height: 42px;
  height: auto;
  line-height: 1.5;
  cursor: pointer;
}

select.form-control::-ms-expand,
select.form-control-laqta::-ms-expand {
  display: none;
}

select.form-control option,
select.form-control-laqta option {
  padding: 0.5rem;
  background: #fff;
  color: #1f2937;
}

.dark select.form-control option,
.dark select.form-control-laqta option {
  background: #1e293b;
  color: #f1f5f9;
}

/* Bootstrap Modal Select Fix */
.modal select.form-control,
.modal select.form-control-laqta {
  width: 100%;
  max-width: 100%;
}

.form-label-laqta {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--laqta-slate-700);
  margin-bottom: 0.375rem;
}

.dark .form-label-laqta {
  color: var(--laqta-slate-300);
}

/* ----- Form Validation Errors ----- */
.invalid-feedback {
  display: block !important;
  width: 100%;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #dc2626;
}

.dark .invalid-feedback {
  color: #f87171;
}

/* Input error state */
.form-control-laqta.border-red-500,
.form-control-laqta.is-invalid {
  border-color: #dc2626 !important;
}

.form-control-laqta.border-red-500:focus,
.form-control-laqta.is-invalid:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2) !important;
}

/* ----- Alerts ----- */
.alert-laqta-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.alert-laqta-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.alert-laqta-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.alert-laqta-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

/* ----- Badges ----- */
.badge-laqta-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--laqta-primary-100);
  color: var(--laqta-primary-800);
}

.badge-laqta-success {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #dcfce7;
  color: #166534;
}

.badge-laqta-danger {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #fee2e2;
  color: #991b1b;
}

.badge-laqta-warning {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #fef3c7;
  color: #92400e;
}

/* ----- Animations ----- */
.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

[data-animate] {
  opacity: 0;
}

[data-animate].animate-fade-in,
[data-animate].animate-slide-up {
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ----- Scrollbar Styling ----- */
.laqta-theme::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.laqta-theme::-webkit-scrollbar-track {
  background: var(--laqta-slate-100);
}

.laqta-theme::-webkit-scrollbar-thumb {
  background: var(--laqta-slate-300);
  border-radius: 4px;
}

.laqta-theme::-webkit-scrollbar-thumb:hover {
  background: var(--laqta-slate-400);
}

.dark.laqta-theme::-webkit-scrollbar-track {
  background: var(--laqta-slate-800);
}

.dark.laqta-theme::-webkit-scrollbar-thumb {
  background: var(--laqta-slate-600);
}

/* ----- Utility Classes ----- */
.text-gradient {
  background: linear-gradient(135deg, var(--laqta-primary-400), var(--laqta-primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-laqta-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow-laqta {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.shadow-laqta-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-laqta-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ----- Section Spacing ----- */
.section-laqta {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-laqta {
    padding: 3rem 0;
  }
}

/* ----- Dark Mode Body ----- */
.dark.laqta-theme {
  background-color: var(--laqta-slate-900);
  color: var(--laqta-slate-200);
}

/* ----- Mobile Menu ----- */
.mobile-menu-laqta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu-laqta.active {
  transform: translateX(0);
}

.dark .mobile-menu-laqta {
  background: rgba(15, 23, 42, 0.98);
}

/* ----- Dropdown Menu (Laqta Style) ----- */
.dropdown-laqta {
  position: relative;
}

.dropdown-menu-laqta {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border: 1px solid var(--laqta-slate-200);
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1001;
}

/* Ensure dropdown doesn't overflow viewport on right side */
.dropdown-menu-laqta.dropdown-menu-right-adjusted {
  right: auto;
  left: 0;
}

/* Mobile responsive dropdown */
@media (max-width: 640px) {
  .dropdown-menu-laqta {
    position: fixed;
    top: auto;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    min-width: auto;
    max-width: none;
    transform: translateY(100%);
  }

  .dropdown-menu-laqta.show {
    transform: translateY(0);
  }
}

.dropdown-laqta:hover .dropdown-menu-laqta,
.dropdown-menu-laqta.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dark .dropdown-menu-laqta {
  background: var(--laqta-slate-800);
  border-color: var(--laqta-slate-700);
}

.dropdown-item-laqta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  color: var(--laqta-slate-700);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background 0.15s ease;
}

.dropdown-item-laqta:hover {
  background: var(--laqta-slate-100);
  color: var(--laqta-slate-900);
  text-decoration: none;
}

.dark .dropdown-item-laqta {
  color: var(--laqta-slate-300);
}

.dark .dropdown-item-laqta:hover {
  background: var(--laqta-slate-700);
  color: #fff;
}

.dropdown-divider-laqta {
  height: 1px;
  background: var(--laqta-slate-200);
  margin: 0.5rem 0;
}

.dark .dropdown-divider-laqta {
  background: var(--laqta-slate-700);
}

/* ----- Stats Cards ----- */
.stats-card-laqta {
  background: #fff;
  border: 1px solid var(--laqta-slate-200);
  border-radius: 1rem;
  padding: 1.5rem;
}

.stats-card-laqta .stats-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
}

.dark .stats-card-laqta {
  background: var(--laqta-slate-800);
  border-color: var(--laqta-slate-700);
}

/* ----- Table Styles ----- */
.table-laqta {
  width: 100%;
  border-collapse: collapse;
}

.table-laqta th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--laqta-slate-500);
  border-bottom: 1px solid var(--laqta-slate-200);
}

.table-laqta td {
  padding: 1rem;
  border-bottom: 1px solid var(--laqta-slate-200);
  color: var(--laqta-slate-700);
}

.dark .table-laqta th {
  color: var(--laqta-slate-400);
  border-color: var(--laqta-slate-700);
}

.dark .table-laqta td {
  color: var(--laqta-slate-300);
  border-color: var(--laqta-slate-700);
}

/* ----- Empty State ----- */
.empty-state-laqta {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-laqta .empty-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--laqta-slate-100);
  border-radius: 50%;
}

.dark .empty-state-laqta .empty-icon {
  background: var(--laqta-slate-800);
}

/* ----- Pagination ----- */
.pagination-laqta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination-laqta a,
.pagination-laqta span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: var(--laqta-slate-600);
  text-decoration: none;
  transition: all 0.15s ease;
}

.pagination-laqta a:hover {
  background: var(--laqta-slate-100);
  color: var(--laqta-slate-900);
}

.pagination-laqta .active {
  background: var(--laqta-primary-500);
  color: #fff;
}

.dark .pagination-laqta a,
.dark .pagination-laqta span {
  color: var(--laqta-slate-400);
}

.dark .pagination-laqta a:hover {
  background: var(--laqta-slate-800);
  color: #fff;
}

/* ----- Avatar ----- */
.avatar-laqta {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-laqta-sm {
  width: 2rem;
  height: 2rem;
}

.avatar-laqta-lg {
  width: 3.5rem;
  height: 3.5rem;
}

/* ----- Credits Display ----- */
.credits-badge-laqta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 9999px;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}

/* ----- Page Header ----- */
.page-header-laqta {
  margin-bottom: 2rem;
}

.page-header-laqta h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--laqta-slate-900);
  margin-bottom: 0.5rem;
}

.page-header-laqta p {
  color: var(--laqta-slate-600);
}

.dark .page-header-laqta h1 {
  color: #fff;
}

.dark .page-header-laqta p {
  color: var(--laqta-slate-400);
}

/* ----- Tabs Navigation ----- */
.tabs-laqta {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--laqta-slate-200);
  margin-bottom: 1.5rem;
}

.tabs-laqta a {
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--laqta-slate-600);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s ease;
}

.tabs-laqta a:hover {
  color: var(--laqta-slate-900);
}

.tabs-laqta a.active {
  color: var(--laqta-primary-600);
  border-color: var(--laqta-primary-600);
}

.dark .tabs-laqta {
  border-color: var(--laqta-slate-700);
}

.dark .tabs-laqta a {
  color: var(--laqta-slate-400);
}

.dark .tabs-laqta a:hover {
  color: #fff;
}

.dark .tabs-laqta a.active {
  color: var(--laqta-primary-400);
  border-color: var(--laqta-primary-400);
}

/* ----- Loading Spinner ----- */
.spinner-laqta {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--laqta-slate-200);
  border-top-color: var(--laqta-primary-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----- Tooltip ----- */
.tooltip-laqta {
  position: relative;
}

.tooltip-laqta::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 0.5rem 0.75rem;
  background: var(--laqta-slate-900);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  z-index: 1000;
}

.tooltip-laqta:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

/* ----- Fixed Navbar Space ----- */
.has-navbar-laqta {
  padding-top: 5rem;
}

/* ----- Container Max Width ----- */
.container-laqta {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-laqta {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-laqta {
    padding: 0 2rem;
  }
}

/* ================================
   LANDING PAGE SPECIFIC STYLES
   ================================ */

/* ----- Body Defaults ----- */
body.laqta-theme {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--laqta-slate-50);
  color: var(--laqta-slate-900);
  line-height: 1.6;
  overflow-x: hidden;
}

body.laqta-theme.dark,
.dark body.laqta-theme {
  background-color: var(--laqta-slate-950);
  color: var(--laqta-slate-100);
}

/* RTL Support */
[dir="rtl"] body.laqta-theme,
body.laqta-theme.rtl {
  font-family: 'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Text Selection */
::selection {
  background-color: var(--laqta-primary-500);
  color: white;
}

/* ----- Navbar Enhanced Styles ----- */
.navbar-laqta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar-laqta.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--laqta-slate-200);
}

.dark .navbar-laqta.scrolled {
  background: rgba(15, 23, 42, 0.85);
  border-color: var(--laqta-slate-800);
}

.navbar-laqta .nav-link-laqta {
  color: var(--laqta-slate-600);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.navbar-laqta .nav-link-laqta:hover {
  color: var(--laqta-primary-600);
  background: var(--laqta-slate-50);
}

.dark .navbar-laqta .nav-link-laqta {
  color: var(--laqta-slate-300);
}

.dark .navbar-laqta .nav-link-laqta:hover {
  color: var(--laqta-primary-400);
  background: rgba(255, 255, 255, 0.05);
}

/* ----- Primary Button Enhanced ----- */
.btn-laqta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff !important;
  background: var(--laqta-primary-600);
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px -3px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
  text-decoration: none !important;
  cursor: pointer;
}

.btn-laqta-primary:hover {
  background: var(--laqta-primary-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -3px rgba(37, 99, 235, 0.4);
  color: #fff !important;
}

.btn-laqta-primary:active {
  transform: translateY(0);
}

/* Full width button variant */
.btn-laqta-primary.w-full {
  width: 100%;
}

/* ----- Custom Scrollbar ----- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--laqta-slate-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--laqta-slate-400);
}

.dark ::-webkit-scrollbar-thumb {
  background: var(--laqta-slate-600);
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: var(--laqta-slate-500);
}

/* ----- Ping Animation ----- */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ----- Testimonial Marquee Animation ----- */
@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-slide-left {
  animation: slide-left 50s linear infinite;
}

.animate-slide-left:hover {
  animation-play-state: paused;
}

/* ----- FAQ Accordion ----- */
.faq-item .faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-content {
  max-height: 500px;
}

/* ----- Glass Effect Enhanced ----- */
.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .glass-effect {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ----- Perspective for 3D Effects ----- */
.perspective-1000 {
  perspective: 1000px;
}

/* ----- RTL Specific Overrides ----- */
[dir="rtl"] .rtl\:rotate-180 {
  transform: rotate(180deg);
}

[dir="rtl"] .rtl\:right-auto {
  right: auto;
}

[dir="rtl"] .rtl\:-left-4 {
  left: -1rem;
}

[dir="rtl"] .text-start {
  text-align: right;
}

/* RTL Dropdown Menu Positioning */
[dir="rtl"] .dropdown-menu-laqta {
  right: auto;
  left: 0;
}

[dir="rtl"] .dropdown-menu-laqta.dropdown-menu-right-adjusted {
  left: auto;
  right: 0;
}

/* RTL Form Controls */
[dir="rtl"] .form-control-laqta,
[dir="rtl"] select.form-control,
[dir="rtl"] select.form-control-laqta {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] select.form-control,
[dir="rtl"] select.form-control-laqta {
  padding-right: 0.875rem;
  padding-left: 2.5rem;
  background-position: left 0.75rem center;
}

[dir="rtl"] select.form-control option,
[dir="rtl"] select.form-control-laqta option {
  direction: rtl;
  text-align: right;
}

/* RTL Dropdown Item Icons */
[dir="rtl"] .dropdown-item-laqta {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .dropdown-item-laqta i {
  margin-left: 0;
  margin-right: 0;
}

/* RTL Modal Adjustments */
[dir="rtl"] .modal-header .close {
  margin: -1rem auto -1rem -1rem;
}

[dir="rtl"] .modal-footer {
  flex-direction: row-reverse;
}

/* ----- Landing Page Section Backgrounds ----- */
.bg-mesh-gradient {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(59, 130, 246, 0.1), transparent),
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(139, 92, 246, 0.1), transparent);
}

/* ----- Gradient Text ----- */
.text-gradient-primary {
  background: linear-gradient(135deg, var(--laqta-primary-600), #6366f1, var(--laqta-primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark .text-gradient-primary {
  background: linear-gradient(135deg, var(--laqta-primary-400), #a5b4fc, var(--laqta-primary-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- Enhanced Shadow Utilities ----- */
.shadow-primary-glow {
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.15);
}

.shadow-primary-glow-lg {
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.2);
}

/* ----- Hover Scale Effect ----- */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.02);
}

/* ----- Feature Item Active State ----- */
.feature-item {
  transition: all 0.3s ease;
}

.feature-item.active {
  background: white;
  border-color: var(--laqta-primary-500);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  transform: scale(1.02);
}

.dark .feature-item.active {
  background: var(--laqta-slate-800);
}

/* ----- Demo Loading Spinner ----- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* ----- Mobile Menu Slide Animation ----- */
.mobile-menu-laqta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1100;
  padding: 5rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

[dir="rtl"] .mobile-menu-laqta {
  transform: translateX(-100%);
}

.mobile-menu-laqta.active {
  transform: translateX(0);
}

.dark .mobile-menu-laqta {
  background: rgba(15, 23, 42, 0.98);
}

/* ----- AOS Override for Smoother Animations ----- */
[data-aos] {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ----- Responsive Typography ----- */
@media (max-width: 768px) {
  .text-5xl {
    font-size: 2.25rem !important;
  }

  .text-7xl, .text-8xl {
    font-size: 2.5rem !important;
  }

  .text-4xl {
    font-size: 1.875rem !important;
  }
}

/* ================================
   BOOTSTRAP OVERRIDE / RESET
   These rules ensure Tailwind utilities work correctly
   ================================ */

/* Reset Bootstrap button styles for Tailwind buttons */
.laqta-theme button,
.laqta-theme a.btn,
.laqta-theme [class*="btn-"] {
  border: none;
}

/* ============================================
   BOOTSTRAP DISPLAY OVERRIDE - HIGHEST PRIORITY
   Bootstrap uses .d-flex, .d-none etc. which can conflict
   ============================================ */

/* Force Tailwind's hidden/flex to work */
body.laqta-theme .hidden {
  display: none !important;
}

body.laqta-theme .flex {
  display: flex !important;
}

body.laqta-theme .inline-flex {
  display: inline-flex !important;
}

body.laqta-theme .block {
  display: block !important;
}

body.laqta-theme .grid {
  display: grid !important;
}

/* Responsive overrides at body level for highest specificity */
@media (min-width: 640px) {
  body.laqta-theme .sm\:w-auto {
    width: auto !important;
  }
  body.laqta-theme .sm\:flex-row {
    flex-direction: row !important;
  }
}

@media (min-width: 768px) {
  body.laqta-theme .md\:flex {
    display: flex !important;
  }
  body.laqta-theme .md\:hidden {
    display: none !important;
  }
  body.laqta-theme .md\:block {
    display: block !important;
  }
}

@media (min-width: 1024px) {
  body.laqta-theme .lg\:flex {
    display: flex !important;
  }
  body.laqta-theme .lg\:hidden {
    display: none !important;
  }
  body.laqta-theme .lg\:block {
    display: block !important;
  }
  body.laqta-theme .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.laqta-theme .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }
}

/* Ensure Tailwind padding works */
.laqta-theme .px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
.laqta-theme .py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.laqta-theme .py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.laqta-theme .px-10 { padding-left: 2.5rem !important; padding-right: 2.5rem !important; }
.laqta-theme .p-8 { padding: 2rem !important; }
.laqta-theme .p-10 { padding: 2.5rem !important; }

/* Ensure section spacing works */
.laqta-theme .py-24 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.laqta-theme .py-32 { padding-top: 8rem !important; padding-bottom: 8rem !important; }
.laqta-theme .pt-32 { padding-top: 8rem !important; }
.laqta-theme .pb-16 { padding-bottom: 4rem !important; }
.laqta-theme .pb-32 { padding-bottom: 8rem !important; }
.laqta-theme .mb-8 { margin-bottom: 2rem !important; }
.laqta-theme .mb-12 { margin-bottom: 3rem !important; }
.laqta-theme .mb-16 { margin-bottom: 4rem !important; }
.laqta-theme .mb-20 { margin-bottom: 5rem !important; }
.laqta-theme .mt-12 { margin-top: 3rem !important; }
.laqta-theme .mt-24 { margin-top: 6rem !important; }

/* Ensure gap utilities work */
.laqta-theme .gap-5 { gap: 1.25rem !important; }
.laqta-theme .gap-8 { gap: 2rem !important; }
.laqta-theme .gap-10 { gap: 2.5rem !important; }
.laqta-theme .gap-12 { gap: 3rem !important; }
.laqta-theme .gap-16 { gap: 4rem !important; }

/* Ensure rounded-full works for buttons */
.laqta-theme .rounded-full { border-radius: 9999px !important; }
.laqta-theme .rounded-xl { border-radius: 0.75rem !important; }
.laqta-theme .rounded-2xl { border-radius: 1rem !important; }
.laqta-theme .rounded-3xl { border-radius: 1.5rem !important; }

/* Ensure font weights work */
.laqta-theme .font-bold { font-weight: 700 !important; }
.laqta-theme .font-extrabold { font-weight: 800 !important; }
.laqta-theme .font-semibold { font-weight: 600 !important; }
.laqta-theme .font-medium { font-weight: 500 !important; }

/* Ensure text sizes work */
.laqta-theme .text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.laqta-theme .text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.laqta-theme .text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.laqta-theme .text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
.laqta-theme .text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
.laqta-theme .text-5xl { font-size: 3rem !important; line-height: 1 !important; }

/* Ensure shadow utilities work */
.laqta-theme .shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }
.laqta-theme .shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; }
.laqta-theme .shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.laqta-theme .shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }

/* Primary button shadow */
.laqta-theme .shadow-primary-500\/25 { box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.25) !important; }
.laqta-theme .shadow-primary-500\/30 { box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3) !important; }
.laqta-theme .shadow-primary-500\/40 { box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.4) !important; }
.laqta-theme .shadow-primary-600\/30 { box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.3) !important; }

/* Ensure transforms work */
.laqta-theme .hover\:-translate-y-1:hover { transform: translateY(-0.25rem) !important; }
.laqta-theme .hover\:-translate-y-2:hover { transform: translateY(-0.5rem) !important; }
.laqta-theme .hover\:scale-105:hover { transform: scale(1.05) !important; }
.laqta-theme .hover\:scale-110:hover { transform: scale(1.1) !important; }
.laqta-theme .scale-105 { transform: scale(1.05) !important; }

/* Animation delays for slide-up effect */
.laqta-theme .delay-100 { animation-delay: 100ms !important; }
.laqta-theme .delay-200 { animation-delay: 200ms !important; }
.laqta-theme .delay-300 { animation-delay: 300ms !important; }

/* Ensure primary background colors work */
.laqta-theme .bg-primary-600 { background-color: #2563eb !important; }
.laqta-theme .bg-primary-700 { background-color: #1d4ed8 !important; }
.laqta-theme .bg-primary-800 { background-color: #1e40af !important; }
.laqta-theme .hover\:bg-primary-700:hover { background-color: #1d4ed8 !important; }
.laqta-theme .hover\:bg-primary-500:hover { background-color: #3b82f6 !important; }

/* Ensure text colors work */
.laqta-theme .text-primary-600 { color: #2563eb !important; }
.laqta-theme .text-primary-400 { color: #60a5fa !important; }
.laqta-theme .text-primary-500 { color: #3b82f6 !important; }

/* Ensure white text on buttons */
.laqta-theme .text-white { color: #ffffff !important; }

/* Border radius for landing page buttons */
.laqta-theme a[href*="register"].rounded-full,
.laqta-theme a[href*="login"].rounded-full,
.laqta-theme button.rounded-full {
  border-radius: 9999px !important;
}

/* Fix for border styles */
.laqta-theme .border { border-width: 1px !important; }
.laqta-theme .border-2 { border-width: 2px !important; }
.laqta-theme .border-primary-500 { border-color: #3b82f6 !important; }
.laqta-theme .border-slate-200 { border-color: #e2e8f0 !important; }
.laqta-theme .border-slate-800 { border-color: #1e293b !important; }

/* Ensure flex utilities work */
.laqta-theme .flex { display: flex !important; }
.laqta-theme .inline-flex { display: inline-flex !important; }
.laqta-theme .items-center { align-items: center !important; }
.laqta-theme .justify-center { justify-content: center !important; }
.laqta-theme .justify-between { justify-content: space-between !important; }
.laqta-theme .flex-col { flex-direction: column !important; }
.laqta-theme .flex-row { flex-direction: row !important; }
.laqta-theme .flex-wrap { flex-wrap: wrap !important; }
.laqta-theme .flex-shrink-0 { flex-shrink: 0 !important; }

/* CRITICAL: Responsive display utilities - must override Bootstrap */
.laqta-theme .hidden { display: none !important; }
.laqta-theme .block { display: block !important; }

/* Small screens and up (sm: 640px) */
@media (min-width: 640px) {
  .laqta-theme .sm\:w-auto { width: auto !important; }
  .laqta-theme .sm\:flex-row { flex-direction: row !important; }
  .laqta-theme .sm\:px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
}

/* Medium screens and up (md: 768px) */
@media (min-width: 768px) {
  .laqta-theme .md\:flex { display: flex !important; }
  .laqta-theme .md\:hidden { display: none !important; }
  .laqta-theme .md\:block { display: block !important; }
  .laqta-theme .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .laqta-theme .md\:text-5xl { font-size: 3rem !important; line-height: 1 !important; }
  .laqta-theme .md\:text-6xl { font-size: 3.75rem !important; line-height: 1 !important; }
  .laqta-theme .md\:text-7xl { font-size: 4.5rem !important; line-height: 1 !important; }
  .laqta-theme .md\:text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
  .laqta-theme .md\:text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
  .laqta-theme .md\:-translate-y-6 { transform: translateY(-1.5rem) !important; }
}

/* Large screens and up (lg: 1024px) */
@media (min-width: 1024px) {
  .laqta-theme .lg\:flex { display: flex !important; }
  .laqta-theme .lg\:hidden { display: none !important; }
  .laqta-theme .lg\:block { display: block !important; }
  .laqta-theme .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .laqta-theme .lg\:grid-cols-11 { grid-template-columns: repeat(11, minmax(0, 1fr)) !important; }
  .laqta-theme .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .laqta-theme .lg\:col-span-5 { grid-column: span 5 / span 5 !important; }
  .laqta-theme .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
  .laqta-theme .lg\:col-span-1 { grid-column: span 1 / span 1 !important; }
  .laqta-theme .lg\:pt-48 { padding-top: 12rem !important; }
  .laqta-theme .lg\:pb-32 { padding-bottom: 8rem !important; }
  .laqta-theme .lg\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
  .laqta-theme .lg\:text-8xl { font-size: 6rem !important; line-height: 1 !important; }
  .laqta-theme .lg\:text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
}

/* Ensure text alignment works */
.laqta-theme .text-center { text-align: center !important; }
.laqta-theme .text-start { text-align: start !important; }

/* Grid layout fixes */
.laqta-theme .grid { display: grid !important; }

/* Ensure max-width works */
.laqta-theme .max-w-7xl { max-width: 80rem !important; }
.laqta-theme .max-w-6xl { max-width: 72rem !important; }
.laqta-theme .max-w-5xl { max-width: 64rem !important; }
.laqta-theme .max-w-4xl { max-width: 56rem !important; }
.laqta-theme .max-w-3xl { max-width: 48rem !important; }
.laqta-theme .max-w-2xl { max-width: 42rem !important; }

/* Auto margins */
.laqta-theme .mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Leading (line-height) */
.laqta-theme .leading-tight { line-height: 1.25 !important; }
.laqta-theme .leading-relaxed { line-height: 1.625 !important; }
.laqta-theme .leading-\[1\.1\] { line-height: 1.1 !important; }

/* Text decoration utilities for underline */
/* Reset custom.css background-based underline and use proper text-decoration */
.laqta-theme .underline {
  text-decoration: underline !important;
  background-image: none !important;
  background-size: 0 !important;
}
.laqta-theme .decoration-2 {
  text-decoration-thickness: 2px !important;
}
.laqta-theme .decoration-primary-300 {
  text-decoration-color: #93c5fd !important;
}
.laqta-theme .decoration-primary-400 {
  text-decoration-color: #60a5fa !important;
}
.laqta-theme .underline-offset-4 {
  text-underline-offset: 4px !important;
}
.laqta-theme .underline-offset-2 {
  text-underline-offset: 2px !important;
}

/* Primary color text overrides - Bootstrap uses purple, we need blue */
.laqta-theme .text-primary-50 { color: #eff6ff !important; }
.laqta-theme .text-primary-100 { color: #dbeafe !important; }
.laqta-theme .text-primary-200 { color: #bfdbfe !important; }
.laqta-theme .text-primary-300 { color: #93c5fd !important; }
.laqta-theme .text-primary-400 { color: #60a5fa !important; }
.laqta-theme .text-primary-500 { color: #3b82f6 !important; }
.laqta-theme .text-primary-600 { color: #2563eb !important; }
.laqta-theme .text-primary-700 { color: #1d4ed8 !important; }
.laqta-theme .text-primary-800 { color: #1e40af !important; }
.laqta-theme .text-primary-900 { color: #1e3a8a !important; }

/* Background primary colors - Override Bootstrap purple with Tailwind blue */
.laqta-theme .bg-primary-50 { background-color: #eff6ff !important; }
.laqta-theme .bg-primary-100 { background-color: #dbeafe !important; }
.laqta-theme .bg-primary-200 { background-color: #bfdbfe !important; }
.laqta-theme .bg-primary-300 { background-color: #93c5fd !important; }
.laqta-theme .bg-primary-400 { background-color: #60a5fa !important; }
.laqta-theme .bg-primary-500 { background-color: #3b82f6 !important; }
.laqta-theme .bg-primary-600 { background-color: #2563eb !important; }
.laqta-theme .bg-primary-700 { background-color: #1d4ed8 !important; }
.laqta-theme .bg-primary-800 { background-color: #1e40af !important; }
.laqta-theme .bg-primary-900 { background-color: #1e3a8a !important; }

/* Gradient text for hero title */
.laqta-theme .bg-clip-text {
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
.laqta-theme .text-transparent {
  color: transparent !important;
}
.laqta-theme .bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops)) !important;
}

/* Primary gradient colors */
.laqta-theme .from-primary-600 {
  --tw-gradient-from: #2563eb !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0)) !important;
}
.laqta-theme .via-blue-500 {
  --tw-gradient-stops: var(--tw-gradient-from), #3b82f6, var(--tw-gradient-to, rgba(59, 130, 246, 0)) !important;
}
.laqta-theme .to-indigo-600 {
  --tw-gradient-to: #4f46e5 !important;
}

/* Dark mode gradient colors */
.dark .laqta-theme .from-primary-400,
.laqta-theme.dark .from-primary-400 {
  --tw-gradient-from: #60a5fa !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(96, 165, 250, 0)) !important;
}
.dark .laqta-theme .via-blue-300,
.laqta-theme.dark .via-blue-300 {
  --tw-gradient-stops: var(--tw-gradient-from), #93c5fd, var(--tw-gradient-to, rgba(147, 197, 253, 0)) !important;
}
.dark .laqta-theme .to-indigo-300,
.laqta-theme.dark .to-indigo-300 {
  --tw-gradient-to: #a5b4fc !important;
}

/* Tracking (letter-spacing) */
.laqta-theme .tracking-tight { letter-spacing: -0.025em !important; }
.laqta-theme .tracking-\[0\.2em\] { letter-spacing: 0.2em !important; }

/* Ensure transitions work */
.laqta-theme .transition-all { transition-property: all !important; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; transition-duration: 150ms !important; }
.laqta-theme .transition-colors { transition-property: background-color, border-color, color, fill, stroke !important; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; transition-duration: 150ms !important; }
.laqta-theme .transition-transform { transition-property: transform !important; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; transition-duration: 150ms !important; }
.laqta-theme .duration-300 { transition-duration: 300ms !important; }
.laqta-theme .duration-500 { transition-duration: 500ms !important; }
.laqta-theme .duration-700 { transition-duration: 700ms !important; }

/* Overflow */
.laqta-theme .overflow-hidden { overflow: hidden !important; }
.laqta-theme .overflow-x-hidden { overflow-x: hidden !important; }

/* Position utilities */
.laqta-theme .relative { position: relative !important; }
.laqta-theme .absolute { position: absolute !important; }
.laqta-theme .fixed { position: fixed !important; }

/* Z-index */
.laqta-theme .z-10 { z-index: 10 !important; }
.laqta-theme .z-20 { z-index: 20 !important; }
.laqta-theme .z-50 { z-index: 50 !important; }

/* Width/Height utilities */
.laqta-theme .w-full { width: 100% !important; }
.laqta-theme .w-auto { width: auto !important; }
.laqta-theme .h-20 { height: 5rem !important; }

/* Button width fix - sm:w-auto should make buttons auto width on sm+ screens */
@media (min-width: 640px) {
  .laqta-theme a.sm\:w-auto,
  .laqta-theme button.sm\:w-auto,
  .laqta-theme .sm\:w-auto {
    width: auto !important;
  }
}

/* ============================================
   HERO BUTTONS FIX - CRITICAL
   ============================================ */

/* Hero CTA container - column on mobile, row on sm+ */
.laqta-theme .flex.flex-col.sm\:flex-row {
  display: flex !important;
  flex-direction: column !important;
}

@media (min-width: 640px) {
  .laqta-theme .flex.flex-col.sm\:flex-row {
    flex-direction: row !important;
  }
}

/* Hero buttons - full width on mobile, auto on sm+ */
.laqta-theme section a.w-full.sm\:w-auto,
.laqta-theme a.group.w-full.sm\:w-auto,
.laqta-theme a.w-full.sm\:w-auto {
  width: 100% !important;
}

@media (min-width: 640px) {
  .laqta-theme section a.w-full.sm\:w-auto,
  .laqta-theme a.group.w-full.sm\:w-auto,
  .laqta-theme a.w-full.sm\:w-auto {
    width: auto !important;
  }
}

/* ============================================
   NAVBAR RESPONSIVE FIXES - USING CUSTOM CLASSES
   These use custom class names to avoid Bootstrap conflicts
   ============================================ */

/* Desktop menu - hidden on mobile, flex on desktop (768px+) */
.laqta-theme .laqta-desktop-menu,
body.laqta-theme .laqta-desktop-menu,
.navbar-laqta .laqta-desktop-menu {
  display: none !important;
  visibility: hidden !important;
}

@media (min-width: 768px) {
  .laqta-theme .laqta-desktop-menu,
  body.laqta-theme .laqta-desktop-menu,
  .navbar-laqta .laqta-desktop-menu {
    display: flex !important;
    visibility: visible !important;
  }
}

/* Mobile menu button - visible on mobile, hidden on desktop */
.laqta-theme .laqta-mobile-menu-btn,
body.laqta-theme .laqta-mobile-menu-btn,
.navbar-laqta .laqta-mobile-menu-btn {
  display: flex !important;
  visibility: visible !important;
  align-items: center !important;
  justify-content: center !important;
  margin-inline-end: -0.5rem;
  z-index: 100;
}

.laqta-mobile-menu-btn button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem !important;
  min-width: 44px;
  min-height: 44px;
}

.laqta-mobile-menu-btn button svg,
.laqta-mobile-menu-btn button i {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

/* Mobile menu toggle button */
.mobile-menu-toggle-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem !important;
  min-width: 44px !important;
  min-height: 44px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  border-radius: 0.375rem;
  color: #475569;
  transition: color 0.2s;
}

.mobile-menu-toggle-btn:hover {
  color: #2563eb;
}

.dark .mobile-menu-toggle-btn {
  color: #9ca3af;
}

.dark .mobile-menu-toggle-btn:hover {
  color: #fff;
}

/* Hamburger icon with CSS - controlled by JS via inline style */
.hamburger-icon {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  gap: 4px;
}

.hamburger-icon > span {
  display: block;
  width: 22px;
  height: 3px;
  background-color: #475569;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.dark .hamburger-icon > span {
  background-color: #9ca3af;
}

/* Close icon - hidden by default, shown via JS */
.close-icon {
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.close-icon svg {
  width: 24px;
  height: 24px;
  stroke: #475569;
}

.dark .close-icon svg {
  stroke: #9ca3af;
}

@media (min-width: 768px) {
  .laqta-theme .laqta-mobile-menu-btn,
  body.laqta-theme .laqta-mobile-menu-btn,
  .navbar-laqta .laqta-mobile-menu-btn {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Mobile menu panel - controlled by JS, hidden on desktop */
.laqta-mobile-menu {
  /* display controlled by inline style and JS */
}

.laqta-mobile-menu.active {
  display: block !important;
}

@media (min-width: 768px) {
  .laqta-theme .laqta-mobile-menu,
  body.laqta-theme .laqta-mobile-menu,
  .navbar-laqta .laqta-mobile-menu {
    display: none !important;
    visibility: hidden !important;
  }
}

/* ============================================
   HERO SECTION RESPONSIVE FIXES
   ============================================ */

/* Hero CTA buttons container */
.laqta-theme .laqta-hero-ctas {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
}

@media (min-width: 640px) {
  .laqta-theme .laqta-hero-ctas {
    flex-direction: row !important;
    width: auto;
  }
}

/* Hero buttons - full width on mobile, auto on tablet+ */
.laqta-theme .laqta-hero-btn {
  width: 100% !important;
}

@media (min-width: 640px) {
  .laqta-theme .laqta-hero-btn {
    width: auto !important;
  }
}

/* ============================================
   ADDITIONAL RESPONSIVE UTILITIES
   ============================================ */

/* Space utilities */
.laqta-theme .space-y-2 > * + * {
  margin-top: 0.5rem !important;
}

.laqta-theme .space-y-4 > * + * {
  margin-top: 1rem !important;
}

.laqta-theme .gap-3 {
  gap: 0.75rem !important;
}

.laqta-theme .gap-4 {
  gap: 1rem !important;
}

/* Responsive text alignment */
@media (max-width: 767px) {
  .laqta-theme .text-center {
    text-align: center !important;
  }
}

/* Responsive padding for mobile */
@media (max-width: 639px) {
  .laqta-theme .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .laqta-theme section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Grid responsive fixes */
.laqta-theme .grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

@media (min-width: 768px) {
  .laqta-theme .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .laqta-theme .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .laqta-theme .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .laqta-theme .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Object fit */
.laqta-theme .object-cover { object-fit: cover !important; }

/* Pointer events */
.laqta-theme .pointer-events-none { pointer-events: none !important; }

/* Opacity */
.laqta-theme .opacity-0 { opacity: 0 !important; }
.laqta-theme .opacity-70 { opacity: 0.7 !important; }
.laqta-theme .grayscale { filter: grayscale(100%) !important; }
.laqta-theme .grayscale-0 { filter: grayscale(0%) !important; }
.laqta-theme .hover\:grayscale-0:hover { filter: grayscale(0%) !important; }

/* Blur */
.laqta-theme .blur-\[100px\] { filter: blur(100px) !important; }
.laqta-theme .blur-\[150px\] { filter: blur(150px) !important; }
.laqta-theme .backdrop-blur-sm { backdrop-filter: blur(4px) !important; }
.laqta-theme .backdrop-blur-md { backdrop-filter: blur(12px) !important; }
.laqta-theme .backdrop-blur-xl { backdrop-filter: blur(24px) !important; }

/* ----- Ensure Lucide Icons Display ----- */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}

/* ----- Fix for Dark Mode Toggle ----- */
.dark {
  color-scheme: dark;
}

/* ----- Landing Page Hero Gradient ----- */
.hero-gradient-overlay {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(248, 250, 252, 0.5) 50%,
    rgb(248, 250, 252) 100%
  );
}

.dark .hero-gradient-overlay {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 15, 26, 0.5) 50%,
    rgb(10, 15, 26) 100%
  );
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ============================================ */

/* Base mobile grid - all grids should be single column on mobile */
@media (max-width: 767px) {
  .laqta-theme .grid,
  body.laqta-theme .grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .laqta-theme .lg\:grid-cols-11,
  .laqta-theme .lg\:grid-cols-12,
  .laqta-theme .lg\:grid-cols-7,
  .laqta-theme .lg\:grid-cols-5 {
    grid-template-columns: 1fr !important;
  }

  .laqta-theme .lg\:col-span-5,
  .laqta-theme .lg\:col-span-7,
  .laqta-theme .lg\:col-span-11,
  .laqta-theme .lg\:col-span-1 {
    grid-column: span 1 !important;
  }

  /* Hero Section mobile */
  .laqta-theme h1 {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }

  .laqta-theme .text-5xl {
    font-size: 2.25rem !important;
  }

  .laqta-theme .text-4xl {
    font-size: 1.875rem !important;
  }

  .laqta-theme .text-3xl {
    font-size: 1.5rem !important;
  }

  /* Trust signals - stack on mobile */
  .laqta-theme .flex-wrap {
    flex-wrap: wrap !important;
  }

  .laqta-theme .gap-x-8 {
    gap: 1rem !important;
  }

  /* Showcase tabs - scrollable on mobile */
  .laqta-theme .inline-flex.p-2 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .laqta-theme .showcase-tab {
    flex-shrink: 0;
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
  }

  /* Sections padding */
  .laqta-theme section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .laqta-theme .py-24 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .laqta-theme .py-32 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .laqta-theme .pt-32 {
    padding-top: 6rem !important;
  }

  /* Feature items stack on mobile */
  .laqta-theme .feature-item {
    padding: 1.5rem !important;
  }

  .laqta-theme .feature-item .flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .laqta-theme .feature-item .text-start {
    text-align: center !important;
  }

  /* Process arrow - vertical on mobile */
  .laqta-theme .lg\:col-span-1 {
    order: 0;
    padding: 1rem 0 !important;
  }

  /* How it works steps */
  .laqta-theme .md\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }

  /* Use cases grid */
  .laqta-theme .use-case-card,
  .laqta-theme .group.rounded-3xl {
    margin-bottom: 1rem;
  }

  /* Testimonials - single column */
  .laqta-theme .lg\:grid-cols-3.gap-8 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* FAQ section */
  .laqta-theme .faq-item {
    padding: 1rem !important;
  }

  /* Pricing cards */
  .laqta-theme .lg\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }

  /* CTA section */
  .laqta-theme .cta-section .flex {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  /* Max width adjustments */
  .laqta-theme .max-w-7xl,
  .laqta-theme .max-w-6xl,
  .laqta-theme .max-w-5xl,
  .laqta-theme .max-w-4xl,
  .laqta-theme .max-w-3xl {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Hide decorative elements on mobile */
  .laqta-theme .hidden.md\:block {
    display: none !important;
  }

  /* Partners marquee */
  .laqta-theme .gap-16 {
    gap: 2rem !important;
  }

  .laqta-theme .text-2xl.font-black {
    font-size: 1rem !important;
  }

  /* Image aspect ratios on mobile */
  .laqta-theme .aspect-\[4\/5\] {
    aspect-ratio: 1/1 !important;
  }

  /* Footer grid */
  .laqta-theme .laqta-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .laqta-theme .laqta-footer-bottom {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }

  .laqta-theme .laqta-footer-links {
    justify-content: center !important;
  }
}

/* Tablet responsive (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .laqta-theme .lg\:grid-cols-11,
  .laqta-theme .lg\:grid-cols-12 {
    grid-template-columns: 1fr !important;
  }

  .laqta-theme .lg\:col-span-5,
  .laqta-theme .lg\:col-span-7 {
    grid-column: span 1 !important;
  }

  .laqta-theme h1 {
    font-size: 3.5rem !important;
  }

  .laqta-theme .text-7xl {
    font-size: 3.5rem !important;
  }

  .laqta-theme .md\:text-7xl {
    font-size: 3.5rem !important;
  }
}

/* Desktop 1024px+ */
@media (min-width: 1024px) {
  .laqta-theme .lg\:grid-cols-11 {
    grid-template-columns: repeat(11, minmax(0, 1fr)) !important;
  }

  .laqta-theme .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  .laqta-theme .lg\:col-span-5 {
    grid-column: span 5 !important;
  }

  .laqta-theme .lg\:col-span-7 {
    grid-column: span 7 !important;
  }

  .laqta-theme .lg\:col-span-1 {
    grid-column: span 1 !important;
  }

  .laqta-theme .lg\:pt-48 {
    padding-top: 12rem !important;
  }

  .laqta-theme .lg\:pb-32 {
    padding-bottom: 8rem !important;
  }

  .laqta-theme .lg\:text-8xl {
    font-size: 6rem !important;
  }
}

/* Flexbox responsive utilities */
@media (max-width: 639px) {
  .laqta-theme .sm\:flex-row {
    flex-direction: column !important;
  }

  .laqta-theme .sm\:w-auto {
    width: 100% !important;
  }
}

@media (min-width: 640px) {
  .laqta-theme .sm\:flex-row {
    flex-direction: row !important;
  }

  .laqta-theme .sm\:w-auto {
    width: auto !important;
  }

  .laqta-theme .sm\:px-6 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* Hidden utilities */
.laqta-theme .hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .laqta-theme .md\:block {
    display: block !important;
  }

  .laqta-theme .md\:flex {
    display: flex !important;
  }

  .laqta-theme .md\:inline-flex {
    display: inline-flex !important;
  }

  .laqta-theme .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .laqta-theme .lg\:block {
    display: block !important;
  }

  .laqta-theme .lg\:hidden {
    display: none !important;
  }

  .laqta-theme .lg\:flex {
    display: flex !important;
  }
}

/* Break utilities */
.laqta-theme .break-words {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Line clamp for text truncation */
.laqta-theme .line-clamp-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.laqta-theme .line-clamp-3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* ----- Upload Zone / Drag & Drop ----- */
.upload-zone {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-zone:hover {
  border-color: var(--laqta-primary-500);
  background: rgba(59, 130, 246, 0.05);
}

.upload-zone:active {
  transform: scale(0.98);
}

.upload-zone.dragover {
  border-color: var(--laqta-primary-500);
  background: rgba(59, 130, 246, 0.1);
  border-style: solid;
}

.upload-zone .upload-zone-content {
  width: 100%;
}

.dark .upload-zone {
  background: var(--laqta-slate-800);
  border-color: var(--laqta-slate-600);
}

.dark .upload-zone:hover {
  border-color: var(--laqta-primary-500);
  background: rgba(59, 130, 246, 0.1);
}

.dark .upload-zone.dragover {
  border-color: var(--laqta-primary-500);
  background: rgba(59, 130, 246, 0.15);
}

.dark .upload-zone p {
  color: var(--laqta-slate-300);
}

.dark .upload-zone .text-muted {
  color: var(--laqta-slate-400) !important;
}

/* =============================================================
 * BOOTSTRAP DARK vs TAILWIND CONFLICT OVERRIDES
 * -------------------------------------------------------------
 * Bootstrap dark CSS aggressively overrides Tailwind utility
 * classes that share the same name:
 *
 *   .text-white { color: #131416 !important }  — inverts to near-black
 *   .bg-white   { background: #131416 !important } — inverts to near-black
 *
 * Tailwind's dark: variants have no !important and always lose.
 * The rules below restore the correct Tailwind values in dark mode.
 * ============================================================= */

/* 1. Restore .text-white to actual white.
 *    Bootstrap dark inverts it to near-black (#131416), breaking all
 *    buttons, icons, and headings on coloured backgrounds. */
.dark .text-white {
  color: #ffffff !important;
}

/* 2. Restore .bg-white elements to a dark background.
 *    Most inner-page elements pair bg-white with dark:bg-slate-800,
 *    so slate-800 (#1e293b) is the correct default dark value.
 *    More-specific overrides below handle elements that want slate-900. */
.dark .bg-white {
  background-color: #1e293b !important; /* slate-800 */
}

/* 3. Exceptions — elements whose dark:bg-* differs from slate-900 */

/* Showcase section active tab: container is slate-800, active tab should
 * appear lighter (slate-700 = #334155) so it reads as "selected". */
.dark .showcase-tab.bg-white {
  background-color: #334155 !important; /* slate-700 */
}

/* =============================================================
 * BOOTSTRAP MODAL DARK MODE OVERRIDES
 * -------------------------------------------------------------
 * Bootstrap dark CSS converts .modal-content background to #131416.
 * Product modals use inline style="color: #..." for text — these are
 * NOT class-based, so Bootstrap dark and Tailwind dark: can't touch them.
 * Author-sheet !important beats inline styles (without !important).
 * ============================================================= */

/* Dark text inline colors → readable light values */
.dark .modal-content [style*="color: #111827"],
.dark .modal-content [style*="color:#111827"],
.dark .modal-content [style*="color: #1f2937"],
.dark .modal-content [style*="color:#1f2937"],
.dark .modal-content [style*="color: #1a1a1a"],
.dark .modal-content [style*="color:#1a1a1a"] {
  color: #f1f5f9 !important;
}

.dark .modal-content [style*="color: #374151"],
.dark .modal-content [style*="color:#374151"] {
  color: #e2e8f0 !important;
}

/* Hardcoded light backgrounds inside modals → dark slate */
.dark .modal-content [style*="background: #f9fafb"],
.dark .modal-content [style*="background:#f9fafb"],
.dark .modal-content [style*="background: #f3f4f6"],
.dark .modal-content [style*="background:#f3f4f6"],
.dark .modal-content [style*="background: #f8f9fa"],
.dark .modal-content [style*="background:#f8f9fa"] {
  background-color: #0f172a !important; /* slate-950 */
  border-color: #334155 !important;     /* slate-700 */
}

/* White inline backgrounds inside modals */
.dark .modal-content [style*="background: white"],
.dark .modal-content [style*="background:white"],
.dark .modal-content [style*="background-color: white"],
.dark .modal-content [style*="background-color:white"] {
  background-color: #1e293b !important; /* slate-800 */
  border-color: #334155 !important;
}

/* Input fields in product add/update modals */
.dark .add-modal-input {
  background-color: #1e293b;
  border-color: #475569;
  color: #f1f5f9;
}

/* =============================================================
   GLOBAL BOOTSTRAP DARK MODE OVERRIDES
   Covers: resend-activation, pay-billing, pay-thank-you,
   credits/index, credit-purchase/callback, pagination
   ============================================================= */

/* Bootstrap form-control */
.dark .form-control {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}
.dark .form-control:focus {
    background-color: #0f172a !important;
    border-color: #6366f1 !important;
    color: #f1f5f9 !important;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25) !important;
}
.dark .form-control::placeholder {
    color: #64748b !important;
}
.dark select.form-control option {
    background-color: #1e293b;
    color: #f1f5f9;
}

/* Bootstrap card */
.dark .card {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
.dark .card-header {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}
.dark .card-header.bg-white {
    background-color: #0f172a !important;
}
.dark .card-body {
    background-color: #1e293b !important;
    color: #e2e8f0 !important;
}
.dark .card-title {
    color: #f1f5f9 !important;
}

/* Bootstrap alerts */
.dark .alert-info {
    background-color: rgba(14, 116, 144, 0.2) !important;
    border-color: #0e7490 !important;
    color: #a5f3fc !important;
}
.dark .alert-danger {
    background-color: rgba(127, 29, 29, 0.3) !important;
    border-color: #991b1b !important;
    color: #fca5a5 !important;
}
.dark .alert-warning {
    background-color: rgba(120, 53, 15, 0.3) !important;
    border-color: #92400e !important;
    color: #fcd34d !important;
}
.dark .alert-success {
    background-color: rgba(6, 78, 59, 0.3) !important;
    border-color: #0f766e !important;
    color: #86efac !important;
}
.dark .alert a {
    color: inherit !important;
    text-decoration: underline;
}

/* Bootstrap badges */
.dark .badge-success {
    background-color: #065f46 !important;
    color: #86efac !important;
}
.dark .badge-warning {
    background-color: #78350f !important;
    color: #fcd34d !important;
}
.dark .badge-info {
    background-color: #164e63 !important;
    color: #a5f3fc !important;
}
.dark .badge-primary {
    background-color: #1e3a8a !important;
    color: #bfdbfe !important;
}
.dark .badge-danger {
    background-color: #7f1d1d !important;
    color: #fca5a5 !important;
}

/* text-muted global */
.dark .text-muted {
    color: #94a3b8 !important;
}
.dark small.text-muted,
.dark a.text-muted {
    color: #94a3b8 !important;
}

/* Bootstrap pagination */
.dark .pagination .page-link {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}
.dark .pagination .page-link:hover {
    background-color: #334155 !important;
    color: #f1f5f9 !important;
}
.dark .pagination .page-item.active .page-link {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #fff !important;
}
.dark .pagination .page-item.disabled .page-link {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
    color: #475569 !important;
}

/* Bootstrap button outlines */
.dark .btn-outline-primary {
    color: #93c5fd !important;
    border-color: #3b82f6 !important;
}
.dark .btn-outline-primary:hover {
    background-color: #3b82f6 !important;
    color: #fff !important;
}
.dark .btn-outline-secondary {
    color: #94a3b8 !important;
    border-color: #475569 !important;
}
.dark .btn-outline-secondary:hover {
    background-color: #334155 !important;
    color: #f1f5f9 !important;
    border-color: #64748b !important;
}

/* Debug card warning header (callback.php) */
.dark .card-header.bg-warning {
    background-color: #78350f !important;
    color: #fef3c7 !important;
}
.dark .border-warning {
    border-color: #92400e !important;
}

/* Breadcrumbs (pay-billing) */
.dark .custom-breadcrumbs,
.dark .breadcrumb {
    background-color: transparent !important;
}
.dark .custom-breadcrumbs a,
.dark .breadcrumb-item a {
    color: #93c5fd !important;
}
.dark .custom-breadcrumbs .active,
.dark .breadcrumb-item.active {
    color: #94a3b8 !important;
}

/* Announcements bar — admin-set colors via inline styles are unknown,
   so use brightness filter to ensure the bar is darker in dark mode */
.dark #announcements {
    filter: brightness(0.7) !important;
}
.dark #announcements * {
    filter: brightness(1.45) !important;
}
