/* =====================================================
   Kaidra AI — Altair Interactive Theme Design
   Brand green: #45E1B1 family
   ===================================================== */

:root {
	/* Brand */
	--green-50:  #ecfdf5;
	--green-100: #d3fbec;
	--green-200: #a8f5d9;
	--green-300: #45E1B1;
	--green-400: #18cf96;
	--green-500: #0db67f;
	--green-600: #0a9468;
	--green-700: #0a7656;

	/* Accent variations */
	--blue-100:  #e0efff;
	--blue-500:  #3b82f6;
	--violet-100:#ede9fe;
	--violet-500:#8b5cf6;
	--amber-100: #fef3c7;
	--amber-600: #d97706;
	--rose-100:  #ffe4e6;
	--rose-500:  #f43f5e;

	/* Neutrals */
	--ink:      #0b1b17;
	--ink-soft: #33433e;
	--muted:    #5f6f6a;
	--line:     #e6ece9;
	--surface:  #ffffff;
	--surface-tint: #f6faf8;

	--font-display: "Plus Jakarta Sans", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;

	--radius-sm: 12px;
	--radius-md: 18px;
	--radius-lg: 26px;
	--radius-full: 999px;

	--shadow-sm: 0 1px 2px rgba(11, 27, 23, .05), 0 4px 12px rgba(11, 27, 23, .04);
	--shadow-md: 0 6px 24px rgba(11, 27, 23, .07);
	--shadow-lg: 0 18px 50px rgba(11, 27, 23, .12);
	--shadow-green: 0 10px 28px rgba(13, 182, 127, .28);

	--header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink-soft);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	color: var(--ink);
	line-height: 1.18;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.container {
	width: min(1180px, 100% - 48px);
	margin-inline: auto;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	padding: 13px 26px;
	border-radius: var(--radius-full);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	white-space: nowrap;
}

.btn-primary {
	background: linear-gradient(135deg, var(--green-400), var(--green-600));
	color: #fff;
	box-shadow: var(--shadow-green);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(13, 182, 127, .38); }

.btn-ghost {
	background: #fff;
	color: var(--ink);
	border: 1.5px solid var(--line);
	box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--green-300); }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, .72);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 4px 24px rgba(11, 27, 23, .06);
}

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 52px; width: auto; }
.footer-brand img { height: 52px; width: auto; }

.nav-links {
	display: flex;
	align-items: center;
	gap: 4px;
}
.nav-links a:not(.btn) {
	font-family: var(--font-display);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink-soft);
	padding: 9px 13px;
	border-radius: var(--radius-full);
	transition: color .2s ease, background .2s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active { color: var(--green-600); background: var(--green-50); }
.nav-cta-wrap { margin-left: 10px; }

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 10px;
}
.menu-toggle span {
	width: 22px; height: 2.4px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	padding: calc(var(--header-h) + 86px) 0 110px;
	overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 480px; height: 480px; background: var(--green-100); top: -140px; left: -120px; }
.orb-2 { width: 420px; height: 420px; background: #dbeafe; top: -80px; right: -140px; }
.orb-3 { width: 380px; height: 380px; background: var(--green-100); bottom: -200px; left: 38%; opacity: .4; }

.grid-overlay {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(11,27,23,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(11,27,23,.035) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero-inner {
	position: relative;
	max-width: 880px;
	margin-inline: auto;
	text-align: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-display);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--green-700);
	background: #fff;
	border: 1px solid var(--green-200);
	padding: 8px 18px;
	border-radius: var(--radius-full);
	box-shadow: var(--shadow-sm);
	margin-bottom: 30px;
}

.pulse-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--green-400);
	position: relative;
}
.pulse-dot::after {
	content: "";
	position: absolute; inset: -4px;
	border-radius: 50%;
	background: var(--green-300);
	opacity: .5;
	animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
	0% { transform: scale(.6); opacity: .6; }
	100% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
	font-size: clamp(38px, 5.6vw, 45px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.gradient-text {
	background: linear-gradient(110deg, var(--green-500), var(--green-300) 55%, var(--blue-500) 130%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-sub {
	font-size: clamp(16px, 2vw, 19px);
	color: var(--muted);
	max-width: 640px;
	margin: 26px auto 0;
}

.hero-actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 38px;
	flex-wrap: wrap;
}

/* Floating hero elements */
.hero-decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-inner { z-index: 2; }

.hero-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 13px 19px;
	box-shadow: var(--shadow-md);
	font-family: var(--font-display);
	animation: floaty 5.5s ease-in-out infinite;
}
.hero-float strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.hero-float small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.float-emoji { font-size: 22px; line-height: 1; }

.float-icon {
	width: 38px; height: 38px;
	border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.float-icon svg { width: 20px; height: 20px; }
.fi-green  { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.fi-blue   { background: rgba(99, 102, 241, 0.12);  color: var(--blue-500); }
.fi-violet { background: rgba(139, 92, 246, 0.12);  color: var(--violet-500); }
.fi-amber  { background: rgba(245, 158, 11, 0.12);  color: #f59e0b; }

/* Equalizer bars — chip-1 */
.anim-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; margin-top: 6px; }
.anim-bars i { display: block; width: 3px; border-radius: 2px; background: #10b981; animation: eqBar 1.1s ease-in-out infinite; }
.anim-bars i:nth-child(1) { animation-delay: 0s; }
.anim-bars i:nth-child(2) { animation-delay: 0.16s; }
.anim-bars i:nth-child(3) { animation-delay: 0.32s; }
.anim-bars i:nth-child(4) { animation-delay: 0.48s; }
@keyframes eqBar {
	0%, 100% { height: 3px; opacity: 0.3; }
	50% { height: 14px; opacity: 1; }
}

/* Shimmer scan bar — chip-2 */
.anim-scan { display: block; width: 68px; height: 4px; border-radius: 99px; background: rgba(99,102,241,0.15); overflow: hidden; margin-top: 7px; position: relative; }
.anim-scan::after { content: ''; position: absolute; top: 0; left: -50%; height: 100%; width: 50%; border-radius: 99px; background: linear-gradient(90deg, transparent, var(--blue-500), transparent); animation: scanSwipe 1.7s ease-in-out infinite; }
@keyframes scanSwipe {
	0% { left: -50%; }
	100% { left: 130%; }
}

/* Pulsing ping — chip-4 */
.anim-ping { position: relative; display: inline-block; width: 16px; height: 16px; margin-top: 6px; }
.anim-ping i { display: block; position: absolute; top: 4px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.anim-ping i::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(245,158,11,0.5); animation: pingRing 1.5s ease-out infinite; }
@keyframes pingRing {
	0% { transform: scale(1); opacity: 0.9; }
	100% { transform: scale(3.8); opacity: 0; }
}

.chip-1 { left: 3.5%; top: 33%; animation-delay: 0s; transform: rotate(-3deg); }
.chip-2 { right: 3.5%; top: 26%; animation-delay: 1.4s; transform: rotate(2.5deg); }
.chip-3 { left: 8%; bottom: 15%; animation-delay: 2.2s; transform: rotate(2deg); }
.chip-4 { right: 7%; bottom: 19%; animation-delay: .7s; transform: rotate(-2deg); }

@keyframes floaty {
	0%, 100% { margin-top: 0; }
	50% { margin-top: -16px; }
}

.typing { display: inline-flex; gap: 4px; margin-top: 6px; }
.typing i {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--violet-500);
	animation: blink 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }

@keyframes blink {
	0%, 70%, 100% { opacity: .25; transform: translateY(0); }
	35% { opacity: 1; transform: translateY(-3px); }
}

.twinkle { position: absolute; animation: twinkle 2.8s ease-in-out infinite; }
.tw-1 { width: 24px; left: 17%; top: 17%; color: #f59e0b; }
.tw-2 { width: 17px; right: 19%; top: 13%; color: var(--violet-500); animation-delay: .9s; }
.tw-3 { width: 14px; right: 24%; bottom: 11%; color: var(--blue-500); animation-delay: 1.7s; }

@keyframes twinkle {
	0%, 100% { transform: scale(.65) rotate(0deg); opacity: .35; }
	50% { transform: scale(1.1) rotate(25deg); opacity: 1; }
}

.hero-channels { margin-top: 64px; }
.hero-channels > span {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--muted);
	margin-bottom: 16px;
}
.channel-pills { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.channel-pill {
	font-family: var(--font-display);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ink-soft);
	background: #fff;
	border: 1px solid var(--line);
	padding: 8px 18px;
	border-radius: var(--radius-full);
	box-shadow: var(--shadow-sm);
}

/* ---------- Sections (shared) ---------- */
.section { padding: 96px 0; }
.section-tinted { background: var(--surface-tint); }

.section-head {
	text-align: center;
	max-width: 660px;
	margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

.eyebrow {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 12.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--green-600);
	background: var(--green-50);
	border: 1px solid var(--green-200);
	padding: 7px 16px;
	border-radius: var(--radius-full);
	margin-bottom: 18px;
}
.eyebrow.light { color: var(--green-300); background: rgba(69, 225, 177, .1); border-color: rgba(69, 225, 177, .3); }
.eyebrow.eb-blue   { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.eyebrow.eb-violet { color: #6d28d9; background: #f5f3ff; border-color: #ddd6fe; }
.eyebrow.eb-amber  { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.eyebrow.eb-rose   { color: #be123c; background: #fff1f2; border-color: #fecdd3; }

.section-cta { text-align: center; margin-top: 52px; }
.section-cta p { color: var(--muted); margin-bottom: 18px; }

/* ---------- Card icon tints ---------- */
.card-icon {
	width: 56px; height: 56px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
.card-icon img { width: 30px; height: 30px; }
.card-icon svg { width: 28px; height: 28px; }
.tint-green  { background: var(--green-100); color: var(--green-600); }
.tint-blue   { background: var(--blue-100); color: #1d4ed8; }
.tint-violet { background: var(--violet-100); color: #6d28d9; }
.tint-amber  { background: var(--amber-100); color: #b45309; }
.tint-rose   { background: var(--rose-100); color: #be123c; }
.tint-mint   { background: #ecfdf5; color: #059669; }

/* illustration figure in problem cards */
.card-illus {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	margin: 0 0 20px;
	padding: 0;
	position: relative;
	z-index: 1;
}
.card-illus svg {
	height: 75px;
	width: auto;
	animation: ilFloat 4s ease-in-out infinite;
}
.problem-card.featured .card-illus svg {
	height: 95px;
}
.problem-grid .problem-card:nth-child(2) .card-illus svg { animation-delay: 0.5s; }
.problem-grid .problem-card:nth-child(3) .card-illus svg { animation-delay: 1.0s; }
.problem-grid .problem-card:nth-child(4) .card-illus svg { animation-delay: 1.5s; }
.problem-grid .problem-card:nth-child(5) .card-illus svg { animation-delay: 2.0s; }
@keyframes ilFloat {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
	.card-illus svg { animation: none; }
}

/* ---------- Problem grid ---------- */
.problem-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.problem-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	position: relative;
	overflow: hidden;
}
.problem-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}
.problem-card h3 { font-size: 18.5px; margin: 20px 0 10px; position: relative; z-index: 1; }
.problem-card p  { font-size: 15px; color: var(--muted); position: relative; z-index: 1; }

.problem-card.featured {
	grid-row: span 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.problem-card.featured h3 { font-size: 22px; margin-top: 0; }
.problem-card.featured p  { font-size: 15px; }

.callout {
	margin-top: 56px;
	text-align: center;
	background: linear-gradient(120deg, #f7f5ff, #f0f7ff);
	border: 1px solid #e4def8;
	border-radius: var(--radius-lg);
	padding: 38px 36px;
}
.callout p {
	font-family: var(--font-display);
	font-size: clamp(18px, 2.4vw, 23px);
	font-weight: 600;
	color: var(--ink);
	max-width: 760px;
	margin-inline: auto;
	line-height: 1.45;
}
.callout strong { color: var(--violet-500); }

/* ---------- Advantage grid ---------- */
.advantage-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	max-width: 920px;
	margin-inline: auto;
}

.advantage-card {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 30px;
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.advantage-card h3 { font-size: 19px; margin-bottom: 8px; }
.advantage-card p { font-size: 15px; color: var(--muted); }

/* ---------- Features / AI team ---------- */
.features-layout {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 64px;
	align-items: center;
}

.agent-item {
	display: flex;
	gap: 20px;
	padding: 26px 24px;
	border-radius: var(--radius-md);
	border: 1px solid transparent;
	transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.agent-item:hover {
	background: var(--surface-tint);
	border-color: var(--line);
	transform: translateX(6px);
}
.agent-num {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 800;
	width: 42px; height: 42px;
	border-radius: 12px;
	border: 1px solid;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
.num-blue   { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.num-violet { color: #6d28d9; background: #f5f3ff; border-color: #ddd6fe; }
.num-amber  { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.agent-item h3 { font-size: 19px; margin-bottom: 8px; }
.agent-item p { font-size: 15px; color: var(--muted); }

/* Chat demo */
.chat-demo { position: relative; }
.chat-demo::before {
	content: "";
	position: absolute;
	inset: 8% -4% -6% 6%;
	background: linear-gradient(135deg, var(--green-100), #dbeafe);
	border-radius: var(--radius-lg);
	transform: rotate(2.5deg);
	z-index: 0;
}

.chat-window {
	position: relative;
	z-index: 1;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.chat-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--line);
	background: var(--surface-tint);
}
.chat-header strong { font-family: var(--font-display); font-size: 15px; color: var(--ink); display: block; }
.chat-header small { font-size: 12px; color: var(--green-600); }

.status-dot {
	width: 11px; height: 11px;
	border-radius: 50%;
	background: var(--green-400);
	box-shadow: 0 0 0 4px var(--green-100);
}

.chat-body { padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }

.msg {
	max-width: 78%;
	padding: 12px 17px;
	font-size: 14.5px;
	line-height: 1.5;
	border-radius: 18px;
	animation: msgIn .5s ease both;
}
.msg.customer {
	align-self: flex-end;
	background: linear-gradient(135deg, var(--green-400), var(--green-600));
	color: #fff;
	border-bottom-right-radius: 6px;
}
.msg.ai {
	align-self: flex-start;
	background: var(--surface-tint);
	border: 1px solid var(--line);
	color: var(--ink-soft);
	border-bottom-left-radius: 6px;
}
.msg:nth-child(1) { animation-delay: .1s; }
.msg:nth-child(2) { animation-delay: .25s; }
.msg:nth-child(3) { animation-delay: .4s; }
.msg:nth-child(4) { animation-delay: .55s; }
.msg:nth-child(5) { animation-delay: .7s; }
.msg:nth-child(6) { animation-delay: .85s; }

@keyframes msgIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

.booking-id { font-size: 12.5px; color: var(--green-600); font-weight: 600; }

.chat-input {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 22px 22px;
	padding: 12px 8px 12px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-full);
	color: var(--muted);
	font-size: 14px;
	background: var(--surface-tint);
}
.send-btn {
	width: 34px; height: 34px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--green-400), var(--green-600));
	color: #fff;
	display: grid;
	place-items: center;
}

/* ---------- How it works (dark band) ---------- */
.section-dark {
	background:
		radial-gradient(ellipse 80% 60% at 70% -10%, rgba(69, 225, 177, .14), transparent 60%),
		#0c1f1a;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #9db4ac; }

.steps-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	gap: 20px;
	align-items: stretch;
}

.step-card {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	backdrop-filter: blur(6px);
	transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.step-card:hover {
	transform: translateY(-6px);
	border-color: rgba(69, 225, 177, .45);
	background: rgba(255, 255, 255, .07);
}

.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-week {
	font-family: var(--font-display);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--green-300);
	background: rgba(69, 225, 177, .12);
	border: 1px solid rgba(69, 225, 177, .3);
	padding: 6px 13px;
	border-radius: var(--radius-full);
}
.step-card h3 { color: #fff; font-size: 21px; margin-bottom: 12px; }
.step-card p { color: #9db4ac; font-size: 15px; }

.step-connector { display: grid; place-items: center; color: var(--green-300); opacity: .7; }

/* ---------- Brands marquee ---------- */
.section-brands { padding: 80px 0; }
.brands-head { text-align: center; margin-bottom: 44px; }
.brands-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.brands-head p { color: var(--muted); margin-top: 10px; }

.marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
	display: flex;
	gap: 26px;
	width: max-content;
	animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
	to { transform: translateX(calc(-50% - 13px)); }
}

.logo-chip {
	display: grid;
	place-items: center;
	width: 196px; height: 96px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	padding: 5px 28px;
}
.logo-chip img {
	max-height: 90px;
	width: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .65;
	transition: filter .25s ease, opacity .25s ease;
}
.logo-chip:hover img { filter: none; opacity: 1; }

/* ---------- Stats ---------- */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.stat-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 34px 30px;
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }

.stat-value {
	font-family: var(--font-display);
	font-size: 52px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	background: linear-gradient(120deg, var(--green-600), var(--green-400));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 18px;
	display: flex;
	align-items: baseline;
	gap: 4px;
}
.stat-value em { font-style: normal; font-size: 24px; font-weight: 700; }

.stat-card:nth-child(2) .stat-value { background: linear-gradient(120deg, #1d4ed8, #60a5fa); -webkit-background-clip: text; background-clip: text; }
.stat-card:nth-child(3) .stat-value { background: linear-gradient(120deg, #6d28d9, #a78bfa); -webkit-background-clip: text; background-clip: text; }
.stat-card:nth-child(4) .stat-value { background: linear-gradient(120deg, #b45309, #fbbf24); -webkit-background-clip: text; background-clip: text; }
.stat-card:nth-child(5) .stat-value { background: linear-gradient(120deg, #be123c, #fb7185); -webkit-background-clip: text; background-clip: text; }

.stat-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.stat-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.testimonial-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 34px 30px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 18px;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }

.stars { color: #f59e0b; font-size: 17px; letter-spacing: 3px; }

.testimonial-card blockquote {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink-soft);
	flex: 1;
}

.testimonial-card figcaption { display: flex; align-items: center; gap: 14px; }
.avatar {
	width: 46px; height: 46px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 14px;
	color: var(--ink);
}
.testimonial-card figcaption strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.testimonial-card figcaption small { color: var(--muted); font-size: 13px; }

/* ---------- Integrations ---------- */
.integrations-layout {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 64px;
	align-items: center;
}

.icon-circle {
	width: 64px; height: 64px;
	border-radius: 20px;
	background: linear-gradient(135deg, var(--green-100), var(--green-50));
	border: 1px solid var(--green-200);
	display: grid;
	place-items: center;
	margin-bottom: 24px;
}
.icon-circle img { width: 34px; }

.integrations-content h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-bottom: 16px; }
.integrations-content p { color: var(--muted); font-size: 16.5px; margin-bottom: 28px; }

.integrations-logos {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.integration-chip {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	display: grid;
	place-items: center;
	padding: 22px 18px;
	min-height: 92px;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.integration-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.integration-chip img { max-height: 40px; width: auto; object-fit: contain; }

/* ---------- FAQ tag cloud ---------- */
.faq-cloud {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	max-width: 940px;
	margin-inline: auto;
}

.faq-tag {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	padding: 14px 26px;
	border-radius: var(--radius-full);
	border: 1.5px solid;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.faq-tag:hover, .faq-tag:focus-visible {
	transform: translateY(-3px) scale(1.03);
	box-shadow: var(--shadow-md);
}
.faq-tag:active { transform: scale(.97); }

.tag-green  { color: var(--green-700);  background: var(--green-50);  border-color: var(--green-200); }
.tag-blue   { color: #1d4ed8;           background: #eff6ff;          border-color: #bfdbfe; }
.tag-violet { color: #6d28d9;           background: #f5f3ff;          border-color: #ddd6fe; }
.tag-amber  { color: #b45309;           background: #fffbeb;          border-color: #fde68a; }
.tag-rose   { color: #be123c;           background: #fff1f2;          border-color: #fecdd3; }

.tag-green:hover  { background: var(--green-100); }
.tag-blue:hover   { background: #dbeafe; }
.tag-violet:hover { background: #ede9fe; }
.tag-amber:hover  { background: #fef3c7; }
.tag-rose:hover   { background: #ffe4e6; }

/* ---------- FAQ modal ---------- */
.faq-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: 24px;
}
.faq-modal[hidden] { display: none; }

.faq-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 27, 23, .45);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	animation: fadeIn .25s ease both;
}

.faq-modal-card {
	position: relative;
	width: min(560px, 100%);
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 40px 38px 32px;
	animation: popIn .3s cubic-bezier(.2, 1.2, .4, 1) both;
}

@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn {
	from { opacity: 0; transform: translateY(24px) scale(.94); }
	to { opacity: 1; transform: none; }
}

.faq-modal-close {
	position: absolute;
	top: 18px; right: 18px;
	width: 38px; height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--muted);
	background: var(--surface-tint);
	border: 1px solid var(--line);
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.faq-modal-close:hover { background: var(--green-50); color: var(--green-700); transform: rotate(90deg); }

.faq-modal-badge {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--green-600);
	background: var(--green-50);
	border: 1px solid var(--green-200);
	padding: 5px 13px;
	border-radius: var(--radius-full);
	margin-bottom: 18px;
}

.faq-modal-card h3 { font-size: 23px; margin-bottom: 14px; padding-right: 28px; }
.faq-modal-card > p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

.faq-modal-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}
.faq-modal-footer span { font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 60px;
	align-items: start;
}

.contact-tag {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--green-600);
	background: var(--green-50);
	border: 1px solid var(--green-200);
	padding: 7px 16px;
	border-radius: var(--radius-full);
	margin-bottom: 20px;
}
.contact-content h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 16px; }
.contact-content > p { color: var(--muted); margin-bottom: 28px; }

.benefits-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.benefits-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15.5px;
	font-weight: 500;
	color: var(--ink-soft);
}
.benefits-list img { width: 22px; height: 22px; }

.contact-note { font-size: 14.5px; color: var(--muted); font-style: italic; }

.contact-form-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 38px 34px;
	position: relative;
	overflow: hidden;
}
.contact-form-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, var(--green-400), var(--green-300), var(--blue-500));
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
	display: block;
	font-family: var(--font-display);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 7px;
}
.form-group label span { color: var(--rose-500); }

.form-group input,
.form-group textarea {
	width: 100%;
	font: inherit;
	font-size: 14.5px;
	color: var(--ink);
	background: var(--surface-tint);
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 12px 15px;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a3b1ac; }
.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--green-400);
	box-shadow: 0 0 0 4px var(--green-100);
}
.form-group textarea { resize: vertical; }

.response-text { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer {
	background: #0c1f1a;
	color: #9db4ac;
	padding: 72px 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 52px;
}

.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; margin-bottom: 14px; }
.footer-email {
	color: var(--green-300);
	font-weight: 600;
	font-size: 15px;
	transition: color .2s ease;
}
.footer-email:hover { color: #fff; }

.footer-col h5 {
	color: #fff;
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: .04em;
	margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: #9db4ac; transition: color .2s ease; }
.footer-col a:hover { color: var(--green-300); }

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .08);
	padding: 22px 0;
	text-align: center;
	font-size: 13.5px;
}

/* ---------- Scroll-top button ---------- */
#scrollTop {
	position: fixed;
	bottom: 26px; right: 26px;
	z-index: 90;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--green-400), var(--green-600));
	color: #fff;
	display: grid;
	place-items: center;
	box-shadow: var(--shadow-green);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
#scrollTop.visible { opacity: 1; visibility: visible; transform: none; }
#scrollTop:hover { transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.marquee-track { animation: none; }
	.msg { animation: none; }
	.hero-float, .twinkle, .typing i, .pulse-dot::after { animation: none; }
}

@media (max-width: 1100px) {
	.hero-float { display: none; }
	.tw-1 { left: 7%; }
	.tw-2 { right: 8%; }
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
	.problem-grid { grid-template-columns: repeat(2, 1fr); }
	.problem-card.featured { grid-row: auto; grid-column: span 2; }

	.steps-grid { grid-template-columns: 1fr; gap: 14px; }
	.step-connector { transform: rotate(90deg); padding: 4px 0; }

	.features-layout,
	.integrations-layout,
	.contact-layout { grid-template-columns: 1fr; gap: 48px; }

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

@media (max-width: 860px) {
	/* Mobile nav */
	.menu-toggle { display: flex; }

	.nav-links {
		position: fixed;
		top: var(--header-h);
		left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg);
		padding: 18px 24px 24px;
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: transform .25s ease, opacity .25s ease, visibility .25s;
	}
	.nav-links.open { transform: none; opacity: 1; visibility: visible; }
	.nav-links a:not(.btn) { display: block; padding: 12px 16px; font-size: 16px; }
	.nav-cta-wrap { margin: 12px 0 0; }
	.nav-cta-wrap .btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
	.section { padding: 72px 0; }
	.hero { padding: calc(var(--header-h) + 56px) 0 80px; }

	.container { width: min(1180px, 100% - 36px); }

	.problem-grid { grid-template-columns: 1fr; }
	.problem-card.featured { grid-column: auto; }

	.advantage-grid { grid-template-columns: 1fr; }
	.advantage-card { flex-direction: column; gap: 18px; }

	.stats-grid,
	.testimonial-grid { grid-template-columns: 1fr; }

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

	.form-row { grid-template-columns: 1fr; }

	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: span 2; }

	.faq-tag { font-size: 14px; padding: 12px 20px; }
	.faq-modal-card { padding: 32px 24px 26px; }
	.faq-modal-footer { flex-direction: column; align-items: stretch; text-align: center; }

	.hero-actions .btn { width: 100%; justify-content: center; }
	.logo-chip { width: 156px; height: 80px; }
}
