/* PGI Light Mode Overrides */
/* Applied when html[data-theme="light"] is set */
/* Comprehensive - covers all 18 marketing pages */

/* Hide background images */
[data-theme="light"] .hero-bg {
  display: none !important;
}

/* Body */
[data-theme="light"] body {
  background-color: #ffffff !important;
  color: #121d2b !important;
}

/* Hero sections */
[data-theme="light"] .hero,
[data-theme="light"] .article-hero {
  background: #f8fafc !important;
}

[data-theme="light"] .hero__title,
[data-theme="light"] .article-hero__title {
  color: #121d2b !important;
  text-shadow: none !important;
}

[data-theme="light"] .hero__subtitle,
[data-theme="light"] .hero__eyebrow,
[data-theme="light"] .article-hero__excerpt {
  color: #525252 !important;
  text-shadow: none !important;
}

[data-theme="light"] .article-hero__category {
  color: #06D6A0 !important;
}

[data-theme="light"] .article-hero__meta {
  color: #737373 !important;
}

/* Hero eyebrow badge */
[data-theme="light"] .hero__eyebrow {
  background: rgba(0, 0, 0, 0.05) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: #e5e5e5 !important;
  color: #525252 !important;
}

/* Hero CTA buttons */
[data-theme="light"] .hero__cta .btn {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-theme="light"] .hero__cta .btn[style*="border: 2px solid #ffffff"] {
  border-color: #121d2b !important;
  color: #121d2b !important;
  background: transparent !important;
}

/* Glass containers - make solid white (exclude modals) */
[data-theme="light"] [style*="background: rgba(255, 255, 255, 0.08)"]:not(.notify-modal-overlay),
[data-theme="light"] [style*="backdrop-filter"]:not(.notify-modal-overlay) {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: #e5e5e5 !important;
}

/* Content sections */
[data-theme="light"] .section {
  background: #ffffff !important;
}

[data-theme="light"] .section--alt {
  background: #f8fafc !important;
}

/* Section titles and text */
[data-theme="light"] .section__title {
  color: #121d2b !important;
}

[data-theme="light"] .section__subtitle {
  color: #525252 !important;
}

/* Content blocks (used on what-is-pgi, how-it-works, how-we-underwrite, etc.) */
[data-theme="light"] .content h2 {
  color: #121d2b !important;
}

[data-theme="light"] .content h3 {
  color: #121d2b !important;
}

[data-theme="light"] .content p {
  color: #525252 !important;
}

[data-theme="light"] .content li {
  color: #525252 !important;
}

[data-theme="light"] .content strong {
  color: #262626 !important;
}

[data-theme="light"] .content ul {
  color: #525252 !important;
}

/* Feature cards */
[data-theme="light"] .feature {
  background: #f8fafc !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top-color: #e5e5e5 !important;
  border-bottom-color: #e5e5e5 !important;
}

[data-theme="light"] .feature__title {
  color: #121d2b !important;
}

[data-theme="light"] .feature__description {
  color: #525252 !important;
}

/* Stat cards */
[data-theme="light"] .stat {
  background: #f8fafc !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: #e5e5e5 !important;
}

[data-theme="light"] .stat__number {
  color: #121d2b !important;
}

[data-theme="light"] .stat__label {
  color: #525252 !important;
}

/* Steps */
[data-theme="light"] .steps__title {
  color: #121d2b !important;
}

[data-theme="light"] .step__title {
  color: #121d2b !important;
}

[data-theme="light"] .step__description {
  color: #525252 !important;
}

[data-theme="light"] .step__number {
  color: #0f172a !important;
}

[data-theme="light"] .step__link {
  color: #06D6A0 !important;
}

/* Cards general */
[data-theme="light"] .card {
  background: #ffffff !important;
  border-color: #e5e5e5 !important;
}

[data-theme="light"] .card__title,
[data-theme="light"] .card h3 {
  color: #121d2b !important;
}

[data-theme="light"] .card__description,
[data-theme="light"] .card p {
  color: #525252 !important;
}

/* Blog cards */
[data-theme="light"] .blog-card {
  background: #ffffff !important;
  border-color: #e5e5e5 !important;
}

[data-theme="light"] .blog-card__title {
  color: #121d2b !important;
}

[data-theme="light"] .blog-card__excerpt {
  color: #525252 !important;
}

/* FAQ */
[data-theme="light"] .faq__title {
  color: #121d2b !important;
}

[data-theme="light"] .faq__question {
  color: #121d2b !important;
}

[data-theme="light"] .faq__answer {
  color: #525252 !important;
}

[data-theme="light"] .faq__item {
  border-bottom-color: #e5e5e5 !important;
}

/* Framework stages (how-we-underwrite) */
[data-theme="light"] .framework-stage {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
}

[data-theme="light"] .framework-stage__title {
  color: #121d2b !important;
}

[data-theme="light"] .framework-stage__description {
  color: #525252 !important;
}

[data-theme="light"] .framework-stage__details h4 {
  color: #121d2b !important;
}

[data-theme="light"] .framework-stage__details li {
  color: #525252 !important;
}

[data-theme="light"] .framework-stage__details p {
  color: #525252 !important;
}

[data-theme="light"] .framework-stage__toggle {
  color: #525252 !important;
}

/* Question items (how-we-underwrite) */
[data-theme="light"] .question-item {
  background: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
}

[data-theme="light"] .question-item__number {
  background: #f5f5f5 !important;
  color: #404040 !important;
}

[data-theme="light"] .question-item__text {
  color: #121d2b !important;
}

/* Highlight boxes */
[data-theme="light"] .highlight {
  background: rgba(6, 214, 160, 0.08) !important;
}

[data-theme="light"] .highlight h4 {
  color: #121d2b !important;
}

[data-theme="light"] .highlight p {
  color: #525252 !important;
}

[data-theme="light"] .highlight-box {
  background: rgba(6, 214, 160, 0.08) !important;
}

[data-theme="light"] .highlight-box__title {
  color: #121d2b !important;
}

/* Pricing */
[data-theme="light"] .pricing-card {
  background: #ffffff !important;
  border-color: #e5e5e5 !important;
}

[data-theme="light"] .pricing-card__title {
  color: #121d2b !important;
}

[data-theme="light"] .pricing-card__price {
  color: #121d2b !important;
}

[data-theme="light"] .pricing-card__feature {
  color: #525252 !important;
}

/* Buttons */
[data-theme="light"] .btn--secondary {
  background: #ffffff !important;
  color: #404040 !important;
  border-color: #d4d4d4 !important;
}

[data-theme="light"] .btn--secondary:hover {
  background: #f5f5f5 !important;
  border-color: #a3a3a3 !important;
}

[data-theme="light"] .btn--primary {
  color: #0f172a !important;
}

/* Inline buttons with dark backgrounds */
[data-theme="light"] .btn[style*="background: #121d2b"] {
  background: #121d2b !important;
  color: #ffffff !important;
}

[data-theme="light"] .btn[style*="border: 2px solid #ffffff"] {
  border-color: #121d2b !important;
  color: #121d2b !important;
  background: transparent !important;
}

/* Contact form */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: #ffffff !important;
  color: #121d2b !important;
  border-color: #d4d4d4 !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: #a3a3a3 !important;
}

[data-theme="light"] label {
  color: #121d2b !important;
}

/* Store buttons (download page) */
[data-theme="light"] .store-button {
  background: #121d2b !important;
  color: #ffffff !important;
}

[data-theme="light"] .features {
  background: #ffffff !important;
}

[data-theme="light"] .features__title {
  color: #121d2b !important;
}

/* Phone mockup stays dark */

/* Footer */
[data-theme="light"] .footer {
  background: #f8fafc !important;
  border-top: 1px solid #e5e5e5 !important;
}

[data-theme="light"] .footer__title {
  color: #121d2b !important;
}

[data-theme="light"] .footer__link {
  color: #525252 !important;
}

[data-theme="light"] .footer__link:hover {
  color: #06D6A0 !important;
}

[data-theme="light"] .footer__brand p {
  color: #525252 !important;
}

[data-theme="light"] .footer__copy {
  color: #737373 !important;
}

[data-theme="light"] .footer__bottom {
  border-top-color: #e5e5e5 !important;
}

/* CTA sections */
[data-theme="light"] .cta-section,
[data-theme="light"] section[style*="background: var(--color-primary)"],
[data-theme="light"] section[style*="background: #0f172a"],
[data-theme="light"] section[style*="background: #121d2b"] {
  background: #f0fdf4 !important;
}

[data-theme="light"] .cta-section h2 {
  color: #121d2b !important;
}

[data-theme="light"] .cta-section p {
  color: #525252 !important;
}

/* General text overrides for inline white text */
[data-theme="light"] [style*="color: #ffffff"],
[data-theme="light"] [style*="color: var(--color-white)"] {
  color: #121d2b !important;
}

[data-theme="light"] [style*="color: var(--color-gray-300)"] {
  color: #525252 !important;
}

[data-theme="light"] [style*="color: var(--color-gray-400)"] {
  color: #737373 !important;
}

/* Blockquotes */
[data-theme="light"] blockquote {
  background: #f8fafc !important;
  color: #525252 !important;
}

/* Tables */
[data-theme="light"] table {
  border-color: #e5e5e5 !important;
}

[data-theme="light"] th {
  background: #f8fafc !important;
  color: #121d2b !important;
}

[data-theme="light"] td {
  color: #525252 !important;
  border-color: #e5e5e5 !important;
}

/* Store badges */
[data-theme="light"] .hero__stores img {
  filter: none !important;
}

/* Inline glass panels */
[data-theme="light"] div[style*="rgba(255, 255, 255, 0.08)"] {
  background: rgba(0, 0, 0, 0.03) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: #e5e5e5 !important;
}

/* Links */
[data-theme="light"] a {
  color: inherit;
}

/* NAICS lookup */
[data-theme="light"] .results-panel {
  background: #ffffff !important;
  border-color: #e5e5e5 !important;
}

/* Navbar overrides handled in navbar.js */
