/* A4-8 (owner, 29 Nov 2026: "dark ya jo be best color scheme ho background k lye vo use karo
   cinematic k sath"). The public pages become one dark cinematic space (#050816, the brief's
   palette), so the hero's universe, the ambient layer and the glows read as one world.
   Loaded LAST on the public pages only (home, services, marketplace, products, privacy); the owner
   and portal tools keep their light design (plan C10). Only colours change here, never layout. */
:root {
  --a4-bg: #050816; --a4-ink: #E8F0FF; --a4-muted: #A3B0CE; --a4-line: rgba(232, 240, 255, .12);
  --ink: #E8F0FF; --paper: #050816; --line: rgba(232, 240, 255, .12); --lime: #7FE7FF;
  --glass: rgba(255, 255, 255, .045); --glass-2: rgba(255, 255, 255, .075); --glass-line: rgba(232, 240, 255, .12);
  color-scheme: dark;
}
html, body { background: #050816 !important; color: #E8F0FF; }
body { background-image: radial-gradient(70% 50% at 80% 0%, rgba(128, 85, 255, .12), transparent 70%), radial-gradient(60% 45% at 0% 35%, rgba(0, 217, 255, .07), transparent 70%) !important; background-attachment: fixed !important; }
::selection { background: rgba(0, 217, 255, .35); }

/* Header and footer */
header { background: rgba(5, 8, 22, .72) !important; border-bottom: 1px solid var(--glass-line) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
header .brand b, header .brand b small, .brand b, .brand-descriptor { color: #E8F0FF !important; }
header nav a, header > a { color: #C9D4EE !important; }
header nav a:hover { color: #fff !important; }
.languages, .language { border-color: var(--glass-line) !important; background: rgba(255, 255, 255, .03); }
.languages button, .language button { color: #C9D4EE !important; background: transparent; }
.languages button[aria-pressed=true], .language button[aria-pressed=true] { background: #E8F0FF !important; color: #050816 !important; }
.languages .lite-btn[aria-pressed=true] { background: #7FE7FF !important; color: #050816 !important; }
footer { background: transparent !important; color: #A3B0CE !important; border-top: 1px solid var(--glass-line) !important; }
footer a, footer p, footer small { color: #A3B0CE !important; }

/* Type */
h1, h2, h3, h4 { color: #F4F7FF; }
p, li, dd, dt, label, summary, td, th { color: inherit; }
main p, section p { color: #B6C2DE; }
.eyebrow, .program-kind, .mk-group-title { color: #7FE7FF !important; }
.small, .subtle, .mk-num, .mk-count, .mk-note, .who-note, .pp-meta, .pp-scene-note, .program-note { color: #8E9BBB !important; }
a { color: inherit; }
.text-link, .mk-link, .pp-more, .program-copy a:not(.button) { color: #7FE7FF !important; }

/* Glass surfaces instead of white cards */
.card, .solution-card, .mk-card, .pp-card, .pp-grid section, .uai-faq details, .steps article, .contact form, .story-canvas, .story-details,
.walkthrough-banner, .strip, .dk-cta, .program-device, .assessment-card, .assess, #assessment > div, .solution-tools, .solutions-tabs {
  background: var(--glass) !important; border-color: var(--glass-line) !important; color: #E8F0FF !important; box-shadow: none;
}
.mk-card:hover, .card:hover { box-shadow: 0 0 0 1px rgba(127, 231, 255, .35), 0 24px 60px -30px rgba(0, 217, 255, .45) !important; }
.card p, .mk-line, .pp-card p, .pp-grid p, .pp-grid ul, .solution-card p { color: #A9B6D3 !important; }
.program-device { background: radial-gradient(60% 60% at 50% 55%, rgba(0, 217, 255, .12), transparent 70%), rgba(255, 255, 255, .03) !important; }
.business-story, .uai-faq, .contact, #solutions, #assessment, .who, .programs { background: transparent !important; border-color: var(--glass-line) !important; }
.business-story.final-workflow { background-color: rgba(18, 10, 40, .72) !important; border: 1px solid rgba(128, 85, 255, .25) !important; }
.strip span { color: #A3B0CE !important; }

/* Controls */
.button, .btn-dark, button.primary, .demo-links .button, .actions .button { background: #E8F0FF !important; color: #050816 !important; box-shadow: 0 0 36px -8px rgba(0, 217, 255, .5) !important; }
.button:hover, .btn-dark:hover { background: #fff !important; }
.filters button, .mk-filters button, .solutions-tabs button, .service-collections a, .story-buttons button, .collection-more {
  background: rgba(255, 255, 255, .04) !important; color: #C9D4EE !important; border-color: var(--glass-line) !important;
}
.filters .active, .mk-filters button[aria-pressed=true], .solutions-tabs button[aria-selected=true], .service-collections a[aria-current], .story-buttons button[aria-pressed=true], .story-buttons button.active {
  background: #E8F0FF !important; color: #050816 !important; border-color: #E8F0FF !important;
}
input, textarea, select { background: rgba(255, 255, 255, .06) !important; color: #F4F7FF !important; border-color: rgba(232, 240, 255, .18) !important; }
input::placeholder, textarea::placeholder { color: #7E8BAA; }
select option { background: #0B1230; color: #F4F7FF; }

/* Status badges, brighter for the dark */
.badge { background: transparent !important; }
.badge.for-sale, .badge.live { color: #14E6A2 !important; }
.badge.licence { color: #FFB547 !important; }
.badge.request { color: #7FE7FF !important; }
.badge.demo { color: #B9A2FF !important; }
.badge.internal { color: #A9B6D3 !important; }
.solution-card .badge, .card .badge { color: #C8B6FF !important; border-color: rgba(200, 182, 255, .4) !important; }
.pp-badge { background: rgba(20, 230, 162, .14) !important; color: #14E6A2 !important; }
.pp-badge.soon { background: rgba(255, 181, 71, .14) !important; color: #FFB547 !important; }
.pp-sha { background: rgba(255, 255, 255, .06) !important; color: #C9D4EE !important; }

/* Pictures sit well on the dark */
.who-card, .mk-photo, .pp-scene img, .pp-card-photo img { box-shadow: 0 30px 60px -35px #000; }

/* Chat button and form messages */
#formStatus, .story-disclaimer { color: #A3B0CE !important; }

/* Texts the older stylesheets fixed in dark colours */
.card h3, .solution-card h3, .mk-card h2, .pp-card h2 { color: #F4F7FF !important; }
.contact label, .contact label > span, .contact .consent, .solution-tools label, #assessment label, #assessment legend, main label { color: #C9D4EE !important; }
.uai-faq summary { color: #E8F0FF !important; }
.uai-faq details[open] summary { color: #7FE7FF !important; }
.uai-faq details p { color: #B6C2DE !important; }
.story-canvas-head, .final-workflow .story-canvas-head > span, .story-canvas-head > span { color: #A3B0CE !important; border-color: var(--glass-line) !important; }
.story-canvas-head button { background: rgba(255, 255, 255, .06) !important; color: #E8F0FF !important; border-color: var(--glass-line) !important; }
.flow-nodes li { background: rgba(255, 255, 255, .05) !important; color: #C9D4EE !important; border-color: var(--glass-line) !important; }
.flow-nodes li .flow-symbol { background: rgba(255, 255, 255, .06); color: #E8F0FF; border-color: var(--glass-line); }
.flow-nodes li:nth-child(2) .flow-symbol { background: linear-gradient(135deg, #00B8D9, #8055FF) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 0 30px -4px rgba(0, 217, 255, .6); }
#agentChatForm label, #agentDraftLabel, .art-label { color: #A3B0CE !important; }
