/* MarkAvla Dark Theme Overrides (html.dark-theme) */

html.dark-theme body,
body.dark-theme {
  background-color: #0A0E17 !important;
  color: #F1F5F9 !important;
}

html.dark-theme ::-webkit-scrollbar-track {
  background: #0A0E17;
}
html.dark-theme ::-webkit-scrollbar-thumb {
  background: #1E2638;
}

/* Navbar */
html.dark-theme #main-navbar {
  background-color: rgba(10, 14, 23, 0.88) !important;
  border-color: #1E2638 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

html.dark-theme #main-navbar nav a,
html.dark-theme #mobile-menu a {
  color: #CBD5E1 !important;
}

html.dark-theme #main-navbar nav a:hover,
html.dark-theme #mobile-menu a:hover {
  color: #FF6B00 !important;
  background-color: rgba(19, 25, 38, 0.6);
}

html.dark-theme #mobile-menu {
  background-color: #0D121E !important;
  border-color: #1E2638 !important;
}

html.dark-theme #mobile-menu-toggle {
  color: #CBD5E1 !important;
}

html.dark-theme .mv-theme-toggle-btn {
  background-color: #131926 !important;
  border-color: #1E2638 !important;
  color: #E2E8F0 !important;
}

html.dark-theme .mv-theme-toggle-btn:hover {
  background-color: #1A2234 !important;
}

/* Ambient Glows & Grid */
html.dark-theme .light-glow-orange {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0) 70%);
  filter: blur(60px);
}

html.dark-theme .light-glow-navy {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 70%);
  filter: blur(50px);
}

html.dark-theme .bg-grid-pattern-light {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
}

/* Sections */
html.dark-theme .mv-section-surface {
  background-color: #0D121E !important;
  border-color: #1E2638 !important;
}

html.dark-theme .mv-section-base {
  background-color: #0A0E17 !important;
  border-color: #1E2638 !important;
}

/* Cards */
html.dark-theme .light-card {
  background: rgba(19, 25, 38, 0.78) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
}

html.dark-theme .light-card:hover {
  border-color: rgba(255, 107, 0, 0.35) !important;
  box-shadow: 0 12px 30px -10px rgba(255, 107, 0, 0.15) !important;
}

html.dark-theme .light-card-static {
  background: rgba(19, 25, 38, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #CBD5E1 !important;
}

html.dark-theme .mv-surface-card {
  background-color: #131926 !important;
  border-color: #1E2638 !important;
}

html.dark-theme .mv-floating-badge {
  background: rgba(19, 25, 38, 0.88) !important;
  backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Headings & Text */
html.dark-theme .mv-heading,
html.dark-theme .light-card-static h1,
html.dark-theme .light-card-static h2,
html.dark-theme .light-card-static h3,
html.dark-theme .light-card-static h4,
html.dark-theme .light-card h3,
html.dark-theme .light-card h4 {
  color: #FFFFFF !important;
}

html.dark-theme .mv-text {
  color: #CBD5E1 !important;
}

html.dark-theme .mv-muted {
  color: #94A3B8 !important;
}

html.dark-theme .mv-divider {
  border-color: #1E2638 !important;
}

/* Badges & Pills */
html.dark-theme .mv-pill-orange {
  background-color: rgba(255, 107, 0, 0.12) !important;
  border-color: rgba(255, 107, 0, 0.25) !important;
  color: #FF8533 !important;
}

html.dark-theme .mv-pill-amber {
  background-color: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
  color: #F59E0B !important;
}

html.dark-theme .mv-pill-emerald {
  background-color: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
  color: #34D399 !important;
}

html.dark-theme .mv-pill-blue {
  background-color: rgba(59, 130, 246, 0.12) !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  color: #60A5FA !important;
}

/* Buttons */
html.dark-theme .btn-navy-dark {
  background-color: #131926 !important;
  border: 1px solid #1E2638 !important;
  color: #FFFFFF !important;
}

html.dark-theme .btn-navy-dark:hover {
  background-color: #1A2234 !important;
  border-color: rgba(255, 107, 0, 0.4) !important;
}

/* Phone Mockup & Controls */
html.dark-theme .iphone-frame-light {
  border-color: #252D3D !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 107, 0, 0.2) !important;
}

html.dark-theme .mv-mockup-tabs {
  background-color: #131926 !important;
  border-color: #1E2638 !important;
}

html.dark-theme .mv-mockup-arrow,
html.dark-theme .mv-mockup-caption {
  background-color: rgba(19, 25, 38, 0.95) !important;
  border-color: #2A3A54 !important;
  color: #FFFFFF !important;
}

html.dark-theme .mv-mockup-arrow:hover {
  background-color: #FF6B00 !important;
  border-color: #FF6B00 !important;
}

/* 3D Layered SaaS Package Deck */
html.dark-theme .mv-saas-bg {
  background-color: #0B101D !important;
  border-color: #1E293B !important;
}

html.dark-theme .mv-saas-main {
  background-color: #121927 !important;
  border-color: #2A3A54 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

html.dark-theme .mv-saas-footer {
  background-color: rgba(13, 18, 30, 0.95) !important;
  border-color: #1E2638 !important;
}

/* Forms & Inputs */
html.dark-theme .mv-input,
html.dark-theme .light-card-static input,
html.dark-theme .light-card-static select,
html.dark-theme .light-card-static textarea {
  background-color: #0A0E17 !important;
  border-color: #1E2638 !important;
  color: #FFFFFF !important;
}

html.dark-theme .mv-label,
html.dark-theme .light-card-static label {
  color: #CBD5E1 !important;
}

/* FAQ Accordion */
html.dark-theme .faq-item {
  background: rgba(19, 25, 38, 0.78) !important;
  border-color: #1E2638 !important;
}

html.dark-theme .faq-item .faq-header span {
  color: #FFFFFF !important;
}

html.dark-theme .faq-item .faq-content {
  color: #CBD5E1 !important;
  border-color: rgba(30, 38, 56, 0.7) !important;
}

/* Subpages Hero & Boxes */
html.dark-theme .subpage-hero {
  background: linear-gradient(to bottom, rgba(19, 25, 38, 0.6), transparent) !important;
  border-color: #1E2638 !important;
}

html.dark-theme .subpage-hero h1 {
  color: #FFFFFF !important;
}

html.dark-theme .subpage-hero p {
  color: #94A3B8 !important;
}

html.dark-theme .subpage-box {
  background-color: #0A0E17 !important;
  border-color: #1E2638 !important;
}

html.dark-theme .subpage-box-orange {
  background-color: rgba(255, 107, 0, 0.08) !important;
  border-color: rgba(255, 107, 0, 0.3) !important;
}

/* Social Box & Buttons */
html.dark-theme .mv-social-wrap {
  background: rgba(19, 25, 38, 0.85) !important;
  border-color: #1E2638 !important;
}

html.dark-theme .mv-social-btn {
  background-color: #131926 !important;
  border-color: #1E2638 !important;
  color: #CBD5E1 !important;
}

html.dark-theme .mv-social-btn .mv-social-name {
  color: #FFFFFF !important;
}

html.dark-theme .mv-social-btn .mv-social-handle {
  color: #94A3B8 !important;
}

/* Footer */
html.dark-theme footer {
  background-color: #070A10 !important;
  border-color: #1E2638 !important;
}
