

:root {
  --color-purple-600: #9333ea;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
}
html:not([data-theme="dark"]) .btn-submit-form {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.28) !important;
}

/* ---------- Next.js Font Variable & Stacking Fixes ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/_next/static/media/fba5a26ea33df6a3-s.p.18rizl4rsrl42.woff2') format('woff2');
}

.plus_jakarta_sans_ba9f80c7-module__XjGipa__variable {
  --font-plus-jakarta: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.logo-text,
.logo-subtitle {
  display: block;
}

.logo-subtitle {
  margin-top: 2px;
}

/* ---------- Responsive Login Text ---------- */
.login-text-short {
  display: inline;
}
.login-text-full {
  display: none;
}
@media (min-width: 640px) {
  .login-text-short {
    display: none;
  }
  .login-text-full {
    display: inline;
  }
}

/* ---------- Legal Pages (Privacy Policy & Terms) ---------- */
.legal-page {
  padding-top: 8.5rem;
  padding-bottom: 6rem;
  position: relative;
  z-index: 10;
  min-height: 85vh;
}
.legal-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}
.legal-header h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.legal-header p {
  color: var(--color-slate-400);
  font-size: 0.95rem;
  font-weight: 500;
}
.legal-content {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: var(--radius-3xl);
}
@media (min-width: 768px) {
  .legal-content {
    padding: 3.5rem;
  }
}
.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-white);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  color: var(--color-slate-300);
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.legal-content li {
  color: var(--color-slate-300);
  font-size: 0.95rem;
  line-height: 1.7;
}
.legal-content strong {
  color: var(--color-white);
  font-weight: 700;
}
.legal-content a {
  color: var(--color-indigo-400);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Blog & Article Styles ---------- */
.blog-hero-bg {
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.18), rgba(16, 185, 129, 0.05) 45%, transparent 75%);
}
.article-body {
  color: var(--color-slate-300);
  font-size: 1.05rem;
  line-height: 1.85;
}
.article-body h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 900;
  color: var(--color-white);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.article-body h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--color-white);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}
.article-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.article-body p {
  margin-bottom: 1.35rem;
  color: var(--color-slate-300);
}
.article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.article-body li {
  color: var(--color-slate-300);
}
.article-body strong {
  color: var(--color-white);
  font-weight: 700;
}
.article-body em {
  font-style: italic;
}

/* Utility classes used in Blog tables & callouts */
.w-full { width: 100%; }
.text-left { text-align: left; }
.border-collapse { border-collapse: collapse; }
.overflow-x-auto { overflow-x: auto; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-0 { margin-bottom: 0 !important; }
.mr-2 { margin-right: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-6 { padding: 1.5rem; }
.rounded-2xl { border-radius: 1rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.text-white { color: #ffffff; }
.text-slate-300 { color: var(--color-slate-300); }
.text-slate-400 { color: var(--color-slate-400); }
.text-yellow-400 { color: var(--color-amber-400); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border { border-width: 1px; border-style: solid; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.divide-y > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-white\/5 > * + * { border-color: rgba(255, 255, 255, 0.05); }
.bg-emerald-950\/30 { background-color: rgba(6, 78, 59, 0.3); }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.bg-indigo-950\/40 { background-color: rgba(30, 27, 75, 0.4); }
.border-indigo-500\/30 { border-color: rgba(99, 102, 241, 0.3); }
.space-y-4 > * + * { margin-top: 1rem; }

/* School Module Icon Container Default in Dark Mode */
.module-icon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}


/* ==========================================================================
   EduSuite Theme Toggle Button & Complete Light Mode (Default) System
   Default = Light Mode | html[data-theme="dark"] = Dark Mode
   ========================================================================== */

/* ---------- Theme Toggle Button ---------- */
.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 40px;
  padding: 0 1rem;
  border-radius: var(--radius-xl);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  flex-shrink: 0;
}

.btn-theme-toggle:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.btn-theme-toggle svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn-theme-toggle:hover svg {
  transform: rotate(15deg) scale(1.1);
}

.btn-theme-toggle .theme-toggle-text {
  display: none;
}

@media (min-width: 640px) {
  .btn-theme-toggle .theme-toggle-text {
    display: inline;
  }
}

.mobile-theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.25rem auto 0;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-xl);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  width: fit-content;
}

.mobile-theme-toggle-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   DEFAULT LIGHT MODE OVERRIDES (Active whenever data-theme is NOT "dark")
   ========================================================================== */

html:not([data-theme="dark"]) {
  color-scheme: light;
}

html:not([data-theme="dark"]) body {
  background-color: #f8fafc;
  color: #0f172a;
}

html:not([data-theme="dark"]) ::selection {
  background: rgba(79, 70, 229, 0.18);
  color: #312e81;
}

/* Scrollbar in Light Mode */
html:not([data-theme="dark"]) ::-webkit-scrollbar-track {
  background: #f1f5f9;
}
html:not([data-theme="dark"]) ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
html:not([data-theme="dark"]) ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Theme Toggle Button in Light Mode */
html:not([data-theme="dark"]) .btn-theme-toggle,
html:not([data-theme="dark"]) .mobile-theme-toggle-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

html:not([data-theme="dark"]) .btn-theme-toggle:hover,
html:not([data-theme="dark"]) .mobile-theme-toggle-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

/* Glass Effects in Light Mode */
html:not([data-theme="dark"]) .glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

html:not([data-theme="dark"]) .glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
}

/* Gradient Text in Light Mode (Richer saturation for white background) */
html:not([data-theme="dark"]) .gradient-text {
  background: linear-gradient(to right, #4f46e5, #9333ea, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html:not([data-theme="dark"]) .gradient-text-indigo-emerald {
  background: linear-gradient(to right, #4f46e5, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar in Light Mode */
html:not([data-theme="dark"]) .logo-icon {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

html:not([data-theme="dark"]) .logo-text {
  color: #0f172a;
}

html:not([data-theme="dark"]) .logo-text .accent {
  color: #4f46e5;
}

html:not([data-theme="dark"]) .logo-subtitle {
  color: #64748b;
}

html:not([data-theme="dark"]) .nav-links a {
  color: #475569;
}

html:not([data-theme="dark"]) .nav-links a:hover {
  color: #059669;
}

html:not([data-theme="dark"]) .nav-links a:nth-child(2):hover {
  color: #7c3aed;
}

html:not([data-theme="dark"]) .nav-links a:nth-child(3):hover,
html:not([data-theme="dark"]) .nav-links a:nth-child(4):hover,
html:not([data-theme="dark"]) .nav-links a:nth-child(5):hover {
  color: #e11d48;
}

html:not([data-theme="dark"]) .btn-login {
  background: #0f172a;
  border: 1px solid #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

html:not([data-theme="dark"]) .btn-login:hover {
  background: #1e293b;
  border-color: #1e293b;
}

html:not([data-theme="dark"]) .btn-login .icon {
  color: #818cf8;
}

html:not([data-theme="dark"]) .btn-mobile-menu {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

html:not([data-theme="dark"]) .btn-mobile-menu:hover {
  background: #e2e8f0;
}

html:not([data-theme="dark"]) .mobile-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12);
}

html:not([data-theme="dark"]) .mobile-dropdown-inner a {
  color: #334155;
}

html:not([data-theme="dark"]) .mobile-dropdown-inner a:hover {
  color: #059669;
}

html:not([data-theme="dark"]) .mobile-dropdown-inner a.partner-link {
  color: #e11d48;
  border-bottom: 1px solid #e2e8f0;
}

/* Background Orbs in Light Mode */
html:not([data-theme="dark"]) .bg-orb-indigo {
  background: rgba(99, 102, 241, 0.12);
}

html:not([data-theme="dark"]) .bg-orb-emerald {
  background: rgba(16, 185, 129, 0.1);
}

/* Hero Section in Light Mode */
html:not([data-theme="dark"]) .hero-badge {
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: #4f46e5;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.08);
}

html:not([data-theme="dark"]) .hero-title {
  color: #0f172a;
}

html:not([data-theme="dark"]) .hero-description {
  color: #475569;
}

html:not([data-theme="dark"]) .hero-description b {
  color: #0f172a;
}

html:not([data-theme="dark"]) .btn-primary {
  box-shadow: 0 15px 30px rgba(79, 70, 229, 0.25);
}

html:not([data-theme="dark"]) .btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

html:not([data-theme="dark"]) .btn-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* App Store & Play Store Badges (White-text PNGs need a dark pill surface in Light Mode) */
html:not([data-theme="dark"]) .app-badge {
  background: #0f172a;
  padding: 0.45rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid #1e293b;
  filter: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

html:not([data-theme="dark"]) .app-badge:hover {
  background: #1e293b;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
}

html:not([data-theme="dark"]) .hero-mobile-mockup img {
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
}

html:not([data-theme="dark"]) .floating-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

html:not([data-theme="dark"]) .floating-card-title {
  color: #0f172a;
}

html:not([data-theme="dark"]) .floating-card-subtitle {
  color: #475569;
}

html:not([data-theme="dark"]) .floating-card-label {
  color: #475569;
}

html:not([data-theme="dark"]) .floating-card-amount {
  color: #4f46e5;
}

html:not([data-theme="dark"]) .floating-card-icon.emerald,
html:not([data-theme="dark"]) .floating-card-badge {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}

html:not([data-theme="dark"]) .progress-bar {
  background: #e2e8f0;
}

/* Stats Bar in Light Mode */
html:not([data-theme="dark"]) .stats-bar {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

@media (min-width: 768px) {
  html:not([data-theme="dark"]) .stat-item:not(:last-child) {
    border-right: 1px solid #e2e8f0;
  }
}

html:not([data-theme="dark"]) .stat-value {
  color: #0f172a;
}

html:not([data-theme="dark"]) .stat-label {
  color: #64748b;
}

/* Features Showcase in Light Mode */
html:not([data-theme="dark"]) .features-showcase {
  border-top: 1px solid #e2e8f0;
}

html:not([data-theme="dark"]) .section-badge {
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: #4f46e5;
}

html:not([data-theme="dark"]) .section-title {
  color: #0f172a;
}

html:not([data-theme="dark"]) .section-subtitle {
  color: #475569;
}

html:not([data-theme="dark"]) .tab-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

html:not([data-theme="dark"]) .tab-btn:hover {
  background: #f8fafc;
}

html:not([data-theme="dark"]) .tab-sublabel {
  color: #64748b;
}

html:not([data-theme="dark"]) .tab-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

html:not([data-theme="dark"]) .tab-card h3,
html:not([data-theme="dark"]) .feature-row-content h3,
html:not([data-theme="dark"]) .beyond-card h4 {
  color: #0f172a;
}

html:not([data-theme="dark"]) .tab-card p,
html:not([data-theme="dark"]) .feature-row-content p,
html:not([data-theme="dark"]) .beyond-card p {
  color: #475569;
}

html:not([data-theme="dark"]) .feature-list li span {
  color: #1e293b;
}

html:not([data-theme="dark"]) .feature-image-card,
html:not([data-theme="dark"]) .tab-card-image {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
}

html:not([data-theme="dark"]) .beyond-card:hover {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-4px);
}

html:not([data-theme="dark"]) .beyond-card-icon.pink { background: rgba(236, 72, 153, 0.12); color: #db2777; }
html:not([data-theme="dark"]) .beyond-card-icon.cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
html:not([data-theme="dark"]) .beyond-card-icon.teal { background: rgba(20, 184, 166, 0.12); color: #0d9488; }
html:not([data-theme="dark"]) .beyond-card-icon.rose { background: rgba(244, 63, 94, 0.12); color: #e11d48; }

/* CTA Banner in Light Mode */
html:not([data-theme="dark"]) .cta-banner {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(147, 51, 234, 0.08));
  border: 1px solid rgba(79, 70, 229, 0.25);
  box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.12);
}

html:not([data-theme="dark"]) .cta-icons > div {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

html:not([data-theme="dark"]) .cta-banner h3 {
  color: #0f172a;
}

html:not([data-theme="dark"]) .cta-banner p {
  color: #334155;
}

html:not([data-theme="dark"]) .cta-banner p span {
  color: #4f46e5;
}

html:not([data-theme="dark"]) .btn-white {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25);
}

html:not([data-theme="dark"]) .btn-white:hover {
  background: #4338ca;
}

/* School Modules in Light Mode */
html:not([data-theme="dark"]) .school-modules-header .icon-box {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.12);
}

html:not([data-theme="dark"]) .school-modules-header .tag {
  color: #059669;
}

html:not([data-theme="dark"]) .school-modules-header h3 {
  color: #0f172a;
}

html:not([data-theme="dark"]) .school-modules-header p {
  color: #475569;
}

html:not([data-theme="dark"]) .module-icon {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.07);
}

html:not([data-theme="dark"]) .module-item:hover .module-icon {
  border-color: #cbd5e1;
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.12);
}

html:not([data-theme="dark"]) .module-icon i[style*="#cbd5e1"],
html:not([data-theme="dark"]) .module-icon i[style*="#94a3b8"] {
  color: #475569 !important;
}

html:not([data-theme="dark"]) .module-name {
  color: #334155;
  font-weight: 700;
}

html:not([data-theme="dark"]) .module-item:hover .module-name {
  color: #4f46e5;
}

/* Infrastructure in Light Mode */
html:not([data-theme="dark"]) .infra-inner h2 {
  color: #0f172a;
}

html:not([data-theme="dark"]) .infra-feature-icon {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

html:not([data-theme="dark"]) .infra-feature h4 {
  color: #0f172a;
}

html:not([data-theme="dark"]) .infra-feature p {
  color: #475569;
}

/* Pricing in Light Mode */
html:not([data-theme="dark"]) .pricing-card .plan-name,
html:not([data-theme="dark"]) .pricing-card .plan-price .amount {
  color: #0f172a;
}

html:not([data-theme="dark"]) .pricing-card .plan-desc,
html:not([data-theme="dark"]) .pricing-card .plan-price .period {
  color: #475569;
}

html:not([data-theme="dark"]) .pricing-card .plan-features li {
  color: #334155;
}

html:not([data-theme="dark"]) .btn-pricing.outline {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

/* Contact Section in Light Mode */
html:not([data-theme="dark"]) .contact-description {
  color: #475569;
}

html:not([data-theme="dark"]) .contact-highlight-item h4 {
  color: #0f172a;
}

html:not([data-theme="dark"]) .contact-highlight-item p {
  color: #64748b;
}

html:not([data-theme="dark"]) .icon-box-small.bg-indigo { background: rgba(79, 70, 229, 0.12); color: #4f46e5; }
html:not([data-theme="dark"]) .icon-box-small.bg-emerald { background: rgba(16, 185, 129, 0.12); color: #059669; }
html:not([data-theme="dark"]) .icon-box-small.bg-purple { background: rgba(147, 51, 234, 0.12); color: #7c3aed; }

html:not([data-theme="dark"]) .contact-form-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

html:not([data-theme="dark"]) .form-heading {
  color: #0f172a;
}

html:not([data-theme="dark"]) .form-group label {
  color: #334155;
  font-weight: 600;
}

html:not([data-theme="dark"]) .form-group input,
html:not([data-theme="dark"]) .form-group select,
html:not([data-theme="dark"]) .form-group textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

html:not([data-theme="dark"]) .form-group input::placeholder,
html:not([data-theme="dark"]) .form-group textarea::placeholder {
  color: #94a3b8;
}

html:not([data-theme="dark"]) .form-group input:focus,
html:not([data-theme="dark"]) .form-group select:focus,
html:not([data-theme="dark"]) .form-group textarea:focus {
  border-color: #4f46e5;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

html:not([data-theme="dark"]) .form-group select option {
  background: #ffffff;
  color: #0f172a;
}

/* App Store Modal in Light Mode */
html:not([data-theme="dark"]) .app-store-modal {
  background: rgba(15, 23, 42, 0.6);
}

html:not([data-theme="dark"]) .app-store-modal-content h3 {
  color: #0f172a;
}

html:not([data-theme="dark"]) .app-store-modal-content p {
  color: #475569;
}

html:not([data-theme="dark"]) .btn-modal-close {
  background: #0f172a;
  color: #ffffff;
}

/* Footer in Light Mode */
html:not([data-theme="dark"]) .footer {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

html:not([data-theme="dark"]) .footer-brand p {
  color: #475569;
}

html:not([data-theme="dark"]) .footer-column h4 {
  color: #0f172a;
}

html:not([data-theme="dark"]) .footer-column ul a {
  color: #475569;
}

html:not([data-theme="dark"]) .footer-column ul a:hover {
  color: #4f46e5;
}

html:not([data-theme="dark"]) .footer-bottom {
  border-top: 1px solid #cbd5e1;
}

html:not([data-theme="dark"]) .footer-bottom p {
  color: #64748b;
}

html:not([data-theme="dark"]) .footer-socials a {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

html:not([data-theme="dark"]) .footer-socials a:hover {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
}

/* Legal Pages in Light Mode */
html:not([data-theme="dark"]) .legal-header h1,
html:not([data-theme="dark"]) .legal-content h2,
html:not([data-theme="dark"]) .legal-content strong {
  color: #0f172a;
}

html:not([data-theme="dark"]) .legal-header p,
html:not([data-theme="dark"]) .legal-content p,
html:not([data-theme="dark"]) .legal-content li {
  color: #334155;
}

html:not([data-theme="dark"]) .legal-content a {
  color: #4f46e5;
}

/* Blog & Article Pages in Light Mode */
html:not([data-theme="dark"]) .blog-hero-bg {
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.1), rgba(16, 185, 129, 0.04) 45%, transparent 75%);
}

html:not([data-theme="dark"]) .article-body,
html:not([data-theme="dark"]) .article-body p,
html:not([data-theme="dark"]) .article-body li {
  color: #334155;
}

html:not([data-theme="dark"]) .article-body h2,
html:not([data-theme="dark"]) .article-body h3,
html:not([data-theme="dark"]) .article-body h4,
html:not([data-theme="dark"]) .article-body strong {
  color: #0f172a;
}

html:not([data-theme="dark"]) .article-body .text-white {
  color: #0f172a !important;
}

html:not([data-theme="dark"]) .article-body .text-slate-300,
html:not([data-theme="dark"]) .article-body .text-slate-400 {
  color: #334155 !important;
}

html:not([data-theme="dark"]) .article-body .text-emerald-400 {
  color: #059669 !important;
}

html:not([data-theme="dark"]) .article-body .text-rose-400 {
  color: #e11d48 !important;
}

html:not([data-theme="dark"]) .article-body .text-yellow-400 {
  color: #d97706 !important;
}

html:not([data-theme="dark"]) .article-body .text-indigo-400 {
  color: #4f46e5 !important;
}

html:not([data-theme="dark"]) .article-body .border-white\/10,
html:not([data-theme="dark"]) .article-body .divide-white\/5 > * + * {
  border-color: #e2e8f0 !important;
}

html:not([data-theme="dark"]) .article-body .bg-emerald-950\/30 {
  background-color: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

html:not([data-theme="dark"]) .article-body .bg-indigo-950\/40 {
  background-color: rgba(79, 70, 229, 0.08) !important;
  border-color: rgba(79, 70, 229, 0.25) !important;
}

/* Inline Style Overrides for Blog & Showcase Dividers in Light Mode */
html:not([data-theme="dark"]) [style*="background:#050508"],
html:not([data-theme="dark"]) [style*="background: rgb(5, 5, 8)"] {
  background: #f8fafc !important;
  color: #0f172a !important;
}

html:not([data-theme="dark"]) [style*="border-top:1px solid rgba(255,255,255,0.1)"],
html:not([data-theme="dark"]) [style*="border-top: 1px solid rgba(255, 255, 255, 0.1)"] {
  border-top-color: #e2e8f0 !important;
}

html:not([data-theme="dark"]) [style*="border-bottom:1px solid rgba(255,255,255,0.1)"],
html:not([data-theme="dark"]) [style*="border-bottom: 1px solid rgba(255, 255, 255, 0.1)"] {
  border-bottom-color: #e2e8f0 !important;
}

html:not([data-theme="dark"]) h1[style*="color:white"],
html:not([data-theme="dark"]) h1[style*="color: white"],
html:not([data-theme="dark"]) h2[style*="color:white"],
html:not([data-theme="dark"]) h2[style*="color: white"],
html:not([data-theme="dark"]) h3[style*="color:white"],
html:not([data-theme="dark"]) h3[style*="color: white"],
html:not([data-theme="dark"]) h4[style*="color:white"],
html:not([data-theme="dark"]) h4[style*="color: white"],
html:not([data-theme="dark"]) div[style*="font-weight:800;color:white"],
html:not([data-theme="dark"]) div[style*="font-weight: 800; color: white"] {
  color: #0f172a !important;
}

html:not([data-theme="dark"]) p[style*="color:#e2e8f0"],
html:not([data-theme="dark"]) p[style*="color: rgb(226, 232, 240)"],
html:not([data-theme="dark"]) p[style*="color:#cbd5e1"],
html:not([data-theme="dark"]) p[style*="color: rgb(203, 213, 225)"],
html:not([data-theme="dark"]) p[style*="color:#94a3b8"],
html:not([data-theme="dark"]) p[style*="color: rgb(148, 163, 184)"] {
  color: #334155 !important;
}

html:not([data-theme="dark"]) div[style*="rgba(15,23,42,0.85)"],
html:not([data-theme="dark"]) div[style*="rgba(15, 23, 42, 0.85)"] {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(147, 51, 234, 0.06), #ffffff) !important;
  border-color: rgba(79, 70, 229, 0.25) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06) !important;
}

html:not([data-theme="dark"]) h3[style*="color:#a5b4fc"],
html:not([data-theme="dark"]) div[style*="color:#a5b4fc"],
html:not([data-theme="dark"]) span[style*="color:#a5b4fc"] {
  color: #4f46e5 !important;
}

html:not([data-theme="dark"]) div[style*="background:rgba(255,255,255,0.06)"],
html:not([data-theme="dark"]) span[style*="background:rgba(255,255,255,0.05)"],
html:not([data-theme="dark"]) a[style*="background:rgba(255,255,255,0.06)"] {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

html:not([data-theme="dark"]) div[style*="rgba(255,255,255,0.02)"] {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05) !important;
}

html:not([data-theme="dark"]) section[style*="rgba(49,46,129,0.25)"] {
  background: linear-gradient(to top, rgba(79, 70, 229, 0.08), rgba(241, 245, 249, 0.6), transparent) !important;
  border-top-color: #e2e8f0 !important;
}
