/* ============================================================
   HostMeerkat — Light / Dark Mode
   Link after all other stylesheets in <head>.
   Toggle by adding/removing class "light-mode" on <html> or <body>.
   Default = dark  |  .light-mode = light
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ─────────────────────────────────── */

/* DARK (default — matches the existing site design) */
/* Force the navbar to sit on top of the page content */
#fixedR.navbar {
  position: relative; 
  z-index: 9999 !important;
}

/* Force the dropdown menus to sit on top of everything */
.navbar .dropdown-menu {
  z-index: 10000 !important;
}
:root {
  --bg-page:           #030712;
  --bg-primary:        #06090f;
  --bg-card:           #111827;
  --bg-card-hover:     #162032;
  --bg-nav:            rgba(6, 9, 15, 0.92);
  --bg-sale:           #0d1526;
  --bg-footer:         #030712;
  --bg-footer-bottom:  rgba(0, 0, 0, 0.2);

  --text-primary:      #f8fafc;
  --text-secondary:    #94a3b8;
  --text-muted:        #64748b;
  --text-footer-link:  #64748b;
  --text-copyright:    #475569;

  --border-subtle:     rgba(255, 255, 255, 0.05);
  --border-card:       rgba(255, 255, 255, 0.05);
  --border-card-hover: rgba(47, 134, 255, 0.3);
  --border-nav:        rgba(255, 255, 255, 0.06);

  --sale-text:         #cbd5e1;
  --sale-badge-bg:     rgba(47, 134, 255, 0.15);
  --sale-badge-border: rgba(47, 134, 255, 0.35);

  --nav-link:          rgba(255, 255, 255, 0.75);
  --nav-link-hover:    #ffffff;
  --dropdown-bg:       #111827;
  --dropdown-border:   rgba(255, 255, 255, 0.08);
  --dropdown-hover-bg: rgba(47, 134, 255, 0.12);

  --feature-grid-dot:  rgba(255, 255, 255, 0.06);
  --icon-box-glow:     0.5;

  --pricing-card-bg:   linear-gradient(160deg, #111827 0%, #06090f 100%);
  --pricing-popular-bg: rgba(47, 134, 255, 0.06);

  --migration-card-bg: rgba(255, 255, 255, 0.03);
  --migration-border:  rgba(255, 255, 255, 0.07);

  --faq-bg:            rgba(255, 255, 255, 0.03);
  --faq-border:        rgba(255, 255, 255, 0.07);
  --faq-summary:       #f8fafc;
  --faq-body:          #94a3b8;

  --payment-card-bg:   linear-gradient(160deg, #111827 0%, #06090f 100%);
  --payment-card-hover-bg: linear-gradient(160deg, #162032 0%, #06090f 100%);
  --payment-icon:      #cbd5e1;

  --footer-link-hover: #e2e8f0;
  --footer-heading:    #f8fafc;

  --scrollbar-thumb:   #1e2a45;
  --scrollbar-track:   #030712;
}

/* LIGHT MODE overrides */
body.light-mode,
html.light-mode {
  --bg-page:           #f1f5f9;
  --bg-primary:        #f8fafc;
  --bg-card:           #ffffff;
  --bg-card-hover:     #eff6ff;
  --bg-nav:            rgba(255, 255, 255, 0.95);
  --bg-sale:           #dbeafe;
  --bg-footer:         #1e293b;
  --bg-footer-bottom:  rgba(0, 0, 0, 0.15);

  --text-primary:      #0f172a;
  --text-secondary:    #475569;
  --text-muted:        #64748b;
  --text-footer-link:  #94a3b8;
  --text-copyright:    #94a3b8;

  --border-subtle:     rgba(0, 0, 0, 0.06);
  --border-card:       rgba(0, 0, 0, 0.07);
  --border-card-hover: rgba(47, 134, 255, 0.4);
  --border-nav:        rgba(0, 0, 0, 0.08);

  --sale-text:         #1e3a5f;
  --sale-badge-bg:     rgba(47, 134, 255, 0.1);
  --sale-badge-border: rgba(47, 134, 255, 0.25);

  --nav-link:          #334155;
  --nav-link-hover:    #0f172a;
  --dropdown-bg:       #ffffff;
  --dropdown-border:   rgba(0, 0, 0, 0.08);
  --dropdown-hover-bg: rgba(47, 134, 255, 0.07);

  --feature-grid-dot:  rgba(0, 0, 0, 0.05);
  --icon-box-glow:     0.35;

  --pricing-card-bg:   linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  --pricing-popular-bg: rgba(47, 134, 255, 0.04);

  --migration-card-bg: #ffffff;
  --migration-border:  rgba(0, 0, 0, 0.08);

  --faq-bg:            #ffffff;
  --faq-border:        rgba(0, 0, 0, 0.07);
  --faq-summary:       #0f172a;
  --faq-body:          #475569;

  --payment-card-bg:   linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  --payment-card-hover-bg: linear-gradient(160deg, #eff6ff 0%, #f8fafc 100%);
  --payment-icon:      #475569;

  --footer-link-hover: #f8fafc;
  --footer-heading:    #f8fafc;

  --scrollbar-thumb:   #cbd5e1;
  --scrollbar-track:   #f1f5f9;
}

/* ── BASE ───────────────────────────────────────────────────── */

body {
  background-color: var(--bg-page) !important;
  color: var(--text-primary) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ── SCROLLBAR ──────────────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 3px; }

/* ── SALE BANNER ────────────────────────────────────────────── */

.sale_banner {
  background: var(--bg-sale) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  transition: background 0.3s ease;
}

.sale_banner .sale-l,
.sale_banner .sale-i,
.sale_banner .sale-i span {
  color: var(--sale-text) !important;
}

.sale_banner .sale-r {
  background: var(--sale-badge-bg) !important;
  border: 1px solid var(--sale-badge-border) !important;
  color: var(--sale-text) !important;
  transition: all 0.3s ease;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */

#fixedR {
  background: var(--bg-nav) !important;
  border-bottom: 1px solid var(--border-nav) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s ease;
}

#fixedR .navbar-brand h2 {
  color: var(--text-primary) !important;
}

#fixedR .nav-link {
  color: var(--nav-link) !important;
  transition: color 0.2s ease;
}

#fixedR .nav-link:hover,
#fixedR .nav-link.active {
  color: var(--nav-link-hover) !important;
}

#fixedR .dropdown-menu {
  background: var(--dropdown-bg) !important;
  border: 1px solid var(--dropdown-border) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

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

#fixedR .dropdown-item:hover {
  background: var(--dropdown-hover-bg) !important;
}

#fixedR .dropdown-item span {
  color: var(--text-muted) !important;
}

/* mobile offcanvas */
.offcanvas {
  background: var(--dropdown-bg) !important;
  border-right: 1px solid var(--border-subtle) !important;
}

/* ── HERO / HEADER ──────────────────────────────────────────── */

.header {
  background-color: var(--bg-primary) !important;
  transition: background 0.3s ease;
}

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

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

/* ── FEATURE CARDS ──────────────────────────────────────────── */

.feature-card {
  background: var(--pricing-card-bg) !important;
  border: 1px solid var(--border-card) !important;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-card:hover {
  background: var(--bg-card-hover) !important;
  border-color: var(--border-card-hover) !important;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15), 0 0 40px rgba(47, 134, 255, 0.1) !important;
}

.feature-card::after {
  background-image: radial-gradient(var(--feature-grid-dot) 1px, transparent 1px) !important;
}

.feature-title {
  color: var(--text-primary) !important;
}

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

/* ── PRICING SECTION ────────────────────────────────────────── */

.hmk-pricing-section {
  background-color: var(--bg-primary) !important;
  border-color: var(--border-subtle) !important;
}

.hmk-pricing-title {
  color: var(--text-primary) !important;
}

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

/* toggle pill */
.hmk-toggle-wrap {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
}

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

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

/* pricing cards */
.hmk-price-card {
  background: var(--pricing-card-bg) !important;
  border: 1px solid var(--border-card) !important;
  transition: all 0.4s ease;
}

.hmk-price-card:hover {
  border-color: var(--border-card-hover) !important;
}

.hmk-popular-card {
  background: var(--pricing-popular-bg) !important;
}

.hmk-plan-name {
  color: var(--text-primary) !important;
}

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

.hmk-price {
  color: var(--text-primary) !important;
}

.hmk-price-small {
  color: var(--text-muted) !important;
}

.hmk-year-text {
  color: var(--text-muted) !important;
}

.hmk-divider {
  border-color: var(--border-subtle) !important;
}

.hmk-feature-title {
  color: var(--text-muted) !important;
}

.hmk-feature-list li {
  color: var(--text-secondary) !important;
}

.hmk-mini-tags span {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-muted) !important;
}

/* ── MIGRATION SECTION ──────────────────────────────────────── */

.hmk-migration-section {
  background-color: var(--bg-page) !important;
}

.hmk-migration-title {
  color: var(--text-primary) !important;
}

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

.hmk-migration-card {
  background: var(--migration-card-bg) !important;
  border: 1px solid var(--migration-border) !important;
  transition: all 0.3s ease;
}

.hmk-migration-card h3 {
  color: var(--text-primary) !important;
}

.hmk-migration-card p {
  color: var(--text-secondary) !important;
}

/* ── FAQ SECTION ────────────────────────────────────────────── */

.hmk-faq-section {
  background-color: var(--bg-primary) !important;
}

.hmk-faq-title {
  color: var(--text-primary) !important;
}

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

.hmk-faq-item {
  background: var(--faq-bg) !important;
  border: 1px solid var(--faq-border) !important;
  transition: background 0.3s ease, border 0.3s ease;
}

.hmk-faq-item summary {
  color: var(--faq-summary) !important;
}

.hmk-faq-item p {
  color: var(--faq-body) !important;
}

.hmk-faq-help-card {
  background: var(--faq-bg) !important;
  border: 1px solid var(--faq-border) !important;
}

.hmk-faq-help-card h3 {
  color: var(--text-primary) !important;
}

.hmk-faq-help-card p {
  color: var(--text-secondary) !important;
}

/* ── PAYMENT SECTION ────────────────────────────────────────── */

.hmk-payment-section {
  background: var(--bg-page) !important;
  border-color: var(--border-subtle) !important;
}

.hmk-payment-title {
  color: var(--text-primary) !important;
}

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

.hmk-payment-card {
  background: var(--payment-card-bg) !important;
  border: 1px solid var(--border-card) !important;
  color: var(--text-secondary) !important;
  transition: all 0.4s ease;
}

.hmk-payment-card i {
  color: var(--payment-icon) !important;
  transition: color 0.3s ease;
}

.hmk-payment-card:hover {
  background: var(--payment-card-hover-bg) !important;
  border-color: var(--border-card-hover) !important;
  color: var(--text-primary) !important;
}

.hmk-payment-card:hover i {
  color: #2f86ff !important;
}

/* ── FOOTER ─────────────────────────────────────────────────── */

.footer-wrap {
  background: var(--bg-footer) !important;
}

.footer_links h4 {
  color: var(--footer-heading) !important;
}

.footer_links ul li a {
  color: var(--text-footer-link) !important;
}

.footer_links ul li a:hover {
  color: var(--footer-link-hover) !important;
}

.footer_about p {
  color: var(--text-footer-link) !important;
}

.footer_bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: var(--bg-footer-bottom) !important;
}

.footer_bottom p {
  color: var(--text-copyright) !important;
}

/* ── SECTION KICKER ─────────────────────────────────────────── */

.hmk-section-kicker {
  color: #2f86ff !important;
}

/* ── GENERAL TYPOGRAPHY ─────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

/* ── FORCED HEADING VISIBILITY ──────────────────────────────── */
/* High-specificity selectors to beat hardcoded colors in       */
/* main.css / style.css / customize.css and the inline <style>  */

body .hmk-pricing-title,
body .hmk-faq-title,
body .hmk-migration-title,
body .hmk-payment-title,
body .hmk-plan-name,
body .feature-title,
html body .hmk-pricing-title,
html body .hmk-faq-title,
html body .hmk-migration-title,
html body .hmk-payment-title,
html body .hmk-plan-name,
html body .feature-title,
html body .header_h2,
html body .hmk-section-copy h2,
html body .hmk-migration-card h3,
html body .hmk-faq-help-card h3,
html body .footer_links h4 {
  color: var(--text-primary) !important;
  opacity: 1 !important;
}

body .hmk-pricing-subtitle,
body .hmk-faq-subtitle,
body .hmk-migration-subtitle,
body .hmk-payment-subtitle,
body .hmk-plan-text,
body .feature-text,
body .header_p,
body .hmk-migration-card p,
body .hmk-faq-help-card p,
body .hmk-year-text {
  color: var(--text-secondary) !important;
  opacity: 1 !important;
}

/* Explicit light-mode values — html + body prefix beats equal-specificity
   rules with color:#ffffff that load after this file in customize.css      */
html body.light-mode .hmk-pricing-title,
html body.light-mode .hmk-faq-title,
html body.light-mode .hmk-migration-title,
html body.light-mode .hmk-payment-title,
html body.light-mode .hmk-plan-name,
html body.light-mode .feature-title,
html body.light-mode .header_h2,
html body.light-mode .hmk-section-copy h2,
html body.light-mode .hmk-migration-card h3,
html body.light-mode .hmk-faq-help-card h3,
html body.light-mode .footer_links h4 {
  color: #0f172a !important;
}

body.light-mode .hmk-pricing-subtitle,
body.light-mode .hmk-faq-subtitle,
body.light-mode .hmk-migration-subtitle,
body.light-mode .hmk-payment-subtitle,
body.light-mode .hmk-plan-text,
body.light-mode .feature-text,
body.light-mode .header_p,
body.light-mode .hmk-migration-card p,
body.light-mode .hmk-faq-help-card p,
body.light-mode .hmk-year-text {
  color: #475569 !important;
}

/* ── LIGHT MODE: hero animation SVG ambient ellipses ────────── */

body.light-mode .amb {
  opacity: 0.18 !important;
}

body.light-mode .ha-glow-1,
body.light-mode .ha-glow-2,
body.light-mode .ha-glow-3 {
  opacity: 0.25 !important;
}

/* ── THEME TOGGLE — pill switch ─────────────────────────────── */

#theme-toggle {
  position: relative;
  width: 54px;
  height: 28px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2);
  transition: background 0.35s ease, box-shadow 0.35s ease;
  margin-left: 10px;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}

/* knob */
#theme-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* icons inside track */
#theme-toggle .icon-dark,
#theme-toggle .icon-light {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  line-height: 1;
  transition: opacity 0.2s ease;
  z-index: 0;
  pointer-events: none;
}

#theme-toggle .icon-dark  { right: 5px; color: rgba(255,255,255,0.75); opacity: 1; }
#theme-toggle .icon-light { left: 5px;  color: #f59e0b; opacity: 0; }

/* light mode — knob slides right, track turns blue */
body.light-mode #theme-toggle {
  background: #2f86ff;
  box-shadow: inset 0 0 0 1.5px rgba(47,134,255,0.5),
              0 3px 10px rgba(47,134,255,0.3);
}

body.light-mode #theme-toggle::before {
  transform: translateX(26px);
}

body.light-mode #theme-toggle .icon-dark  { opacity: 0; }
body.light-mode #theme-toggle .icon-light { opacity: 1; }

/* hover */
#theme-toggle:hover {
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35),
              0 0 0 3px rgba(255,255,255,0.07);
}

body.light-mode #theme-toggle:hover {
  box-shadow: inset 0 0 0 1.5px rgba(47,134,255,0.6),
              0 0 0 3px rgba(47,134,255,0.12);
}

/* ── NAVBAR alignment ───────────────────────────────────────── */

/* desktop: toggle sits inline with login, vertically centred */
.navbar-nav .button {
  display: flex;
  align-items: center;
}

.navbar-nav #theme-toggle,
.offcanvas-body #theme-toggle {
  align-self: center;
  margin-top: 0;
}

/* mobile offcanvas: toggle on its own row with top spacing */
@media (max-width: 991px) {
  #theme-toggle {
    margin-left: 0;
    margin-top: 14px;
    display: flex;
  }

  .navbar-nav .button,
  .offcanvas-body .button {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── TRANSITION SMOOTHING ───────────────────────────────────── */

.feature-card,
.hmk-price-card,
.hmk-payment-card,
.hmk-migration-card,
.hmk-faq-item,
#fixedR,
.footer-wrap,
.sale_banner {
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* ── DARK MODE: headings hardcoded #ffffff in customize.css ─────
   These are invisible on dark backgrounds because the section bg
   is very close to white. Force a visible light value.
   Using #hosting-faq id + section tag for maximum specificity.   */

section.hmk-faq-section .hmk-faq-title,
#hosting-faq .hmk-faq-title,
section.hmk-migration-section .hmk-migration-title,
#free-migration .hmk-migration-title,
section.hmk-payment-section .hmk-payment-title,
#payment-methods .hmk-payment-title {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
}

section.hmk-pricing-section .hmk-pricing-title,
#pricing .hmk-pricing-title {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
}

section.hmk-migration-section .hmk-migration-title,
#free-migration .hmk-migration-title {
  color: #f1f5f9 !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

section.hmk-payment-section .hmk-payment-title,
#payment-methods .hmk-payment-title {
  color: #f1f5f9 !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

/* ── LIGHT MODE: same selectors → dark text, no gradient ─────── */

body.light-mode section.hmk-faq-section .hmk-faq-title,
body.light-mode #hosting-faq .hmk-faq-title,
body.light-mode section.hmk-pricing-section .hmk-pricing-title,
body.light-mode #pricing .hmk-pricing-title,
body.light-mode section.hmk-migration-section .hmk-migration-title,
body.light-mode #free-migration .hmk-migration-title,
body.light-mode section.hmk-payment-section .hmk-payment-title,
body.light-mode #payment-methods .hmk-payment-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: none !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}
}

/* ============================================================
   COMPLETE LIGHT MODE — section & card background overrides
   These target hardcoded dark backgrounds from customize.css
   using body.light-mode prefix for guaranteed specificity
   ============================================================ */

/* ── PAGE & SECTIONS ─────────────────────────────────────────── */

body.light-mode {
  background-color: #f1f5f9 !important;
}

body.light-mode .header {
  background: #ffffff !important;
}

body.light-mode .hmk-pricing-section {
  background: #f1f5f9 !important;
  background-image: none !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
}

body.light-mode .hmk-faq-section {
  background: #f1f5f9 !important;
  background-image: none !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
}

body.light-mode .hmk-migration-section {
  background: #ffffff !important;
  background-image: none !important;
}

body.light-mode .hmk-payment-section {
  background: #f8fafc !important;
  background-image: none !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

/* ── PRICING CARDS ───────────────────────────────────────────── */

body.light-mode .hmk-price-card {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07) !important;
  color: #0f172a !important;
}

body.light-mode .hmk-popular-card,
body.light-mode .hmk-card-blue {
  background: #ffffff !important;
  border: 2px solid #2f86ff !important;
}

body.light-mode .hmk-card-purple,
body.light-mode .hmk-card-orange {
  background: #ffffff !important;
}

body.light-mode .hmk-price-card:hover {
  box-shadow: 0 12px 40px rgba(47,134,255,0.15) !important;
  border-color: rgba(47,134,255,0.4) !important;
}

body.light-mode .hmk-plan-name {
  color: #0f172a !important;
}

body.light-mode .hmk-plan-text {
  color: #64748b !important;
}

body.light-mode .hmk-price {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .hmk-price-small {
  color: #64748b !important;
}

body.light-mode .hmk-year-text {
  color: #64748b !important;
}

body.light-mode .hmk-divider {
  border-color: rgba(0,0,0,0.08) !important;
}

body.light-mode .hmk-feature-title {
  color: #94a3b8 !important;
}

body.light-mode .hmk-feature-list li {
  color: #334155 !important;
}

body.light-mode .hmk-mini-tags span {
  background: #f1f5f9 !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  color: #475569 !important;
}

/* ── PRICING TOGGLE ──────────────────────────────────────────── */

body.light-mode .hmk-toggle-wrap {
  background: #e2e8f0 !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}

body.light-mode .hmk-toggle-btn {
  color: #475569 !important;
}

body.light-mode .hmk-toggle-btn.active {
  color: #ffffff !important;
}

/* ── FEATURE CARDS ───────────────────────────────────────────── */

body.light-mode .feature-card {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07) !important;
}

body.light-mode .feature-card:hover {
  background: #f0f7ff !important;
  box-shadow: 0 12px 40px rgba(47,134,255,0.12) !important;
}

body.light-mode .feature-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .feature-text {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

/* ── MIGRATION CARDS ─────────────────────────────────────────── */

body.light-mode .hmk-migration-card {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important;
}

body.light-mode .hmk-migration-card h3 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .hmk-migration-card p {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

/* ── FAQ ─────────────────────────────────────────────────────── */

body.light-mode .hmk-faq-item {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}

body.light-mode .hmk-faq-item summary {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .hmk-faq-item p {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

body.light-mode .hmk-faq-help-card {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important;
}

body.light-mode .hmk-faq-help-card h3 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .hmk-faq-help-card p {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

/* ── PAYMENT CARDS ───────────────────────────────────────────── */

body.light-mode .hmk-payment-card {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important;
  backdrop-filter: none !important;
}

body.light-mode .hmk-payment-card i {
  color: #2f86ff !important;
  filter: none !important;
}

body.light-mode .hmk-payment-card span {
  color: #334155 !important;
}

body.light-mode .hmk-payment-card:hover {
  background: #f0f7ff !important;
  border-color: rgba(47,134,255,0.35) !important;
  box-shadow: 0 10px 30px rgba(47,134,255,0.12) !important;
}

body.light-mode .hmk-payment-card-highlight {
  background: #f0fdf4 !important;
  border-color: rgba(34,208,126,0.3) !important;
}

body.light-mode .hmk-payment-card-highlight i {
  color: #16a34a !important;
}

/* ── NAVBAR (light) ──────────────────────────────────────────── */

body.light-mode #fixedR {
  background: rgba(255,255,255,0.97) !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important;
}

body.light-mode .navbar-nav .nav-link {
  color: #334155 !important;
}

body.light-mode .navbar-nav .nav-link:hover,
body.light-mode .navbar-nav .nav-link.active {
  color: #0f172a !important;
  background: rgba(47,134,255,0.08) !important;
}

body.light-mode .navbar-brand h2 {
  color: #0f172a !important;
}

body.light-mode .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
}

body.light-mode .dropdown-item {
  color: #0f172a !important;
}

body.light-mode .dropdown-item span {
  color: #64748b !important;
}

body.light-mode .offcanvas {
  background: #ffffff !important;
}

/* ── MISC TEXT ───────────────────────────────────────────────── */

body.light-mode .hmk-pricing-subtitle,
body.light-mode .hmk-faq-subtitle,
body.light-mode .hmk-migration-subtitle,
body.light-mode .hmk-payment-subtitle {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

body.light-mode .hmk-section-kicker {
  color: #1d6fd6 !important;
  background: rgba(47,134,255,0.08) !important;
  border-color: rgba(47,134,255,0.25) !important;
}

body.light-mode .hmk-section-kicker::before {
  background: #2f86ff !important;
  box-shadow: none !important;
}

/* ── OBJECT / BACKGROUND VECTOR ──────────────────────────────── */

body.light-mode .object_1 {
  opacity: 0.06 !important;
}


/* ── LIGHT MODE: hero floating cards ─────────────────────────── */

body.light-mode .hp-card {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(0, 0, 0, 0.10) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(16px) !important;
}

body.light-mode .hp-card .tx b,
body.light-mode .hp-card .tx b * {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .hp-card .tx span {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

body.light-mode .hp-gauge .g-num {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .hp-pill {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(0, 0, 0, 0.10) !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

/* ── LIGHT MODE: mobile hamburger toggler ────────────────────── */

body.light-mode .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f172a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

body.light-mode .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.2) !important;
}

/* ── LIGHT MODE: footer full white ──────────────────────────── */

body.light-mode .footer-wrap {
  background: #ffffff !important;
}

body.light-mode .footer-horizon {
  background: linear-gradient(90deg, transparent, rgba(47, 134, 255, 0.3), rgba(139, 92, 246, 0.3), transparent) !important;
  box-shadow: none !important;
}

body.light-mode .footer_links h4 {
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8 !important;
}

body.light-mode .footer_links ul li a {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

body.light-mode .footer_links ul li a:hover {
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8 !important;
  text-shadow: none !important;
}

body.light-mode .footer_about h2 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

body.light-mode .footer_about h2 span {
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
}

body.light-mode .footer_about p {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

body.light-mode .footer-status {
  background: rgba(34, 208, 126, 0.08) !important;
  border-color: rgba(34, 208, 126, 0.25) !important;
  color: #15803d !important;
}

body.light-mode .footer_bottom {
  background: #f1f5f9 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.07) !important;
}

body.light-mode .footer_bottom p {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

body.light-mode .footer_bottom img {
  opacity: 0.7 !important;
  filter: invert(1) !important;
}





























































































/* Fix LOGIN dropdown inside mobile offcanvas */
@media (max-width: 991.98px) {

    .offcanvas .dropdown {
        width: 100%;
    }

    .offcanvas .dropdown-menu {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        width: 100%;
        min-width: 100%;
        margin-top: 10px;
        float: none;
    }

    .offcanvas .button,
    .offcanvas .btn.dropdown-toggle {
        width: 100%;
    }

    .offcanvas .dropdown-menu-end {
        right: auto !important;
        left: 0 !important;
    }
}



/* integrated legal footer polish */
.footer_links ul,
.footer_links ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.footer_links li {
  list-style: none !important;
  margin: 0 0 9px 0 !important;
  padding-left: 0 !important;
}
.footer_links li::before,
.footer_links li::marker {
  content: "" !important;
  display: none !important;
}
.footer_links a {
  text-decoration: none !important;
  border-bottom: 0 !important;
}
.footer_links h4 {
  margin-bottom: 18px !important;
}
