/**
 * GetFitPlans V9 — Light (default, your V9 colors) + Dark (full-site flip)
 * Orange #f97316 + Blue #3b82f6 preserved in both modes.
 */

/* ── Prominent header toggle ── */
.gfp-theme-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--gfp-theme-switch-bg, rgba(28, 25, 23, 0.08));
  border: 1.5px solid var(--gfp-theme-switch-border, rgba(28, 25, 23, 0.12));
  gap: 2px;
  flex-shrink: 0;
}
.gfp-theme-switch__btn {
  border: 0;
  cursor: pointer;
  font-family: var(--gfp-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--gfp-theme-switch-text, var(--gfp-muted));
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}
.gfp-theme-switch__btn.is-active {
  background: var(--gfp-gradient-brand);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(249, 115, 22, 0.55);
}
.gfp-theme-switch__btn:not(.is-active):hover {
  color: var(--gfp-primary);
}

/* ══════════════════════════════════════════
   DARK MODE — full-site dramatic dark flip
   ══════════════════════════════════════════ */
[data-gfp-theme="dark"] {
  color-scheme: dark;
  --gfp-surface: #14100f;
  --gfp-paper: #1c1917;
  --gfp-ink: #fafafa;
  --gfp-ink-soft: #e7e5e4;
  --gfp-muted: #a8a29e;
  --gfp-line: #3f3a36;
  --gfp-line-soft: rgba(255, 255, 255, 0.08);
  --gfp-gradient-dark: linear-gradient(165deg, #0a0908 0%, #14100f 48%, #1c1917 100%);
  --gfp-theme-switch-bg: rgba(255, 255, 255, 0.08);
  --gfp-theme-switch-border: rgba(255, 255, 255, 0.12);
  --gfp-theme-switch-text: #a8a29e;
}

[data-gfp-theme="dark"] body {
  background: var(--gfp-surface);
  color: var(--gfp-ink-soft);
}

[data-gfp-theme="dark"] h1,
[data-gfp-theme="dark"] h2,
[data-gfp-theme="dark"] h3,
[data-gfp-theme="dark"] h4 {
  color: var(--gfp-ink);
}

/* Header */
[data-gfp-theme="dark"] .gfp-site-header {
  background: rgba(20, 16, 15, 0.94) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 32px -16px rgba(0, 0, 0, 0.5) !important;
}
[data-gfp-theme="dark"] .gfp-logo,
[data-gfp-theme="dark"] .gfp-nav a,
[data-gfp-theme="dark"] .gfp-cart,
[data-gfp-theme="dark"] .gfp-burger {
  color: #fafafa !important;
}
[data-gfp-theme="dark"] .gfp-logo__tag { color: #a8a29e !important; }
[data-gfp-theme="dark"] .gfp-nav a:hover {
  background: rgba(249, 115, 22, 0.15) !important;
  color: #fb923c !important;
}

/* Light homepage sections → dark */
[data-gfp-theme="dark"] .gfp-home-section--light {
  background: linear-gradient(180deg, #1c1917 0%, #14100f 100%) !important;
}
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-home-section__head h2,
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-module h3,
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-split-card h3,
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-flow-card h3,
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-faq__question,
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-bento-card h3 {
  color: #fafafa !important;
}
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-home-section__head p,
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-module p,
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-split-card p,
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-flow-card p,
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-faq__answer,
[data-gfp-theme="dark"] .gfp-home-section--light .gfp-bento-card p {
  color: #a8a29e !important;
}
[data-gfp-theme="dark"] .gfp-module,
[data-gfp-theme="dark"] .gfp-flow-card,
[data-gfp-theme="dark"] .gfp-faq__item,
[data-gfp-theme="dark"] .gfp-bento-card,
[data-gfp-theme="dark"] .gfp-step,
[data-gfp-theme="dark"] .gfp-feature,
[data-gfp-theme="dark"] .gfp-contact-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.5) !important;
}
[data-gfp-theme="dark"] .gfp-split-card li {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #e7e5e4 !important;
}
[data-gfp-theme="dark"] .gfp-section--tint {
  background: #1c1917 !important;
}
[data-gfp-theme="dark"] .gfp-eyebrow--light {
  color: #fb923c !important;
}

/* Hero — deeper black in dark mode */
[data-gfp-theme="dark"] .gfp-home-hero {
  background:
    radial-gradient(920px 520px at 88% -8%, rgba(249, 115, 22, 0.22), transparent 58%),
    radial-gradient(720px 500px at 4% 108%, rgba(59, 130, 246, 0.15), transparent 52%),
    linear-gradient(175deg, #000000 0%, #14100f 40%, #1c1917 100%) !important;
}

/* Dark sections stay dark, modules glass */
[data-gfp-theme="dark"] .gfp-home-section--dark .gfp-module {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Footer */
[data-gfp-theme="dark"] .gfp-site-footer {
  background: var(--gfp-gradient-dark) !important;
  border-top-color: rgba(249, 115, 22, 0.2) !important;
}

/* Content pages */
[data-gfp-theme="dark"] .gfp-page p,
[data-gfp-theme="dark"] .gfp-page li {
  color: #a8a29e !important;
}
[data-gfp-theme="dark"] .gfp-nav.is-open {
  background: #1c1917 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
[data-gfp-theme="dark"] .gfp-nav.is-open a {
  color: #fafafa !important;
}

/* Builder — darker shell, same orange/blue accents */
[data-gfp-theme="dark"] .gfp {
  --gfp-evergreen: #0a0908;
  --gfp-evergreen-2: #14100f;
  --gfp-cream: #fafafa;
  --gfp-cream-70: rgba(250, 250, 249, 0.72);
  --gfp-cream-45: rgba(250, 250, 249, 0.45);
  --gfp-cream-12: rgba(250, 250, 249, 0.1);
  --gfp-cream-06: rgba(250, 250, 249, 0.05);
  --gfp-line: rgba(250, 250, 249, 0.14);
  background:
    radial-gradient(1000px 560px at 82% -6%, rgba(249, 115, 22, 0.18), transparent 58%),
    radial-gradient(880px 520px at 6% 102%, rgba(59, 130, 246, 0.14), transparent 52%),
    linear-gradient(175deg, #000000 0%, #14100f 40%, #1c1917 100%) !important;
}

/* ══════════════════════════════════════════
   LIGHT MODE — your V9 look (default)
   ══════════════════════════════════════════ */
[data-gfp-theme="light"] {
  color-scheme: light;
  --gfp-theme-switch-bg: rgba(249, 115, 22, 0.08);
  --gfp-theme-switch-border: rgba(249, 115, 22, 0.18);
}

/* Light mode builder — bright warm UI (big visible flip from dark) */
[data-gfp-theme="light"] .gfp {
  --gfp-evergreen: #fafaf9;
  --gfp-evergreen-2: #f5f5f4;
  --gfp-citrus: #f97316;
  --gfp-amber: #ea580c;
  --gfp-cream: #1c1917;
  --gfp-cream-70: rgba(28, 25, 23, 0.72);
  --gfp-cream-45: rgba(28, 25, 23, 0.5);
  --gfp-cream-12: rgba(28, 25, 23, 0.08);
  --gfp-cream-06: rgba(28, 25, 23, 0.04);
  --gfp-line: rgba(28, 25, 23, 0.12);
  --gfp-ink: #1c1917;
  color: #1c1917 !important;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(249, 115, 22, 0.08), transparent 55%),
    radial-gradient(700px 480px at 0% 100%, rgba(59, 130, 246, 0.07), transparent 50%),
    linear-gradient(175deg, #fffbf7 0%, #ffffff 45%, #f0f7ff 100%) !important;
}
[data-gfp-theme="light"] .gfp .gfp__h1,
[data-gfp-theme="light"] .gfp .gfp__q,
[data-gfp-theme="light"] .gfp .gfp__reportHead h2 {
  color: #1c1917 !important;
}
[data-gfp-theme="light"] .gfp .gfp__lead,
[data-gfp-theme="light"] .gfp .gfp__qsub,
[data-gfp-theme="light"] .gfp .gfp__optDesc,
[data-gfp-theme="light"] .gfp .gfp__reassure,
[data-gfp-theme="light"] .gfp .gfp__count,
[data-gfp-theme="light"] .gfp .gfp__stamp {
  color: rgba(28, 25, 23, 0.55) !important;
}
[data-gfp-theme="light"] .gfp .gfp__opt {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(28, 25, 23, 0.1) !important;
  color: #1c1917 !important;
}
[data-gfp-theme="light"] .gfp .gfp__opt:hover {
  background: #fff !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
}
[data-gfp-theme="light"] .gfp .gfp__chip {
  background: #fff !important;
  border-color: rgba(28, 25, 23, 0.12) !important;
  color: #1c1917 !important;
}
[data-gfp-theme="light"] .gfp .gfp__field label {
  color: rgba(28, 25, 23, 0.55) !important;
}
[data-gfp-theme="light"] .gfp .gfp__inputwrap {
  background: #fff !important;
  border-color: rgba(28, 25, 23, 0.12) !important;
}
[data-gfp-theme="light"] .gfp .gfp__inputwrap input {
  color: #1c1917 !important;
}
[data-gfp-theme="light"] .gfp .gfp__toggle {
  background: rgba(28, 25, 23, 0.05) !important;
  border-color: rgba(28, 25, 23, 0.1) !important;
}
[data-gfp-theme="light"] .gfp .gfp__toggle button.is-on {
  background: #1c1917 !important;
  color: #fff !important;
}
[data-gfp-theme="light"] .gfp .gfp__card {
  background: #fff !important;
  box-shadow: 0 24px 48px -28px rgba(28, 25, 23, 0.15) !important;
}
[data-gfp-theme="light"] .gfp .gfp__warn {
  color: #92400e !important;
  background: rgba(251, 191, 36, 0.15) !important;
}

@media (max-width: 880px) {
  .gfp-theme-switch__btn {
    padding: 8px 11px;
    font-size: 11px;
  }
}