/* ============================================================
   Melis AI — styles (hero, intelligent-platform band, AI landing page)
   Extracted from the Melis Platform design system. Self-contained,
   Bootstrap/Martex-compatible. Loaded after melis-custom.css.
   ============================================================ */

html.wow-reveal-all .wow { visibility: visible !important; opacity: 1 !important; animation-name: none !important; }

		/* Backed by France's Official Tech Alliances + G2 badges (live-site parity) */
		.tech-alliances-title { color: #6c757d; margin-bottom: 30px; margin-top: 20px; }
		.tech-alliances { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 55px; }
		.tech-alliances img { height: 72px; width: auto; object-fit: contain; }
		.g2-badges-title { margin-top: 70px; margin-bottom: 30px; }
		.g2-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px; padding-bottom: 10px; }
		.g2-badges img { height: 132px; width: auto; }
		@media (max-width: 767px) {
			.tech-alliances { gap: 32px; }
			.tech-alliances img { height: 52px; }
			.g2-badges img { height: 100px; }
		}

		/* ============================================================
		   MELIS AI — dark hero section (self-contained, Bootstrap-compatible)
		   ============================================================ */
		.melis-ai-hero {
			position: relative;
			overflow: hidden;
			background: #0a0b14;
			padding: 190px 0 110px;
			isolation: isolate;
		}
		/* radial brand glow at top center */
		.melis-ai-hero .ai-hero-bg {
			position: absolute;
			inset: 0;
			z-index: -2;
			background:
				radial-gradient(58% 46% at 50% -4%, rgba(229,9,20,.30) 0%, rgba(229,9,20,0) 60%),
				radial-gradient(44% 38% at 62% 4%, rgba(150,74,255,.26) 0%, rgba(150,74,255,0) 62%),
				radial-gradient(40% 36% at 38% 6%, rgba(60,120,255,.18) 0%, rgba(60,120,255,0) 60%),
				#0a0b14;
		}
		/* faint technical grid, faded out toward the edges */
		.melis-ai-hero .ai-hero-grid {
			position: absolute;
			inset: 0;
			z-index: -1;
			background-image:
				linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
				linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
			background-size: 48px 48px;
			background-position: center top;
			-webkit-mask-image: radial-gradient(72% 60% at 50% 26%, #000 38%, transparent 78%);
			mask-image: radial-gradient(72% 60% at 50% 26%, #000 38%, transparent 78%);
		}

		/* Badge */
		.melis-ai-hero .ai-badge {
			display: inline-flex;
			align-items: center;
			gap: 9px;
			padding: 6px 16px 6px 7px;
			border-radius: 999px;
			background: rgba(255,255,255,.05);
			border: 1px solid rgba(255,255,255,.14);
			backdrop-filter: blur(6px);
			-webkit-backdrop-filter: blur(6px);
			margin-bottom: 30px;
		}
		.melis-ai-hero .ai-badge-mark {
			width: 26px; height: 26px;
			display: grid; place-items: center;
		}
		.melis-ai-hero .ai-badge-mark svg { width: 26px; height: 26px; }
		.melis-ai-hero .ai-badge-txt {
			color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .01em;
		}

		/* Title */
		.melis-ai-hero .ai-hero-title {
			color: #fff;
			font-weight: 800;
			font-size: clamp(40px, 5.6vw, 74px);
			line-height: 1.04;
			letter-spacing: -.02em;
			margin: 0 0 26px;
		}
		.melis-ai-hero .ai-grad {
			background: linear-gradient(95deg, #4f8cff 0%, #8b6cff 34%, #d76bff 62%, #ff5470 100%);
			-webkit-background-clip: text;
			background-clip: text;
			-webkit-text-fill-color: transparent;
			color: transparent;
		}
		/* Subtitle */
		.melis-ai-hero .ai-hero-sub {
			color: rgba(255,255,255,.62);
			font-size: 19px;
			line-height: 1.6;
			max-width: 620px;
			margin: 0 auto 40px;
		}
		/* Buttons */
		.melis-ai-hero .ai-hero-btns { margin: 0; }
		.melis-ai-hero .ai-hero-btns .btn { margin: 8px; }
		.melis-ai-hero .ai-btn-ghost {
			color: #fff;
			background: transparent;
			border: 1px solid rgba(255,255,255,.28);
		}
		.melis-ai-hero .ai-btn-ghost:hover {
			background: rgba(255,255,255,.08);
			border-color: rgba(255,255,255,.5);
			color: #fff;
		}

		/* Dashboard visual */
		.melis-ai-hero .ai-hero-visual {
			position: relative;
			max-width: 1040px;
			margin: 78px auto 0;
		}
		.melis-ai-hero .ai-dash-glow {
			position: absolute;
			left: 50%; top: 8%;
			width: 78%; height: 80%;
			transform: translateX(-50%);
			z-index: -1;
			background: radial-gradient(50% 50% at 50% 50%, rgba(229,9,20,.45) 0%, rgba(155,60,255,.28) 45%, transparent 72%);
			filter: blur(60px);
		}
		.melis-ai-hero .ai-dash-frame { position: relative; }
		.melis-ai-hero .ai-dash-img {
			width: 100%;
			display: block;
			border-radius: 14px;
			border: 1px solid rgba(255,255,255,.10);
			box-shadow: 0 50px 120px rgba(0,0,0,.6);
		}
		/* center play */
		.melis-ai-hero .ai-play {
			position: absolute;
			left: 50%; top: 50%;
			transform: translate(-50%, -50%);
			z-index: 5;
		}

		/* Floating cards (shared) */
		.melis-ai-hero .ai-float {
			position: absolute;
			z-index: 6;
			box-shadow: 0 22px 55px rgba(0,0,0,.35);
		}
		/* Agent task complete */
		.melis-ai-hero .ai-float--agent {
			top: -7%; left: -5%;
			display: flex; align-items: flex-start; gap: 12px;
			background: #fff;
			border-radius: 16px;
			padding: 15px 18px;
			max-width: 270px;
			text-align: left;
		}
		.melis-ai-hero .ai-float-icon {
			flex: 0 0 auto;
			width: 34px; height: 34px;
			border-radius: 9px;
			display: grid; place-items: center;
			background: linear-gradient(135deg, #e50914 0%, #ff5470 100%);
		}
		.melis-ai-hero .ai-float-icon svg { width: 16px; height: 16px; fill: #fff; }
		.melis-ai-hero .ai-float-head { display: flex; align-items: center; gap: 8px; }
		.melis-ai-hero .ai-float-title { font-weight: 700; font-size: 15px; color: #1a1d29; }
		.melis-ai-hero .ai-check {
			width: 17px; height: 17px; border-radius: 50%;
			background: #25c26e; display: grid; place-items: center;
		}
		.melis-ai-hero .ai-check svg { width: 12px; height: 12px; }
		.melis-ai-hero .ai-float-sub { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: #6c757d; }

		/* Melis AI dark pill */
		.melis-ai-hero .ai-float--pill {
			top: 4%; right: 4%;
			display: inline-flex; align-items: center; gap: 8px;
			background: #15172a;
			border: 1px solid rgba(255,255,255,.12);
			border-radius: 999px;
			padding: 8px 15px;
			color: #fff; font-weight: 600; font-size: 14px;
		}
		.melis-ai-hero .ai-pill-mark { width: 20px; height: 20px; display: grid; place-items: center; }
		.melis-ai-hero .ai-pill-mark svg { width: 20px; height: 20px; }
		.melis-ai-hero .ai-spark { color: #b98cff; font-size: 13px; }

		/* Generate with AI */
		.melis-ai-hero .ai-float--generate {
			top: 40%; right: -6%;
			display: inline-flex; align-items: center; gap: 9px;
			background: #fff;
			border-radius: 999px;
			padding: 11px 20px;
			color: #1a1d29; font-weight: 600; font-size: 15px;
		}
		.melis-ai-hero .ai-gen-spark {
			color: #9b3cff; font-size: 16px;
			background: linear-gradient(135deg, #6a8bff, #c25cff);
			-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
		}

		/* Chat card */
		.melis-ai-hero .ai-float--chat {
			bottom: -8%; left: -3%;
			background: #fff;
			border-radius: 16px;
			padding: 15px 18px;
			max-width: 290px;
			text-align: left;
		}
		.melis-ai-hero .ai-chat-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
		.melis-ai-hero .ai-chat-mark { width: 26px; height: 26px; display: grid; place-items: center; }
		.melis-ai-hero .ai-chat-mark svg { width: 26px; height: 26px; }
		.melis-ai-hero .ai-chat-name { font-weight: 700; font-size: 14px; color: #1a1d29; }
		.melis-ai-hero .ai-chat-msg { margin: 0; font-size: 14px; line-height: 1.5; color: #4a4f5e; }

		/* Bring the model you trust */
		.melis-ai-hero .ai-models { margin-top: 96px; }
		.melis-ai-hero .ai-models-label {
			color: rgba(255,255,255,.42);
			letter-spacing: .2em; font-size: 13px; font-weight: 600; margin: 0 0 22px;
		}
		.melis-ai-hero .ai-models-row {
			display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
		}
		.melis-ai-hero .ai-model-pill {
			display: inline-flex; align-items: center; gap: 9px;
			padding: 11px 21px;
			border-radius: 999px;
			background: rgba(255,255,255,.04);
			border: 1px solid rgba(255,255,255,.12);
			color: rgba(255,255,255,.86);
			font-size: 15px; font-weight: 500;
			transition: background .2s, border-color .2s;
		}
		.melis-ai-hero .ai-model-pill:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
		.melis-ai-hero .ai-model-ico { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; font-size: 16px; }
		.melis-ai-hero .ico-gemini { color: #4f8cff; }
		.melis-ai-hero .ico-claude { color: #d97757; }
		.melis-ai-hero .ico-openai { color: #10a37f; }
		.melis-ai-hero .ico-openai svg, .melis-ai-hero .ico-mistral svg, .melis-ai-hero .ico-key svg { width: 18px; height: 18px; }
		.melis-ai-hero .ico-key { color: #ff6b9d; }

		/* This page: header is transparent with a light logo/nav while over the dark hero,
		   and turns solid white once the user scrolls down into the light sections. */
		body.ai-page #header { background: transparent !important; box-shadow: none !important; }
		body.ai-page #header .wsmainfull,
		body.ai-page #header .wsmainwp { background: transparent !important; box-shadow: none !important; }
		body.ai-page #header .wsmobileheader { background: transparent !important; box-shadow: none !important; }
		body.ai-page #header .desktoplogo img,
		body.ai-page #header .wsmobileheader .smllogo img { filter: brightness(0) invert(1); }
		body.ai-page #header .wsmenu-list > li > a.h-link { color: #fff; }
		body.ai-page #header .wsmenu-list > li > a.nav-ai-link { font-weight: 700; display: inline-flex; align-items: center; }
		body.ai-page #header .nav-ai-link .nav-ai-ico { width: 20px; height: 20px; margin-right: 8px; vertical-align: middle; }
		body.ai-page #header .wsmenu-list > li > a.btn--theme { color: #fff; }
		body.ai-page #header .wsanimated-arrow span,
		body.ai-page #header .wsanimated-arrow span:before,
		body.ai-page #header .wsanimated-arrow span:after { background: #fff; }

		/* Solid state once scrolled past the hero */
		body.ai-page #header.ai-nav-solid { background: #fff !important; box-shadow: 0 2px 22px rgba(0,0,0,.07) !important; }
		body.ai-page #header.ai-nav-solid .wsmainfull,
		body.ai-page #header.ai-nav-solid .wsmainwp { background: #fff !important; }
		body.ai-page #header.ai-nav-solid .wsmobileheader { background: #fff !important; }
		body.ai-page #header.ai-nav-solid .desktoplogo img,
		body.ai-page #header.ai-nav-solid .wsmobileheader .smllogo img { filter: none; }
		body.ai-page #header.ai-nav-solid .wsmenu-list > li > a.h-link { color: #1a1d29; }
		body.ai-page #header.ai-nav-solid .wsmenu-list > li > a.btn--theme { color: #fff; }

		/* Responsive: drop the floating cards on small screens so nothing overlaps text */
		@media (max-width: 991px) {
			.melis-ai-hero { padding: 150px 0 80px; }
			.melis-ai-hero .ai-hero-visual { margin-top: 56px; }
			.melis-ai-hero .ai-float--agent { top: -5%; left: 0; }
			.melis-ai-hero .ai-float--chat { bottom: -6%; left: 0; }
			.melis-ai-hero .ai-float--generate { right: 0; }
		}
		@media (max-width: 767px) {
			.melis-ai-hero .ai-float { display: none; }
			.melis-ai-hero .ai-hero-sub { font-size: 17px; }
			.melis-ai-hero .ai-models { margin-top: 64px; }
		}

		/* ============================================================
		   MELIS AI — intelligent platform band (after Before/After)
		   ============================================================ */
		.melis-ai-band {
			position: relative;
			overflow: hidden;
			background: #0a0b14;
			padding: 110px 0;
			isolation: isolate;
		}
		.melis-ai-band .ai-band-glow {
			position: absolute;
			left: 8%; top: 50%;
			width: 620px; height: 620px;
			transform: translateY(-50%);
			z-index: -1;
			background:
				radial-gradient(closest-side, rgba(229,9,20,.22) 0%, rgba(229,9,20,0) 70%),
				radial-gradient(closest-side, rgba(150,74,255,.18) 0%, rgba(150,74,255,0) 72%);
			pointer-events: none;
		}
		/* Badge */
		.melis-ai-band .ai-band-badge {
			display: inline-flex; align-items: center; gap: 8px;
			padding: 5px 15px 5px 6px;
			border-radius: 999px;
			background: rgba(255,255,255,.04);
			border: 1px solid transparent;
			background-image:
				linear-gradient(#15172a, #15172a),
				linear-gradient(95deg, #4f8cff, #9b5cf6, #ff2d7a);
			background-origin: border-box;
			background-clip: padding-box, border-box;
			margin-bottom: 26px;
		}
		.melis-ai-band .ai-band-badge-mark { width: 20px; height: 20px; display: grid; place-items: center; }
		.melis-ai-band .ai-band-badge-mark svg { width: 20px; height: 20px; }
		.melis-ai-band .ai-band-badge-txt { color: #fff; font-size: 14px; font-weight: 600; }
		/* Title + subtitle */
		.melis-ai-band .ai-band-title {
			color: #fff;
			font-weight: 800;
			font-size: clamp(34px, 3.6vw, 52px);
			line-height: 1.05;
			letter-spacing: -.02em;
			margin: 0 0 22px;
		}
		.melis-ai-band .ai-grad {
			background: linear-gradient(95deg, #4f8cff 0%, #8b6cff 38%, #d76bff 66%, #ff5470 100%);
			-webkit-background-clip: text; background-clip: text;
			-webkit-text-fill-color: transparent; color: transparent;
		}
		.melis-ai-band .ai-band-sub {
			color: rgba(255,255,255,.6);
			font-size: 18px; line-height: 1.6;
			max-width: 440px;
			margin: 0 0 34px;
		}
		/* Cards */
		.melis-ai-band .ai-cards { display: flex; flex-direction: column; gap: 18px; }
		.melis-ai-band .ai-card {
			display: flex; align-items: center; gap: 18px;
			padding: 24px 26px;
			border-radius: 16px;
			background: rgba(255,255,255,.025);
			border: 1px solid rgba(255,255,255,.09);
			transition: border-color .2s, background .2s, transform .2s;
		}
		.melis-ai-band .ai-card:hover {
			border-color: rgba(255,45,122,.4);
			background: rgba(255,255,255,.045);
			transform: translateY(-2px);
		}
		.melis-ai-band .ai-card-ico {
			flex: 0 0 auto;
			width: 30px; height: 30px;
			display: grid; place-items: center;
			color: #ff2f3e;
		}
		.melis-ai-band .ai-card-ico svg { width: 28px; height: 28px; }
		.melis-ai-band .ai-card-txt h6 {
			color: #fff; font-weight: 700; font-size: 19px; margin: 0 0 4px;
		}
		.melis-ai-band .ai-card-txt p {
			color: rgba(255,255,255,.5); font-size: 15px; margin: 0;
		}
		@media (max-width: 991px) {
			.melis-ai-band { padding: 80px 0; }
			.melis-ai-band .ai-band-glow { left: 50%; transform: translate(-50%, -50%); top: 22%; }
			.melis-ai-band .ai-band-sub { max-width: 560px; }
		}

		/* ============================================================
		   MELIS AI — detail/landing page (capabilities, MCP, modules,
		   agent, governed, CTA). Builds on the shared .melis-ai-hero CSS.
		   ============================================================ */
		.ai-bg-soft { background: #f5f6f9; }
		#ai-modules .section-title { text-align: left; }
		#melis-ai-hero.melis-ai-hero { padding-bottom: 90px; }

		/* Section eyebrows */
		.ai-eyebrow {
			display: block;
			text-transform: uppercase;
			letter-spacing: .18em;
			font-size: 13px;
			font-weight: 700;
			color: #ff2f3e;
			margin-bottom: 14px;
		}
		.ai-eyebrow--muted { color: #9aa0ac; }

		/* Browser mockup in hero */
		.melis-ai-hero .ai-browser {
			position: relative;
			border-radius: 14px;
			overflow: hidden;
			border: 1px solid rgba(255,255,255,.12);
			box-shadow: 0 50px 120px rgba(0,0,0,.6);
			background: #12131f;
		}
		.melis-ai-hero .ai-browser-bar {
			display: flex; align-items: center; gap: 8px;
			padding: 12px 16px;
			background: #1b1d2b;
			border-bottom: 1px solid rgba(255,255,255,.07);
		}
		.melis-ai-hero .ai-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
		.melis-ai-hero .ai-dot--r { background: #ff5f57; }
		.melis-ai-hero .ai-dot--y { background: #febc2e; }
		.melis-ai-hero .ai-dot--g { background: #28c840; }
		.melis-ai-hero .ai-browser-url {
			margin-left: 14px; color: rgba(255,255,255,.4);
			font-size: 13px; font-weight: 500;
		}
		.melis-ai-hero .ai-browser-body { max-height: 560px; overflow: hidden; }
		.melis-ai-hero .ai-browser-body img { width: 100%; display: block; }

		/* Capability cards */
		.ai-cap-card {
			height: 100%;
			background: #fff;
			border: 1px solid #eceef3;
			border-radius: 18px;
			padding: 36px 34px;
			box-shadow: 0 12px 34px rgba(20,23,40,.05);
			transition: transform .2s, box-shadow .2s, border-color .2s;
		}
		.ai-cap-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(20,23,40,.09); border-color: #e2d5f3; }
		.ai-cap-ico {
			width: 52px; height: 52px; border-radius: 13px;
			display: grid; place-items: center;
			color: #ff2f3e;
			background: linear-gradient(135deg, rgba(255,45,122,.10), rgba(155,92,246,.10));
			margin-bottom: 22px;
		}
		.ai-cap-ico svg { width: 26px; height: 26px; }
		.ai-cap-label {
			display: block; text-transform: uppercase; letter-spacing: .14em;
			font-size: 11.5px; font-weight: 700; color: #a2a8b4; margin-bottom: 8px;
		}
		.ai-cap-title { font-size: 23px; font-weight: 700; color: #15172a; margin: 0 0 12px; }
		.ai-cap-desc { color: #6c757d; font-size: 15.5px; line-height: 1.6; margin: 0 0 20px; }
		.ai-cap-list { list-style: none; margin: 0; padding: 0; }
		.ai-cap-list li {
			display: flex; align-items: flex-start; gap: 10px;
			color: #3c4150; font-size: 14.5px; line-height: 1.45;
			padding: 7px 0;
		}
		.ai-tick { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; position: relative; }
		.ai-tick::before {
			content: ""; position: absolute; inset: 0;
			border-radius: 50%;
			background: linear-gradient(135deg, #ff2d7a, #9b5cf6);
			opacity: .14;
		}
		.ai-tick::after {
			content: ""; position: absolute; left: 6px; top: 3px;
			width: 5px; height: 9px;
			border: solid #d6336c; border-width: 0 2px 2px 0;
			transform: rotate(45deg);
		}

		/* MCP diagram */
		.ai-mcp-row { position: relative; }
		.ai-mcp-colhead {
			text-transform: uppercase; letter-spacing: .16em; font-size: 12px;
			font-weight: 700; color: #9aa0ac; margin-bottom: 18px;
		}
		.ai-mcp-colhead--r { text-align: right; }
		.ai-mcp-stack { display: flex; flex-direction: column; gap: 12px; }
		.ai-mcp-pill {
			display: flex; align-items: center; gap: 11px;
			background: #fff; border: 1px solid #e7e9ef; border-radius: 12px;
			padding: 14px 18px; font-size: 15px; font-weight: 500; color: #2a2e3c;
			box-shadow: 0 4px 14px rgba(20,23,40,.04);
		}
		.ai-mcp-pill--r { flex-direction: row-reverse; text-align: right; }
		.ai-mcp-pill .ai-model-ico { width: 20px; height: 20px; font-size: 17px; }
		.ai-mod-sq {
			flex: 0 0 auto; width: 24px; height: 24px; border-radius: 6px;
			display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px;
		}
		.ai-mcp-center {
			position: relative;
			background: linear-gradient(160deg, #15172a 0%, #1d1430 100%);
			border-radius: 18px;
			padding: 34px 26px;
			text-align: center;
			box-shadow: 0 24px 60px rgba(20,10,40,.28);
			margin: 10px 6px;
		}
		.ai-mcp-center-mark { width: 46px; height: 46px; display: inline-grid; place-items: center; margin-bottom: 14px; }
		.ai-mcp-center-mark svg { width: 46px; height: 46px; }
		.ai-mcp-center h5 { color: #fff; font-weight: 700; font-size: 20px; margin: 0 0 6px; }
		.ai-mcp-center p { color: rgba(255,255,255,.55); font-size: 14px; margin: 0; }
		.ai-mcp-conn { position: absolute; top: 50%; width: 18%; height: 2px; background: linear-gradient(90deg, rgba(155,92,246,.6), rgba(155,92,246,0)); }
		.ai-mcp-conn--l { left: -18%; transform: scaleX(-1); }
		.ai-mcp-conn--r { right: -18%; }

		/* Module screenshot cards */
		.ai-modcard {
			height: 100%;
			background: #fff;
			border: 1px solid #eceef3;
			border-radius: 18px;
			overflow: hidden;
			box-shadow: 0 12px 34px rgba(20,23,40,.05);
			transition: transform .2s, box-shadow .2s;
		}
		.ai-modcard:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(20,23,40,.1); }
		.ai-modcard-img {
			height: 340px; overflow: hidden;
			background: linear-gradient(135deg, #f3eefb, #fdeef4);
			border-bottom: 1px solid #eceef3;
		}
		.ai-modcard-img img { width: 100%; display: block; }
		.ai-modcard-body { padding: 26px 30px 30px; }
		.ai-modcard-body h5 { font-size: 21px; font-weight: 700; color: #15172a; margin: 4px 0 8px; }
		.ai-modcard-body p { color: #6c757d; font-size: 15px; line-height: 1.6; margin: 0; }

		/* Agent live card */
		.ai-agent-card {
			background: #fff;
			border: 1px solid #eceef3;
			border-radius: 20px;
			padding: 30px 34px 26px;
			box-shadow: 0 26px 60px rgba(20,23,40,.10);
		}
		.ai-agent-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
		.ai-agent-mark { width: 30px; height: 30px; display: grid; place-items: center; }
		.ai-agent-mark svg { width: 30px; height: 30px; }
		.ai-agent-name { font-weight: 700; font-size: 17px; color: #15172a; }
		.ai-agent-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #25c26e; }
		.ai-agent-dot { width: 8px; height: 8px; border-radius: 50%; background: #25c26e; box-shadow: 0 0 0 0 rgba(37,194,110,.5); animation: aiPulse 1.6s infinite; }
		@keyframes aiPulse { 0% { box-shadow: 0 0 0 0 rgba(37,194,110,.5); } 70% { box-shadow: 0 0 0 7px rgba(37,194,110,0); } 100% { box-shadow: 0 0 0 0 rgba(37,194,110,0); } }
		.ai-agent-user {
			display: inline-block;
			background: #ff2f3e; color: #fff;
			border-radius: 14px 14px 14px 4px;
			padding: 12px 18px; font-size: 15px; font-weight: 500;
			margin-bottom: 22px;
		}
		.ai-agent-steps { list-style: none; margin: 0 0 22px; padding: 0; }
		.ai-agent-steps li {
			display: flex; align-items: center; gap: 12px;
			color: #3c4150; font-size: 15px; padding: 9px 0;
		}
		.ai-step-check { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: #25c26e; position: relative; }
		.ai-step-check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
		.ai-agent-done {
			display: flex; align-items: flex-start; gap: 12px;
			background: #eafaf1; border: 1px solid #c7eed8;
			border-radius: 14px; padding: 16px 18px; margin-bottom: 16px;
		}
		.ai-agent-done-ico { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: #25c26e; position: relative; margin-top: 1px; }
		.ai-agent-done-ico::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
		.ai-agent-done p { margin: 0; color: #1f7a4d; font-size: 15px; line-height: 1.5; }
		.ai-agent-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
		.ai-agent-foot span { color: #9aa0ac; font-size: 13px; }
		.ai-agent-foot code { background: #f1f1f4; color: #d6336c; padding: 2px 7px; border-radius: 5px; font-size: 12.5px; }
		.ai-agent-link { color: #ff2f3e; font-weight: 600; font-size: 14px; }

		/* Governed */
		.ai-gov-img {
			border-radius: 14px; overflow: hidden;
			border: 1px solid #e7e9ef;
			box-shadow: 0 24px 60px rgba(20,23,40,.12);
			max-height: 470px;
		}
		.ai-gov-img img { width: 100%; display: block; }
		.ai-gov-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
		.ai-gov-item { display: flex; gap: 13px; }
		.ai-gov-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #ff2f3e; background: linear-gradient(135deg, rgba(255,45,122,.10), rgba(155,92,246,.10)); }
		.ai-gov-ico svg { width: 21px; height: 21px; }
		.ai-gov-item h6 { font-size: 16px; font-weight: 700; color: #15172a; margin: 2px 0 4px; }
		.ai-gov-item p { font-size: 13.5px; color: #6c757d; line-height: 1.5; margin: 0; }

		/* CTA band */
		.ai-cta-band { position: relative; overflow: hidden; background: #0a0b14; padding: 100px 0; isolation: isolate; }
		.ai-cta-glow { position: absolute; left: 50%; top: 50%; width: 760px; height: 420px; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(closest-side, rgba(229,9,20,.22), transparent 70%), radial-gradient(closest-side, rgba(150,74,255,.18), transparent 72%); }
		.ai-cta-title { color: #fff; font-weight: 800; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.02em; margin: 0 0 18px; }
		.ai-cta-band .ai-grad {
			background: linear-gradient(95deg, #4f8cff 0%, #8b6cff 38%, #d76bff 66%, #ff5470 100%);
			-webkit-background-clip: text; background-clip: text;
			-webkit-text-fill-color: transparent; color: transparent;
		}
		.ai-cta-sub { color: rgba(255,255,255,.6); font-size: 19px; max-width: 560px; margin: 0 auto 36px; }
		.ai-cta-band .ai-hero-btns .btn { margin: 8px; }
		.ai-cta-band .ai-btn-ghost {
			color: #fff; background: transparent;
			border: 1px solid rgba(255,255,255,.28);
		}
		.ai-cta-band .ai-btn-ghost:hover {
			background: rgba(255,255,255,.08);
			border-color: rgba(255,255,255,.5); color: #fff;
		}

		@media (max-width: 991px) {
			.ai-mcp-colhead--r { text-align: left; }
			.ai-mcp-pill--r { flex-direction: row; text-align: left; }
			.ai-mcp-center { margin: 30px 0; }
			.ai-mcp-conn { display: none; }
			.ai-gov-list { grid-template-columns: 1fr; gap: 22px; }
			.ai-modcard-img { height: 280px; }
		}
		@media (max-width: 767px) {
			.melis-ai-hero .ai-browser-body { max-height: 320px; }
			.ai-modcard-img { height: 210px; }
		}
		.ai-model-ico .ai-brand-ico { width: 100%; height: 100%; display: block; }
		.ai-mod-sq svg.ai-mod-m { width: 70%; height: 70%; display: block; }

/* ============================================================
   Melis AI — logo & image fixes (added after integration)
   Render real, correctly-sized brand marks via CSS so they show in every
   context (dark hero models row + light MCP pills), independent of the
   inline markup (unicode glyphs / generic <svg> / <use> refs).
   ============================================================ */

/* Keep the hero dashboard image's aspect ratio even when the media library
   injects fixed width/height attributes (otherwise it stretches). */
.ai-dash-img { height: auto !important; }

/* Brand logos — gemini / claude / openai / mistral (home hero + page hero + MCP pills) */
.ai-model-ico.ico-gemini,
.ai-model-ico.ico-claude,
.ai-model-ico.ico-openai,
.ai-model-ico.ico-mistral {
	width: 24px;
	height: 24px;
	font-size: 0 !important;
	color: transparent !important;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
.ai-model-ico.ico-gemini > svg,
.ai-model-ico.ico-claude > svg,
.ai-model-ico.ico-openai > svg,
.ai-model-ico.ico-mistral > svg { display: none !important; }

.ai-model-ico.ico-gemini {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><linearGradient id="gem" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="%234285F4"/><stop offset=".5" stop-color="%239b72cb"/><stop offset="1" stop-color="%23d96570"/></linearGradient></defs><path fill="url(%23gem)" d="M12 0c0 6.627 5.373 12 12 12-6.627 0-12 5.373-12 12 0-6.627-5.373-12-12-12C6.627 12 12 6.627 12 0Z"/></svg>');
}
.ai-model-ico.ico-claude {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="%23D97757" transform="translate(12 12)"><rect x="-1.1" y="-11" width="2.2" height="22" rx="1.1"/><rect x="-1.1" y="-11" width="2.2" height="22" rx="1.1" transform="rotate(45)"/><rect x="-1.1" y="-11" width="2.2" height="22" rx="1.1" transform="rotate(90)"/><rect x="-1.1" y="-11" width="2.2" height="22" rx="1.1" transform="rotate(135)"/></g></svg>');
}
.ai-model-ico.ico-openai {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 41 41"><path fill="%2310A37F" d="M37.532 16.87a9.963 9.963 0 0 0-.856-8.184 10.078 10.078 0 0 0-10.855-4.835A9.964 9.964 0 0 0 18.306.5a10.079 10.079 0 0 0-9.614 6.977 9.967 9.967 0 0 0-6.664 4.834 10.08 10.08 0 0 0 1.24 11.817 9.965 9.965 0 0 0 .856 8.185 10.079 10.079 0 0 0 10.855 4.835 9.965 9.965 0 0 0 7.516 3.35 10.078 10.078 0 0 0 9.617-6.981 9.967 9.967 0 0 0 6.663-4.834 10.079 10.079 0 0 0-1.243-11.813ZM22.498 37.886a7.474 7.474 0 0 1-4.799-1.735c.061-.033.168-.091.237-.134l7.964-4.6a1.294 1.294 0 0 0 .655-1.134V19.054l3.366 1.944a.12.12 0 0 1 .066.092v9.299a7.504 7.504 0 0 1-7.49 7.496ZM6.392 31.006a7.471 7.471 0 0 1-.894-5.023c.06.036.162.099.237.141l7.964 4.6a1.297 1.297 0 0 0 1.308 0l9.724-5.614v3.888a.12.12 0 0 1-.048.103l-8.051 4.649a7.504 7.504 0 0 1-10.24-2.744ZM4.297 13.62A7.469 7.469 0 0 1 8.2 10.333c0 .068-.004.19-.004.274v9.201a1.294 1.294 0 0 0 .654 1.132l9.723 5.614-3.366 1.944a.12.12 0 0 1-.114.01L7.04 23.856a7.504 7.504 0 0 1-2.743-10.237Zm27.658 6.437-9.724-5.615 3.367-1.943a.121.121 0 0 1 .113-.01l8.052 4.648a7.498 7.498 0 0 1-1.158 13.528v-9.476a1.293 1.293 0 0 0-.65-1.132Zm3.35-5.043c-.059-.037-.162-.099-.236-.141l-7.965-4.6a1.298 1.298 0 0 0-1.308 0l-9.723 5.614v-3.888a.12.12 0 0 1 .048-.103l8.05-4.645a7.497 7.497 0 0 1 11.135 7.763Zm-21.063 6.929-3.367-1.944a.12.12 0 0 1-.065-.092v-9.299a7.497 7.497 0 0 1 12.293-5.756 6.94 6.94 0 0 0-.236.134l-7.965 4.6a1.294 1.294 0 0 0-.654 1.132l-.006 11.225Zm1.829-3.943 4.33-2.501 4.332 2.5v5l-4.331 2.5-4.331-2.5V18Z"/></svg>');
}
.ai-model-ico.ico-mistral {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="3" y="4" width="5" height="5" fill="%23f7d046"/><rect x="16" y="4" width="5" height="5" fill="%23f7d046"/><rect x="3" y="10" width="5" height="5" fill="%23f2a73b"/><rect x="16" y="10" width="5" height="5" fill="%23ee792f"/><rect x="9.5" y="10" width="5" height="5" fill="%23f2a73b"/><rect x="3" y="16" width="5" height="5" fill="%23eb5829"/><rect x="16" y="16" width="5" height="5" fill="%23ea3326"/></svg>');
}

/* MCP module squares: white "M" mark overlaid (the <use> ref isn't shipped),
   drawn on top of the per-module inline background colour. */
.ai-mcp-pill .ai-mod-sq { position: relative; }
.ai-mcp-pill .ai-mod-sq > svg { display: none !important; }
.ai-mcp-pill .ai-mod-sq::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><g fill="%23fff"><path d="M57.78,15.87c-3.47,0-6.29,2.81-6.29,6.29v35.85c0,3.47,2.81,6.29,6.29,6.29s6.29-2.81,6.29-6.29V22.16c0-3.47-2.81-6.29-6.29-6.29Z"/><path d="M27.79,19.16c-1.62-3.07-5.43-4.24-8.5-2.62-3.07,1.62-4.24,5.43-2.62,8.5l19.01,35.93c1.62,3.07,5.43,4.24,8.5,2.62,3.07-1.62,4.24-5.43,2.62-8.5L27.79,19.16Z"/><circle cx="22.36" cy="57.88" r="6.43"/></g></svg>');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 66%;
}


/* ============================================================
   MELIS AI — interactive hero demo (generation studio)
   Replaces the static hero screenshot with an animated demo.
   ============================================================ */
		.ai-browser-body--demo { max-height: none; overflow: hidden; background: #e9ebf0; position: relative; }
		.ai-demo {
			position: relative;
			width: 100%;
			aspect-ratio: 1000 / 562;
			overflow: hidden;
			background: #e9ebf0;
		}
		.ai-demo-stage {
			position: absolute;
			top: 0; left: 0;
			width: 1000px; height: 562px;
			transform-origin: top left;
			font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
			color: #2a2e3c;
			user-select: none;
		}

		/* ---- top bar ---- */
		.bo-top {
			height: 40px; display: flex; align-items: center;
			background: linear-gradient(180deg, #ec0a16, #d40612);
			color: #fff; padding: 0 14px; gap: 18px;
		}
		.bo-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; letter-spacing: .02em; }
		.bo-brand-m { width: 20px; height: 20px; background: #fff; border-radius: 4px; display: grid; place-items: center; }
		.bo-brand-m svg { width: 15px; height: 15px; }
		.bo-tabs { display: flex; gap: 2px; margin-left: 6px; }
		.bo-tab { font-size: 12.5px; padding: 11px 16px; opacity: .85; }
		.bo-tab--active { background: #fff; color: #d40612; opacity: 1; border-radius: 6px 6px 0 0; font-weight: 700; }
		.bo-top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
		.bo-top-ico { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
		.bo-ava { width: 26px; height: 26px; border-radius: 50%; background: #1565c0; display: grid; place-items: center; font-size: 12px; font-weight: 700; }

		/* ---- main ---- */
		.bo-main { display: flex; height: calc(562px - 40px); }

		/* sidebar */
		.bo-side { width: 184px; flex: 0 0 184px; background: #1b1f2e; color: #c7cbd6; padding: 12px 0; }
		.bo-user { display: flex; align-items: center; gap: 10px; padding: 4px 16px 14px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 8px; }
		.bo-user-ava { width: 30px; height: 30px; border-radius: 50%; background: #2a3142; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; }
		.bo-user-meta { display: flex; flex-direction: column; line-height: 1.3; }
		.bo-user-meta b { color: #fff; font-size: 13px; }
		.bo-user-meta i { font-style: normal; font-size: 11px; color: #8a90a0; display: flex; align-items: center; gap: 5px; }
		.bo-on { width: 7px; height: 7px; border-radius: 50%; background: #2ec16e; }
		.bo-nav { display: flex; flex-direction: column; }
		.bo-nav-item { display: flex; align-items: center; gap: 11px; padding: 11px 16px; font-size: 13px; color: #c7cbd6; }
		.bo-nav-item .bo-nav-dot { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .7; }
		.bo-nav-m { width: 16px; height: 16px; color: #aeb4c4; }
		.bo-nav-m svg { width: 100%; height: 100%; }
		.bo-nav-spark { width: 16px; height: 16px; }
		.bo-nav-spark svg { width: 100%; height: 100%; }
		.bo-nav-active { background: #d40612; color: #fff; font-weight: 700; }
		.bo-nav-active .bo-nav-m { color: #fff; }
		.bo-nav-ai b { color: #fff; }

		/* content */
		.bo-content { flex: 1; background: #f1f2f5; padding: 20px 24px; overflow: hidden; position: relative; }
		.bo-chead h3 { font-size: 21px; font-weight: 700; color: #1d2130; margin: 0 0 2px; }
		.bo-chead p { font-size: 12.5px; color: #8a90a0; margin: 0 0 16px; }
		.bo-subtabs { display: flex; gap: 22px; border-bottom: 1px solid #e0e2e9; margin-bottom: 18px; }
		.bo-subtabs span { font-size: 12.5px; color: #9298a6; padding-bottom: 10px; }
		.bo-subtab-active { color: #d40612 !important; font-weight: 700; box-shadow: inset 0 -2px 0 #d40612; }
		.bo-field { background: #fff; border: 1px solid #e6e8ee; border-radius: 8px; padding: 11px 14px; margin-bottom: 14px; }
		.bo-field label { display: block; font-size: 11px; font-weight: 700; color: #9298a6; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
		.bo-input { font-size: 14px; color: #2a2e3c; }

		.bo-para { background: #fff; border: 1px solid #e6e8ee; border-radius: 8px; overflow: hidden; }
		.bo-para-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid #eef0f4; }
		.bo-para-label { font-size: 13px; font-weight: 700; color: #3c4150; }
		.bo-genbtn {
			display: inline-flex; align-items: center; gap: 8px;
			background: #15172a; color: #fff; border: 0;
			border-radius: 7px; padding: 8px 14px;
			font-size: 12.5px; font-weight: 600; cursor: pointer;
			position: relative; overflow: hidden;
			transition: transform .12s ease, box-shadow .25s ease;
			font-family: inherit;
		}
		.bo-genbtn-m { width: 16px; height: 16px; }
		.bo-genbtn-m svg { width: 100%; height: 100%; }
		.bo-genbtn.is-pressed { transform: scale(.94); }
		.bo-genbtn.is-active { box-shadow: 0 0 0 3px rgba(155,92,246,.35); }
		.bo-genbtn::after {
			content: ""; position: absolute; left: 50%; top: 50%;
			width: 8px; height: 8px; border-radius: 50%;
			background: rgba(155,140,255,.55);
			transform: translate(-50%,-50%) scale(0); opacity: 0;
		}
		.bo-genbtn.is-ripple::after { animation: boRipple .55s ease-out; }
		@keyframes boRipple { 0% { transform: translate(-50%,-50%) scale(0); opacity: .8; } 100% { transform: translate(-50%,-50%) scale(22); opacity: 0; } }

		.bo-editor { padding: 12px 14px 10px; }
		.bo-toolbar { display: flex; align-items: center; gap: 8px; border: 1px solid #eef0f4; border-radius: 6px; padding: 7px 10px; margin-bottom: 12px; }
		.bo-tb-sel { font-size: 11.5px; color: #6c727e; background: #f6f7f9; border: 1px solid #eaecf1; border-radius: 4px; padding: 3px 9px; }
		.bo-tb-b, .bo-tb-i, .bo-tb-u { font-size: 12.5px; color: #6c727e; width: 18px; text-align: center; }
		.bo-tb-b { font-weight: 800; } .bo-tb-i { font-style: italic; } .bo-tb-u { text-decoration: underline; }
		.bo-textwrap { position: relative; min-height: 132px; }
		.bo-text { font-size: 13.5px; line-height: 1.62; color: #3c4150; margin: 0; }
		.bo-text .nw { background: linear-gradient(transparent 60%, rgba(155,92,246,.18) 0); }
		.bo-caret { display: none; width: 2px; height: 16px; background: #9b5cf6; vertical-align: -3px; margin-left: 1px; animation: boBlink 1s steps(1) infinite; }
		.bo-caret.is-on { display: inline-block; }
		@keyframes boBlink { 50% { opacity: 0; } }
		.bo-writing {
			display: none; align-items: center; gap: 8px;
			font-size: 12.5px; color: #8a5cf0; font-weight: 600;
			margin-top: 4px;
		}
		.bo-writing.is-on { display: flex; }
		.bo-writing-spark { width: 16px; height: 16px; }
		.bo-writing-spark svg { width: 100%; height: 100%; }
		.bo-writing-dots { display: inline-flex; gap: 3px; margin-left: 2px; }
		.bo-writing-dots i { width: 4px; height: 4px; border-radius: 50%; background: #b48cff; animation: boDots 1s infinite; }
		.bo-writing-dots i:nth-child(2) { animation-delay: .15s; }
		.bo-writing-dots i:nth-child(3) { animation-delay: .3s; }
		@keyframes boDots { 0%,100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
		.bo-editfoot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eef0f4; margin-top: 12px; padding-top: 8px; font-size: 11.5px; color: #9298a6; }
		.bo-editfoot b { color: #6c727e; }

		/* ---- chat assistant ---- */
		.bo-chat {
			position: absolute; top: 50px; right: 16px; width: 256px;
			background: #fff; border-radius: 10px;
			box-shadow: 0 18px 50px rgba(20,23,40,.22);
			overflow: hidden; border: 1px solid #e6e8ee;
		}
		.bo-chat-bar { display: flex; align-items: center; gap: 8px; background: #d40612; color: #fff; font-size: 12.5px; font-weight: 700; padding: 9px 12px; }
		.bo-chat-spark { width: 16px; height: 16px; }
		.bo-chat-spark svg { width: 100%; height: 100%; }
		.bo-chat-min { margin-left: auto; opacity: .8; }
		.bo-chat-body { padding: 12px; display: flex; flex-direction: column; gap: 9px; min-height: 92px; }
		.bo-msg { font-size: 12px; line-height: 1.45; padding: 8px 11px; border-radius: 10px; max-width: 86%; }
		.bo-msg--ai { background: #eef1f8; color: #3c4150; border-bottom-left-radius: 3px; }
		.bo-msg--user { background: #d40612; color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
		.bo-msg--user.is-on { opacity: 1; transform: none; }
		#boChatReply { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; display: none; }
		#boChatReply.is-on { opacity: 1; transform: none; display: block; }
		.bo-typing { display: none; gap: 4px; padding: 9px 12px; background: #eef1f8; border-radius: 10px; border-bottom-left-radius: 3px; width: max-content; }
		.bo-typing.is-on { display: flex; }
		.bo-typing i { width: 5px; height: 5px; border-radius: 50%; background: #9aa0b2; animation: boDots 1s infinite; }
		.bo-typing i:nth-child(2) { animation-delay: .15s; }
		.bo-typing i:nth-child(3) { animation-delay: .3s; }
		.bo-chat-input { display: flex; align-items: center; gap: 8px; border-top: 1px solid #eef0f4; padding: 9px 12px; }
		.bo-chat-input > span:first-child { font-size: 12px; color: #aeb4c2; flex: 1; }
		.bo-chat-send { width: 22px; height: 22px; border-radius: 50%; background: #2ec16e; color: #fff; display: grid; place-items: center; }
		.bo-chat-send svg { width: 13px; height: 13px; }

		/* ---- done toast ---- */
		.bo-toast {
			position: absolute; left: 200px; bottom: 18px;
			display: flex; align-items: center; gap: 11px;
			background: #fff; border: 1px solid #cdeedd;
			border-radius: 12px; padding: 13px 17px;
			box-shadow: 0 16px 40px rgba(20,23,40,.16);
			opacity: 0; transform: translateY(14px) scale(.96);
			transition: opacity .4s ease, transform .4s cubic-bezier(.2,.9,.3,1.2);
			max-width: 330px;
		}
		.bo-toast.is-on { opacity: 1; transform: none; }
		.bo-toast-ico { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: #2ec16e; position: relative; }
		.bo-toast-ico::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
		.bo-toast-txt { font-size: 12.5px; color: #2a2e3c; line-height: 1.4; }
		.bo-toast-txt b { color: #1f7a4d; }

		/* ---- cursor ---- */
		.bo-cursor {
			position: absolute; top: 0; left: 0;
			width: 26px; height: 26px;
			margin: -3px 0 0 -3px;
			filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
			transform: translate(480px, 250px);
			transition: transform .75s cubic-bezier(.55,.06,.3,.98);
			z-index: 30; pointer-events: none;
		}
		.bo-cursor.is-instant { transition: none; }
		.bo-cursor.is-click { transform: translate(var(--cx,0), var(--cy,0)) scale(.82); }

		/* ============================================================
		   GENERATION STUDIO — dark AI panel + live page-build preview
		   (replaces the news-editor scene). Reuses .bo-top / .bo-toast /
		   .bo-cursor / .ai-demo-chrome above.
		   ============================================================ */
		.gs-crumb { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,.92); font-weight: 500; }
		.gs-crumb i { font-style: normal; opacity: .6; margin: 0 1px; }
		.gs-crumb-spark { width: 17px; height: 17px; }
		.gs-crumb-spark svg { width: 100%; height: 100%; }
		.gs-main { display: flex; height: calc(562px - 40px); }

		/* ---- left: generate panel (dark) ---- */
		.gs-panel {
			width: 296px; flex: 0 0 296px;
			background: linear-gradient(170deg, #15172a 0%, #1b1330 100%);
			color: #e7e8f2; padding: 20px 20px 18px;
			display: flex; flex-direction: column;
			border-right: 1px solid rgba(0,0,0,.2);
		}
		.gs-panel-head { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; }
		.gs-spark { width: 20px; height: 20px; }
		.gs-spark svg { width: 100%; height: 100%; }
		.gs-field label, .gs-mlabel { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #8b90b5; margin-bottom: 8px; }
		.gs-prompt {
			min-height: 70px; background: rgba(255,255,255,.05);
			border: 1px solid rgba(255,255,255,.13); border-radius: 9px;
			padding: 11px 13px; font-size: 12.5px; line-height: 1.5;
			color: #e9ebf8; margin-bottom: 16px;
		}
		.gs-prompt-caret { display: none; width: 2px; height: 14px; background: #b48cff; vertical-align: -2px; margin-left: 1px; animation: boBlink 1s steps(1) infinite; }
		.gs-prompt-caret.is-on { display: inline-block; }
		.gs-modelrow { margin-bottom: 16px; }
		.gs-model {
			display: inline-flex; align-items: center; gap: 8px;
			background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
			border-radius: 999px; padding: 7px 14px 7px 9px; font-size: 13px; font-weight: 600; color: #fff;
		}
		.gs-model .ai-model-ico { width: 17px; height: 17px; }
		.gs-genbtn {
			display: flex; align-items: center; justify-content: center; gap: 9px;
			width: 100%; border: 0; border-radius: 10px; padding: 12px;
			font-family: inherit; font-size: 13.5px; font-weight: 700; color: #fff; cursor: pointer;
			background: linear-gradient(95deg, #ff2d7a 0%, #9b5cf6 55%, #4f8cff 100%);
			position: relative; overflow: hidden; margin-bottom: 22px;
			box-shadow: 0 10px 26px rgba(155,92,246,.32);
			transition: transform .12s ease;
		}
		.gs-genbtn-m { width: 18px; height: 18px; filter: brightness(0) invert(1); }
		.gs-genbtn-m svg { width: 100%; height: 100%; }
		.gs-genbtn.is-pressed { transform: scale(.96); }
		.gs-genbtn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.6); transform: translate(-50%,-50%) scale(0); opacity: 0; }
		.gs-genbtn.is-ripple::after { animation: boRipple .6s ease-out; }

		.gs-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
		.gs-steps li { display: flex; align-items: center; gap: 11px; font-size: 12.5px; color: #7a80a4; transition: color .3s; }
		.gs-step-ico { flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%; border: 1.6px solid #3a3f5e; position: relative; transition: all .3s; }
		.gs-steps li.active { color: #cfd2ea; }
		.gs-steps li.active .gs-step-ico { border-color: #b48cff; border-right-color: transparent; animation: gsSpin .7s linear infinite; }
		@keyframes gsSpin { to { transform: rotate(360deg); } }
		.gs-steps li.done { color: #fff; }
		.gs-steps li.done .gs-step-ico { background: #2ec16e; border-color: #2ec16e; animation: none; }
		.gs-steps li.done .gs-step-ico::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
		.gs-panel-foot { margin-top: auto; padding-top: 16px; }
		.gs-panel-foot code { font-size: 11px; color: #8b90b5; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); padding: 4px 9px; border-radius: 6px; }

		/* ---- right: live preview ---- */
		.gs-preview { flex: 1; background: #e9ebf1; padding: 15px 16px; display: flex; flex-direction: column; min-width: 0; }
		.gs-preview-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
		.gs-pv-title { font-size: 12.5px; font-weight: 700; color: #5a6072; }
		.gs-pv-tabs { display: inline-flex; background: #dfe2ea; border-radius: 7px; padding: 2px; }
		.gs-pv-tabs span { font-size: 11px; color: #8a90a0; padding: 4px 11px; border-radius: 5px; }
		.gs-pv-tabs span.is-on { background: #fff; color: #2a2e3c; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
		.gs-badge {
			margin-left: auto; font-size: 11.5px; font-weight: 600; color: #6a4fd0;
			padding: 5px 13px; border-radius: 999px;
			background: #fff; border: 1px solid transparent;
			background-image: linear-gradient(#fff,#fff), linear-gradient(95deg,#4f8cff,#9b5cf6,#ff2d7a);
			background-origin: border-box; background-clip: padding-box, border-box;
		}
		.gs-canvaswrap { flex: 1; min-height: 0; }
		.gs-canvas {
			position: relative; height: 100%;
			background: #fff; border-radius: 12px;
			box-shadow: 0 16px 40px rgba(20,23,40,.12);
			overflow: hidden; padding: 16px;
		}
		.gs-doc { display: flex; flex-direction: column; gap: 13px; height: 100%; }
		.gs-doc[hidden] { display: none; }

		/* skeleton */
		.gs-skel { position: absolute; inset: 16px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 4; }
		.gs-skel.is-on { opacity: 1; }
		.gs-skel > * , .gs-skel-row span { background: linear-gradient(100deg,#eef0f4 30%,#e2e5ec 50%,#eef0f4 70%); background-size: 220% 100%; animation: gsShimmer 1.2s infinite; border-radius: 8px; }
		@keyframes gsShimmer { to { background-position: -220% 0; } }
		.gs-skel-hero { height: 150px; }
		.gs-skel-line { height: 13px; } .gs-skel-line.w80 { width: 80%; } .gs-skel-line.w95 { width: 95%; } .gs-skel-line.w55 { width: 55%; }
		.gs-skel-row { display: flex; gap: 10px; margin-top: 4px; } .gs-skel-row span { flex: 1; height: 74px; }

		/* generated blocks */
		.gb { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.3,1); }
		.gb.in { opacity: 1; transform: none; }
		/* forced finished-state (static poster / reduced motion) — beats any paused reveal animation */
		.gb.gb-shown { opacity: 1 !important; transform: none !important; }
		.gb-img.gb-shown { opacity: 1 !important; clip-path: none !important; animation: none !important; }
		[data-stream].typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: #9b5cf6; margin-left: 2px; vertical-align: -2px; animation: boBlink 1s steps(1) infinite; }

		/* images */
		.gb-img {
			position: relative; overflow: hidden; border-radius: 10px;
			box-shadow: inset 0 0 0 1px rgba(0,0,0,.04), inset 0 -40px 60px rgba(0,0,0,.10), inset 0 30px 50px rgba(255,255,255,.18);
		}
		.gb-img::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 12%, rgba(255,255,255,.4), transparent 55%); }
		.gb-img--sunset { background: linear-gradient(135deg, #ffb27a 0%, #ff6f91 52%, #9b5cf6 100%); }
		.gb-img--rose   { background: linear-gradient(150deg, #ffd9c7, #ff9bb0 70%, #f06595); }
		.gb-img--sand   { background: linear-gradient(150deg, #f6e7c8, #e9b27a 80%); }
		.gb-img--sage   { background: linear-gradient(150deg, #d4e9d4, #8fc0a0 80%); }
		.gb-img--ocean  { background: linear-gradient(140deg, #8fc3ff 0%, #5b6cff 55%, #9b5cf6 100%); }
		.gb-img[data-img] { opacity: 0; }
		.gb-img.img-in { opacity: 1; animation: gbReveal .7s cubic-bezier(.4,0,.2,1) both; }
		@keyframes gbReveal { 0% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }
		.gb-img.img-in .gb-imgtag { animation: gbTagIn .4s ease .45s both; }
		@keyframes gbTagIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
		.gb-imgtag { position: absolute; left: 9px; bottom: 9px; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: #fff; background: rgba(15,16,30,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 4px 9px; border-radius: 6px; opacity: 0; z-index: 3; }
		.gb-imgtag-spark { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg,#ff2d7a,#9b5cf6); box-shadow: 0 0 6px rgba(155,92,246,.8); }

		/* hero block */
		.gb-hero { position: relative; height: 168px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; }
		.gb-hero-img { position: absolute; inset: 0; border-radius: 12px; }
		.gb-hero-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; background: linear-gradient(0deg, rgba(8,7,18,.72) 5%, rgba(8,7,18,.25) 60%, transparent); z-index: 2; }
		.gb-eyebrow { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; font-weight: 700; color: #d6336c; margin-bottom: 6px; min-height: 13px; }
		.gb-eyebrow--light { color: #ffd0e0; }
		.gb-h { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: #15172a; margin: 0; line-height: 1.12; min-height: 24px; }
		.gb-h--light { color: #fff; }
		.gb-text { font-size: 13px; line-height: 1.62; color: #4a4f5e; margin: 0; min-height: 20px; }

		/* gallery */
		.gb-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
		.gb-gallery .gb-img { height: 88px; }

		/* cta */
		.gb-cta { display: flex; gap: 10px; align-items: center; margin-top: 2px; }
		.gb-btn { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; color: #fff; background: #d40612; padding: 10px 18px; border-radius: 8px; }
		.gb-btn--ghost { background: transparent; color: #d40612; box-shadow: inset 0 0 0 1.5px rgba(212,6,18,.35); }

		/* product variant */
		.gb-prod { display: grid; grid-template-columns: 210px 1fr; gap: 20px; height: 100%; }
		.gb-prod-img { height: 100%; min-height: 0; border-radius: 12px; }
		.gb-prod-info { display: flex; flex-direction: column; gap: 11px; justify-content: center; }
		.gb-rating { display: flex; align-items: center; gap: 8px; }
		.gb-stars { color: #f5a623; font-size: 14px; letter-spacing: 2px; }
		.gb-rating small { color: #9298a6; font-size: 11.5px; }
		.gb-specs { display: flex; flex-wrap: wrap; gap: 8px; }
		.gb-specs span { font-size: 11.5px; font-weight: 600; color: #5a6072; background: #f1f2f6; border: 1px solid #e6e8ee; border-radius: 6px; padding: 5px 11px; }
		.gb-pricerow { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
		.gb-price { font-size: 26px; font-weight: 800; color: #15172a; display: inline-flex; align-items: baseline; gap: 8px; }
		.gb-price small { font-size: 14px; font-weight: 500; color: #aeb4c2; text-decoration: line-through; }

		/* toast reposition for this layout */
		.ai-demo-stage .bo-toast { left: auto; right: 22px; bottom: 18px; }

		/* ---- demo chrome (play / progress / tag) ---- */
		.ai-demo-chrome {
			position: absolute; left: 0; right: 0; bottom: 0; z-index: 40;
			display: flex; align-items: center; gap: 12px;
			padding: 11px 16px;
			background: linear-gradient(0deg, rgba(8,9,16,.78) 30%, rgba(8,9,16,0));
		}
		.ai-demo-play {
			flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
			border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12);
			color: #fff; display: grid; place-items: center; cursor: pointer;
			backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
			transition: background .2s;
		}
		.ai-demo-play:hover { background: rgba(255,255,255,.22); }
		.ai-demo-play svg { width: 14px; height: 14px; fill: #fff; }
		.ai-demo-ico-play { display: none; }
		.ai-demo.is-paused .ai-demo-ico-play { display: block; }
		.ai-demo.is-paused .ai-demo-ico-pause { display: none; }
		.ai-demo-track { flex: 1; height: 4px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
		.ai-demo-bar { display: block; height: 100%; width: 0%; border-radius: 99px; background: linear-gradient(90deg, #ff5470, #9b5cf6, #4f8cff); }
		.ai-demo-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.82); }
		.ai-demo-rec { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 0 0 rgba(255,77,94,.6); animation: aiRec 1.5s infinite; }
		@keyframes aiRec { 70% { box-shadow: 0 0 0 6px rgba(255,77,94,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,94,0); } }

		@media (prefers-reduced-motion: reduce) {
			.bo-cursor, .ai-demo-rec, .bo-writing-dots i, .bo-typing i, .bo-caret { animation: none !important; }
		}
		@media (max-width: 767px) {
			.ai-demo-chrome { padding: 8px 11px; }
			.ai-demo-tag { display: none; }
		}

/* ============================================================
   Language switcher fix
   The prebuilt bundle.css is loaded with a PINNED version query
   (…/bundle.css?v=20250827052925) so a stale cached copy can drop
   the hover-dropdown rules → the language menu shows expanded and
   mis-placed. This file loads fresh AFTER the bundle, so re-assert
   the intended behaviour here (mirrors menu.css). Bulletproof vs cache.
   ============================================================ */
.language-switch { position: relative; z-index: 9999; }
.language-switch .hover-dropdown {
	background-color: transparent;
	border: 0;
	position: absolute;
	right: 0;
	top: 15px;
	z-index: 99;
}
.language-select-dropdown-menu {
	display: none;
	background-color: #fff;
	border: 1px solid #dedede;
	padding: 0.4rem 0.4rem;
}
.language-switch .hover-dropdown:hover > .language-select-dropdown-menu {
	display: block;
	position: absolute;
	right: 0;
	top: 25px;
	width: 135px;
}
.language-select-dropdown-menu .lang-text { color: #353f4f; }
