/**
 * FoundrFuse Marketing Dark Theme
 * Public pages only: Home, Features, Founders, Investors, Blog, Pricing, About.
 * Scope: body.marketing-dark
 *
 * Surface hierarchy:
 *   Page background:    #070B14 (--mkt-bg-main)
 *   Section background: #0B1220 (--mkt-bg-section)
 *   Card background:    #111827 (--mkt-bg-card)
 *   Elevated cards:     #151E30 (--mkt-bg-card-elevated)
 *   Borders:            #243049 (--mkt-border), hover #2F3E5E
 *   Primary text:       #E8EDF6 | Secondary: #94A3B8 | Accent: #4F7CFF
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body.marketing-dark {
  --mkt-bg-main: #070B14;
  --mkt-bg-section: #0B1220;
  --mkt-bg-card: #111827;
  --mkt-bg-card-elevated: #151E30;
  --mkt-border: #243049;
  --mkt-border-hover: #2F3E5E;
  --mkt-text-primary: #E8EDF6;
  --mkt-text-secondary: #94A3B8;
  --mkt-accent: #4F7CFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--mkt-bg-main) !important;
  color: var(--mkt-text-primary) !important;
}

/* Force dark surfaces: no white/light backgrounds on marketing pages */
body.marketing-dark .card,
body.marketing-dark .feature-grid .card,
body.marketing-dark .values-grid .card,
body.marketing-dark .stats-card-container,
body.marketing-dark .blog-card-item,
body.marketing-dark .how-it-works-section .card,
body.marketing-dark .investor-ecosystem-grid > div,
body.marketing-dark .investor-ecosystem-card,
body.marketing-dark .pricing-section .pricing-card {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  border-radius: 20px !important;
  color: var(--mkt-text-primary) !important;
  transition: all 0.2s ease !important;
}

body.marketing-dark .card:hover,
body.marketing-dark .stats-card-container:hover,
body.marketing-dark .blog-card-item:hover,
body.marketing-dark .investor-ecosystem-card:hover,
body.marketing-dark .pricing-section .pricing-card:hover {
  background: var(--mkt-bg-card-elevated) !important;
  border-color: var(--mkt-border-hover) !important;
  transform: translateY(-2px) !important;
}

/* Section containers: dark or transparent, never light */
body.marketing-dark .how-it-works-section,
body.marketing-dark .investor-ecosystem-section,
body.marketing-dark .feature-grid,
body.marketing-dark .values-grid {
  background: transparent !important;
}

/* Choose Your Plan – force dark gradient, no fade/overlay */
body.marketing-dark .pricing-section-dark,
body.marketing-dark section.pricing-section.pricing-section-dark {
  background: linear-gradient(180deg, #070B14 0%, #0B1220 50%, #070B14 100%) !important;
  opacity: 1 !important;
  filter: none !important;
}

body.marketing-dark .pricing-section:not(.pricing-section-dark) {
  background: transparent !important;
}

body.marketing-dark .how-it-works-section .section,
body.marketing-dark .investor-ecosystem-section .section {
  background: var(--mkt-bg-section) !important;
}

/* Typography */
body.marketing-dark h1,
body.marketing-dark .hero-text,
body.marketing-dark .hero-title,
body.marketing-dark .hero-heading,
body.marketing-dark .display-1,
body.marketing-dark .display-2 {
  font-weight: 600 !important;
  font-size: 56px !important;
  color: var(--mkt-text-primary) !important;
  line-height: 1.2;
}

body.marketing-dark h2,
body.marketing-dark .section-title,
body.marketing-dark .section-heading,
body.marketing-dark .display-4 {
  font-weight: 600 !important;
  font-size: 32px !important;
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark h3,
body.marketing-dark h4,
body.marketing-dark .card-title,
body.marketing-dark .feature-card h4,
body.marketing-dark .step-card h4,
body.marketing-dark .glass-card h3,
body.marketing-dark .glass-card h4,
body.marketing-dark .pricing-card h3 {
  font-weight: 500 !important;
  font-size: 20px !important;
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark p,
body.marketing-dark .lead,
body.marketing-dark .hero-description,
body.marketing-dark .hero-subtext,
body.marketing-dark .section-sub,
body.marketing-dark .section-subtitle,
body.marketing-dark .section-subheading {
  font-weight: 400 !important;
  font-size: 16px !important;
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .text-muted {
  color: var(--mkt-text-secondary) !important;
}

/* Section backgrounds */
body.marketing-dark .section-alt,
body.marketing-dark .section,
body.marketing-dark section {
  background-color: var(--mkt-bg-section) !important;
  padding: 120px 0 !important;
  border: none !important;
}

body.marketing-dark .section-alt:nth-of-type(even),
body.marketing-dark .section-alt:nth-of-type(odd) {
  background: var(--mkt-bg-section) !important;
}

body.marketing-dark .founders-hero,
body.marketing-dark .hero-premium,
body.marketing-dark .hero-advanced,
body.marketing-dark .hero-main,
body.marketing-dark .investors-hero,
body.marketing-dark .pricing-hero {
  background: var(--mkt-bg-main) !important;
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .hero-advanced::before,
body.marketing-dark .hero-premium::before {
  display: none;
}

/* Features page: remove all light backgrounds */
body.marketing-dark .features-grid-section,
body.marketing-dark .premium-experience-section,
body.marketing-dark .cta-section-wrapper {
  background: var(--mkt-bg-section) !important;
}

body.marketing-dark .features-grid-section .glass-card,
body.marketing-dark .premium-stats-card,
body.marketing-dark .premium-stats,
body.marketing-dark .stat-box {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .floating-particles .particle {
  background: rgba(79, 124, 255, 0.2) !important;
}

body.marketing-dark .premium-section-heading,
body.marketing-dark .premium-section-lead,
body.marketing-dark .premium-stats-heading,
body.marketing-dark .premium-stat-value {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .premium-stat-label {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .cta-metric-card {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .cta-metric-card h4 {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .cta-metric-card p,
body.marketing-dark .cta-metric-card i {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .features-footer-transition {
  background: linear-gradient(180deg, var(--mkt-bg-section) 0%, var(--mkt-bg-main) 100%) !important;
}

/* Home: insight cards and pricing strip (no white) */
body.marketing-dark .insight-card {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  border-radius: 20px !important;
  color: var(--mkt-text-primary) !important;
  transition: all 0.2s ease !important;
}

body.marketing-dark .insight-card:hover {
  background: var(--mkt-bg-card-elevated) !important;
  border-color: var(--mkt-border-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: none !important;
}

body.marketing-dark .insight-content,
body.marketing-dark .insight-title,
body.marketing-dark .insight-meta {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .insight-meta,
body.marketing-dark .insight-excerpt {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .blog-scroll-container {
  background: transparent !important;
}

body.marketing-dark .pricing-value-strip {
  background: transparent !important;
}

body.marketing-dark .pricing-benefit-pill {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .pricing-benefit-pill i {
  color: var(--mkt-accent) !important;
}

/* All cards: dark surface #111827, border #243049, radius 20px */
body.marketing-dark .feature-card,
body.marketing-dark .step-card,
body.marketing-dark .step-card-timeline,
body.marketing-dark .glass-card,
body.marketing-dark .stats-card,
body.marketing-dark .stat-card,
body.marketing-dark .pricing-card,
body.marketing-dark .t-card,
body.marketing-dark .benefit-cell .feature-card,
body.marketing-dark .hero-float-card,
body.marketing-dark .accordion-item,
body.marketing-dark .faq-accordion .accordion-item,
body.marketing-dark .blog-card,
body.marketing-dark .blog-featured__card,
body.marketing-dark .blog-featured__placeholder-card,
body.marketing-dark .blog-toolbar,
body.marketing-dark .blog-search,
body.marketing-dark .pricing-card .pricing-header {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  color: var(--mkt-text-primary) !important;
  transition: all 0.2s ease !important;
}

body.marketing-dark .feature-card:hover,
body.marketing-dark .step-card:hover,
body.marketing-dark .step-card-timeline:hover,
body.marketing-dark .glass-card:hover,
body.marketing-dark .stats-card:hover,
body.marketing-dark .stat-card:hover,
body.marketing-dark .pricing-card:hover,
body.marketing-dark .t-card:hover,
body.marketing-dark .hero-float-card:hover,
body.marketing-dark .blog-card:hover,
body.marketing-dark .blog-featured__card:hover {
  transform: translateY(-2px) !important;
  background: var(--mkt-bg-card-elevated) !important;
  border-color: var(--mkt-border-hover) !important;
  box-shadow: none !important;
}

body.marketing-dark .feature-card::before,
body.marketing-dark .feature-card::after,
body.marketing-dark .step-card::before,
body.marketing-dark .step-card::after,
body.marketing-dark .glass-card::before {
  display: none !important;
}

body.marketing-dark .feature-card p,
body.marketing-dark .step-card p,
body.marketing-dark .glass-card p,
body.marketing-dark .pricing-card .text-muted {
  color: var(--mkt-text-secondary) !important;
}

/* Card content typography contrast (About, etc.) */
body.marketing-dark .feature-title,
body.marketing-dark .feature-description,
body.marketing-dark .value-title,
body.marketing-dark .value-description,
body.marketing-dark .card .feature-title,
body.marketing-dark .card .feature-description {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .feature-description,
body.marketing-dark .value-description,
body.marketing-dark .card .feature-description {
  color: var(--mkt-text-secondary) !important;
}

/* Bootstrap card body when used on marketing pages */
body.marketing-dark .card-body {
  background: transparent !important;
  color: var(--mkt-text-primary) !important;
  border: none !important;
}

/* Feature / step icons */
body.marketing-dark .feature-icon,
body.marketing-dark .step-number,
body.marketing-dark .pricing-icon,
body.marketing-dark .stat-icon {
  background: var(--mkt-accent) !important;
  color: var(--mkt-text-primary) !important;
  border: 1px solid var(--mkt-border);
  box-shadow: none !important;
}

/* Accent */
body.marketing-dark .accent,
body.marketing-dark .hero-accent,
body.marketing-dark .fw-bolder,
body.marketing-dark a.text-primary {
  color: var(--mkt-accent) !important;
}

body.marketing-dark .hero-accent {
  -webkit-text-fill-color: var(--mkt-accent);
}

/* Buttons */
body.marketing-dark .btn-primary-theme,
body.marketing-dark .btn-gradient,
body.marketing-dark .btn-primary-glow,
body.marketing-dark .cta-gradient-btn,
body.marketing-dark .btn-primary-ff,
body.marketing-dark a.btn[style*="1435b1"],
body.marketing-dark a.btn[style*="7091E6"] {
  background: var(--mkt-accent) !important;
  border: 1px solid var(--mkt-accent) !important;
  color: var(--mkt-text-primary) !important;
  box-shadow: none !important;
}

body.marketing-dark .btn-primary-theme:hover,
body.marketing-dark .btn-gradient:hover,
body.marketing-dark .btn-primary-glow:hover,
body.marketing-dark .cta-gradient-btn:hover,
body.marketing-dark .btn-primary-ff:hover {
  background: #3d6ae6 !important;
  border-color: #3d6ae6 !important;
  color: var(--mkt-text-primary) !important;
  transform: translateY(-2px);
}

body.marketing-dark .btn-outline-primary,
body.marketing-dark .btn-outline-glow,
body.marketing-dark .btn-outline-ff {
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-primary) !important;
  background: transparent !important;
}

body.marketing-dark .btn-outline-primary:hover,
body.marketing-dark .btn-outline-glow:hover,
body.marketing-dark .btn-outline-ff:hover {
  border-color: var(--mkt-accent) !important;
  color: var(--mkt-accent) !important;
  background: transparent !important;
}

body.marketing-dark .section-title::after {
  background: var(--mkt-accent) !important;
}

/* Hero badges and floating elements */
body.marketing-dark .hero-badge,
body.marketing-dark .floating-badge,
body.marketing-dark .floating-element {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-primary) !important;
  box-shadow: none !important;
}

body.marketing-dark .element-title,
body.marketing-dark .floating-element .element-title {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .element-subtitle,
body.marketing-dark .floating-element .element-subtitle {
  color: var(--mkt-text-secondary) !important;
}

/* Pricing */
body.marketing-dark .pricing-card.featured {
  border: 1px solid var(--mkt-accent) !important;
}

body.marketing-dark .popular-badge {
  background: var(--mkt-accent) !important;
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .pricing-price .amount {
  color: var(--mkt-accent) !important;
}

body.marketing-dark .pricing-price .currency,
body.marketing-dark .pricing-price .period {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .feature-item {
  color: var(--mkt-text-secondary) !important;
  border-bottom-color: var(--mkt-border) !important;
}

body.marketing-dark .toggle-wrapper {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
}

body.marketing-dark .toggle-btn {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .toggle-btn.active {
  background: var(--mkt-accent) !important;
  color: var(--mkt-text-primary) !important;
}

/* Testimonials */
body.marketing-dark .t-quote {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .t-name {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .t-role,
body.marketing-dark .t-meta .text-muted {
  color: var(--mkt-text-secondary) !important;
}

/* FAQ */
body.marketing-dark .accordion-button {
  background: transparent !important;
  color: var(--mkt-text-primary) !important;
  border-color: var(--mkt-border);
}

body.marketing-dark .accordion-button:not(.collapsed) {
  background: var(--mkt-bg-section) !important;
  color: var(--mkt-text-primary) !important;
}

/* CTA section: dark gradient panel */
body.marketing-dark .cta-section {
  background: linear-gradient(180deg, #111827, #0F172A) !important;
  border: 1px solid var(--mkt-border) !important;
}

body.marketing-dark .cta-section-inner .section-title,
body.marketing-dark .cta-section h2,
body.marketing-dark .cta-section .cta-title {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .cta-section-inner .section-subtitle,
body.marketing-dark .cta-section p,
body.marketing-dark .cta-section .cta-subtitle {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .btn-cta-primary {
  background: var(--mkt-accent) !important;
  border-color: var(--mkt-accent) !important;
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .btn-cta-secondary {
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-primary) !important;
  background: transparent !important;
}

/* Stats */
body.marketing-dark .stat-big-number,
body.marketing-dark .stat-number {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .stat-desc,
body.marketing-dark .stat-label {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .timeline-track {
  background: var(--mkt-border) !important;
}

/* Home hero float cards */
body.marketing-dark .hero-float-card-name,
body.marketing-dark .hero-float-card-head {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .hero-float-card-sector,
body.marketing-dark .hero-float-card-badge {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .hero-float-card-logo {
  background: var(--mkt-bg-section) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-accent) !important;
}

/* Home: phone mockup and inner cards dark */
body.marketing-dark .hero-phone-screen,
body.marketing-dark .hero-phone-deal-discovery {
  background: var(--mkt-bg-main) !important;
}

body.marketing-dark .hero-phone-dd-card,
body.marketing-dark .hero-phone-dd-header {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .hero-phone-dd-pill {
  background: var(--mkt-bg-section) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .hero-phone-dd-title,
body.marketing-dark .hero-phone-dd-startup-name {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .hero-phone-dd-subtext,
body.marketing-dark .hero-phone-dd-meta,
body.marketing-dark .hero-phone-dd-desc {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .feature-circle {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-primary) !important;
  box-shadow: none !important;
}

body.marketing-dark .section-benefits-serious {
  padding: 120px 0 !important;
}

/* Blog / Insights: dark surfaces */
body.marketing-dark .blog-page {
  background: var(--mkt-bg-main) !important;
}

body.marketing-dark .blog-hero__title,
body.marketing-dark .blog-hero__subtitle {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .blog-hero__subtitle {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .blog-toolbar,
body.marketing-dark .blog-search__input {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .blog-search__input::placeholder {
  color: var(--mkt-text-secondary);
}

body.marketing-dark .blog-card,
body.marketing-dark .blog-featured__card,
body.marketing-dark .blog-featured__placeholder-card {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  border-radius: 20px !important;
}

body.marketing-dark .blog-card:hover,
body.marketing-dark .blog-featured__card:hover {
  background: var(--mkt-bg-card-elevated) !important;
  border-color: var(--mkt-border-hover) !important;
  transform: translateY(-2px);
}

body.marketing-dark .blog-card__title,
body.marketing-dark .blog-card__body,
body.marketing-dark .blog-featured__title {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .blog-card__summary,
body.marketing-dark .blog-card__meta,
body.marketing-dark .blog-featured__summary,
body.marketing-dark .blog-featured__meta {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .blog-featured__placeholder-card {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .blog-pill {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .blog-pill--active {
  background: var(--mkt-bg-card-elevated) !important;
  border-color: var(--mkt-accent) !important;
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .blog-meta-bar__count,
body.marketing-dark .blog-meta-bar__total {
  color: var(--mkt-text-secondary) !important;
}

/* Floating nav — same premium navy gradient family as desktop sidenav */
body.marketing-dark .floating-hamburger,
body.marketing-dark .mobile-hamburger {
  background:
    radial-gradient(ellipse 130% 110% at 12% 0%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 95% 85% at 100% 28%, rgba(59, 130, 246, 0.12) 0%, transparent 48%),
    linear-gradient(165deg, #121a2e 0%, #0b1424 46%, #050b18 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  color: #f1f5ff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

body.marketing-dark .floating-hamburger:hover,
body.marketing-dark .mobile-hamburger:hover {
  background:
    radial-gradient(ellipse 130% 110% at 12% 0%, rgba(59, 130, 246, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 95% 85% at 100% 28%, rgba(59, 130, 246, 0.16) 0%, transparent 48%),
    linear-gradient(165deg, #162448 0%, #0d1830 48%, #060b18 100%) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #f8fafc !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 22px rgba(0, 0, 0, 0.45) !important;
}

/* Sidenav — premium navy gradient (match base desktop sidenav; avoid flat section fill) */
body.marketing-dark .desktop-sidenav {
  background:
    radial-gradient(ellipse 115% 72% at 0% 0%, rgba(59, 130, 246, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 85% 55% at 100% 28%, rgba(59, 130, 246, 0.07) 0%, transparent 48%),
    linear-gradient(180deg, #121a2e 0%, #0b1424 44%, #050b18 100%) !important;
  border-right: 1px solid rgba(148, 163, 184, 0.11) !important;
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.07),
    6px 0 32px rgba(0, 0, 0, 0.45) !important;
}

body.marketing-dark .desktop-sidenav .sidenav-section-label {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .desktop-sidenav .sidenav-link,
body.marketing-dark .desktop-sidenav .sidenav-logout-btn {
  color: var(--mkt-text-secondary) !important;
}

/* Logout: no left accent strip; override global button[type="submit"] blue gradient + border */
body.marketing-dark .desktop-sidenav button.sidenav-logout-btn[type="submit"],
body.marketing-dark .desktop-sidenav .sidenav-logout-btn {
  background: none !important;
  background-image: none !important;
  border: none !important;
  border-left: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  padding-left: 32px !important;
}

body.marketing-dark .desktop-sidenav .sidenav-logout-btn:hover,
body.marketing-dark .desktop-sidenav .sidenav-logout-btn:focus {
  background: rgba(239, 68, 68, 0.12) !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.marketing-dark .desktop-sidenav .sidenav-link:hover:not(.active) {
  color: var(--mkt-text-primary) !important;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.18) 0%, transparent 100%) !important;
  border-left-color: rgba(96, 165, 250, 0.75) !important;
}

body.marketing-dark .desktop-sidenav .sidenav-link.active {
  color: var(--mkt-text-primary) !important;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.32) 0%, rgba(37, 99, 235, 0.12) 48%, rgba(59, 130, 246, 0.04) 100%) !important;
  border-left-color: var(--mkt-accent) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.marketing-dark .desktop-sidenav .closebtn {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .desktop-sidenav .closebtn:hover {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .mobile-menu-overlay {
  background: var(--mkt-bg-main) !important;
}

body.marketing-dark .mobile-menu-content {
  background:
    radial-gradient(ellipse 100% 60% at 0% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #121a2e 0%, #0b1424 50%, #050b18 100%) !important;
  border: 1px solid var(--mkt-border) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.marketing-dark .mobile-menu-link {
  color: var(--mkt-text-primary) !important;
}

body.marketing-dark .mobile-menu-link:hover,
body.marketing-dark .mobile-menu-link.active {
  color: var(--mkt-accent) !important;
}

/* Utility */
body.marketing-dark .eyebrow {
  color: var(--mkt-text-secondary) !important;
}

body.marketing-dark .badge-success {
  background: var(--mkt-bg-card) !important;
  border: 1px solid var(--mkt-border) !important;
  color: var(--mkt-text-secondary) !important;
}

/* Remove legacy bright/white elements */
body.marketing-dark .platform-badges,
body.marketing-dark .badge.bg-success,
body.marketing-dark .badge.bg-primary,
body.marketing-dark .badge.bg-info,
body.marketing-dark .badge.bg-warning {
  display: none !important;
}

/* ========== Marketing footer (footer_marketing.html) ========== */
body.marketing-dark .footer-marketing,
.footer.footer-marketing {
  background: #060F20 !important;
  border-top: 1px solid #1E293B !important;
  padding: 2.75rem 0 1.75rem !important;
  margin-top: 0 !important;
  color: var(--mkt-text-primary);
}

.footer-marketing__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}

.footer-marketing__brand {
  max-width: 280px;
}

.footer-marketing__logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-marketing__logo {
  height: 36px;
  width: auto;
  display: block;
}

.footer-marketing__logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: #E8EDF6;
}

.footer-marketing__tagline {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0;
}

.footer-marketing__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F1F5FF;
  margin: 0 0 1rem;
}

.footer-marketing__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-marketing__links li {
  margin-bottom: 0.5rem;
}

.footer-marketing__link {
  color: #3F63D0;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-marketing__link:hover {
  color: #7EA8FF;
}

.footer-marketing__bottom {
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-marketing__copyright {
  font-size: 0.875rem;
  color: #94A3B8;
  margin: 0;
}

.footer-marketing__secure {
  font-size: 0.75rem;
  color: #94A3B8;
  margin: 0;
}

@media (max-width: 991px) {
  .footer-marketing__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-marketing__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .footer-marketing__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-marketing__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Responsive: section padding */
@media (max-width: 767px) {
  body.marketing-dark .section-alt,
  body.marketing-dark .section,
  body.marketing-dark section {
    padding: 80px 0 !important;
  }
}

@media (max-width: 575px) {
  body.marketing-dark h1,
  body.marketing-dark .hero-text,
  body.marketing-dark .hero-title,
  body.marketing-dark .hero-heading {
    font-size: 36px !important;
  }

  body.marketing-dark h2,
  body.marketing-dark .section-title,
  body.marketing-dark .section-heading {
    font-size: 26px !important;
  }
}
