/* ==========================================================================
   FIT EZ - DARK THEME (colours, glass and glow)
   Loaded with <link id="theme-dark-css" media="all"> on every page. In light
   mode js/theme-init.js flips that link to media="not all", which removes this
   whole file and lets the original light palette in style.css show through.
   Layout lives in css/glass-revamp.css and is shared by both modes.
   ========================================================================== */

/* Global Dark Theme Token Override */

:root {
  --bg-deep: transparent;
  --bg-darker: #000000;
  --bg-dark: #000000;
  --bg-card: rgba(14, 24, 18, 0.85);
  --bg-card-hover: rgba(20, 36, 26, 0.95);
  --text-primary: #E8F0E4;
  --text-muted: #A8BFA0;
  --text-dimmed: #6B8A72;
  --secondary: #F0F7EA;
  --secondary-rgb: 240, 247, 234;
  --secondary-light: #C8DFC0;
  --secondary-deep: #E8F0E4;
  --primary: #95BD3E;
  --primary-light: #B0D458;
  --white: #FFFFFF;
  --border-light: rgba(149, 189, 62, 0.14);
  --border-hover: rgba(149, 189, 62, 0.40);
  --box-shadow-subtle: 0 4px 24px rgba(0, 0, 0, 0.45);
  --box-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(149, 189, 62, 0.18);
}

/* Dark scrollbar */

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: rgba(149,189,62,0.22);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(149,189,62,0.45);
}

/* Base dark background */

html {
  background-color: #000000 !important;
}

body {
  background-color: transparent !important;
  color: var(--text-primary) !important;
}

/* Persistent static last-frame background across full website (contain geometry matches canvas 1-to-1) */

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  background-image: url('../assets/frames/d/241.webp');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #000000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Mobile-only background adaptation */

@media (max-width: 768px) {
  body::before {
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-image: url('../assets/frames/m/241.webp');
    background-position: var(--bg-frame-pos-mobile, center center);
    background-size: var(--bg-frame-size-mobile, contain);
  }

}

/* Static background is fully active on all subpages, or once animation completes */

body:not([data-page="home"])::before,
body.bg-ready::before,
html.intro-skip body[data-page="home"]::before {
  opacity: 1 !important;
}

/* Dynamic dark overlay: increases opacity as content scrolls up */

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-color: #000000;
  opacity: var(--scroll-backdrop-opacity, 0.72);
  pointer-events: none;
  transition: opacity 0.15s ease-out;
}

/* Home page starts with 0 overlay at the very top so logo is crystal clear */

body[data-page="home"]::after,
body.home-page::after {
  opacity: var(--scroll-backdrop-opacity, 0);
}

/* Dim particle canvas and ambient glows so background frame shines through */

#bg-canvas {
  opacity: 0.05;
  z-index: -2 !important;
}

.ambient-glow {
  opacity: 0.2;
  z-index: -2 !important;
}

/* Ensure all section containers are transparent */

section,
.section,
main,
.page-hero,
.hero-section,
.process-steps-section,
.testimonials-preview-section,
.faq-preview-section,
.fitscore-hero,
.swap-dashboard,
.legal-page {
  background: transparent !important;
  background-color: transparent !important;
}

section,
.section {
  border-color: transparent !important;
}

/* ============================================================
   HEADER - dark glass nav
   ============================================================ */

.header {
  background: transparent !important;
  border-bottom: none;
}

.header.scrolled {
  background: rgba(8, 12, 10, 0.82) !important;
  border-bottom: 1px solid rgba(149, 189, 62, 0.12) !important;
  backdrop-filter: blur(20px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5) !important;
}

.logo-text {
  color: #E8F0E4 !important;
}

.nav-item a {
  color: #A8BFA0 !important;
}

.nav-item a:hover {
  color: #95BD3E !important;
}

.nav-item.active a,
.nav-item a.active {
  color: #95BD3E !important;
}

.mobile-nav-toggle {
  color: #E8F0E4 !important;
}

/* ============================================================
   HERO - centered layout, no right column
   ============================================================ */

.hero-section {
  background: transparent !important;
}

/* Collapse 2-col grid to single centered flex column */

/* Hide the right-side logo visual completely */

/* Center hero text block */

.hero-h1 {
  color: #F0F7EA !important;
}

.hero-h1 em {
  color: #95BD3E !important;
}

.hero-tagline {
  color: #9DB59A !important;
}

.hero-eyebrow {
  background: rgba(149,189,62,0.10) !important;
  border-color: rgba(149,189,62,0.25) !important;
  color: #95BD3E !important;
}

.hero-proof-item {
  color: #9DB59A !important;
}

.hero-proof-item i {
  color: #95BD3E !important;
}

.hero-pricing-line span {
  color: #6B8A72 !important;
}

.hero-pricing-line strong {
  color: #95BD3E !important;
}

/* Hero CTA buttons */

.btn-lime {
  background: linear-gradient(135deg, #95BD3E 0%, #7DA532 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 28px rgba(149,189,62,0.40) !important;
}

.btn-lime:hover {
  box-shadow: 0 10px 36px rgba(149,189,62,0.55) !important;
  color: #fff !important;
}

.btn-outline-forest {
  border-color: rgba(149,189,62,0.55) !important;
  color: #95BD3E !important;
  background: rgba(149,189,62,0.06) !important;
}

.btn-outline-forest:hover {
  background: rgba(149,189,62,0.14) !important;
  color: #95BD3E !important;
  border-color: rgba(149,189,62,0.8) !important;
}

.btn-brochure {
  background: rgba(23,79,54,0.15) !important;
  border-color: rgba(149,189,62,0.35) !important;
  color: #95BD3E !important;
}

.btn-brochure:hover {
  background: rgba(149,189,62,0.12) !important;
  color: #95BD3E !important;
}

/* ============================================================
   TRUST STRIP - transparent over the video background
   ============================================================ */

.trust-strip {
  background: transparent !important;
  border-color: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.trust-strip-item {
  color: rgba(232,240,228,0.88) !important;
}

.trust-strip-item i {
  color: #95BD3E !important;
}

/* ============================================================
   SECTIONS - transparent background
   ============================================================ */

.section {
  background: transparent !important;
}

.section-header h2 {
  color: #F0F7EA !important;
}

.section-header p {
  color: #9DB59A !important;
}

.section-header h2::after {
  background: linear-gradient(90deg, #95BD3E 0%, #174F36 100%) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #F0F7EA !important;
}

p {
  color: #9DB59A !important;
}

strong {
  color: #C8DFC0 !important;
}

/* ============================================================
   GLASS CARDS - all card variants get dark glass treatment
   ============================================================ */

.glass-card,
.goal-card,
.process-step,
.r-stat,
.test-card,
.pricing-card,
.pricing-preview-card,
.showroom-card,
.about-member-card,
.milestone-card,
.contact-info-box,
.faq-item,
.faq-q,
.faq-a,
.feature-item,
.feature-card,
.coach-card,
.approach-card,
.guarantee-card,
.timeline-item {
  background: rgba(12, 20, 15, 0.65) !important;
  backdrop-filter: blur(18px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.3) !important;
  border: 1px solid rgba(149, 189, 62, 0.12) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.04) !important;
  color: var(--text-primary) !important;
}

.glass-card:hover,
.goal-card:hover,
.r-stat:hover,
.test-card:hover,
.pricing-card:hover,
.pricing-preview-card:hover,
.showroom-card:hover,
.about-member-card:hover,
.milestone-card:hover,
.contact-info-box:hover {
  border-color: rgba(149, 189, 62, 0.38) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.60), 0 0 0 1px rgba(149,189,62,0.20), inset 0 1px 0 rgba(149,189,62,0.06) !important;
  background: rgba(16, 28, 20, 0.78) !important;
}

.goal-card::before {
  background: linear-gradient(90deg, #95BD3E, #174F36) !important;
}

.goal-icon-wrap,
.hero-feature-icon,
.feature-icon-wrap,
.approach-icon-wrap {
  background: rgba(149,189,62,0.10) !important;
  border-color: rgba(149,189,62,0.20) !important;
  color: #95BD3E !important;
}

.goal-card:hover .goal-icon-wrap {
  background: rgba(149,189,62,0.22) !important;
  color: #95BD3E !important;
  border-color: rgba(149,189,62,0.45) !important;
}

.process-step-num {
  background: rgba(12,20,15,0.70) !important;
  border-color: rgba(149,189,62,0.35) !important;
  color: #95BD3E !important;
}

.process-step:hover .process-step-num {
  background: rgba(149,189,62,0.18) !important;
  color: #95BD3E !important;
}

.process-steps::before {
  background: linear-gradient(90deg, rgba(149,189,62,0.08), rgba(149,189,62,0.55), rgba(149,189,62,0.08)) !important;
}

.r-stat-num {
  color: #95BD3E !important;
}

.r-stat-label {
  color: #6B8A72 !important;
}

.goal-card .goal-price {
  color: #F0F7EA !important;
}

.goal-card .goal-price span {
  color: #6B8A72 !important;
}

.goal-card .goal-tag {
  background: rgba(149,189,62,0.12) !important;
  color: #95BD3E !important;
}

/* ============================================================
   FAQ - dark glass accordion
   ============================================================ */

.faq-item {
  border-color: rgba(149,189,62,0.12) !important;
}

.faq-item:hover {
  border-color: rgba(149,189,62,0.30) !important;
}

.faq-q {
  background: rgba(12,20,15,0.65) !important;
  color: #E8F0E4 !important;
  border: none !important;
  box-shadow: none !important;
}

.faq-q:hover {
  background: rgba(16,28,20,0.80) !important;
}

.faq-q i {
  color: #95BD3E !important;
}

.faq-a {
  background: rgba(10,16,12,0.55) !important;
  color: #9DB59A !important;
  border: none !important;
  box-shadow: none !important;
  border-top: 1px solid rgba(149,189,62,0.08) !important;
}

/* ============================================================
   PRICING
   ============================================================ */

.pp-tag {
  background: rgba(149,189,62,0.12) !important;
  color: #95BD3E !important;
  border: 1px solid rgba(149,189,62,0.22) !important;
}

.pp-price {
  color: #F0F7EA !important;
}

.pricing-card.featured,
.pricing-card.popular {
  border-color: rgba(149,189,62,0.55) !important;
  background: rgba(18,32,22,0.80) !important;
  box-shadow: 0 0 0 1px rgba(149,189,62,0.30), 0 16px 48px rgba(0,0,0,0.70) !important;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.test-card blockquote,
.test-card p {
  color: #9DB59A !important;
}

.test-card strong {
  color: #E8F0E4 !important;
}

.stars i,
.test-stars i {
  color: #95BD3E !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  background: linear-gradient(135deg, #174F36 0%, #0F3826 100%) !important;
  border: 1px solid rgba(149,189,62,0.30) !important;
  color: #E8F0E4 !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1A5E40 0%, #174F36 100%) !important;
  color: #fff !important;
}

.btn-red {
  background: linear-gradient(135deg, #95BD3E 0%, #7DA532 100%) !important;
  color: #fff !important;
}

.btn-secondary {
  background: rgba(12,20,15,0.60) !important;
  border-color: rgba(149,189,62,0.35) !important;
  color: #95BD3E !important;
}

.btn-secondary:hover {
  background: rgba(149,189,62,0.12) !important;
  color: #95BD3E !important;
}

#nav-cta-btn {
  background: linear-gradient(135deg, #174F36 0%, #0F3826 100%) !important;
  color: #E8F0E4 !important;
  border: 1px solid rgba(149,189,62,0.25) !important;
}

#nav-cta-btn:hover {
  background: linear-gradient(135deg, #95BD3E 0%, #7DA532 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(149,189,62,0.45) !important;
}

/* ============================================================
   DARK CTA SECTION
   ============================================================ */

.dark-cta-section {
  background: transparent !important;
  border-color: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dark-cta-section h2 {
  color: #F0F7EA !important;
}

.dark-cta-section p {
  color: #9DB59A !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer,
footer {
  background: #000000 !important;
  border-top-color: transparent !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.footer-title {
  color: #E8F0E4 !important;
}

.footer-links li a,
.footer-contact-li,
.footer-contact-li p {
  color: #6B8A72 !important;
}

.footer-links li a:hover {
  color: #95BD3E !important;
}

.footer-copyright {
  color: #7F9A88 !important; /* was #4A6052: 2.6:1 on the black footer, now 6.6:1 (WCAG AA) */
}

/* Announcement bar is lime in dark mode: white text was 2.2:1, dark forest is 8.9:1 */
.urgency-bar,
.urgency-bar .urgency-close {
  color: #0F2A1D;
}

.footer-bottom-links a {
  color: #6B8A72 !important;
}

.footer-bottom-links a:hover {
  color: #95BD3E !important;
}

.footer-social a {
  color: #6B8A72 !important;
}

.footer-social a:hover {
  color: #95BD3E !important;
}

.social-link:hover,
.footer-social-link:hover {
  background: rgba(149,189,62,0.14) !important;
  border-color: rgba(149,189,62,0.35) !important;
  color: #95BD3E !important;
}

/* ============================================================
   FORM INPUTS
   ============================================================ */

.fs-input {
  background: rgba(12,20,15,0.70) !important;
  border-color: rgba(149,189,62,0.18) !important;
  color: #E8F0E4 !important;
}

.fs-input::placeholder {
  color: #4A6052 !important;
}

.fs-input:focus {
  border-color: rgba(149,189,62,0.55) !important;
  box-shadow: 0 0 0 3px rgba(149,189,62,0.12) !important;
  background: rgba(16,26,20,0.85) !important;
}

.input-icon {
  color: #4A6052 !important;
}

.fs-submit-btn {
  background: linear-gradient(135deg, #95BD3E 0%, #7DA532 100%) !important;
  box-shadow: 0 4px 18px rgba(149,189,62,0.35) !important;
}

/* ============================================================
   MODAL
   ============================================================ */

.conversion-modal-overlay {
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

.conversion-modal-box {
  background: rgba(12,20,15,0.92) !important;
  border: 1px solid rgba(149,189,62,0.22) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.80) !important;
  color: #E8F0E4 !important;
}

.modal-title {
  color: #E8F0E4 !important;
}

.modal-desc {
  color: #9DB59A !important;
}

.modal-icon {
  color: #95BD3E !important;
}

.modal-close-btn {
  background: rgba(149,189,62,0.08) !important;
  border: 1px solid rgba(149,189,62,0.20) !important;
  color: #9DB59A !important;
}

.modal-close-btn:hover {
  background: rgba(149,189,62,0.16) !important;
  color: #95BD3E !important;
}

/* ============================================================
   BADGES AND TAGS
   ============================================================ */

.badge-red,
.tag-red,
.badge-lime,
.tag-lime {
  background: rgba(149,189,62,0.10) !important;
  border-color: rgba(149,189,62,0.22) !important;
  color: #95BD3E !important;
}

.badge-forest,
.tag-forest,
.badge-blue,
.tag-blue {
  background: rgba(23,79,54,0.18) !important;
  border-color: rgba(23,79,54,0.35) !important;
  color: #52A870 !important;
}

/* ============================================================
   MISC UTILITY
   ============================================================ */

hr,
.divider {
  border-color: rgba(149,189,62,0.12) !important;
}

.section-tag,
.section-eyebrow {
  background: rgba(149,189,62,0.10) !important;
  border-color: rgba(149,189,62,0.24) !important;
  color: #95BD3E !important;
}

#scroll-progress {
  background: linear-gradient(90deg, #174F36, #95BD3E) !important;
  box-shadow: 0 0 12px rgba(149,189,62,0.60) !important;
}

.whatsapp-float {
  background: #25D366 !important;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45) !important;
}

.whatsapp-float:hover {
  box-shadow: 0 10px 32px rgba(37,211,102,0.60) !important;
}

.results-img-wrap,
.before-after-wrap {
  border: 1px solid rgba(149,189,62,0.14) !important;
}

.compare-label {
  background: rgba(149,189,62,0.12) !important;
  color: #95BD3E !important;
}

/* Page Hero */

.page-hero {
  background: transparent !important;
  border-bottom: 1px solid rgba(149, 189, 62, 0.12) !important;
}

.page-hero-title {
  color: #F0F7EA !important;
}

.page-hero-subtitle {
  color: #9DB59A !important;
}

/* Pricing Page */

.cost-daily-badge {
  background: rgba(149, 189, 62, 0.10) !important;
  border-color: rgba(149, 189, 62, 0.25) !important;
  color: #95BD3E !important;
}

.cost-ring-circle,
.cost-ring-pulse {
  border-color: rgba(149, 189, 62, 0.22) !important;
}

.cost-ring-glow {
  background: radial-gradient(circle, rgba(149, 189, 62, 0.14) 0%, transparent 70%) !important;
}

.cost-big-number {
  color: #95BD3E !important;
}

.cost-per-day-label {
  color: #9DB59A !important;
}

.cost-comp-item {
  background: rgba(12, 20, 15, 0.65) !important;
  border-color: rgba(149, 189, 62, 0.14) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.cost-comp-item:hover {
  background: rgba(16, 28, 20, 0.82) !important;
  border-color: rgba(149, 189, 62, 0.35) !important;
}

.cost-comp-item.cost-highlight {
  background: rgba(18, 32, 22, 0.75) !important;
  border-color: rgba(149, 189, 62, 0.40) !important;
}

.cost-comp-bar-bg {
  background: rgba(149, 189, 62, 0.14) !important;
}

.cost-comp-label {
  color: #E8F0E4 !important;
}

.cost-comp-price {
  color: #95BD3E !important;
}

.cost-tagline {
  background: rgba(149, 189, 62, 0.05) !important;
  border-color: rgba(149, 189, 62, 0.22) !important;
}

.cost-tagline p {
  color: #9DB59A !important;
}

.cost-tagline strong {
  color: #95BD3E !important;
}

.cost-savings-pill {
  background: rgba(149, 189, 62, 0.14) !important;
  color: #95BD3E !important;
}

.pricing-tabs {
  background: rgba(8, 12, 10, 0.65) !important;
  border: 1px solid rgba(149, 189, 62, 0.18) !important;
}

.pricing-tab-btn {
  color: #A8BFA0 !important;
  background: transparent !important;
  border: none !important;
}

.pricing-tab-btn.active {
  background: #95BD3E !important;
  color: #080C0A !important;
}

.pricing-card-header .pricing-plan-title {
  color: #F0F7EA !important;
}

.pricing-card-header .pricing-plan-goal {
  color: #95BD3E !important;
}

.pricing-price-amount {
  color: #F0F7EA !important;
}

.pricing-price-amount .currency-symbol,
.pricing-price-amount .amount-val {
  color: #95BD3E !important;
}

.pricing-price-amount .period-label {
  color: #6B8A72 !important;
}

.pricing-features-list .pricing-feature-li {
  color: #9DB59A !important;
}

.pricing-features-list .pricing-feature-li i {
  color: #95BD3E !important;
}

/* Results Page */

.showroom-img-wrapper {
  background: rgba(8, 12, 10, 0.85) !important;
  border-bottom: 1px solid rgba(149, 189, 62, 0.14) !important;
}

.showroom-name {
  color: #F0F7EA !important;
}

.showroom-subtitle {
  color: #95BD3E !important;
}

.showroom-tag {
  background: rgba(149, 189, 62, 0.10) !important;
  border-color: rgba(149, 189, 62, 0.25) !important;
  color: #95BD3E !important;
}

.showroom-desc {
  color: #9DB59A !important;
}

.showroom-stats {
  border-color: rgba(149, 189, 62, 0.12) !important;
}

.showroom-stat-box {
  background: rgba(8, 14, 10, 0.60) !important;
  border: 1px solid rgba(149, 189, 62, 0.14) !important;
}

.showroom-stat-label {
  color: #6B8A72 !important;
}

.showroom-stat-value {
  color: #95BD3E !important;
}

/* About Page & Coach Profiles */

.about-member-name {
  color: #F0F7EA !important;
}

.about-member-role {
  color: #95BD3E !important;
}

.about-member-avatar {
  border-color: #95BD3E !important;
}

.about-list-item {
  color: #9DB59A !important;
}

.about-list-item i {
  color: #95BD3E !important;
}

.founder-avatar {
  border-color: #95BD3E !important;
}

.founder-certification {
  background: rgba(12, 20, 15, 0.65) !important;
  border: 1px solid rgba(149, 189, 62, 0.16) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.cert-label {
  color: #F0F7EA !important;
}

.cert-label i {
  color: #95BD3E !important;
}

.cert-image {
  border: 1px solid rgba(149, 189, 62, 0.14) !important;
}

/* FitScore Calculator */

.fitscore-hero {
  background: transparent !important;
  border-bottom: 1px solid rgba(149, 189, 62, 0.12) !important;
}

.fitscore-main-title {
  color: #F0F7EA !important;
}

.fitscore-subtitle {
  color: #9DB59A !important;
}

.intro-badge {
  background: rgba(149, 189, 62, 0.10) !important;
  border-color: rgba(149, 189, 62, 0.25) !important;
  color: #95BD3E !important;
}

.fitscore-card {
  background: rgba(12, 20, 15, 0.72) !important;
  border: 1px solid rgba(149, 189, 62, 0.16) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.chart-container-card {
  background: rgba(12, 20, 15, 0.65) !important;
  border: 1px solid rgba(149, 189, 62, 0.14) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.chart-tab-btn {
  background: rgba(12, 20, 15, 0.60) !important;
  border-color: rgba(149, 189, 62, 0.18) !important;
  color: #A8BFA0 !important;
}

.chart-tab-btn.active {
  background: #95BD3E !important;
  border-color: #95BD3E !important;
  color: #080C0A !important;
}

.weight-table th {
  color: #95BD3E !important;
  border-bottom: 2px solid rgba(149, 189, 62, 0.20) !important;
}

.weight-table td {
  color: #E8F0E4 !important;
  border-bottom: 1px solid rgba(149, 189, 62, 0.10) !important;
}

.weight-table tr:hover td {
  background: rgba(149, 189, 62, 0.06) !important;
}

.sci-badge {
  background: rgba(149, 189, 62, 0.10) !important;
  border-color: rgba(149, 189, 62, 0.25) !important;
  color: #95BD3E !important;
}

.fs-gender-control .gender-btn {
  background: rgba(12, 20, 15, 0.60) !important;
  border-color: rgba(149, 189, 62, 0.18) !important;
  color: #A8BFA0 !important;
}

.fs-gender-control .gender-btn.active {
  background: #95BD3E !important;
  border-color: #95BD3E !important;
  color: #080C0A !important;
}

.fitscore-card.state-danger {
  background: rgba(35, 12, 14, 0.85) !important;
  border-color: rgba(217, 67, 67, 0.40) !important;
}

.fitscore-card.state-warning {
  background: rgba(35, 25, 10, 0.85) !important;
  border-color: rgba(230, 168, 23, 0.40) !important;
}

.fitscore-card.state-success {
  background: rgba(14, 30, 18, 0.85) !important;
  border-color: rgba(149, 189, 62, 0.40) !important;
}

/* FoodSwap Tool */

.sidebar-card {
  background: rgba(12, 20, 15, 0.70) !important;
  border: 1px solid rgba(149, 189, 62, 0.14) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.search-results-dropdown {
  background: rgba(10, 16, 12, 0.95) !important;
  border: 1px solid rgba(149, 189, 62, 0.22) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.dropdown-item {
  color: #A8BFA0 !important;
  border-bottom: 1px solid rgba(149, 189, 62, 0.10) !important;
}

.dropdown-item:hover {
  background: rgba(149, 189, 62, 0.15) !important;
  color: #95BD3E !important;
}

.food-card {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.food-card-bad {
  background: rgba(45, 15, 18, 0.65) !important;
  border: 1.5px solid rgba(217, 67, 67, 0.35) !important;
}

.food-card-good {
  background: rgba(14, 35, 22, 0.65) !important;
  border: 1.5px solid rgba(149, 189, 62, 0.35) !important;
}

.food-card-name {
  color: #F0F7EA !important;
}

.food-card-calories {
  color: #F0F7EA !important;
}

/* Contact Page */

.contact-info-box h4 {
  color: #F0F7EA !important;
}

.contact-info-box p {
  color: #9DB59A !important;
}

.contact-info-icon i {
  color: #95BD3E !important;
}

/* Legal Pages (Privacy & Terms) */

.legal-page h1,
.legal-page h2,
.legal-page h3 {
  color: #F0F7EA !important;
}

.legal-page p,
.legal-page li {
  color: #A8BFA0 !important;
}

.legal-page strong {
  color: #C8DFC0 !important;
}

.legal-page a {
  color: #95BD3E !important;
}

.legal-page .legal-date {
  color: #6B8A72 !important;
}

.legal-divider {
  border-top: 1px solid rgba(149, 189, 62, 0.14) !important;
}

/* Fullscreen Backdrop Overlay for Mobile Nav */

.nav-backdrop-overlay {
  background: rgba(4, 8, 6, 0.70);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 1023px) {
  /* Prevent horizontal screen shifting without breaking position: sticky */

  /* Ensure header and all nav parents stay above backdrop overlay and do not clip */

  .mobile-nav-toggle {
    background: rgba(23, 79, 54, 0.28) !important;
    border: 1px solid rgba(149, 189, 62, 0.28) !important;
    color: #E8F0E4 !important;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus {
    background: rgba(149, 189, 62, 0.22) !important;
    border-color: #95BD3E !important;
    color: #95BD3E !important;
  }

  /* Ultra-Premium Dark Glass Slide-Out Drawer */

  .nav-menu {
    background: rgba(10, 16, 12, 0.98) !important;
    backdrop-filter: blur(30px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(30px) saturate(1.4) !important;
    border-left: 1px solid rgba(149, 189, 62, 0.25) !important;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85) !important;
  }

  .nav-menu .nav-item a {
    color: #E8F0E4 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
  }

  .nav-menu .nav-item a:hover {
    background: rgba(149, 189, 62, 0.12) !important;
    color: #95BD3E !important;
    border-color: rgba(149, 189, 62, 0.28) !important;
  }

  .nav-menu .nav-item.active a,
  .nav-menu .nav-item a.active {
    background: rgba(149, 189, 62, 0.16) !important;
    color: #95BD3E !important;
    border-color: rgba(149, 189, 62, 0.40) !important;
    box-shadow: 0 4px 18px rgba(149, 189, 62, 0.15) !important;
  }

  .nav-menu #nav-cta-btn {
    background: linear-gradient(135deg, #95BD3E 0%, #7DA532 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 24px rgba(149, 189, 62, 0.35) !important;
  }

}

/* ============================================================
   MOBILE STICKY CALL BAR - DARK GLASSMORPHISM
   ============================================================ */

#mobile-call-bar {
  background: rgba(10, 16, 12, 0.94) !important;
  backdrop-filter: blur(20px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
  border-top: 1px solid rgba(149, 189, 62, 0.18) !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.75) !important;
}

#mobile-call-btn {
  color: #95BD3E !important;
}

#mobile-call-btn span {
  color: #E8F0E4 !important;
}

#mobile-wa-btn {
  color: #25D366 !important;
}

#mobile-wa-btn span {
  color: #E8F0E4 !important;
}

.mcb-divider {
  background: rgba(149, 189, 62, 0.20) !important;
}


/* ============================================================
   FORM FIELDS - FOCUS / AUTOFILL / DROPDOWN (contact, FitScore, FoodSwap)
   style.css turns a focused .input-field white (var(--white)) while dark mode
   keeps the text light, which made typed text unreadable. Keep the field dark
   on focus and show the lime focus ring instead.
   ============================================================ */

.input-field:hover {
  border-color: rgba(149, 189, 62, 0.35);
}

.input-field:focus {
  background: rgba(16, 26, 20, 0.92);
  border-color: rgba(149, 189, 62, 0.55);
  box-shadow: 0 0 0 3px rgba(149, 189, 62, 0.12);
  color: #F0F7EA;
  outline: none;
}

.input-field:focus-visible {
  outline: 2px solid #95BD3E;
  outline-offset: 2px;
}

.input-field::placeholder {
  color: #6B8A72;
  opacity: 1;
}

/* Browser autofill would otherwise paint a pale blue/white background */
.input-field:-webkit-autofill,
.input-field:-webkit-autofill:hover,
.input-field:-webkit-autofill:focus {
  -webkit-text-fill-color: #E8F0E4;
  caret-color: #E8F0E4;
  -webkit-box-shadow: 0 0 0 1000px #0c140f inset;
  box-shadow: 0 0 0 1000px #0c140f inset;
  transition: background-color 9999s ease-out 0s;
}

/* Native dropdown list (e.g. "Select your goal"): dark list, light text */
select.input-field {
  color-scheme: dark;
}

select.input-field option {
  background: #0c140f;
  color: #E8F0E4;
}
