/* ============================================================
   APIBASE — SITE.CSS
   Version consolidée / index.php
   ------------------------------------------------------------
   Contenu couvert :
   - Base / variables / bilingue
   - Layout global
   - Hero + image architecture zoomable
   - Chat NQL
   - Problème
   - Solution fusionnée en 6 cartes
   - Modes d'utilisation
   - Manifesto compact
   - Services / méthodologie
   - Pricing
   - FAQ
   - Contact
   - Footer
   - Modal architecture
   - Responsive
   ============================================================ */


/* ============================================================
   01. RESET / VARIABLES
   ============================================================ */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	/* Brand */
	--purple: #7048E8;
	--purple-hover: #5C35D4;
	--purple-light: #EDE9FF;
	--purple-muted: #F5F3FF;

	--amber: #F5A623;
	--amber-hover: #E09010;

	/* Neutrals */
	--dark: #111827;
	--navy: #1A1A2E;

	--gray-900: #111827;
	--gray-700: #374151;
	--gray-600: #4B5563;
	--gray-500: #6B7280;
	--gray-300: #D1D5DB;
	--gray-100: #F3F4F6;

	--white: #FFFFFF;

	/* System */
	--font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--radius: 12px;
	--radius-lg: 20px;
	--radius-xl: 28px;

	--max-w: 1100px;

	--shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
	--shadow-xl: 0 24px 70px rgba(15, 23, 42, 0.12);
}


/* ============================================================
   02. BASE
   ============================================================ */

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font);
	color: var(--dark);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
	line-height: 1.2;
	font-weight: 700;
}

img {
	max-width: 100%;
}

a {
	color: inherit;
}

button,
input,
textarea,
select {
	font-family: inherit;
}


/* ============================================================
   03. BILINGUAL DISPLAY
   ------------------------------------------------------------
   Par défaut : français visible, anglais caché.
   Si html[lang="en"] : anglais visible, français caché.
   ============================================================ */

.en,
span.en {
	display: none !important;
}

html[lang="en"] .fr,
html[lang="en"] span.fr {
	display: none !important;
}

html[lang="en"] .en {
	display: block !important;
}

html[lang="en"] span.en {
	display: inline !important;
}

html[lang="en"] li.en {
	display: flex !important;
}

html[lang="en"] a.en {
	display: inline-flex !important;
}

html[lang="en"] .footer-col a.en {
	display: block !important;
}


/* ============================================================
   04. LAYOUT / TYPOGRAPHY
   ============================================================ */

.container {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 1.5rem;
}

section {
	padding: 5rem 0;
}

.centered-header {
	text-align: center;
	margin-bottom: 3rem;
}

.centered-header .section-subtitle {
	margin-left: auto;
	margin-right: auto;
}

.section-label,
.section-label-dark {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 1rem;
}

.section-label {
	color: var(--purple);
	background: var(--purple-muted);
}

.section-label-dark {
	color: var(--amber);
	background: rgba(245, 166, 35, 0.12);
}

.section-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
}

.section-subtitle {
	font-size: 1.05rem;
	color: var(--gray-500);
	line-height: 1.7;
	max-width: 620px;
}


/* ============================================================
   05. BUTTONS
   ============================================================ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius);
	border: none;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.btn-primary {
	background: var(--purple);
	color: var(--white);
}

.btn-primary:hover {
	background: var(--purple-hover);
	transform: translateY(-1px);
}

.btn-amber {
	background: var(--amber);
	color: var(--white);
}

.btn-amber:hover {
	background: var(--amber-hover);
	transform: translateY(-1px);
}

.btn-outline {
	background: transparent;
	color: var(--purple);
	border: 2px solid var(--purple);
}

.btn-outline:hover {
	background: var(--purple-muted);
}


/* ============================================================
   06. HERO
   ============================================================ */

#hero {
	padding: 8rem 0 5rem;
	background: linear-gradient(135deg, #FAFAFA 0%, #F5F3FF 100%);
	overflow: hidden;
}

.hero-inner,
.hero-inner-single {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3rem;
}

.hero-copy {
	width: 100%;
	max-width: 860px;
	text-align: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	padding: 0.35rem 1rem;
	border: 1px solid var(--gray-300);
	border-radius: 999px;
	background: var(--white);
	color: var(--gray-700);
	font-size: 0.8rem;
	font-weight: 600;
}

.hero-badge-dot {
	width: 6px;
	height: 6px;
	background: var(--amber);
	border-radius: 999px;
	flex-shrink: 0;
}

.hero-title {
	max-width: 820px;
	margin: 0 auto 1.25rem;
	color: var(--dark);
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: 850;
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.hero-title .hl {
	color: var(--purple);
}

.hero-sub {
	max-width: 680px;
	margin: 0 auto 2rem;
	color: var(--gray-500);
	font-size: 1.12rem;
	line-height: 1.75;
}

.hero-bullets {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem 1.5rem;
	max-width: 820px;
	margin: 1.75rem auto 0;
	list-style: none;
	text-align: left;
}

.hero-bullets li {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	color: var(--gray-700);
	font-size: 0.9rem;
}

.hero-check {
	color: var(--purple);
	font-weight: 800;
	flex-shrink: 0;
}

.hero-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}


/* ============================================================
   07. HERO ARCHITECTURE IMAGE
   ============================================================ */

.hero-architecture-wrap {
	width: 100%;
	max-width: 920px;
	margin: 2rem auto 0;
}

.hero-architecture-button {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: var(--radius-xl);
	background: transparent;
	cursor: zoom-in;
}

.hero-architecture-button:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.45);
	outline-offset: 4px;
}

.hero-architecture-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-xl);
	border: 1px solid rgba(148, 163, 184, 0.22);
	background: var(--white);
	box-shadow: var(--shadow-xl);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.hero-architecture-button:hover .hero-architecture-img {
	transform: translateY(-2px);
	box-shadow: 0 30px 85px rgba(15, 23, 42, 0.16);
}


/* ============================================================
   08. NQL CHAT
   ============================================================ */

.nql-chat {
	width: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 20px;
	background: #0f172a;
	color: #e2e8f0;
	font-size: 0.9rem;
	box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

.nql-thread {
	flex: 1;
	min-height: 340px;
	max-height: 340px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.15rem;
	scrollbar-width: thin;
	scrollbar-color: #64748b #0f172a;
}

.nql-thread::-webkit-scrollbar {
	width: 8px;
}

.nql-thread::-webkit-scrollbar-track {
	background: #0f172a;
}

.nql-thread::-webkit-scrollbar-thumb {
	background: #64748b;
	border-radius: 999px;
}

.nql-empty {
	color: #94a3b8;
	font-size: 0.88rem;
	font-style: italic;
	line-height: 1.6;
}

.nql-bubble-user,
.nql-bubble-ai {
	max-width: 86%;
	padding: 0.85rem 1rem;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.nql-bubble-user {
	align-self: flex-end;
	border-radius: 18px 18px 5px 18px;
	background: #2563eb;
	color: #ffffff;
}

.nql-bubble-ai {
	align-self: flex-start;
	border: 1px solid rgba(148, 163, 184, 0.12);
	border-radius: 18px 18px 18px 5px;
	background: #1e293b;
	color: #e2e8f0;
	white-space: pre-wrap;
}

.nql-footer {
	flex-shrink: 0;
	padding: 0.9rem;
	border-top: 1px solid rgba(148, 163, 184, 0.14);
	background: #0f172a;
}

.nql-input-row {
	display: flex;
	align-items: flex-end;
	gap: 0.6rem;
}

.nql-input-row textarea {
	flex: 1;
	min-height: 44px;
	max-height: 110px;
	padding: 0.75rem 0.9rem;
	overflow-y: auto;
	resize: none;
	border: 1px solid #334155;
	border-radius: 12px;
	outline: none;
	background: #1e293b;
	color: #ffffff;
	font-size: 0.9rem;
	line-height: 1.45;
}

.nql-input-row textarea:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

.nql-input-row textarea::placeholder {
	color: #64748b;
}

.nql-send {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 999px;
	background: #2563eb;
	color: #ffffff;
	font-size: 1rem;
	cursor: pointer;
	transition:
		background 0.18s ease,
		transform 0.18s ease;
}

.nql-send:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

.nql-send:disabled {
	background: #334155;
	cursor: not-allowed;
	transform: none;
}

.nql-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem 0.65rem;
	margin-top: 0.55rem;
}

.nql-meta a,
.nql-meta span,
.nql-reset-link {
	display: inline-flex;
	align-items: center;
	color: #64748b;
	font-size: 0.72rem;
	text-decoration: none;
}

.nql-meta a:hover,
.nql-reset-link:hover {
	color: #c4b5fd;
}

.nql-dots {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.nql-dots span {
	width: 7px;
	height: 7px;
	display: inline-block;
	border-radius: 999px;
	background: #64748b;
	animation: nql-dot 1.2s infinite ease-in-out;
}

.nql-dots span:nth-child(2) {
	animation-delay: 0.2s;
}

.nql-dots span:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes nql-dot {
	0%,
	80%,
	100% {
		transform: translateY(0);
		opacity: 0.45;
	}

	40% {
		transform: translateY(-4px);
		opacity: 1;
	}
}


/* ============================================================
   09. SHARED CARDS
   ============================================================ */

.cards-3,
.connectors-grid,
.solution-grid-6,
.steps-grid,
.pricing-grid,
.modes-grid,
.manifesto-grid,
.manifesto-grid-3 {
	display: grid;
	gap: 1.5rem;
}

.cards-3,
.connectors-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.connectors-grid {
	margin-top: 2rem;
}

.prob-card,
.connector-card,
.step-card,
.price-card,
.mode-card,
.manifesto-card {
	border-radius: var(--radius-lg);
}

.prob-card,
.connector-card {
	padding: 2rem;
	border: 1px solid transparent;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.prob-card:hover,
.connector-card:hover {
	border-color: var(--purple-light);
	box-shadow: var(--shadow);
}

.prob-icon,
.connector-icon {
	margin-bottom: 1rem;
	font-size: 2rem;
}

.prob-card h3,
.connector-card h3,
.step-card h3 {
	margin-bottom: 0.55rem;
	font-size: 1rem;
	font-weight: 750;
}

.prob-card p,
.connector-card p,
.step-card p {
	color: var(--gray-500);
	font-size: 0.9rem;
	line-height: 1.65;
}


/* ============================================================
   10. PROBLEM
   ============================================================ */

#problem {
	background: var(--white);
}

#problem .prob-card {
	background: var(--gray-100);
}


/* ============================================================
   11. SOLUTION FUSIONNÉE
   ============================================================ */

#frontend {
	background:
		radial-gradient(circle at top left, rgba(112, 72, 232, 0.10), transparent 34%),
		linear-gradient(135deg, #FFFFFF 0%, #FAFAFF 100%);
}

#frontend .section-label {
	background: var(--purple);
	color: var(--white);
}

#frontend .section-title {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

#frontend .section-subtitle {
	max-width: 720px;
}

.solution-grid-6 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 2.25rem;
}

.solution-closing {
	margin-top: 3rem;
	margin-bottom: 0;
}

.connector-card {
	background: var(--white);
	border-color: var(--gray-300);
}

.connector-card p {
	margin-bottom: 1rem;
}

.connector-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.connector-pill {
	padding: 0.2rem 0.65rem;
	border: 1px solid var(--gray-300);
	border-radius: 999px;
	background: var(--gray-100);
	color: var(--gray-700);
	font-size: 0.72rem;
	font-weight: 700;
}

.connector-pill.p {
	border-color: var(--purple-light);
	background: var(--purple-muted);
	color: var(--purple);
}


/* ============================================================
   12. MODES
   ============================================================ */

#modes {
	background: var(--gray-100);
}

.modes-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mode-card {
	padding: 2.5rem;
	border: 1px solid var(--gray-300);
}

.mode-card.solo {
	background: var(--white);
}

.mode-card.hive {
	border-color: transparent;
	background: linear-gradient(135deg, #1A1A2E, #2D1B69);
}

.mode-tag {
	display: inline-block;
	margin-bottom: 1rem;
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mode-card.solo .mode-tag {
	background: var(--purple-muted);
	color: var(--purple);
}

.mode-card.hive .mode-tag {
	background: var(--amber);
	color: var(--navy);
}

.mode-name {
	margin-bottom: 0.75rem;
	font-size: 1.5rem;
	font-weight: 850;
}

.mode-card.solo .mode-name {
	color: var(--dark);
}

.mode-card.hive .mode-name {
	color: var(--white);
}

.mode-desc {
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	line-height: 1.7;
}

.mode-card.solo .mode-desc {
	color: var(--gray-500);
}

.mode-card.hive .mode-desc {
	color: #C4B5FD;
}

.mode-feats {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	list-style: none;
}

.mode-feats li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
}

.mode-feats li::before {
	content: '→';
	font-weight: 800;
	flex-shrink: 0;
}

.mode-card.solo .mode-feats li {
	color: var(--gray-700);
}

.mode-card.solo .mode-feats li::before {
	color: var(--purple);
}

.mode-card.hive .mode-feats li {
	color: #DDD6FE;
}

.mode-card.hive .mode-feats li::before {
	color: var(--amber);
}

.mode-action {
	margin-top: 2rem;
}

.mode-action .btn {
	width: 100%;
}


/* ============================================================
   13. MANIFESTO
   ============================================================ */

#manifesto {
	background: var(--navy);
}

.manifesto-header {
	text-align: center;
	margin-bottom: 3.5rem;
}

.manifesto-title {
	color: var(--white);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 850;
	line-height: 1.25;
}

.manifesto-grid,
.manifesto-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manifesto-card {
	padding: 2rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	transition:
		background 0.2s ease,
		border-color 0.2s ease;
}

.manifesto-card:hover {
	border-color: rgba(245, 166, 35, 0.3);
	background: rgba(255, 255, 255, 0.07);
}

.manifesto-num {
	margin-bottom: 0.75rem;
	color: var(--amber);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.manifesto-card h3 {
	margin-bottom: 0.6rem;
	color: var(--white);
	font-size: 1.05rem;
	font-weight: 750;
}

.manifesto-card p {
	color: #9CA3AF;
	font-size: 0.9rem;
	line-height: 1.7;
}


/* ============================================================
   14. SERVICES / MÉTHODOLOGIE
   ============================================================ */

#services {
	background: var(--gray-100);
}

.steps-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
	padding: 2rem;
	background: var(--white);
	box-shadow: var(--shadow);
}

.step-num {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	border-radius: 10px;
	background: var(--purple);
	color: var(--white);
	font-size: 0.8rem;
	font-weight: 800;
}


/* ============================================================
   15. PRICING
   ============================================================ */

#pricing {
	background: var(--white);
}

.pricing-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 1180px;
	margin: 0 auto;
	align-items: stretch;
}

.price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 2.25rem;
	border: 1px solid var(--gray-300);
	background: var(--white);
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		border-color 0.18s ease;
}

.price-card:hover {
	transform: translateY(-3px);
	border-color: rgba(124, 58, 237, 0.35);
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.price-card.featured {
	border-color: var(--purple);
	box-shadow: 0 0 0 3px var(--purple-light);
}

.price-card.featured:hover {
	box-shadow:
		0 0 0 3px var(--purple-light),
		0 18px 45px rgba(124, 58, 237, 0.14);
}

.price-tag {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	margin-bottom: 1rem;
	padding: 0.35rem 0.6rem;
	border-radius: 999px;
	background: var(--gray-100);
	color: var(--gray-600);
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.price-card.featured .price-tag {
	background: var(--purple-light);
	color: var(--purple);
}

.price-name {
	margin-bottom: 0.65rem;
	color: var(--gray-900);
	font-size: 1.25rem;
	font-weight: 850;
	line-height: 1.2;
}

.price-amount {
	margin-bottom: 0.45rem;
	color: var(--purple);
	font-size: clamp(2rem, 3vw, 2.55rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
}

.price-unit {
	min-height: 2.4em;
	margin-bottom: 1.75rem;
	color: var(--gray-500);
	font-size: 0.9rem;
	line-height: 1.45;
}

.price-feats {
	display: flex;
	flex-direction: column;
	gap: 0.72rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.price-feats li {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	color: var(--gray-700);
	font-size: 0.9rem;
	line-height: 1.45;
}

.price-feats li::before {
	content: '✓';
	color: var(--purple);
	font-weight: 900;
	line-height: 1.3;
	flex: 0 0 auto;
}

.price-card .btn {
	width: fit-content;
	margin-top: auto;
}


/* ============================================================
   16. FAQ
   ============================================================ */

#faq {
	background: var(--white);
}

.faq-list {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.faq-item {
	overflow: hidden;
	border: 1px solid var(--gray-300);
	border-radius: var(--radius-lg);
	background: var(--white);
}

.faq-item[open] {
	border-color: var(--purple-light);
	box-shadow: var(--shadow);
}

.faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	color: var(--dark);
	font-size: 0.95rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.faq-q::-webkit-details-marker {
	display: none;
}

.faq-q:hover {
	background: var(--gray-100);
}

.faq-item[open] .faq-q {
	color: var(--purple);
}

.faq-icon {
	color: var(--purple);
	font-size: 1.25rem;
	font-weight: 500;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
	transform: rotate(45deg);
}

.faq-a {
	padding: 0 1.5rem 1.25rem;
}

.faq-a p {
	color: var(--gray-500);
	font-size: 0.9rem;
	line-height: 1.75;
}

.faq-a code {
	padding: 0.1em 0.4em;
	border-radius: 4px;
	background: var(--gray-100);
	color: var(--purple);
	font-family: "Courier New", monospace;
	font-size: 0.85em;
}


/* ============================================================
   17. CONTACT
   ============================================================ */

#contact {
	background: var(--gray-100);
}

.contact-inner {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 4rem;
}

.contact-info h2 {
	margin-bottom: 1rem;
	font-size: 1.75rem;
	font-weight: 850;
}

.contact-info p {
	margin-bottom: 1.5rem;
	color: var(--gray-500);
	font-size: 0.95rem;
	line-height: 1.7;
}

.contact-detail {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	color: var(--gray-700);
	font-size: 0.9rem;
}

.contact-detail a {
	color: inherit;
	text-decoration: none;
}

.contact-detail a:hover {
	color: var(--purple);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 2rem;
	border: 1px solid var(--gray-300);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow);
}

.form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.form-group label {
	color: var(--gray-700);
	font-size: 0.8rem;
	font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 0.7rem 1rem;
	border: 1.5px solid var(--gray-300);
	border-radius: var(--radius);
	outline: none;
	appearance: none;
	background: var(--white);
	color: var(--dark);
	font-size: 0.9rem;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--purple);
	box-shadow: 0 0 0 3px rgba(112, 72, 232, 0.12);
}

.form-group textarea {
	min-height: 120px;
	resize: vertical;
}


/* ============================================================
   18. FOOTER
   ============================================================ */

footer {
	padding: 3rem 0 2rem;
	background: var(--navy);
	color: #9CA3AF;
}

.footer-inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.footer-logo-img {
	width: auto;
	height: 64px;
}

.footer-logo span {
	color: var(--white);
	font-size: 1.4rem;
	font-weight: 850;
	letter-spacing: -0.02em;
}

.footer-logo span span {
	color: var(--purple);
}

.footer-tagline {
	max-width: 220px;
	margin-top: 0.5rem;
	font-size: 0.85rem;
	line-height: 1.6;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
}

.footer-col h4 {
	margin-bottom: 0.75rem;
	color: var(--white);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer-col a {
	display: block;
	margin-bottom: 0.4rem;
	color: #9CA3AF;
	font-size: 0.85rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-col a:hover {
	color: var(--white);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #374151;
	font-size: 0.8rem;
}


/* ============================================================
   19. MODAL ARCHITECTURE
   ============================================================ */

.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: rgba(2, 6, 23, 0.82);
	backdrop-filter: blur(8px);
	cursor: zoom-out;
}

.modal-overlay.open {
	display: flex;
}

.modal-close {
	position: fixed;
	top: 22px;
	right: 26px;
	z-index: 100000;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	color: #0f172a;
	font-size: 1.4rem;
	font-weight: 850;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.modal-close:hover {
	background: #ffffff;
	transform: scale(1.04);
}

.architecture-modal-img {
	display: block;
	width: min(96vw, 1500px);
	max-height: 88vh;
	object-fit: contain;
	border-radius: 22px;
	background: var(--white);
	box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
	cursor: default;
}


/* ============================================================
   20. RESPONSIVE
   ============================================================ */

@media (min-width: 981px) {
	.price-card.featured {
		transform: translateY(-8px);
	}

	.price-card.featured:hover {
		transform: translateY(-11px);
	}
}

@media (max-width: 1100px) {
	.pricing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 820px;
	}

	.price-card.featured {
		transform: none;
	}
}

@media (max-width: 980px) {
	.solution-grid-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.cards-3,
	.connectors-grid,
	.steps-grid,
	.pricing-grid,
	.modes-grid,
	.manifesto-grid,
	.manifesto-grid-3 {
		grid-template-columns: 1fr;
	}

	.contact-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.hero-architecture-wrap {
		margin-top: 1.5rem;
	}

	.hero-architecture-button,
	.hero-architecture-img {
		border-radius: 20px;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 1.15rem;
	}

	section {
		padding: 4rem 0;
	}

	#hero {
		padding: 6rem 0 3.5rem;
	}

	.hero-inner,
	.hero-inner-single {
		align-items: stretch;
		gap: 2.25rem;
	}

	.hero-copy {
		text-align: left;
	}

	.hero-badge {
		justify-content: flex-start;
		border-radius: 18px;
		font-size: 0.74rem;
	}

	.hero-title {
		max-width: none;
		font-size: clamp(2.1rem, 11vw, 3.1rem);
	}

	.hero-sub {
		margin-left: 0;
		margin-right: 0;
		font-size: 1rem;
	}

	.hero-bullets {
		grid-template-columns: 1fr;
		margin-left: 0;
		margin-right: 0;
	}

	.hero-actions {
		flex-direction: column;
		justify-content: stretch;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.centered-header {
		margin-bottom: 2rem;
	}

	.prob-card,
	.connector-card,
	.step-card,
	.price-card,
	.mode-card,
	.manifesto-card {
		padding: 1.5rem;
	}

	.contact-form {
		padding: 1.5rem;
	}

	.pricing-grid {
		max-width: 520px;
		gap: 1rem;
	}

	.price-card {
		padding: 1.65rem;
	}

	.price-unit {
		min-height: 0;
	}

	.price-card .btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 700px) {
	.modal-overlay {
		padding: 1rem;
	}

	.modal-close {
		top: 14px;
		right: 14px;
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	.architecture-modal-img {
		width: 96vw;
		max-height: 84vh;
		border-radius: 16px;
	}
}

@media (max-width: 640px) {
	.solution-grid-6 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.form-row {
		grid-template-columns: 1fr;
	}

	.nql-thread {
		min-height: 260px;
		max-height: 260px;
		padding: 0.85rem;
	}

	.nql-bubble-user,
	.nql-bubble-ai {
		max-width: 92%;
		padding: 0.75rem 0.85rem;
		font-size: 0.85rem;
	}

	.nql-footer {
		padding: 0.75rem;
	}

	.nql-input-row textarea {
		font-size: 0.85rem;
	}

	.nql-meta {
		display: none;
	}

	.hero-architecture-button,
	.hero-architecture-img {
		border-radius: 18px;
	}

	.footer-inner {
		gap: 1.5rem;
	}

	.footer-links {
		gap: 1.5rem;
	}
}

.section-note {
	margin: 0.75rem auto 0;
	max-width: 520px;
	color: var(--gray-500);
	font-size: 0.85rem;
	line-height: 1.5;
	text-align: center;
}

.section-action {
	display: flex;
	justify-content: center;
}

.nql-world-action {
	margin-top: 2rem;
}

.section-note {
	margin: 0.9rem auto 0;
	max-width: 520px;
	color: var(--gray-500);
	font-size: 0.85rem;
	line-height: 1.5;
	text-align: center;
}