/* ==========================================================================
   Noetic Lab Cyber — main stylesheet
   Cyber-industrial dark theme, responsive, accessible.
   ========================================================================== */

:root {
	/* ── Tactical Teal palette — matches ScanAnalyzer Android app ──────────── */
	--bg: #020617;              /* slate-950 */
	--bg-elev-1: #0F172A;       /* slate-900 */
	--bg-elev-2: #1E293B;       /* slate-800 */
	--bg-elev-3: #334155;       /* slate-700 */
	--surface: rgba(15, 23, 42, .85);
	--border: rgba(51, 65, 85, .5);
	--border-strong: rgba(20, 184, 166, .35);
	--text: #F8FAFC;            /* slate-50 */
	--text-muted: #94A3B8;      /* slate-400 */
	--text-dim: #64748B;        /* slate-500 */

	--accent: #14B8A6;          /* tactical teal 500 */
	--accent-hover: #2DD4BF;    /* teal 400 */
	--accent-soft: #5EEAD4;     /* teal 300 */
	--accent-warm: #F97316;     /* tactical orange (tokens) */
	--purple: #7B61FF;          /* AI features */
	--success: #00D68F;
	--danger: #FF4747;
	--warning: #FFAB00;

	--grad-accent: linear-gradient(135deg, #14B8A6 0%, #2DD4BF 100%);
	--grad-warm: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
	--grad-purple: linear-gradient(135deg, #7B61FF 0%, #2DD4BF 100%);
	--grad-bg: radial-gradient(1200px 600px at 80% -10%, rgba(20,184,166,.12), transparent 60%),
			   radial-gradient(900px 500px at -10% 20%, rgba(123,97,255,.06), transparent 55%),
			   radial-gradient(1000px 800px at 50% 120%, rgba(249,115,22,.04), transparent 60%);

	--radius: 14px;
	--radius-sm: 8px;
	--radius-lg: 22px;

	--shadow-sm: 0 2px 8px rgba(0,0,0,.3);
	--shadow: 0 10px 40px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.3);
	--shadow-glow: 0 0 0 1px rgba(20,184,166,.2), 0 10px 40px rgba(20,184,166,.12);

	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

	--container: 1240px;
	--header-h: 72px;

	--ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }

html {
	scroll-padding-top: calc(var(--header-h) + 12px);
	-webkit-text-size-adjust: 100%;
	/* scroll-behavior: smooth ΜΟΝΟ σε desktop με mouse.
	   Σε iOS/Android προκαλεί auto-scrolling + ασταθές momentum. */
	touch-action: manipulation;
	-webkit-overflow-scrolling: touch;
}
@media (hover: hover) and (pointer: fine) {
	html { scroll-behavior: smooth; }
}
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	background-image: var(--grad-bg);
	/* background-attachment: fixed αφαιρέθηκε — σε iOS προκαλεί jump-scrolling
	   και content να "πηδάει" όταν γίνεται scroll. Σε mobile browsers
	   δε λειτουργεί σωστά έτσι κι αλλιώς (elastic bounce). */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	overflow-y: visible; /* explicit ώστε iOS Safari να μην εξισώσει σε clip+clip */
	max-width: 100%;
	overscroll-behavior-y: none;
}
@supports not (overflow-x: clip) {
	body { overflow-x: hidden; overflow-y: visible; }
}
/* Επανέφερε background-attachment: fixed ΜΟΝΟ σε desktop */
@media (hover: hover) and (pointer: fine) {
	body { background-attachment: fixed; }
}
/* Τίποτα μέσα στο site δεν μπορεί να ξεφύγει δεξιά */
img, video, iframe, canvas, svg {
	max-width: 100%;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background:
		linear-gradient(rgba(100,160,200,.035) 1px, transparent 1px) 0 0 / 100% 44px,
		linear-gradient(90deg, rgba(100,160,200,.035) 1px, transparent 1px) 0 0 / 44px 100%;
	pointer-events: none;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 90%);
	z-index: 0;
}
/* Mobile + Tablet: disable το expensive grid overlay για smooth scrolling.
   Επεκτάθηκε σε 1024px ώστε να καλύπτει iPad portrait/landscape και
   Android tablets — το position:fixed + mask-image gradient προκαλεί
   βαρύ repaint σε κάθε scroll στις touch συσκευές. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	body::before { display: none; }
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }

p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	width: 1px; height: 1px; overflow: hidden;
}

.skip-link {
	position: absolute;
	top: -100px; left: 0;
	background: var(--accent); color: #000;
	padding: 8px 16px; z-index: 9999;
}
.skip-link:focus { top: 0; }

/* -------- Layout helpers -------- */
.container {
	width: min(var(--container), 100% - 48px);
	margin-inline: auto;
	position: relative;
	z-index: 1;
}
.container--narrow { max-width: 760px; }

.section {
	padding: clamp(64px, 10vw, 140px) 0;
	position: relative;
}

.section-header { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }
.section-kicker {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: .78rem;
	color: var(--accent);
	letter-spacing: .18em;
	padding: 6px 14px;
	border: 1px solid var(--border-strong);
	border-radius: 100px;
	margin-bottom: 18px;
	background: rgba(20,184,166,.04);
}
.section-title {
	margin: 0 0 14px;
}
.section-lead {
	max-width: 720px;
	margin: 0 auto;
	color: var(--text-muted);
	font-size: clamp(1rem, 1.2vw, 1.1rem);
}

/* -------- Buttons -------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 100px;
	border: 1px solid transparent;
	font-family: inherit;
	font-weight: 600;
	font-size: .95rem;
	cursor: pointer;
	transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
	text-decoration: none;
	white-space: nowrap;
	background: none;
}
.btn__icon { display: inline-flex; font-size: 1em; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--compact { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

.btn--primary {
	background: var(--grad-accent);
	color: #041016;
	box-shadow: 0 6px 24px rgba(20,184,166,.3);
}
.btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 36px rgba(20,184,166,.45);
	color: #041016;
}

.btn--ghost {
	background: rgba(20,184,166,.06);
	color: var(--accent);
	border-color: var(--border-strong);
}
.btn--ghost:hover {
	background: rgba(20,184,166,.12);
	border-color: var(--accent);
}

/* -------- Header -------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	background: rgba(5,7,11,.7);
	border-bottom: 1px solid var(--border);
}
.site-header__inner {
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.site-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--text);
	text-decoration: none;
}
.site-brand__mark {
	display: inline-flex;
	padding: 8px;
	border-radius: 10px;
	background: var(--grad-accent);
	color: #041016;
}
.site-brand__text strong {
	display: block;
	font-size: 1.02rem;
	letter-spacing: .01em;
}
.site-brand__text small {
	display: block;
	font-size: .72rem;
	color: var(--text-dim);
	font-family: var(--font-mono);
	letter-spacing: .04em;
	text-transform: uppercase;
}

.site-nav__list {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0; padding: 0;
}
.site-nav__list a {
	color: var(--text-muted);
	font-size: .95rem;
	font-weight: 500;
	text-decoration: none;
	transition: color .2s;
}
.site-nav__list a:hover { color: var(--text); }

.site-header__cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
	display: none;
	width: 40px; height: 40px;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	padding: 10px;
}
.nav-toggle span {
	display: block;
	width: 18px; height: 2px;
	background: var(--text);
	transition: transform .25s, opacity .25s;
}

.site-nav-mobile {
	display: none;
	padding: 16px 24px 24px;
	border-bottom: 1px solid var(--border);
	background: var(--bg-elev-1);
}
.site-nav-mobile__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 4px;
}
.site-nav-mobile__list a {
	display: block;
	padding: 12px 8px;
	color: var(--text);
	border-radius: 8px;
	text-decoration: none;
}
.site-nav-mobile__list a:hover { background: rgba(20,184,166,.06); }

@media (max-width: 900px) {
	.site-nav { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-header__cta .btn--compact { display: none; }
	.site-nav-mobile[data-open="true"] { display: block; }
}

/* -------- Hero -------- */
.section--hero { padding-top: clamp(50px, 8vw, 100px); }
.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: clamp(40px, 6vw, 90px);
	align-items: center;
}
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-mono);
	font-size: .75rem; letter-spacing: .2em;
	color: var(--accent-hover);
	text-transform: uppercase;
	padding: 6px 12px;
	border: 1px solid var(--border-strong);
	border-radius: 100px;
	margin-bottom: 22px;
	background: rgba(20,184,166,.04);
}
.eyebrow__dot {
	width: 6px; height: 6px;
	background: var(--accent-hover);
	border-radius: 50%;
	box-shadow: 0 0 12px var(--accent-hover);
	animation: pulse 2s infinite;
}

.hero-title { margin-bottom: 20px; }
.hero-title__accent {
	display: block;
	background: var(--grad-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(2.4rem, 5.6vw, 4.4rem);
	line-height: 1;
}
.hero-title__sub {
	display: block;
	font-size: clamp(1.1rem, 1.8vw, 1.6rem);
	font-weight: 500;
	color: var(--text-muted);
	margin-top: 12px;
}
.hero-lead {
	color: var(--text-muted);
	font-size: 1.06rem;
	max-width: 560px;
	margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding-top: 28px;
	border-top: 1px solid var(--border);
	max-width: 560px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong {
	font-family: var(--font-mono);
	font-size: 1.4rem;
	color: var(--accent);
	font-weight: 700;
}
.hero-stats span {
	font-size: .78rem;
	color: var(--text-dim);
	text-transform: uppercase;
	letter-spacing: .08em;
}

/* Hero visual — device frame */
.hero-grid__visual { position: relative; }
.device-frame {
	position: relative;
	aspect-ratio: 9 / 18;
	max-width: 320px;
	margin: 0 auto;
	padding: 14px 10px;
	background: linear-gradient(180deg, #1a2130, #0a0e14);
	border-radius: 42px;
	border: 1px solid var(--border-strong);
	box-shadow:
		inset 0 0 0 2px rgba(0,0,0,.6),
		0 30px 80px rgba(0,0,0,.6),
		0 0 60px rgba(20,184,166,.1);
}
.device-frame::after {
	content: '';
	position: absolute;
	top: 10px; left: 50%;
	transform: translateX(-50%);
	width: 80px; height: 18px;
	background: #000;
	border-radius: 12px;
}
.device-frame__screen {
	height: 100%;
	border-radius: 32px;
	background: #05090d;
	overflow: hidden;
	position: relative;
}
.device-frame__screen img,
.device-frame__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center top;
	display: block;
	background: #05090d;
}
.scan-preview {
	height: 100%;
	padding: 32px 14px 14px;
	display: flex; flex-direction: column; gap: 12px;
}
.scan-preview__header {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--font-mono); font-size: .72rem;
	color: var(--text-muted);
}
.scan-preview__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--accent-hover);
	box-shadow: 0 0 10px var(--accent-hover);
	animation: pulse 1.6s infinite;
}
.scan-preview__canvas {
	flex: 1;
	border-radius: 10px;
	background:
		radial-gradient(circle at 50% 40%, rgba(255,181,71,.4), transparent 30%),
		radial-gradient(circle at 30% 70%, rgba(229,57,53,.25), transparent 22%),
		linear-gradient(180deg, #041125, #061a2e);
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 0 30px rgba(20,184,166,.15);
}
.scan-preview__canvas::before,
.scan-preview__canvas::after {
	content: '';
	position: absolute;
	left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	box-shadow: 0 0 14px var(--accent);
	animation: scanline 3s linear infinite;
}
.scan-preview__canvas::after { animation-delay: 1.5s; opacity: .5; }
.scan-preview__readout {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	font-family: var(--font-mono); font-size: .7rem;
}
.scan-preview__readout span { display: block; color: var(--text-dim); }
.scan-preview__readout strong { color: var(--accent-hover); font-weight: 700; font-size: .85rem; }

.hero-orbit {
	position: absolute;
	inset: -40px;
	border-radius: 50%;
	border: 1px dashed rgba(20,184,166,.12);
	z-index: -1;
	animation: spin 30s linear infinite;
	/* Force own composite layer + contain paint εντός του wrapper.
	   Χωρίς αυτό, η spin animation σε absolute element που ξεπερνά το
	   viewport προκαλεί συνεχές full-screen repaint σε iOS Safari. */
	will-change: transform;
	contain: layout paint;
}
/* Σε mobile/tablet σταματάμε εντελώς την περιστροφή — είναι decorative
   και ο κύκλος (438x720px) ξεπερνά το viewport, προκαλώντας ορατή
   «τρεμούλα» κατά την περιστροφή. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
	.hero-orbit {
		animation: none !important;
		opacity: .35;
		/* Περιορισμός μέσα στο visible parent ώστε να μην βγαίνει εκτός. */
		inset: 0;
		max-width: 100%;
		max-height: 100%;
	}
}
.is-touch .hero-orbit {
	animation: none !important;
	opacity: .35;
	inset: 0;
	max-width: 100%;
	max-height: 100%;
}

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes scanline { 0% { top: 0%; } 100% { top: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; text-align: center; }
	.hero-lead, .hero-stats { margin-inline: auto; }
	.hero-cta { justify-content: center; }
	.hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* -------- Features -------- */
.section--features { background: rgba(10,14,20,.4); }
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}
.feature-card {
	padding: 28px 26px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	backdrop-filter: blur(10px);
	transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
	position: relative;
	overflow: hidden;
}
.feature-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, transparent 40%, rgba(20,184,166,.04) 100%);
	opacity: 0;
	transition: opacity .3s;
}
.feature-card:hover {
	transform: translateY(-4px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
	display: inline-flex;
	padding: 12px;
	border-radius: 12px;
	background: rgba(20,184,166,.08);
	border: 1px solid var(--border-strong);
	color: var(--accent);
	margin-bottom: 18px;
	width: 50px; height: 50px;
	align-items: center; justify-content: center;
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card__title { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card__desc { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ========================================================================
   SURVEY SYSTEM SECTION (added 2026-05-03)
   - 4-step workflow cards με αριθμημένο badge στην πάνω-αριστερή γωνία
   - Tracked items grid (icon + label + sub)
   - Notes cards (info / success variants)
   ======================================================================== */
.section--survey-system { padding-block: clamp(48px, 8vw, 96px); }
.feature-grid--steps {
	display: grid; gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin-bottom: 32px;
}
.feature-card--step { position: relative; padding-top: 28px; }
.feature-card__step-num {
	position: absolute; top: 12px; right: 14px;
	font-family: var(--font-mono, monospace);
	font-size: .9rem; font-weight: 800; letter-spacing: 0.06em;
	color: var(--accent, #4FD1C5); opacity: 0.55; pointer-events: none;
}
.survey-tracked {
	margin: 32px 0 24px; padding: 24px;
	background: rgba(79, 209, 197, 0.04);
	border: 1px solid rgba(79, 209, 197, 0.18);
	border-radius: 14px;
}
.survey-tracked__title {
	font-size: 1.05rem; font-weight: 700; margin: 0 0 16px;
	color: var(--accent, #4FD1C5);
	text-transform: uppercase; letter-spacing: 0.04em;
}
.survey-tracked__grid {
	display: grid; gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.survey-tracked__item {
	display: flex; align-items: flex-start; gap: 10px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.03); border-radius: 8px;
	transition: background-color 0.2s;
}
.survey-tracked__item:hover { background: rgba(255, 255, 255, 0.06); }
.survey-tracked__icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.survey-tracked__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.survey-tracked__label { font-size: .92rem; font-weight: 600; color: var(--text, #E8F4F8); }
.survey-tracked__sub {
	font-family: var(--font-mono, monospace);
	font-size: .72rem; color: var(--text-muted, #8aa); letter-spacing: 0.02em;
}
.survey-notes {
	display: grid; gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	margin-top: 20px;
}
.survey-notes__card { padding: 16px 18px; border-radius: 12px; border: 1px solid; }
.survey-notes__card strong { display: block; margin-bottom: 6px; font-size: .98rem; }
.survey-notes__card p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--text-muted, #8aa); }
.survey-notes__card--info { background: rgba(56, 189, 248, 0.06); border-color: rgba(56, 189, 248, 0.22); }
.survey-notes__card--info strong { color: #38BDF8; }
.survey-notes__card--success { background: rgba(16, 185, 129, 0.06); border-color: rgba(16, 185, 129, 0.22); }
.survey-notes__card--success strong { color: #10B981; }

/* ========================================================================
   X-RAY MODE PAGE (template-xray.php) — added 2026-05-03
   ======================================================================== */
.section--xray-hero { padding-block: clamp(48px, 8vw, 80px); text-align: center; }
.xray-hero__badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.xray-badge { font-family: var(--font-mono, monospace); font-size: .85rem; padding: 6px 14px; border-radius: 20px; font-weight: 700; }
.xray-badge--green { background: rgba(34,197,94,.15); color: #22c55e; border: 1px solid #22c55e; animation: pulseSlow 1.4s ease-in-out infinite alternate; }
.xray-badge--yellow { background: rgba(250,204,21,.15); color: #facc15; border: 1px solid #facc15; animation: pulseSlow 1.8s ease-in-out infinite alternate; }
.xray-badge--red { background: rgba(239,68,68,.15); color: #ef4444; border: 1px solid #ef4444; }
@keyframes pulseSlow { from { opacity: .55; } to { opacity: 1; } }

.xray-anim-stage { display: grid; grid-template-columns: 1fr 280px; gap: 18px; align-items: start; }
.xray-anim-stage canvas { width: 100%; max-width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(34,211,238,.18); background: #020608; display: block; }
.xray-anim-legend { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: rgba(10,21,37,.6); border: 1px solid rgba(34,211,238,.15); border-radius: 12px; font-size: .82rem; }
.xray-anim-legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.dot--router { background: #22d3ee; }
.dot--phone { background: #4FD1C5; }
.dot--wall { background: #facc15; }
.dot--cavity { background: #fb923c; }
.dot--metal { background: #0ea5e9; }

.xray-anim-readout { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; padding: 16px; background: rgba(2,6,8,.7); border-radius: 12px; border: 1px solid rgba(34,211,238,.12); margin-top: 8px; }
.readout-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(255,255,255,.03); border-radius: 6px; }
.readout-row span { color: var(--text-muted, #8aa); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.readout-row strong { font-family: var(--font-mono, monospace); font-size: .95rem; color: var(--accent, #4FD1C5); }
.readout-verdict { font-weight: 800 !important; }

.xray-verdicts-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.xray-verdict-card { padding: 18px; background: rgba(10,21,37,.5); border: 1px solid var(--c, #4FD1C5); border-left-width: 4px; border-radius: 10px; transition: transform .2s; }
.xray-verdict-card:hover { transform: translateY(-3px); }
.xray-verdict-card__icon { font-size: 1.8rem; margin-bottom: 8px; }
.xray-verdict-card__title { font-size: 1rem; color: var(--c); margin: 0 0 6px; font-weight: 700; }
.xray-verdict-card__rule { font-family: var(--font-mono, monospace); font-size: .76rem; color: var(--text-muted, #8aa); margin: 0 0 8px; opacity: .85; }
.xray-verdict-card__desc { font-size: .85rem; line-height: 1.5; margin: 0; color: var(--text, #E8F4F8); }

.xray-howto-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.xray-howto-card { padding: 24px 20px; background: rgba(10,21,37,.5); border-radius: 12px; border: 1px solid rgba(0,229,255,.12); position: relative; padding-top: 32px; }
.xray-howto-card__num { position: absolute; top: 12px; right: 14px; font-family: var(--font-mono, monospace); font-size: 1.5rem; font-weight: 800; color: rgba(0,229,255,.18); }
.xray-howto-card__title { font-size: 1rem; margin: 0 0 8px; color: #00E5FF; }
.xray-howto-card__desc { font-size: .88rem; line-height: 1.55; margin: 0; color: var(--text-muted, #8aa); }

.xray-usecase-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.xray-usecase-card { padding: 20px; background: rgba(10,21,37,.4); border-radius: 12px; border: 1px solid rgba(255,255,255,.06); }
.xray-usecase-card__icon { font-size: 2rem; margin-bottom: 10px; }
.xray-usecase-card__title { font-size: 1.05rem; margin: 0 0 8px; color: #00E5FF; }
.xray-usecase-card__desc { font-size: .88rem; line-height: 1.5; margin: 0; color: var(--text-muted, #8aa); }

.xray-tech-list { display: flex; flex-direction: column; gap: 14px; }
.xray-tech-row { padding: 16px 18px; background: rgba(10,21,37,.5); border-radius: 10px; border-left: 3px solid #00E5FF; }
.xray-tech-row strong { display: block; color: #00E5FF; font-size: 1rem; margin-bottom: 8px; }
.xray-tech-row code { display: block; padding: 6px 10px; background: rgba(0,0,0,.3); border-radius: 4px; font-size: .82rem; color: #A7F3D0; margin: 4px 0; font-family: var(--font-mono, monospace); }
.xray-tech-row p { font-size: .9rem; line-height: 1.55; color: var(--text, #E8F4F8); margin: 0; }

@media (max-width: 900px) {
	.xray-anim-stage { grid-template-columns: 1fr; gap: 12px; }
	.xray-anim-stage canvas { width: 100% !important; height: auto !important; max-height: 60vh; }
	.xray-anim-readout { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 12px; }
	.xray-anim-legend { font-size: .76rem; padding: 10px; flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
	.xray-verdicts-grid { grid-template-columns: 1fr; }
	.xray-howto-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.xray-usecase-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.xray-tech-row code { font-size: .72rem; word-break: break-all; }
}
@media (max-width: 480px) {
	.xray-howto-grid, .xray-usecase-grid { grid-template-columns: 1fr; }
	.xray-anim-readout { grid-template-columns: 1fr; }
	.xray-hero__badges { flex-direction: column; align-items: stretch; }
}

/* ========================================================================
   ROOM SCANNER PAGE (template-room-scanner.php) — added 2026-05-03
   ======================================================================== */
.section--rs-hero { padding-block: clamp(48px, 8vw, 80px); text-align: center; }
.rs-hero__highlights { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; }
.rs-highlight { padding: 16px; background: rgba(10,21,37,.5); border-radius: 10px; border: 1px solid rgba(34,211,238,.15); text-align: left; }
.rs-highlight__icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.rs-highlight strong { display: block; font-size: .95rem; color: #4FD1C5; margin-bottom: 4px; }
.rs-highlight small { font-size: .78rem; color: var(--text-muted, #8aa); line-height: 1.4; }

.rs-anim-stage { display: grid; grid-template-columns: 1fr 280px; gap: 16px; align-items: start; }
.rs-anim-stage canvas { width: 100%; max-width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(34,211,238,.18); background: #020608; display: block; grid-row: 1 / 3; grid-column: 1; }
.rs-anim-controls { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: rgba(10,21,37,.6); border: 1px solid rgba(34,211,238,.15); border-radius: 12px; }
.rs-btn { padding: 10px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(0,0,0,.4); color: var(--text, #E8F4F8); cursor: pointer; font-family: var(--font-mono, monospace); font-size: .85rem; font-weight: 700; transition: all .2s; text-align: left; }
.rs-btn:hover { background: rgba(34,211,238,.1); border-color: #4FD1C5; }
.rs-btn--rec.rs-btn--active { background: #ef4444; color: white; border-color: #ef4444; animation: pulseSlow 1s ease-in-out infinite alternate; }
.rs-btn--breadcrumbs.rs-btn--active { background: #10b981; color: white; border-color: #10b981; }
.rs-anim-readout { padding: 14px; background: rgba(2,6,8,.7); border-radius: 12px; border: 1px solid rgba(34,211,238,.12); display: flex; flex-direction: column; gap: 8px; }
.rs-anim-legend { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; padding: 14px; background: rgba(10,21,37,.4); border-radius: 10px; font-size: .82rem; margin-top: 8px; }
.rs-anim-legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.dot--user { background: #fbbf24; }
.dot--path { background: #22d3ee; }
.dot--metal { background: #ef4444; }
.dot--void { background: #3b82f6; }
.dot--breadcrumb { background: #10b981; }
.readout-status { font-weight: 800 !important; letter-spacing: .04em; }

.rs-fusion-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rs-sensor-card { padding: 20px; background: rgba(10,21,37,.5); border-radius: 12px; border: 1px solid var(--c, #4FD1C5); border-top-width: 3px; }
.rs-sensor-card__icon { font-size: 2rem; margin-bottom: 8px; }
.rs-sensor-card__title { font-size: 1rem; color: var(--c); margin: 0 0 4px; font-weight: 700; }
.rs-sensor-card__role { font-family: var(--font-mono, monospace); font-size: .72rem; color: var(--text-muted, #8aa); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .04em; }
.rs-sensor-card__desc { font-size: .85rem; line-height: 1.5; margin: 0; }

.rs-workflow-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rs-workflow-card { padding: 24px 20px; padding-top: 32px; background: rgba(10,21,37,.5); border-radius: 12px; border: 1px solid rgba(0,229,255,.12); position: relative; }
.rs-workflow-card__num { position: absolute; top: 12px; right: 14px; font-family: var(--font-mono, monospace); font-weight: 800; color: rgba(0,229,255,.18); }
.rs-workflow-card__icon { font-size: 1.8rem; margin-bottom: 10px; }
.rs-workflow-card__title { font-size: 1rem; margin: 0 0 6px; color: #00E5FF; }
.rs-workflow-card__desc { font-size: .85rem; line-height: 1.55; margin: 0; color: var(--text-muted, #8aa); }

.rs-usecase-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rs-usecase-card { padding: 18px; background: rgba(10,21,37,.4); border-radius: 12px; border: 1px solid rgba(255,255,255,.06); }
.rs-usecase-card__icon { font-size: 1.8rem; margin-bottom: 8px; }
.rs-usecase-card__title { font-size: .98rem; margin: 0 0 6px; color: #4FD1C5; }
.rs-usecase-card__desc { font-size: .85rem; line-height: 1.5; margin: 0; color: var(--text-muted, #8aa); }

.rs-tech-list { display: flex; flex-direction: column; gap: 14px; }
.rs-tech-row { padding: 16px 18px; background: rgba(10,21,37,.5); border-radius: 10px; border-left: 3px solid #4FD1C5; }
.rs-tech-row strong { display: block; color: #4FD1C5; font-size: 1rem; margin-bottom: 8px; }
.rs-tech-row code { display: block; padding: 6px 10px; background: rgba(0,0,0,.3); border-radius: 4px; font-size: .82rem; color: #A7F3D0; margin: 4px 0; font-family: var(--font-mono, monospace); }
.rs-tech-row p { font-size: .9rem; line-height: 1.55; color: var(--text, #E8F4F8); margin: 0 0 8px; }

@media (max-width: 900px) {
	.rs-anim-stage { grid-template-columns: 1fr; gap: 12px; }
	.rs-anim-stage canvas { grid-row: auto; width: 100% !important; height: auto !important; max-height: 60vh; }
	.rs-anim-controls { flex-direction: row; flex-wrap: wrap; padding: 10px; }
	.rs-anim-controls .rs-btn { flex: 1; min-width: 90px; text-align: center; padding: 10px 6px; font-size: .78rem; }
	.rs-anim-readout { padding: 10px; }
	.rs-anim-legend { font-size: .76rem; padding: 10px; gap: 6px; }
	.rs-fusion-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.rs-workflow-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.rs-usecase-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.rs-hero__highlights { grid-template-columns: 1fr; }
	.rs-tech-row code { font-size: .72rem; word-break: break-all; }
}
@media (max-width: 480px) {
	.rs-fusion-grid, .rs-workflow-grid, .rs-usecase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.survey-tracked { padding: 16px; }
	.survey-tracked__grid { grid-template-columns: 1fr; }
	.feature-card__step-num { font-size: .82rem; }
}

/* -------- Demo -------- */
/* ========================================================================
   DEMO SECTION — fully responsive
   ======================================================================== */
.demo-shell {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
	gap: 24px;
	background: var(--bg-elev-1);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 24px;
	box-shadow: var(--shadow);
	overflow: hidden;
}
.demo-controls { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.demo-controls__group { display: flex; flex-direction: column; gap: 18px; }
.demo-field { display: flex; flex-direction: column; gap: 8px; }
.demo-field > span {
	font-family: var(--font-mono);
	font-size: .72rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .08em;
	display: flex; justify-content: space-between; align-items: center;
}
.demo-field em {
	font-style: normal;
	color: var(--accent);
	font-size: .85rem;
}
.demo-field select,
.demo-field input[type="range"] {
	width: 100%;
	padding: 10px 12px;
	background: var(--bg-elev-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-family: inherit;
}
.demo-field input[type="range"] { padding: 0; accent-color: var(--accent); }
.demo-seg {
	display: flex; gap: 4px;
	background: var(--bg-elev-2);
	padding: 4px;
	border-radius: 100px;
	border: 1px solid var(--border);
}
.demo-seg button {
	flex: 1;
	padding: 8px 12px;
	border: none;
	background: transparent;
	color: var(--text-muted);
	border-radius: 100px;
	cursor: pointer;
	font-weight: 600;
	font-family: var(--font-mono);
	font-size: .85rem;
}
.demo-seg button.is-active { background: var(--accent); color: #000; }
.demo-note {
	font-size: .75rem;
	color: var(--text-dim);
	margin: 0;
	padding: 12px;
	border-left: 2px solid var(--accent);
	background: rgba(20,184,166,.03);
	border-radius: 4px;
}

.demo-stage { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.demo-stage__tabs {
	display: flex; gap: 4px;
	background: var(--bg-elev-2);
	padding: 4px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
}
.demo-stage__tabs button {
	flex: 1;
	padding: 10px 14px;
	background: transparent;
	border: none;
	color: var(--text-muted);
	border-radius: 6px;
	cursor: pointer;
	font-weight: 500;
	font-size: .9rem;
}
.demo-stage__tabs button.is-active {
	background: var(--bg-elev-3);
	color: var(--accent);
}
.demo-stage__body {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16/10;
	background: #030608;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	box-sizing: border-box;
}
.demo-panel {
	position: absolute; inset: 0;
	opacity: 0; pointer-events: none;
	transition: opacity .3s;
	padding: 12px;
	display: flex; flex-direction: column;
	gap: 8px;
	box-sizing: border-box;
	overflow: hidden;
}
.demo-panel.is-active { opacity: 1; pointer-events: auto; }
.demo-panel canvas {
	flex: 1 1 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 0;
	height: auto;
	max-height: 100%;
	border-radius: 6px;
	display: block;
	object-fit: contain;
	box-sizing: border-box;
}
.demo-panel > .demo-report { flex: 1 1 auto; min-height: 0; }
/* Mobile: smaller aspect για να μην γίνεται υπερβολικά ψηλό */
@media (max-width: 480px) {
	.demo-stage__body { aspect-ratio: 4/3; }
	.demo-panel { padding: 8px; gap: 6px; }
}
.demo-legend {
	display: flex; gap: 14px; flex-wrap: wrap;
	flex: 0 0 auto;
	padding: 8px 10px;
	background: rgba(10, 37, 64, 0.45);
	border: 1px solid rgba(56, 225, 255, 0.15);
	border-radius: 6px;
	font-size: .78rem;
	color: var(--text);
	font-weight: 500;
	justify-content: center;
}
.demo-legend__item { display: flex; align-items: center; gap: 8px; }
.demo-legend__item i {
	width: 18px; height: 14px;
	border-radius: 3px;
	display: inline-block;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}

.demo-report {
	font-family: var(--font-mono);
	font-size: .88rem;
	line-height: 1.7;
	color: var(--text);
	overflow-y: auto;
	max-height: 100%;
}
.demo-report h5 { color: var(--accent); font-size: 1rem; margin: 0 0 8px; }
.demo-report__placeholder {
	color: var(--text-dim);
	text-align: center;
	margin: auto;
	font-style: italic;
}
.demo-report .tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 100px;
	background: rgba(20,184,166,.1);
	color: var(--accent);
	font-size: .72rem;
	margin-right: 4px;
}

.demo-stage__meters {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.meter { display: flex; flex-direction: column; gap: 6px; }
.meter span {
	font-family: var(--font-mono);
	font-size: .72rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .08em;
}
.meter__bar {
	height: 8px;
	background: var(--bg-elev-2);
	border-radius: 100px;
	overflow: hidden;
	border: 1px solid var(--border);
}
.meter__bar i {
	display: block;
	height: 100%;
	background: var(--grad-accent);
	transition: width .3s var(--ease);
	box-shadow: 0 0 12px var(--accent);
}
.meter__bar--pulse i { background: var(--grad-warm); box-shadow: 0 0 12px var(--accent-warm); }

/* Tablet: πιο στενά controls */
@media (max-width: 1024px) {
	.demo-shell { grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); gap: 18px; padding: 20px; }
}
/* Mobile: stack vertically */
@media (max-width: 760px) {
	.demo-shell { grid-template-columns: 1fr; padding: 14px; gap: 16px; }
	.demo-stage__meters { grid-template-columns: 1fr; gap: 10px; }
	.demo-legend { font-size: .72rem; gap: 10px; padding: 6px 8px; }
	.demo-legend__item i { width: 14px; height: 12px; }
}

/* -------- Download -------- */
.download-grid {
	display: grid;
	grid-template-columns: 1.2fr .8fr .8fr;
	gap: 20px;
}
.download-card {
	padding: 32px 28px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(10px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.download-card--primary {
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(20,184,166,.1), transparent 60%),
		var(--surface);
	border-color: var(--border-strong);
}
.download-card__head { display: flex; justify-content: space-between; align-items: center; }
.pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 100px;
	font-family: var(--font-mono);
	font-size: .7rem;
	letter-spacing: .12em;
	background: rgba(20,184,166,.1);
	color: var(--accent-hover);
	border: 1px solid rgba(20,184,166,.25);
}
.version-chip {
	font-family: var(--font-mono);
	font-size: .78rem;
	color: var(--text-muted);
}
.download-card__hint {
	display: block; margin-top: 8px;
	font-size: .75rem; color: var(--text-dim);
}
.download-meta {
	list-style: none;
	margin: auto 0 0; padding: 20px 0 0;
	border-top: 1px solid var(--border);
	display: flex; flex-direction: column; gap: 10px;
}
.download-meta li {
	display: flex; justify-content: space-between;
	font-size: .85rem;
}
.download-meta span { color: var(--text-muted); }
.download-meta strong {
	font-family: var(--font-mono);
	color: var(--text);
	font-weight: 500;
}

.download-card--qr { align-items: center; text-align: center; }
.qr-wrap {
	padding: 14px;
	background: #fff;
	border-radius: 12px;
	display: inline-block;
}
#apkQR { width: 200px; height: 200px; }
.qr-hint { font-size: .85rem; color: var(--text-muted); margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-muted); }
.steps__n {
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 26px; height: 26px; flex-shrink: 0;
	border-radius: 50%;
	background: var(--grad-accent);
	color: #000;
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: .78rem;
}

@media (max-width: 960px) {
	.download-grid { grid-template-columns: 1fr; }
}

/* -------- About -------- */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(30px, 5vw, 70px);
	align-items: start;
}
.about-copy p { color: var(--text-muted); font-size: 1.02rem; }
.about-badges { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.badge {
	padding: 14px 20px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--surface);
	text-align: center;
}
.badge span {
	display: block;
	font-family: var(--font-mono);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
}
.badge small {
	display: block;
	font-size: .72rem;
	color: var(--text-muted);
	margin-top: 4px;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.about-specs {
	padding: 32px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(10px);
}
.about-specs h3 { font-size: 1.15rem; margin-bottom: 20px; color: var(--accent); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: .92rem; }
.specs { margin: 0; display: flex; flex-direction: column; gap: 0; }
.specs > div {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px dashed var(--border);
	font-size: .9rem;
}
.specs > div:last-child { border-bottom: none; }
.specs dt { color: var(--text-muted); margin: 0; }
.specs dd { margin: 0; font-family: var(--font-mono); color: var(--text); }

@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* -------- Footer -------- */
.site-footer {
	padding: 60px 0 30px;
	background: var(--bg-elev-1);
	border-top: 1px solid var(--border);
	margin-top: 80px;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--border);
}
.site-footer__col h4 {
	font-size: .82rem;
	color: var(--accent);
	margin-bottom: 16px;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a { color: var(--text-muted); font-size: .9rem; }
.site-footer__col a:hover { color: var(--text); }
.footer-contact { gap: 10px !important; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact span { color: var(--accent); width: 18px; }
.footer-meta { font-size: .78rem; color: var(--text-dim); font-family: var(--font-mono); margin-top: 8px; }
.status-pill {
	display: inline-flex;
	align-items: center; gap: 8px;
	padding: 6px 12px;
	background: rgba(20,184,166,.08);
	border: 1px solid rgba(20,184,166,.2);
	border-radius: 100px;
	font-size: .8rem;
	color: var(--accent-hover);
	font-family: var(--font-mono);
}
.status-dot {
	width: 8px; height: 8px;
	background: var(--accent-hover);
	border-radius: 50%;
	box-shadow: 0 0 8px var(--accent-hover);
	display: inline-block;
	animation: pulse 1.8s infinite;
}
.site-footer__bottom {
	padding-top: 30px;
	text-align: center;
	color: var(--text-dim);
	font-size: .82rem;
}

@media (max-width: 860px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
	.site-footer__grid { grid-template-columns: 1fr; }
}

/* -------- AI Chat -------- */
.ai-chat {
	position: fixed;
	bottom: 22px; right: 22px;
	z-index: 1000;
}
.ai-chat__fab {
	display: inline-flex;
	align-items: center; gap: 10px;
	padding: 14px 22px 14px 18px;
	background: var(--grad-accent);
	color: #041016;
	border: none;
	border-radius: 100px;
	font-family: inherit;
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
	box-shadow: 0 10px 40px rgba(20,184,166,.4);
	transition: transform .2s var(--ease), box-shadow .2s;
	position: relative;
}
.ai-chat__fab:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(20,184,166,.55); }
.ai-chat__fab-icon { display: inline-flex; }
.ai-chat__fab-icon svg { width: 20px; height: 20px; }
.ai-chat__fab-pulse {
	position: absolute;
	inset: 0;
	border-radius: 100px;
	border: 2px solid var(--accent);
	animation: fabPulse 2.4s infinite;
}
@keyframes fabPulse {
	0% { transform: scale(1); opacity: .6; }
	100% { transform: scale(1.2); opacity: 0; }
}

.ai-chat__panel {
	position: absolute;
	bottom: 72px; right: 0;
	width: min(380px, calc(100vw - 44px));
	height: min(580px, calc(100dvh - 120px));
	background: var(--bg-elev-1);
	border: 1px solid var(--border-strong);
	border-radius: 20px;
	box-shadow: var(--shadow), 0 0 60px rgba(20,184,166,.15);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	animation: chatIn .3s var(--ease);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.ai-chat__panel[hidden] { display: none; }

.ai-chat__header {
	padding: 14px 16px;
	display: flex; justify-content: space-between; align-items: center;
	background: linear-gradient(180deg, rgba(20,184,166,.06), transparent);
	border-bottom: 1px solid var(--border);
}
.ai-chat__brand { display: flex; gap: 12px; align-items: center; }
.ai-chat__avatar {
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--grad-accent);
	color: #041016;
	border-radius: 10px;
	font-weight: 700;
	font-size: 1rem;
}
.ai-chat__brand strong { display: block; font-size: .95rem; }
.ai-chat__brand small {
	display: flex; align-items: center; gap: 6px;
	font-size: .72rem; color: var(--text-muted);
	font-family: var(--font-mono);
}
.ai-chat__close {
	width: 32px; height: 32px;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text-muted);
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
}
.ai-chat__close:hover { color: var(--text); background: var(--bg-elev-2); }

.ai-chat__body {
	flex: 1;
	overflow-y: auto;
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	scroll-behavior: smooth;
}
.ai-chat__msg { display: flex; }
.ai-chat__msg--user { justify-content: flex-end; }
.ai-chat__bubble {
	max-width: 82%;
	padding: 10px 14px;
	border-radius: 16px;
	font-size: .92rem;
	line-height: 1.5;
	white-space: pre-wrap;
	word-break: break-word;
}
.ai-chat__msg--bot .ai-chat__bubble {
	background: var(--bg-elev-2);
	border: 1px solid var(--border);
	border-bottom-left-radius: 4px;
	color: var(--text);
}
.ai-chat__msg--user .ai-chat__bubble {
	background: var(--grad-accent);
	color: #041016;
	border-bottom-right-radius: 4px;
	font-weight: 500;
}
.ai-chat__bubble strong { color: var(--accent); }
.ai-chat__msg--user .ai-chat__bubble strong { color: #041016; }
.ai-chat__typing {
	display: inline-flex; gap: 4px;
	padding: 12px 14px;
	background: var(--bg-elev-2);
	border-radius: 16px;
	border-bottom-left-radius: 4px;
	border: 1px solid var(--border);
}
.ai-chat__typing i {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--text-muted);
	animation: bounce 1.2s infinite;
}
.ai-chat__typing i:nth-child(2) { animation-delay: .15s; }
.ai-chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

.ai-chat__followups {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	padding: 4px 0 8px;
	margin-left: 6px;
	animation: fadeIn .3s;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ai-chat__followup-btn {
	padding: 5px 11px;
	font-size: .78rem;
	font-family: inherit;
	background: rgba(20,184,166,.08);
	border: 1px solid var(--border-strong);
	color: var(--accent);
	border-radius: 100px;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.ai-chat__followup-btn:hover {
	background: rgba(20,184,166,.18);
	transform: translateX(2px);
}

.ai-chat__suggestions {
	padding: 8px 16px 0;
	display: flex; gap: 6px; flex-wrap: wrap;
	border-top: 1px solid var(--border);
	padding-top: 10px;
}
.ai-chat__suggestions button {
	padding: 6px 12px;
	background: var(--bg-elev-2);
	border: 1px solid var(--border);
	color: var(--text-muted);
	border-radius: 100px;
	font-size: .78rem;
	cursor: pointer;
	font-family: inherit;
	transition: all .2s;
}
.ai-chat__suggestions button:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: rgba(20,184,166,.05);
}

.ai-chat__composer {
	padding: 10px 12px;
	display: flex; gap: 8px;
	border-top: 1px solid var(--border);
	background: var(--bg-elev-2);
}
.ai-chat__composer input {
	flex: 1;
	padding: 10px 14px;
	background: var(--bg-elev-3);
	border: 1px solid var(--border);
	border-radius: 100px;
	color: var(--text);
	font-family: inherit;
	font-size: .92rem;
	outline: none;
}
.ai-chat__composer input:focus { border-color: var(--accent); }
.ai-chat__composer button {
	width: 40px; height: 40px; flex-shrink: 0;
	background: var(--grad-accent);
	color: #041016;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.1rem;
	font-weight: 700;
}
.ai-chat__footer {
	padding: 8px 16px;
	font-size: .7rem;
	color: var(--text-dim);
	text-align: center;
	background: var(--bg-elev-2);
	border-top: 1px solid var(--border);
}

@media (max-width: 500px) {
	.ai-chat { bottom: 12px; right: 12px; }
	.ai-chat__fab-label { display: none; }
	.ai-chat__fab { padding: 14px; }
	.ai-chat__panel { width: calc(100vw - 24px); height: calc(100dvh - 100px); }
}

/* -------- 404 -------- */
.error-card {
	padding: 60px 30px;
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}
.error-card__code {
	font-family: var(--font-mono);
	font-size: 5rem;
	font-weight: 700;
	background: var(--grad-accent);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
	line-height: 1;
	margin-bottom: 20px;
}

/* -------- Generic WP content -------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 30px;
}
.post-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}
.post-card__body { padding: 20px; }
.post-card__title a { color: var(--text); text-decoration: none; }
.post-card__title a:hover { color: var(--accent); }
.page-content { color: var(--text-muted); font-size: 1.02rem; }
.page-content a { color: var(--accent); }

/* -------- Utilities -------- */
.is-hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   ΝΕΑ COMPONENTS — Language switcher, Videos, Tokens, Kicker variants
   ========================================================================== */

/* -------- Language Switcher -------- */
.lang-switcher {
	position: relative;
}
.lang-switcher__trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 14px 12px;
	background: transparent;
	border: none;
	border-radius: 8px;
	color: var(--text-muted);
	font-family: inherit;
	font-size: .94rem;
	font-weight: 500;
	cursor: pointer;
	transition: color .18s, background .18s;
}
.lang-switcher__trigger:hover,
.lang-switcher__trigger:focus-visible {
	color: var(--text);
	background: rgba(20,184,166,.06);
}
.lang-switcher[data-open="true"] .lang-switcher__trigger { color: var(--accent); }
.lang-switcher[data-open="true"] .lang-switcher__caret { color: var(--accent); }
.lang-switcher__flag { font-size: 1.05rem; line-height: 1; }
.lang-switcher__code {
	font-family: var(--font-mono);
	letter-spacing: .04em;
	color: var(--accent);
}
.lang-switcher__caret {
	font-size: .7rem;
	color: var(--text-muted);
	transition: transform .2s;
}
.lang-switcher[data-open="true"] .lang-switcher__caret { transform: rotate(180deg); }

.lang-switcher__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 180px;
	list-style: none;
	margin: 0; padding: 6px;
	background: var(--bg-elev-1);
	border: 1px solid var(--border-strong);
	border-radius: 14px;
	box-shadow: var(--shadow);
	z-index: 200;
	animation: langIn .2s var(--ease);
}
.lang-switcher__menu[hidden] { display: none; }
.lang-switcher__menu li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
	font-size: .9rem;
	transition: background .15s;
}
.lang-switcher__menu li a:hover,
.lang-switcher__menu li a.is-active {
	background: rgba(20,184,166,.1);
	color: var(--accent);
}
.lang-switcher__menu li a.is-active { font-weight: 600; }

@keyframes langIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
	.lang-switcher__menu { right: auto; left: 0; }
}

/* -------- Videos -------- */
.section--videos { background: linear-gradient(180deg, transparent, rgba(15,23,42,.4) 50%, transparent); }

.videos-empty {
	text-align: center;
	padding: 60px 30px;
	color: var(--text-muted);
	background: var(--surface);
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius-lg);
}
.videos-empty svg { margin: 0 auto 16px; color: var(--accent); }
.videos-empty p { margin: 0; font-size: .95rem; }

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 20px;
	width: 100%;
	max-width: 100%;
}
.video-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	min-width: 0;
	max-width: 100%;
	backdrop-filter: blur(10px);
	transition: border-color .3s, transform .3s var(--ease);
	position: relative;
}
.video-card:hover {
	border-color: var(--border-strong);
	transform: translateY(-2px);
}
.video-card--featured {
	grid-column: span 2;
}
.video-card__embed {
	position: relative;
	aspect-ratio: 16/9;
	background: #000;
}
.video-card__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.videos-cta { text-align: center; margin-top: 30px; }

@media (max-width: 900px) {
	.video-card--featured { grid-column: auto; }
}

/* -------- Tokens & API -------- */
.section--tokens {
	background:
		radial-gradient(900px 400px at 80% 20%, rgba(249,115,22,.04), transparent 60%),
		var(--bg);
}
.section-kicker--warm {
	color: var(--accent-warm);
	border-color: rgba(249,115,22,.35);
	background: rgba(249,115,22,.04);
}

.tokens-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 28px;
}
.tokens-col {
	padding: 32px 30px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(10px);
}
.tokens-col h3 {
	font-size: 1.15rem;
	margin-bottom: 18px;
	color: var(--text);
}
.tokens-icon {
	width: 48px; height: 48px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(249,115,22,.1);
	border: 1px solid rgba(249,115,22,.3);
	border-radius: 12px;
	color: var(--accent-warm);
	margin-bottom: 16px;
}
.tokens-icon svg { width: 22px; height: 22px; }

.steps--numbered { gap: 16px; }
.steps--numbered .steps__n {
	background: var(--grad-warm);
}

.scope-list {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.scope-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	gap: 4px 14px;
	padding: 14px;
	background: var(--bg-elev-2);
	border: 1px solid var(--border);
	border-radius: 10px;
	transition: border-color .2s;
}
.scope-list li:hover { border-color: var(--border-strong); }
.scope-code {
	grid-row: 1 / span 2;
	align-self: center;
	padding: 6px 10px;
	background: rgba(249,115,22,.08);
	color: var(--accent-warm);
	border: 1px solid rgba(249,115,22,.25);
	border-radius: 6px;
	font-family: var(--font-mono);
	font-size: .8rem;
	font-weight: 600;
	white-space: nowrap;
}
.scope-list li strong {
	font-size: .92rem;
	color: var(--text);
}
.scope-list li span {
	font-size: .82rem;
	color: var(--text-muted);
	line-height: 1.5;
}

.tokens-example {
	background: var(--bg-elev-1);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 28px;
}
.tokens-example__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--border);
	background: var(--bg-elev-2);
	flex-wrap: wrap;
}
.tokens-example__head h4 {
	margin: 0 0 4px;
	font-size: .9rem;
	color: var(--accent-warm);
	text-transform: none;
	letter-spacing: normal;
}
.tokens-example__head p {
	margin: 0;
	font-size: .82rem;
	color: var(--text-muted);
}
.tokens-code {
	margin: 0;
	padding: 20px 24px;
	overflow-x: auto;
	font-family: var(--font-mono);
	font-size: .82rem;
	line-height: 1.6;
	color: var(--text);
	background: transparent;
}
.tokens-code code {
	color: var(--text);
	background: none;
	white-space: pre;
}

.tokens-security {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 20px;
	padding: 28px 30px;
	background: linear-gradient(135deg, rgba(123,97,255,.04), rgba(20,184,166,.04));
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	margin-bottom: 28px;
}
.tokens-security__icon {
	width: 56px; height: 56px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(123,97,255,.1);
	border: 1px solid rgba(123,97,255,.3);
	border-radius: 14px;
	color: var(--purple);
}
.tokens-security__body h4 {
	margin: 0 0 12px;
	color: var(--purple);
	font-size: .9rem;
}
.tokens-security__body ul {
	margin: 0; padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tokens-security__body li {
	position: relative;
	padding-left: 22px;
	font-size: .9rem;
	color: var(--text-muted);
}
.tokens-security__body li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--success);
	font-weight: 700;
}

.tokens-cta { text-align: center; }

.btn--warm {
	background: var(--grad-warm);
	color: #fff;
	box-shadow: 0 6px 24px rgba(249,115,22,.3);
}
.btn--warm:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 36px rgba(249,115,22,.45);
	color: #fff;
}

@media (max-width: 860px) {
	.tokens-grid { grid-template-columns: 1fr; }
	.tokens-security { grid-template-columns: 1fr; text-align: left; }
	.tokens-example__head { flex-direction: column; align-items: flex-start; }
}

/* ========================================================================
   LEGAL DOCUMENT (Terms / Privacy / Cookies pages)
   ======================================================================== */
.section--terms-hero { padding: 60px 0 30px; }
.section--terms-body { padding: 30px 0 80px; }

.legal-doc {
	color: var(--text);
	font-size: .94rem;
	line-height: 1.75;
	max-width: 100%;
}
.legal-doc h2 {
	font-size: 1.4rem;
	color: var(--accent);
	margin-top: 50px;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 {
	font-size: 1.08rem;
	color: var(--text);
	margin-top: 28px;
	margin-bottom: 10px;
	font-weight: 600;
}
.legal-doc p { margin-bottom: 14px; color: var(--text-muted); }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc em { color: var(--accent); font-style: normal; font-weight: 500; }
.legal-doc ul, .legal-doc ol { margin: 0 0 18px 22px; color: var(--text-muted); }
.legal-doc li { margin-bottom: 8px; line-height: 1.65; }
.legal-doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc a:hover { color: var(--accent-hover); }

.legal-table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0 28px;
	background: var(--bg-elev-1);
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
}
.legal-table th {
	text-align: left;
	padding: 12px 14px;
	background: var(--bg-elev-2);
	color: var(--accent);
	font-family: var(--font-mono);
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	border-bottom: 1px solid var(--border);
}
.legal-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--border);
	color: var(--text-muted);
	font-size: .9rem;
	vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: 0; }

.legal-uppercase {
	font-size: .82rem;
	letter-spacing: .02em;
	color: var(--text-dim) !important;
	background: rgba(20,184,166,.04);
	padding: 14px 18px;
	border-left: 2px solid var(--accent);
	border-radius: 0 6px 6px 0;
}

.legal-doc__contact {
	margin-top: 60px;
	padding: 24px;
	background: var(--bg-elev-1);
	border: 1px solid var(--border);
	border-radius: 8px;
	text-align: center;
}
.legal-doc__contact p { margin: 0; color: var(--text); }
.legal-doc__contact a { color: var(--accent); }

@media (max-width: 600px) {
	.legal-doc { font-size: .88rem; line-height: 1.7; }
	.legal-doc h2 { font-size: 1.18rem; margin-top: 36px; }
	.legal-doc h3 { font-size: 1rem; margin-top: 22px; }
	.legal-table th, .legal-table td { padding: 10px; font-size: .82rem; }
	.legal-uppercase { font-size: .75rem; padding: 12px 14px; }
}

/* Footer · legal links */
.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.site-footer__legal a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: .8rem;
	border-bottom: 1px solid transparent;
	transition: color .2s, border-color .2s;
}
.site-footer__legal a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}
@media (max-width: 600px) {
	.site-footer__bottom { justify-content: center; text-align: center; }
}

/* ==========================================================================
   MOBILE STABILITY HARDENING (added 2026-04-25)
   Στόχος: εξάλειψη οριζόντιας υπερχείλισης, layout shifts και rendering
   judder σε κινητές συσκευές (iOS/Android phones & tablets).
   ========================================================================== */

/* 1. Word wrapping για μακριά strings (ελληνικά/γερμανικά compound words,
      URLs, technical terms όπως «Synthetic Aperture Radar»). */
h1, h2, h3, h4, h5, h6,
.hero-title, .hero-title__accent, .hero-title__sub,
.hero-lead, .section-lead, .section-title,
.showcase-row__title, .showcase-row__desc,
p, li, blockquote {
	overflow-wrap: break-word;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* 2. Καθολική προστασία από overflow για media + canvas (3D/Grid). */
img, svg, video, iframe, canvas, picture, object, embed {
	max-width: 100%;
	height: auto;
}
canvas { max-width: 100% !important; }

/* Three.js renderer canvas — να μην ξεπερνάει το device-frame. */
.tac-viz canvas, .device-frame canvas, [data-tac-canvas] canvas {
	max-width: 100% !important;
	max-height: 100% !important;
}

/* 3. Sticky overflow guards για το root layout.
      ΣΗΜΑΝΤΙΚΟ:
      - ΔΕΝ βάζουμε overflow-x σε <html> — σε iOS Safari, με `overflow-x: clip`
        στο html ο browser εξισώνει και τα 2 axes, κάνοντας ΚΑΙ το vertical
        scroll clipped → σελίδα δεν μπορεί να scroll-αριστεί καθόλου.
      - ΔΕΝ βάζουμε overflow-x: hidden στο body μαζί με html — δημιουργεί
        nested scroll containers που μπλοκάρουν το touch scroll.
      - Το body ήδη έχει overflow-x: clip στο block στην αρχή του αρχείου
        (line ~78), αυτό είναι αρκετό για να αποτρέψει side-scroll.
      Εδώ απλώς διασφαλίζουμε ότι κανένα stray width δεν σπάει το layout. */
.container, .site-content, main, section {
	max-width: 100%;
}

/* 4. Καθολική απενεργοποίηση backdrop-filter σε touch devices.
      Είναι ο μεγαλύτερος συντελεστής scroll judder σε iOS Safari και
      σε όλους τους mid/low-tier Android browsers. Διατηρείται όμως σε
      desktop με mouse, όπου το GPU compositing είναι αρκετά γρήγορο. */
@media (hover: none) and (pointer: coarse) {
	.site-header,
	.feature-card,
	.mega-panel,
	.mobile-drawer,
	.lang-switcher__menu,
	.cookie-notice,
	.cookie-modal,
	[class*="__panel"],
	[class*="__card"],
	.ai-chat__panel,
	.tac-bottom,
	.tac-header {
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}
}

/* 5. Mobile typography refinements + container padding ώστε
      το text να μη φτάνει ποτέ στις άκρες της οθόνης. */
@media (max-width: 768px) {
	.container { width: min(var(--container), 100% - 32px); }
	.hero-title__accent { font-size: clamp(2rem, 9vw, 3rem); line-height: 1.05; }
	.hero-title__sub { font-size: clamp(1rem, 4vw, 1.25rem); }
	.hero-lead { font-size: 1rem; }
	/* ΣΗΜ: Αφαιρέθηκε .section { overflow-x: clip } — σε iOS Safari
	   προκαλούσε equalization των axes και έσπαγε vertical scroll. */
}

/* 6. Disable infinite pulse/scan animations σε mobile για χρήστες που
      δηλώνουν reduced motion ή έχουν πολύ μικρή οθόνη. Μειώνει το
      compositing load που προκαλεί perceived "shake". */
@media (prefers-reduced-motion: reduce),
	   .reduced-motion * {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after {
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
	transition-duration: 0.01ms !important;
}

/* 7. Auto-viewport mechanism — χρησιμοποιεί τα CSS custom properties
      (--vw, --vh, --vh-unit) που τίθενται από το inline script στο <head>.
      Αυτό αποτρέπει το «shake» σε iOS όταν το address bar εμφανίζεται/
      κρύβεται, γιατί τα πραγματικά viewport pixels δεν αλλάζουν στιγμιαία —
      το script κάνει debounce και rAF throttling.

      Fallback: αν το JS δεν τρέξει (NoScript), γίνεται fallback σε 100vw/100vh. */
:root {
	--vw: 100vw;
	--vh: 100vh;
	--vh-unit: 1vh;
}
/* ΣΗΜ: Δεν εφαρμόζουμε max-width σε html/body εδώ — το block #3 παραπάνω
   διαχειρίζεται το overflow με ασφαλή τρόπο (clip στο html μόνο). */
.section--hero {
	min-height: calc(var(--vh-unit) * 90 - var(--header-h, 72px));
}
.ai-chat__panel {
	max-height: calc(var(--vh-unit) * 100 - 120px);
}

/* 8. Touch-device specific overrides — ενεργοποιούνται όταν το inline
      adapter προσθέσει την κλάση `is-touch` στο <html>. Παρακάμπτει
      LiteSpeed UCSS (Unique CSS) που μπορεί να αφαιρέσει τα media queries
      αν δεν είναι σε snapshot — οι class-based selectors σώζονται πάντα. */
.is-touch .site-header,
.is-touch .feature-card,
.is-touch .mega-panel,
.is-touch .mobile-drawer,
.is-touch [class*="__panel"],
.is-touch [class*="__card"] {
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}
.is-touch body::before { display: none; }
.is-touch .hero-title__accent { font-size: clamp(2rem, 9vw, 3rem); line-height: 1.05; }
.is-touch .hero-title__sub    { font-size: clamp(1rem, 4vw, 1.25rem); }
.is-touch .container          { width: min(var(--container), 100% - 32px); }
/* .is-touch .section overflow-x: clip αφαιρέθηκε — προκαλούσε
   axis equalization στο iOS Safari και έσπαγε το vertical scroll. */
