/* ========================================================
		   LINGGA UI v2 — Bold Destructive (Strategic)
		   Design System: dark default + light mode
		   ======================================================== */

:root {
	/* Dark Mode (Default) */
	--bg: #0B0F19;
	--surface: #111827;
	--surface-2: #0F172A;
	--text: #FFFFFF;
	--text-muted: #9CA3AF;
	--border: rgba(255, 255, 255, 0.12);
	--border-muted: rgba(255, 255, 255, 0.08);

	--primary: #C6A15B;
	--primary-contrast: #0B0F19;
	--accent: #C6A15B;
	--accent-contrast: #0B0F19;
	--accent-muted: color-mix(in srgb, var(--accent) 18%, transparent);

	--focus-ring: color-mix(in srgb, var(--accent) 55%, transparent);

	--radius: 14px;
	--radius-sm: 12px;

	--shadow-sm: 0 12px 34px rgba(0, 0, 0, 0.32);
	--shadow-md: 0 22px 66px rgba(0, 0, 0, 0.38);
	--shadow-accent: 0 18px 58px rgba(198, 161, 91, 0.28);
	--shadow-accent-hover: 0 22px 70px rgba(198, 161, 91, 0.34);

	--container: 1120px;

	--space-1: 8px;
	--space-2: 12px;
	--space-3: 16px;
	--space-4: 20px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 40px;
	--space-8: 64px;
	--space-9: 88px;

	--transition: 180ms ease;
}

html[data-theme="light"] {
	--bg: #F8FAFC;
	--surface: #FFFFFF;
	--surface-2: #F1F5F9;
	--text: #0B0F19;
	--text-muted: #6B7280;
	--border: rgba(11, 15, 25, 0.12);
	--border-muted: rgba(11, 15, 25, 0.08);

	--primary: #0A3A3C;
	--primary-contrast: #FFFFFF;
	--accent: #F2B759;
	--accent-contrast: #0B0F19;
	--accent-muted: color-mix(in srgb, var(--accent) 18%, transparent);

	--focus-ring: color-mix(in srgb, var(--accent) 45%, transparent);
	--shadow-sm: 0 12px 34px rgba(11, 15, 25, 0.10);
	--shadow-md: 0 22px 60px rgba(11, 15, 25, 0.12);
	--shadow-accent: 0 18px 58px color-mix(in srgb, var(--accent) 28%, transparent);
	--shadow-accent-hover: 0 22px 70px color-mix(in srgb, var(--accent) 34%, transparent);
}

/* Reveal animation */
.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 680ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: opacity, transform;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Reset */
* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color var(--transition), color var(--transition);
}

[id] {
	scroll-margin-top: 88px;
}

a {
	color: inherit;
	text-decoration: none;
}

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

.skip-link {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 9999;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
	box-shadow: var(--shadow-sm);
	transform: translateY(-200%);
	transition: transform var(--transition);
}

.skip-link:focus {
	transform: translateY(0);
	outline: none;
	box-shadow: 0 0 0 4px var(--focus-ring);
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--space-5);
}

.section {
	padding: var(--space-9) 0;
}

.section--alt {
	background:
		radial-gradient(900px 420px at 10% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
		linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 86%, transparent), transparent 72%);
	border-top: 1px solid var(--border-muted);
	border-bottom: 1px solid var(--border-muted);
}

html[data-theme="light"] .section--alt {
	background:
		radial-gradient(980px 460px at 12% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
		linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 86%, transparent), transparent 72%);
}

.section--alt2 {
	background:
		radial-gradient(900px 420px at 90% 0%, color-mix(in srgb, var(--surface-2) 72%, transparent), transparent 60%),
		linear-gradient(180deg, color-mix(in srgb, var(--surface) 78%, transparent), transparent 74%);
	border-top: 1px solid var(--border-muted);
	border-bottom: 1px solid var(--border-muted);
}

html[data-theme="light"] .section--alt2 {
	background:
		radial-gradient(980px 460px at 88% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
		radial-gradient(900px 420px at 90% 0%, color-mix(in srgb, var(--surface-2) 80%, transparent), transparent 60%),
		linear-gradient(180deg, color-mix(in srgb, var(--surface) 82%, transparent), transparent 74%);
}

.section__head {
	display: grid;
	gap: var(--space-2);
	margin-bottom: var(--space-6);
}

.eyebrow {
	margin: 0;
	display: inline-flex;
	width: fit-content;
	padding: 8px 12px;
	border: 1px solid var(--border);
	background: color-mix(in srgb, var(--text) 4%, transparent);
	border-radius: 999px;
	color: var(--text-muted);
	letter-spacing: 0.02em;
	font-size: 14px;
}

.h1,
.h2,
.h3 {
	font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
	letter-spacing: -0.02em;
	margin: 0;
}

.h1 {
	font-size: clamp(34px, 4.2vw, 54px);
	line-height: 1.05;
}

.h2 {
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.15;
}

.h3 {
	font-size: 18px;
	line-height: 1.25;
}

.lead {
	margin: var(--space-4) 0 0;
	font-size: 16px;
	color: var(--text-muted);
}

.muted {
	color: var(--text-muted);
}

.small {
	font-size: 13px;
}

.accent {
	color: var(--accent);
}

/* ========== HEADER / NAVBAR ========== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
}

.navbar {
	position: relative;
	z-index: 1;
	border-bottom: 1px solid var(--border-muted);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: color-mix(in srgb, var(--bg) 78%, transparent);
	color: var(--text);
	transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

html[data-theme="light"] .navbar {
	background: color-mix(in srgb, var(--primary) 72%, transparent);
	border-bottom-color: color-mix(in srgb, var(--primary-contrast) 14%, transparent);
	color: var(--primary-contrast);
}

.navbar.navbar--scrolled {
	background: color-mix(in srgb, var(--bg) 92%, transparent);
	box-shadow: var(--shadow-sm);
	border-bottom-color: color-mix(in srgb, var(--border-muted) 70%, var(--border));
}

html[data-theme="light"] .navbar.navbar--scrolled {
	background: color-mix(in srgb, var(--bg) 92%, transparent);
	border-bottom-color: var(--border-muted);
	color: var(--text);
}

.navbar__inner {
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
}

.brand {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	min-width: 180px;
}

.brand__logo {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	color: var(--accent);
	overflow: visible;
}

.brand__mark {
	font-family: "Space Grotesk", ui-sans-serif;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.01em;
}

.brand__sub {
	font-size: 12px;
	color: var(--text-muted);
}

html[data-theme="light"] .navbar:not(.navbar--scrolled) .brand__sub {
	color: color-mix(in srgb, var(--primary-contrast) 72%, transparent);
}

.navbar__links {
	display: none;
	align-items: center;
	gap: 2px;
}

.nav-link {
	font-size: 14px;
	color: var(--text-muted);
	padding: 9px 12px;
	border-radius: 999px;
	transition: background var(--transition), color var(--transition);
}

html[data-theme="light"] .navbar:not(.navbar--scrolled) .nav-link {
	color: color-mix(in srgb, var(--primary-contrast) 72%, transparent);
}

.nav-link:hover {
	color: var(--text);
	background: color-mix(in srgb, var(--text) 6%, transparent);
}

html[data-theme="light"] .navbar:not(.navbar--scrolled) .nav-link:hover {
	color: var(--primary-contrast);
	background: color-mix(in srgb, var(--primary-contrast) 12%, transparent);
}

/* ========== MEGA MENU (Solutions-Led Pattern) ========== */
.nav-link--has-submenu {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	user-select: none;
}

.nav-link--has-submenu::after {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform var(--transition);
	opacity: 0.6;
}

.nav-link--has-submenu:hover::after,
.nav-link--has-submenu:focus-within::after {
	transform: rotate(-135deg) translateY(-2px);
}

.nav-link--has-submenu.is-open .mega-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.nav-link--has-submenu.is-open::before {
	content: '';
	position: absolute;
	top: 100%;
	left: -20px;
	right: -20px;
	height: 20px;
	background: transparent;
}

/* Mega menu container */
.mega-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translate(-50%, 10px);
	background: var(--surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md), 0 8px 60px rgba(0, 0, 0, 0.4);
	border: 1px solid var(--border);
	padding: var(--space-5);
	opacity: 0;
	pointer-events: none;
	transition: opacity 240ms ease, transform 240ms ease;
	z-index: 200;
	width: max-content;
	max-width: 720px;
}

.nav-link--has-submenu.is-open .mega-menu {
	transform: translate(-50%, 0);
}

.mega-menu--wide {
	max-width: 820px;
}

.mega-menu__grid {
	display: grid;
	gap: var(--space-5);
}

.mega-menu--wide .mega-menu__grid {
	grid-template-columns: 1.1fr 1fr;
}

.mega-menu__grid--single {
	grid-template-columns: 1fr 1fr;
	gap: 4px;
}

.mega-menu__group-title {
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 var(--space-3);
	padding: 0 8px;
}

.mega-menu__items {
	display: grid;
	gap: 2px;
}

.mega-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 12px;
	color: var(--text);
	text-decoration: none;
	border-radius: 10px;
	transition: background 160ms ease;
	min-width: 0;
}

.mega-item:hover,
.mega-item:focus {
	background: color-mix(in srgb, var(--text) 6%, transparent);
	outline: none;
}

.mega-item__icon {
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--accent) 12%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	flex-shrink: 0;
	border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border-muted));
}

.mega-item__icon svg {
	width: 18px;
	height: 18px;
}

.mega-item__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.mega-item__title {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--text);
	line-height: 1.2;
	display: flex;
	align-items: center;
	gap: 6px;
}

.mega-item__title-badge {
	padding: 1px 6px;
	border-radius: 4px;
	background: var(--accent-muted);
	color: var(--accent);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.mega-item__desc {
	font-size: 11.5px;
	color: var(--text-muted);
	line-height: 1.35;
}

/* Mega menu CTA card (right side) */
.mega-menu__feature {
	padding: var(--space-4);
	border-radius: var(--radius-sm);
	background:
		radial-gradient(400px 200px at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
		color-mix(in srgb, var(--surface-2) 80%, transparent);
	border: 1px solid var(--border-muted);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--space-3);
	min-height: 100%;
}

.mega-menu__feature-eyebrow {
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 4px;
}

.mega-menu__feature-title {
	font-family: "Space Grotesk", ui-sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--text);
	margin: 0 0 6px;
}

.mega-menu__feature-desc {
	font-size: 12.5px;
	color: var(--text-muted);
	line-height: 1.45;
	margin: 0;
}

.mega-menu__feature-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	padding: 6px 0;
}

.mega-menu__feature-cta:hover {
	gap: 10px;
}

.mega-menu__feature-cta svg {
	width: 14px;
	height: 14px;
	transition: transform var(--transition);
}

/* Mega menu footer link (bottom) */
.mega-menu__footer {
	margin-top: var(--space-3);
	padding-top: var(--space-3);
	border-top: 1px solid var(--border-muted);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	flex-wrap: wrap;
}

.mega-menu__footer-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.mega-menu__footer-link:hover {
	gap: 10px;
}

.mega-menu__footer-link svg {
	width: 14px;
	height: 14px;
	transition: transform var(--transition);
}

.mega-menu__footer-meta {
	font-size: 12px;
	color: var(--text-muted);
}

html[data-theme="light"] .mega-menu {
	background: var(--surface);
	border-color: var(--border);
	box-shadow: var(--shadow-md), 0 8px 40px rgba(11, 15, 25, 0.12);
}

/* Theme toggle */
.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: transparent;
	border: 0;
	color: currentColor;
	cursor: pointer;
	font-size: 18px;
	padding: 6px;
	transition: opacity var(--transition);
}

.theme-toggle:hover {
	opacity: 0.78;
}

.theme-toggle:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--focus-ring);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 16px;
	height: 40px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
	text-decoration: none;
	white-space: nowrap;
}

.btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--focus-ring);
}

.btn-primary {
	background: var(--accent);
	color: var(--accent-contrast);
	border: 1px solid color-mix(in srgb, var(--accent) 72%, var(--accent-contrast));
	box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-accent-hover);
}

.btn-ghost {
	background: color-mix(in srgb, var(--text) 5%, transparent);
	border-color: var(--border);
	color: var(--text);
}

.btn-ghost:hover {
	transform: translateY(-1px);
	background: color-mix(in srgb, var(--text) 9%, transparent);
}

.btn-lg {
	height: 48px;
	padding: 0 18px;
}

.btn-login {
	height: 38px;
	padding: 0 14px;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 500;
	background: transparent;
	border-color: var(--border);
	color: var(--text);
}

.btn-login svg {
	opacity: 0.9;
}

.btn-login:hover {
	background: color-mix(in srgb, var(--text) 6%, transparent);
	transform: none;
}

html[data-theme="light"] .navbar:not(.navbar--scrolled) .btn-login {
	border-color: color-mix(in srgb, var(--primary-contrast) 24%, transparent);
	color: var(--primary-contrast);
}

html[data-theme="light"] .navbar:not(.navbar--scrolled) .btn-login:hover {
	background: color-mix(in srgb, var(--primary-contrast) 10%, transparent);
}

/* ========== HERO ========== */
.hero {
	padding-top: calc(var(--space-9) - 12px);
}

html[data-theme="light"] .hero {
	background:
		radial-gradient(980px 460px at 12% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
		var(--primary);
	color: var(--primary-contrast);
}

html[data-theme="light"] .hero .lead,
html[data-theme="light"] .hero .microtrust {
	color: color-mix(in srgb, var(--primary-contrast) 78%, transparent);
}

html[data-theme="light"] .hero .eyebrow {
	border-color: color-mix(in srgb, var(--primary-contrast) 18%, transparent);
	background: color-mix(in srgb, var(--primary-contrast) 10%, transparent);
	color: color-mix(in srgb, var(--primary-contrast) 84%, transparent);
}

html[data-theme="light"] .hero .btn-primary {
	border-color: color-mix(in srgb, var(--primary-contrast) 18%, transparent);
	box-shadow: 0 18px 58px color-mix(in srgb, var(--accent) 26%, transparent);
}

html[data-theme="light"] .hero .btn-ghost {
	background: color-mix(in srgb, var(--primary-contrast) 8%, transparent);
	border-color: color-mix(in srgb, var(--primary-contrast) 18%, transparent);
	color: var(--primary-contrast);
}

html[data-theme="light"] .hero .btn-ghost:hover {
	background: color-mix(in srgb, var(--primary-contrast) 14%, transparent);
}

.hero__grid {
	display: grid;
	gap: var(--space-7);
}

.hero__copy {
	display: grid;
	gap: var(--space-4);
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-top: var(--space-2);
}

.microtrust {
	margin: 0;
	color: var(--text-muted);
	font-size: 13px;
}

.hero__panel {
	display: grid;
	gap: var(--space-4);
	align-content: start;
}

.hero__mockup {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

/* ========== CARDS ========== */
.cards {
	display: grid;
	gap: var(--space-4);
}

.cards--2 {
	grid-template-columns: 1fr;
}

.cards--3 {
	grid-template-columns: 1fr;
}

.cards--4 {
	grid-template-columns: 1fr;
}

.card {
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	border-color: color-mix(in srgb, var(--border) 70%, var(--accent-muted));
}

.card__header {
	padding: var(--space-5);
	border-bottom: 1px solid var(--border-muted);
}

.card__body {
	padding: var(--space-5);
}

.process-icon {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--space-3);
	background: var(--accent-muted);
	border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border-muted));
	color: var(--accent);
}

.process-icon svg {
	width: 26px;
	height: 26px;
}

.list {
	margin: 0;
	padding-left: 18px;
	color: var(--text-muted);
}

.list li {
	margin: 8px 0;
}

/* ========== TRUST / LOGO MARQUEE (Supabase-style) ========== */
.trust {
	padding-top: var(--space-7);
}

.marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	--marquee-duration: 70s;
	--marquee-gap: var(--space-7);
	-webkit-mask-image: linear-gradient(to right,
			transparent 0,
			#000 80px,
			#000 calc(100% - 80px),
			transparent 100%);
	mask-image: linear-gradient(to right,
			transparent 0,
			#000 80px,
			#000 calc(100% - 80px),
			transparent 100%);
}

.marquee__track {
	display: flex;
	width: max-content;
	gap: var(--marquee-gap);
	animation: marquee-scroll var(--marquee-duration) linear infinite;
	will-change: transform;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

.marquee__group {
	display: flex;
	align-items: center;
	gap: var(--marquee-gap);
	flex-shrink: 0;
}

.logo {
	height: 56px;
	min-width: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 var(--space-4);
	color: var(--text-muted);
	font-family: "Space Grotesk", ui-sans-serif;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.02em;
	opacity: 0.55;
	transition: opacity var(--transition), color var(--transition);
	white-space: nowrap;
	user-select: none;
}

.logo img {
	height: 40px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

.logo:hover {
	opacity: 1;
	color: var(--text);
}

@keyframes marquee-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(calc(-50% - (var(--marquee-gap) / 2)));
	}
}

@media (prefers-reduced-motion: reduce) {
	.marquee__track {
		animation: none;
	}
}

/* ========== SPLIT (custom) ========== */
.split {
	display: grid;
	gap: var(--space-6);
}

.split__cta {
	margin-top: var(--space-4);
	display: grid;
	gap: var(--space-2);
}

/* ========== CTA BOX ========== */
.cta__box {
	border-radius: calc(var(--radius) + 2px);
	border: 1px solid var(--border);
	background:
		radial-gradient(1200px 420px at 10% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
		color-mix(in srgb, var(--surface) 92%, transparent);
	box-shadow: var(--shadow-md);
	padding: var(--space-7);
	display: grid;
	gap: var(--space-5);
}

.cta__actions {
	display: grid;
	gap: var(--space-2);
	justify-items: start;
}

/* ========== PRODUCT TABS (Linear/Vercel-style) ========== */
.product-tabs {
	display: grid;
	gap: var(--space-6);
}

.product-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
	padding: 6px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: color-mix(in srgb, var(--surface) 80%, transparent);
	width: fit-content;
	margin: 0 auto;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.product-tabs__nav::-webkit-scrollbar {
	display: none;
}

.product-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	background: transparent;
	border: 0;
	color: var(--text-muted);
	font-family: "Plus Jakarta Sans", ui-sans-serif;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--transition), color var(--transition);
}

.product-tab:hover {
	color: var(--text);
}

.product-tab svg {
	width: 16px;
	height: 16px;
	opacity: 0.7;
	transition: opacity var(--transition);
}

.product-tab[aria-selected="true"] {
	background: var(--accent);
	color: var(--accent-contrast);
	box-shadow: var(--shadow-accent);
	font-weight: 600;
}

.product-tab[aria-selected="true"] svg {
	opacity: 1;
}

.product-tab:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--focus-ring);
}

.product-panel {
	display: none;
	grid-template-columns: 1fr;
	gap: var(--space-6);
	align-items: center;
}

.product-panel.is-active {
	display: grid;
	animation: panel-fade 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes panel-fade {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.product-panel__copy {
	display: grid;
	gap: var(--space-3);
	align-content: start;
}

.product-panel__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--accent-muted);
	border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border-muted));
	color: var(--accent);
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	width: fit-content;
}

.product-panel__title {
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--text);
}

.product-panel__lead {
	margin: 0;
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.55;
}

.product-panel__features {
	display: grid;
	gap: var(--space-2);
	margin: var(--space-3) 0 var(--space-4);
	padding: 0;
	list-style: none;
}

.product-panel__features li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--text);
	font-size: 14px;
}

.product-panel__features li::before {
	content: "";
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	border-radius: 50%;
	background: var(--accent-muted);
	border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6A15B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px 11px;
}

html[data-theme="light"] .product-panel__features li::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8893E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

.product-panel__cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-top: var(--space-2);
}

/* Visual showcase frame */
.product-panel__visual {
	position: relative;
	border-radius: calc(var(--radius) + 4px);
	border: 1px solid var(--border);
	background:
		radial-gradient(800px 400px at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
		color-mix(in srgb, var(--surface) 60%, transparent);
	box-shadow: var(--shadow-md);
	padding: var(--space-5);
	overflow: hidden;
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-panel__visual::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 50%);
	pointer-events: none;
}

/* Browser chrome mockup */
.browser-frame {
	position: relative;
	width: 100%;
	max-width: 560px;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.browser-frame__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: #f4f4f5;
	border-bottom: 1px solid #e4e4e7;
}

.browser-frame__dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #d4d4d8;
}

.browser-frame__dot:nth-child(1) {
	background: #fb7185;
}

.browser-frame__dot:nth-child(2) {
	background: #fbbf24;
}

.browser-frame__dot:nth-child(3) {
	background: #34d399;
}

.browser-frame__url {
	margin-left: 12px;
	padding: 4px 10px;
	background: #ffffff;
	border-radius: 6px;
	font-size: 11px;
	font-family: "Plus Jakarta Sans", sans-serif;
	color: #71717a;
	border: 1px solid #e4e4e7;
}

.browser-frame__content {
	background: #ffffff;
	color: #0B0F19;
	min-height: 280px;
	padding: 18px;
	font-family: "Plus Jakarta Sans", sans-serif;
}

/* HRM mockup */
.mock-hrm__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
}

.mock-hrm__title {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 14px;
}

.mock-hrm__date {
	font-size: 11px;
	color: #71717a;
}

.mock-hrm__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 14px;
}

.mock-hrm__stat {
	padding: 10px;
	border-radius: 8px;
	background: #f4f4f5;
}

.mock-hrm__stat-num {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 18px;
}

.mock-hrm__stat-label {
	font-size: 10px;
	color: #71717a;
}

.mock-hrm__chart {
	height: 80px;
	border-radius: 8px;
	background:
		linear-gradient(180deg, transparent 0%, transparent 60%, rgba(198, 161, 91, 0.15) 60%, rgba(198, 161, 91, 0.05) 100%),
		#fafafa;
	border: 1px solid #e4e4e7;
	position: relative;
	overflow: hidden;
}

.mock-hrm__chart::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(90deg, transparent 0 39px, rgba(0, 0, 0, 0.04) 39px 40px);
}

.mock-hrm__chart::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 50%;
	background: linear-gradient(135deg, transparent 0%, transparent 30%, #C6A15B 30%, #C6A15B 32%, transparent 32%);
	clip-path: polygon(0 80%, 15% 65%, 30% 70%, 45% 45%, 60% 55%, 75% 30%, 90% 35%, 100% 20%, 100% 100%, 0 100%);
	background: linear-gradient(180deg, rgba(198, 161, 91, 0.6), rgba(198, 161, 91, 0.1));
}

.mock-hrm__list {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}

.mock-hrm__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border-radius: 6px;
	background: #fafafa;
}

.mock-hrm__avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: linear-gradient(135deg, #C6A15B, #8B6F3D);
	flex-shrink: 0;
}

.mock-hrm__row-text {
	flex: 1;
}

.mock-hrm__row-name {
	font-size: 11px;
	font-weight: 600;
}

.mock-hrm__row-meta {
	font-size: 10px;
	color: #71717a;
}

.mock-hrm__badge {
	font-size: 9px;
	padding: 2px 6px;
	border-radius: 4px;
	font-weight: 600;
}

.mock-hrm__badge--green {
	background: #dcfce7;
	color: #166534;
}

.mock-hrm__badge--orange {
	background: #fed7aa;
	color: #9a3412;
}

/* CRM mockup */
.mock-crm {
	display: grid;
	gap: 12px;
}

.mock-crm__pipeline {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}

.mock-crm__col {
	background: #fafafa;
	border-radius: 6px;
	padding: 8px;
	min-height: 180px;
}

.mock-crm__col-title {
	font-size: 10px;
	font-weight: 700;
	color: #71717a;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 8px;
}

.mock-crm__deal {
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: 5px;
	padding: 6px;
	margin-bottom: 4px;
}

.mock-crm__deal-name {
	font-size: 10px;
	font-weight: 600;
}

.mock-crm__deal-value {
	font-size: 10px;
	color: #C6A15B;
	font-weight: 700;
	margin-top: 2px;
}

/* POS mockup */
.mock-pos {
	display: grid;
	grid-template-columns: 1fr 0.7fr;
	gap: 12px;
}

.mock-pos__menu {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

.mock-pos__item {
	aspect-ratio: 1;
	border-radius: 6px;
	background: #fafafa;
	border: 1px solid #e4e4e7;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 4px;
	text-align: center;
}

.mock-pos__item-icon {
	font-size: 18px;
	margin-bottom: 4px;
}

.mock-pos__item-name {
	font-size: 9px;
	font-weight: 600;
	line-height: 1.2;
}

.mock-pos__item-price {
	font-size: 9px;
	color: #C6A15B;
	font-weight: 700;
	margin-top: 2px;
}

.mock-pos__cart {
	background: #0B0F19;
	color: #fff;
	border-radius: 8px;
	padding: 12px;
}

.mock-pos__cart-title {
	font-size: 11px;
	font-weight: 700;
	margin-bottom: 10px;
}

.mock-pos__cart-row {
	display: flex;
	justify-content: space-between;
	font-size: 10px;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-pos__cart-total {
	display: flex;
	justify-content: space-between;
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-weight: 700;
	font-size: 12px;
	color: #C6A15B;
}

/* ERP mockup */
.mock-erp {
	display: grid;
	gap: 10px;
}

.mock-erp__top {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.mock-erp__metric {
	padding: 10px;
	border-radius: 8px;
	background: #fafafa;
	border: 1px solid #e4e4e7;
}

.mock-erp__metric-label {
	font-size: 9px;
	color: #71717a;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.mock-erp__metric-num {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 16px;
	margin-top: 4px;
}

.mock-erp__metric-trend {
	font-size: 9px;
	color: #16a34a;
	font-weight: 600;
	margin-top: 2px;
}

.mock-erp__chart {
	height: 100px;
	border-radius: 8px;
	background: #fafafa;
	border: 1px solid #e4e4e7;
	padding: 12px;
	display: flex;
	align-items: end;
	gap: 4px;
}

.mock-erp__bar {
	flex: 1;
	background: linear-gradient(180deg, #C6A15B, #8B6F3D);
	border-radius: 3px 3px 0 0;
	opacity: 0.85;
}

.mock-erp__table {
	background: #fafafa;
	border-radius: 8px;
	border: 1px solid #e4e4e7;
	overflow: hidden;
}

.mock-erp__table-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 60px;
	gap: 8px;
	padding: 8px 12px;
	font-size: 10px;
	border-bottom: 1px solid #e4e4e7;
}

.mock-erp__table-row:last-child {
	border-bottom: 0;
}

.mock-erp__table-head {
	background: #f4f4f5;
	font-weight: 700;
	color: #71717a;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 9px;
}

/* Footer notice */
.product-panel__notice {
	margin-top: var(--space-4);
	padding: var(--space-3) var(--space-4);
	border-radius: var(--radius-sm);
	background: color-mix(in srgb, var(--accent) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border-muted));
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: var(--text-muted);
}

.product-panel__notice strong {
	color: var(--accent);
	font-weight: 700;
}

@media (min-width: 900px) {
	.product-panel {
		grid-template-columns: 0.85fr 1.15fr;
		gap: var(--space-7);
	}
}


/* ========== HORIZONTAL TIMELINE (How We Work) ========== */
.timeline {
	position: relative;
	display: grid;
	gap: var(--space-4);
}

.timeline__step {
	position: relative;
	padding: var(--space-5);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: color-mix(in srgb, var(--surface) 85%, transparent);
	box-shadow: var(--shadow-sm);
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: var(--space-3);
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.timeline__step:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
	box-shadow: var(--shadow-md);
}

/* Step header: number + duration */
.timeline__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
}

.timeline__num {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--accent);
	color: var(--accent-contrast);
	font-family: "Space Grotesk", ui-sans-serif;
	font-weight: 700;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: -0.02em;
	box-shadow: var(--shadow-accent);
}

.timeline__duration {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--accent-muted);
	border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border-muted));
	color: var(--accent);
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.timeline__duration svg {
	width: 12px;
	height: 12px;
}

.timeline__title {
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--text);
	margin: 0;
}

.timeline__subtitle {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.55;
	margin: -4px 0 0;
}

.timeline__body {
	display: grid;
	gap: var(--space-3);
	margin-top: var(--space-2);
}

.timeline__block {
	padding: var(--space-3);
	border-radius: var(--radius-sm);
	background: color-mix(in srgb, var(--text) 4%, transparent);
	border: 1px solid var(--border-muted);
}

.timeline__block-label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: var(--space-2);
}

.timeline__block-label svg {
	width: 12px;
	height: 12px;
}

.timeline__block--what .timeline__block-label {
	color: var(--text);
}

.timeline__block--what .timeline__block-label svg {
	color: var(--text-muted);
}

.timeline__block--get {
	background: color-mix(in srgb, var(--accent) 7%, transparent);
	border-color: color-mix(in srgb, var(--accent) 22%, var(--border-muted));
}

.timeline__block--get .timeline__block-label {
	color: var(--accent);
}

.timeline__block--get .timeline__block-label svg {
	color: var(--accent);
}

.timeline__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}

.timeline__list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--text);
}

.timeline__list li::before {
	content: "";
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	margin-top: 3px;
	border-radius: 50%;
	background-color: color-mix(in srgb, var(--text) 8%, transparent);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 9px 9px;
}

html[data-theme="light"] .timeline__list li::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

.timeline__block--get .timeline__list li {
	color: var(--text);
}

.timeline__block--get .timeline__list li::before {
	background-color: color-mix(in srgb, var(--accent) 18%, transparent);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6A15B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

/* Connector arrow between steps (desktop only) */
.timeline__arrow {
	display: none;
	position: absolute;
	z-index: 2;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--bg);
	border: 1px solid var(--border);
	color: var(--accent);
	align-items: center;
	justify-content: center;
	top: 50%;
	right: -16px;
	transform: translateY(-50%);
	box-shadow: var(--shadow-sm);
}

.timeline__arrow svg {
	width: 14px;
	height: 14px;
}

/* Mobile arrow (vertical, below card) */
.timeline__arrow--mobile {
	display: flex;
	position: relative;
	right: auto;
	top: auto;
	transform: rotate(90deg);
	margin: 0 auto;
}

/* Bottom CTA strip */
.timeline__cta {
	margin-top: var(--space-6);
	padding: var(--space-5);
	border-radius: var(--radius);
	background:
		radial-gradient(700px 250px at 10% 50%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
		color-mix(in srgb, var(--surface) 70%, transparent);
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	align-items: flex-start;
}

.timeline__cta-text {
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin: 0;
}

.timeline__cta-text span {
	color: var(--accent);
}

.timeline__cta-meta {
	font-size: 13px;
	color: var(--text-muted);
	margin: 0;
}

@media (min-width: 900px) {
	.timeline {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-5);
	}

	.timeline__arrow {
		display: flex;
	}

	.timeline__arrow--mobile {
		display: none;
	}

	.timeline__cta {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: var(--space-4);
	}

	.timeline__cta-content {
		flex: 1;
	}
}

/* ========== ABOUT SECTION ========== */
.about-grid {
	display: grid;
	gap: var(--space-6);
	align-items: center;
}

.about-content {
	display: grid;
	gap: var(--space-4);
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-3);
	margin-top: var(--space-3);
}

.about-stat {
	padding: var(--space-4);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.about-stat__num {
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
	letter-spacing: -0.02em;
}

.about-stat__label {
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 6px;
}

.about-visual {
	position: relative;
	border-radius: calc(var(--radius) + 4px);
	border: 1px solid var(--border);
	background:
		radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
		color-mix(in srgb, var(--surface) 60%, transparent);
	padding: var(--space-6);
	min-height: 360px;
	overflow: hidden;
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: var(--space-3);
}

.about-visual__label {
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}

.about-visual__quote {
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--text);
	margin: 0;
}

.about-visual__signature {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: var(--space-3);
	border-top: 1px solid var(--border-muted);
}

.about-visual__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 50%, #6B5022));
	border: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

.about-visual__author {
	display: grid;
	gap: 2px;
}

.about-visual__author strong {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.about-visual__author span {
	font-size: 12px;
	color: var(--text-muted);
}

.legal-block {
	margin-top: var(--space-5);
	padding: var(--space-4);
	border-radius: var(--radius-sm);
	background: color-mix(in srgb, var(--accent) 6%, transparent);
	border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border-muted));
	display: grid;
	gap: var(--space-2);
	font-size: 13px;
	color: var(--text-muted);
}

.legal-block strong {
	color: var(--text);
}

.legal-block-row {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.legal-block-row svg {
	width: 14px;
	height: 14px;
	margin-top: 3px;
	flex-shrink: 0;
	color: var(--accent);
}

@media (min-width: 900px) {
	.about-grid {
		grid-template-columns: 1.1fr 0.9fr;
		gap: var(--space-7);
	}

	.about-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ========== TEAM SECTION ========== */
.team-grid {
	display: grid;
	gap: var(--space-4);
}

.team-card {
	padding: var(--space-5);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: color-mix(in srgb, var(--surface) 80%, transparent);
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
	text-align: left;
}

.team-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
	box-shadow: var(--shadow-md);
}

.team-photo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin-bottom: var(--space-3);
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, var(--surface)), var(--surface-2));
	border: 2px solid color-mix(in srgb, var(--accent) 30%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Space Grotesk", ui-sans-serif;
	font-weight: 700;
	font-size: 26px;
	color: var(--accent);
	letter-spacing: -0.02em;
	overflow: hidden;
}

.team-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.team-name {
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 4px;
}

.team-role {
	font-size: 13px;
	color: var(--accent);
	font-weight: 600;
	margin: 0 0 var(--space-2);
}

.team-bio {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.5;
	margin: 0;
}

.team-social {
	display: flex;
	gap: 8px;
	margin-top: var(--space-3);
	padding-top: var(--space-3);
	border-top: 1px solid var(--border-muted);
}

.team-social a {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	border: 1px solid var(--border);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	transition: color var(--transition), border-color var(--transition);
}

.team-social a:hover {
	color: var(--accent);
	border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.team-social svg {
	width: 13px;
	height: 13px;
}

@media (min-width: 640px) {
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.team-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ========== CASE STUDY SECTION ========== */
.case-grid {
	display: grid;
	gap: var(--space-4);
}

.case-card {
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: color-mix(in srgb, var(--surface) 85%, transparent);
	overflow: hidden;
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
	display: grid;
	grid-template-rows: auto 1fr;
}

.case-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
	box-shadow: var(--shadow-md);
}

.case-card__cover {
	position: relative;
	aspect-ratio: 16 / 9;
	background:
		radial-gradient(400px 200px at 30% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
		linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--accent) 8%, var(--surface-2)));
	border-bottom: 1px solid var(--border-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.case-card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.case-card__cover-icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: color-mix(in srgb, var(--surface) 90%, transparent);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	box-shadow: var(--shadow-sm);
}

.case-card__cover-icon svg {
	width: 28px;
	height: 28px;
}

.case-card__body {
	padding: var(--space-5);
	display: grid;
	gap: var(--space-2);
}

.case-card__tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--accent-muted);
	color: var(--accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	width: fit-content;
}

.case-card__title {
	font-family: "Space Grotesk", ui-sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--text);
	margin: 0;
}

.case-card__desc {
	font-size: 13.5px;
	color: var(--text-muted);
	line-height: 1.55;
	margin: 0;
}

.case-card__metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-2);
	margin-top: var(--space-3);
	padding-top: var(--space-3);
	border-top: 1px solid var(--border-muted);
}

.case-card__metric-num {
	font-family: "Space Grotesk", ui-sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: var(--accent);
	line-height: 1;
}

.case-card__metric-label {
	font-size: 11px;
	color: var(--text-muted);
	margin-top: 4px;
}

.case-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: var(--space-3);
	padding-top: var(--space-3);
	border-top: 1px solid var(--border-muted);
	font-size: 12px;
	color: var(--text-muted);
}

.case-card__footer-link {
	color: var(--accent);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: gap var(--transition);
}

.case-card__footer-link:hover {
	gap: 8px;
}

.case-card__footer-link svg {
	width: 12px;
	height: 12px;
}

@media (min-width: 768px) {
	.case-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.case-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ========== FOOTER (Compact B2B) ========== */
.footer {
	border-top: 1px solid var(--border-muted);
	background: color-mix(in srgb, var(--surface-2) 50%, var(--bg));
	padding: var(--space-7) 0 0;
	margin-top: var(--space-6);
}

.footer__top {
	display: grid;
	gap: var(--space-6);
	padding-bottom: var(--space-6);
	border-bottom: 1px solid var(--border-muted);
}

.footer__brand {
	display: grid;
	gap: var(--space-3);
	max-width: 360px;
}

.footer__brand-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
}

.footer__brand-logo svg {
	width: 28px;
	height: 28px;
	color: var(--accent);
}

.footer__brand-mark {
	font-family: "Space Grotesk", ui-sans-serif;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.01em;
	color: var(--text);
}

.footer__tagline {
	margin: 0;
	color: var(--text-muted);
	font-size: 14px;
	line-height: 1.55;
}

.footer__address {
	margin-top: var(--space-2);
	padding-top: var(--space-3);
	border-top: 1px solid var(--border-muted);
	display: grid;
	gap: 6px;
	font-size: 13px;
	color: var(--text-muted);
	font-style: normal;
}

.footer__address-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.footer__address-row svg {
	width: 14px;
	height: 14px;
	margin-top: 3px;
	flex-shrink: 0;
	color: var(--accent);
	opacity: 0.85;
}

.footer__address-row a {
	color: var(--text-muted);
	transition: color var(--transition);
}

.footer__address-row a:hover {
	color: var(--text);
}

.footer__cols {
	display: grid;
	gap: var(--space-5);
}

.footer__col-title {
	margin: 0 0 var(--space-3);
	font-family: "Space Grotesk", ui-sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text);
}

.footer__nav {
	display: grid;
	gap: 2px;
}

.footer__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 0;
	color: var(--text-muted);
	font-size: 14px;
	transition: color var(--transition);
	width: fit-content;
}

.footer__link:hover {
	color: var(--accent);
}

.footer__link svg {
	width: 12px;
	height: 12px;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity var(--transition), transform var(--transition);
}

.footer__link:hover svg {
	opacity: 1;
	transform: translateX(0);
}

.footer__badge-new {
	display: inline-block;
	padding: 1px 6px;
	margin-left: 6px;
	border-radius: 4px;
	background: var(--accent-muted);
	color: var(--accent);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	vertical-align: middle;
}

.footer__newsletter {
	display: grid;
	gap: var(--space-2);
}

.footer__newsletter-form {
	display: flex;
	gap: 6px;
	padding: 4px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--text) 5%, transparent);
	border: 1px solid var(--border);
}

.footer__newsletter-input {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	padding: 0 12px;
	color: var(--text);
	font-family: inherit;
	font-size: 13px;
	outline: none;
}

.footer__newsletter-input::placeholder {
	color: var(--text-muted);
}

.footer__newsletter-btn {
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-contrast);
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: transform var(--transition), box-shadow var(--transition);
}

.footer__newsletter-btn:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-accent);
}

.footer__social {
	display: flex;
	gap: 8px;
	margin-top: var(--space-3);
}

.footer__social a {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: color-mix(in srgb, var(--surface) 60%, transparent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}

.footer__social a:hover {
	color: var(--accent);
	border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
	background: color-mix(in srgb, var(--accent) 10%, transparent);
	transform: translateY(-1px);
}

.footer__social svg {
	width: 15px;
	height: 15px;
}

.footer__bottom {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-4) 0 var(--space-5);
	align-items: flex-start;
}

.footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	align-items: center;
}

.footer__legal a {
	color: var(--text-muted);
	font-size: 13px;
	transition: color var(--transition);
}

.footer__legal a:hover {
	color: var(--text);
}

.footer__legal-divider {
	color: var(--border);
	font-size: 12px;
}

.footer__copyright {
	color: var(--text-muted);
	font-size: 13px;
}

.footer__copyright .accent {
	color: var(--accent);
	font-weight: 600;
}

@media (min-width: 640px) {
	.footer__cols {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-4);
	}
}

@media (min-width: 960px) {
	.footer__top {
		grid-template-columns: 1.4fr 2.6fr;
		gap: var(--space-7);
		padding-bottom: var(--space-7);
	}

	.footer__cols {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--space-5);
	}

	.footer__bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
	.hero__grid {
		grid-template-columns: 1.1fr 0.9fr;
		align-items: start;
	}

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

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

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

	.split {
		grid-template-columns: 1.05fr 0.95fr;
		align-items: start;
	}

	.cta__box {
		grid-template-columns: 1.2fr 0.8fr;
		align-items: center;
	}
}

@media (min-width: 1024px) {
	.navbar__links {
		display: flex;
	}

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

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ========== HERO MOCKUP (inline SVG placeholder) ========== */
.hero-mockup-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-width: 520px;
	margin-left: auto;
}

.phone-mock {
	position: absolute;
	background: var(--surface);
	border: 8px solid #1a1f2e;
	border-radius: 36px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

.phone-mock--back {
	width: 58%;
	height: 78%;
	top: 8%;
	left: 12%;
	transform: rotate(-8deg);
	background: #ffffff;
}

.phone-mock--front {
	width: 56%;
	height: 80%;
	top: 12%;
	right: 6%;
	transform: rotate(6deg);
	background: #ffffff;
	z-index: 2;
}

.phone-screen {
	width: 100%;
	height: 100%;
	padding: 14px 10px;
	color: #0B0F19;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 10px;
}

.phone-screen__time {
	font-weight: 600;
	margin-bottom: 4px;
	color: #0B0F19;
}

.phone-screen__title {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 13px;
	margin-bottom: 2px;
}

.phone-screen__subtitle {
	font-size: 9px;
	color: #6B7280;
	margin-bottom: 8px;
}

.stat-card {
	border-radius: 8px;
	padding: 6px 8px;
	margin-bottom: 4px;
	color: #fff;
	font-size: 9px;
}

.stat-card strong {
	display: block;
	font-size: 11px;
	font-weight: 700;
}

.stat-card--orange {
	background: #F59E0B;
}

.stat-card--green {
	background: #10B981;
}

.stat-card--teal {
	background: #14B8A6;
}

.stat-card--purple {
	background: #7C3AED;
}

.stat-card--yellow {
	background: #FCD34D;
	color: #0B0F19;
}

/* ========== LANGUAGE SWITCHER ========== */
.lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 5px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: color-mix(in srgb, var(--text) 5%, transparent);
}

.lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 999px;
	background: transparent;
	border: 0;
	cursor: pointer;
	font-family: "Plus Jakarta Sans", ui-sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-muted);
	transition: background var(--transition), color var(--transition);
	white-space: nowrap;
}

.lang-btn .flag {
	font-size: 15px;
	line-height: 1;
}

.lang-btn:hover {
	color: var(--text);
	background: color-mix(in srgb, var(--text) 8%, transparent);
}

.lang-btn.is-active {
	background: var(--accent);
	color: var(--accent-contrast);
	font-weight: 600;
}

html[data-theme="light"] .navbar:not(.navbar--scrolled) .lang-switcher {
	border-color: color-mix(in srgb, var(--primary-contrast) 22%, transparent);
	background: color-mix(in srgb, var(--primary-contrast) 8%, transparent);
}

html[data-theme="light"] .navbar:not(.navbar--scrolled) .lang-btn {
	color: color-mix(in srgb, var(--primary-contrast) 72%, transparent);
}

html[data-theme="light"] .navbar:not(.navbar--scrolled) .lang-btn:hover {
	color: var(--primary-contrast);
	background: color-mix(in srgb, var(--primary-contrast) 14%, transparent);
}

html[data-theme="light"] .navbar:not(.navbar--scrolled) .lang-btn.is-active {
	background: var(--accent);
	color: var(--accent-contrast);
}