:root {
	--blue: #2563eb;
	--cyan: #06b6d4;
	--purple: #8b5cf6;
	--dark: #0f172a;
	--ink: #162033;
	--muted: #64748b;
	--line: #dbe4f0;
	--light: #f8fafc;
	--white: #ffffff;
	--shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
	--soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
	--radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ink);
	background: var(--light);
	line-height: 1.65;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 {
	font-family: "Poppins", "Inter", sans-serif;
	color: var(--dark);
	line-height: 1.08;
	letter-spacing: 0;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.9rem); margin: 0 0 1.25rem; }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 .75rem; }
p { margin: 0 0 1.2rem; color: var(--muted); }
ul { padding-left: 1.25rem; }

.container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}
.narrow-container { width: min(880px, calc(100% - 40px)); }
.section { padding: 110px 0; position: relative; }
.section-heading { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-heading.align-left { margin-left: 0; text-align: left; }
.eyebrow, .badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--blue);
	font-weight: 800;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .08em;
}
.badge {
	padding: 9px 14px;
	border: 1px solid rgba(255,255,255,.34);
	border-radius: 999px;
	color: var(--white);
	background: rgba(255,255,255,.15);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 800;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	cursor: pointer;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: inherit; }
.btn-primary {
	color: var(--white);
	background: linear-gradient(135deg, var(--blue), var(--purple));
	box-shadow: 0 16px 34px rgba(37, 99, 235, .32);
}
.btn-secondary {
	color: var(--dark);
	background: var(--white);
	border-color: var(--line);
	box-shadow: var(--soft-shadow);
}
.btn-ghost {
	color: var(--white);
	background: rgba(255,255,255,.12);
	border-color: rgba(255,255,255,.32);
}
.btn-small { min-height: 42px; padding: 0 17px; font-size: .92rem; }

.screen-reader-text, .skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	width: auto;
	height: auto;
	clip: auto;
	z-index: 1000;
	top: 16px;
	left: 16px;
	background: var(--white);
	padding: 12px 16px;
	border-radius: var(--radius);
}

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 99;
	transition: background .24s ease, box-shadow .24s ease, border .24s ease;
}
.site-header.is-scrolled {
	background: rgba(255,255,255,.78);
	backdrop-filter: blur(22px);
	border-bottom: 1px solid rgba(219, 228, 240, .85);
	box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
body:not(.home) .site-header {
	background: rgba(255,255,255,.88);
	backdrop-filter: blur(22px);
	border-bottom: 1px solid rgba(219, 228, 240, .85);
	box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
.nav-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	gap: 24px;
}
.site-logo-text {
	font-family: "Poppins", sans-serif;
	font-weight: 800;
	font-size: 1.2rem;
	color: var(--white);
}
.is-scrolled .site-logo-text, .page-shell ~ .site-footer .site-logo-text { color: var(--dark); }
body:not(.home) .site-logo-text { color: var(--dark); }
.custom-logo { max-height: 44px; width: auto; }
.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-navigation a, .nav-login {
	color: rgba(255,255,255,.88);
	font-weight: 700;
	font-size: .94rem;
}
.is-scrolled .main-navigation a, .is-scrolled .nav-login { color: var(--ink); }
body:not(.home) .main-navigation a, body:not(.home) .nav-login { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; }
.menu-toggle-line, .menu-toggle-line::before, .menu-toggle-line::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	content: "";
	position: relative;
}
.menu-toggle-line::before { position: absolute; top: -7px; }
.menu-toggle-line::after { position: absolute; top: 7px; }

.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background:
		radial-gradient(circle at 80% 20%, rgba(139,92,246,.52), transparent 32%),
		radial-gradient(circle at 15% 76%, rgba(6,182,212,.38), transparent 30%),
		linear-gradient(135deg, #071326 0%, #172a67 44%, #2563eb 100%);
	color: var(--white);
	padding-top: 140px;
}
.hero::before, .hero::after {
	position: absolute;
	content: "";
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 50%;
	animation: float 8s ease-in-out infinite;
}
.hero::before { width: 120px; height: 120px; top: 18%; left: 6%; }
.hero::after { width: 180px; height: 180px; right: 9%; bottom: 10%; animation-delay: -3s; }
.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr);
	align-items: center;
	gap: 60px;
}
.hero h1, .hero p { color: var(--white); }
.hero-subtitle { font-size: 1.2rem; max-width: 670px; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 24px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-badges span {
	font-weight: 800;
	color: rgba(255,255,255,.9);
}
.trust-badges span::before { content: "✓ "; color: #7dd3fc; }
.hero-visual { position: relative; min-height: 560px; }
.glass-card {
	background: rgba(255,255,255,.16);
	border: 1px solid rgba(255,255,255,.28);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	backdrop-filter: blur(24px);
}
.dashboard-card {
	padding: 22px;
	width: min(100%, 560px);
	margin-left: auto;
	color: var(--white);
}
.window-dots { display: flex; gap: 8px; margin-bottom: 26px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.52); }
.dashboard-header { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.dashboard-header h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 0; }
.status-pill, .popular-badge {
	align-self: start;
	border-radius: 999px;
	padding: 7px 12px;
	font-weight: 800;
	font-size: .78rem;
	color: var(--white);
	background: rgba(6,182,212,.25);
	border: 1px solid rgba(255,255,255,.25);
}
.kb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kb-grid div {
	padding: 18px;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--radius);
}
.kb-grid strong { display: block; font-size: 1.7rem; }
.kb-grid span { color: rgba(255,255,255,.76); font-size: .9rem; }
.training-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.14); margin-top: 22px; overflow: hidden; }
.training-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), #a78bfa); }
.chat-widget {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(360px, 92%);
	padding: 18px;
	color: var(--dark);
	background: rgba(255,255,255,.82);
}
.chat-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.chat-top span { display: block; color: var(--muted); font-size: .86rem; }
.chat-avatar {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--white);
	font-weight: 800;
	background: linear-gradient(135deg, var(--blue), var(--purple));
}
.message {
	width: fit-content;
	max-width: 86%;
	padding: 12px 14px;
	border-radius: var(--radius);
	margin-bottom: 10px;
	font-weight: 600;
}
.message.visitor { margin-left: auto; color: var(--white); background: var(--blue); }
.message.ai { color: var(--ink); background: #eef5ff; }
.support-button {
	width: 100%;
	min-height: 44px;
	border: 0;
	border-radius: var(--radius);
	color: var(--white);
	background: var(--dark);
	font-weight: 800;
	cursor: pointer;
}

.feature-grid, .testimonial-grid, .pricing-grid, .steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.feature-card, .testimonial-card, .pricing-card, .content-card, .post-card, .step-card {
	background: var(--white);
	border: 1px solid rgba(219, 228, 240, .9);
	border-radius: var(--radius);
	box-shadow: var(--soft-shadow);
}
.feature-card {
	padding: 28px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: var(--radius);
	color: var(--white);
	font-weight: 900;
	margin-bottom: 18px;
	background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.kb-section { background: var(--white); }
.split-layout {
	display: grid;
	grid-template-columns: 1fr .92fr;
	gap: 56px;
	align-items: center;
}
.workflow-card {
	padding: 28px;
	border-radius: var(--radius);
	background: linear-gradient(145deg, #ffffff, #eef6ff);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}
.workflow-step {
	padding: 18px;
	border-radius: var(--radius);
	background: var(--white);
	font-weight: 900;
	text-align: center;
	border: 1px solid var(--line);
}
.workflow-arrow {
	width: 2px;
	height: 34px;
	margin: 8px auto;
	background: linear-gradient(var(--blue), var(--purple));
}
.source-chips, .support-flow {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}
.source-chips span, .support-flow span {
	padding: 8px 12px;
	border-radius: 999px;
	background: #eef5ff;
	color: var(--blue);
	font-weight: 800;
	font-size: .86rem;
}

.demo-section { background: linear-gradient(180deg, var(--light), #eef4ff); }
.demo-grid {
	display: grid;
	grid-template-columns: .7fr 1fr;
	gap: 24px;
	align-items: stretch;
}
.question-list, .demo-chat {
	padding: 22px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--soft-shadow);
}
.demo-question {
	display: block;
	width: 100%;
	padding: 16px;
	margin-bottom: 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #f7fbff;
	text-align: left;
	color: var(--dark);
	font-weight: 800;
	cursor: pointer;
}
.demo-question.active {
	color: var(--white);
	background: linear-gradient(135deg, var(--blue), var(--purple));
	border-color: transparent;
}
.demo-chat { min-height: 310px; }
.demo-messages { display: grid; gap: 10px; }

.steps-grid { grid-template-columns: repeat(4, 1fr); position: relative; }
.step-card {
	position: relative;
	padding: 26px;
	min-height: 150px;
}
.step-card::after {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(100% + 1px);
	width: 22px;
	height: 2px;
	background: linear-gradient(90deg, var(--blue), var(--purple));
}
.step-card:last-child::after { display: none; }
.step-card span {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: var(--white);
	background: var(--dark);
	font-weight: 900;
	margin-bottom: 18px;
}

.support-section {
	background:
		radial-gradient(circle at 80% 20%, rgba(139,92,246,.3), transparent 30%),
		linear-gradient(135deg, #08111f, #111f3d);
	color: var(--white);
}
.support-section h2, .support-section p { color: var(--white); }
.support-section p { color: rgba(255,255,255,.76); }
.support-flow span { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.16); }
.email-card {
	padding: 26px;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	backdrop-filter: blur(18px);
}
.email-card p { color: rgba(255,255,255,.82); }
.email-header {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255,255,255,.18);
	margin-bottom: 16px;
}

.testimonial-card { padding: 28px; margin: 0; }
.stars { color: #f59e0b; font-weight: 900; margin-bottom: 14px; }
blockquote { margin: 0; color: var(--dark); font-size: 1.1rem; font-weight: 800; }

.pricing-section { background: var(--white); }
.pricing-grid { max-width: 860px; grid-template-columns: repeat(2, 1fr); }
.pricing-card { padding: 32px; position: relative; }
.pricing-card-featured {
	border-color: rgba(37,99,235,.35);
	transform: translateY(-12px);
	box-shadow: 0 28px 70px rgba(37, 99, 235, .18);
}
.popular-badge {
	position: absolute;
	top: 18px;
	right: 18px;
	background: linear-gradient(135deg, var(--blue), var(--purple));
}
.price {
	font-size: 3.6rem;
	font-family: "Poppins", sans-serif;
	font-weight: 900;
	color: var(--dark);
	margin: 16px 0;
}
.price span { font-size: 1rem; color: var(--muted); font-family: "Inter", sans-serif; }
.save-text { color: var(--blue); font-weight: 900; }
.pricing-card li { margin-bottom: 10px; color: var(--ink); }

.faq-list { max-width: 860px; }
.faq-item {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 12px;
	box-shadow: 0 8px 22px rgba(15,23,42,.05);
}
.faq-item summary {
	padding: 20px;
	cursor: pointer;
	font-weight: 900;
	color: var(--dark);
}
.faq-item p { padding: 0 20px 20px; }

.page-shell { padding: 130px 0 90px; }
.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	align-items: center;
	color: var(--muted);
	font-weight: 700;
	margin-bottom: 34px;
}
.content-card { padding: 34px; }
.entry-content a { color: var(--blue); text-decoration: underline; }
.entry-content img { border-radius: var(--radius); margin: 24px 0; }
.contact-grid {
	display: grid;
	grid-template-columns: 1fr .42fr;
	gap: 26px;
	align-items: start;
}
.contact-form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}
.contact-form .full, .contact-form .btn, .form-notice { grid-column: 1 / -1; }
.contact-form label span { display: block; font-weight: 900; margin-bottom: 8px; color: var(--dark); }
.contact-form input, .contact-form textarea, .search-field {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 13px 14px;
	background: #fbfdff;
	color: var(--dark);
}
.contact-form input:focus, .contact-form textarea:focus, .search-field:focus {
	outline: 3px solid rgba(37,99,235,.16);
	border-color: var(--blue);
}
.form-notice {
	padding: 14px 16px;
	border-radius: var(--radius);
	font-weight: 800;
}
.form-notice p { margin: 0; color: inherit; }
.form-notice-success { color: #166534; background: #dcfce7; }
.form-notice-error { color: #991b1b; background: #fee2e2; }
.info-panel { padding: 28px; background: rgba(255,255,255,.72); border-color: var(--line); }

.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-grid.three { grid-template-columns: repeat(3, 1fr); }
.post-card { overflow: hidden; }
.post-thumb {
	display: block;
	min-height: 210px;
	background: linear-gradient(135deg, #e0f2fe, #ede9fe);
}
.post-thumb img { width: 100%; height: 230px; object-fit: cover; }
.post-card-body { padding: 22px; }
.post-card time, .post-meta, .single-header .post-categories a {
	color: var(--muted);
	font-size: .9rem;
	font-weight: 800;
}
.post-card h2, .post-card h3 { font-size: 1.25rem; }
.read-more { color: var(--blue); font-weight: 900; }
.sidebar .widget {
	padding: 22px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--soft-shadow);
	margin-bottom: 20px;
}
.single-header { text-align: center; margin-bottom: 34px; }
.single-header h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.single-featured img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 34px; }
.post-meta { display: flex; justify-content: center; gap: 16px; }
.share-row {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 20px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	margin: 34px 0;
	font-weight: 900;
}
.share-row a {
	padding: 8px 12px;
	border-radius: 999px;
	background: #eef5ff;
	color: var(--blue);
}
.related-posts { margin-top: 60px; }

.site-footer {
	padding: 70px 0 26px;
	background: #08111f;
	color: rgba(255,255,255,.72);
}
.site-footer .site-logo-text { color: var(--white); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(4, 1fr);
	gap: 34px;
}
.footer-brand p { margin-top: 16px; color: rgba(255,255,255,.66); }
.footer-column { display: grid; gap: 10px; align-content: start; }
.footer-column h2 {
	color: var(--white);
	font-size: 1rem;
	margin-bottom: 8px;
}
.footer-column a, .footer-bottom a { color: rgba(255,255,255,.68); }
.footer-column a:hover, .footer-bottom a:hover { color: var(--white); }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a {
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(255,255,255,.08);
}
.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: center;
	padding-top: 34px;
	margin-top: 44px;
	border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,.6); }
.footer-menu { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-18px); }
}

@media (max-width: 980px) {
	h1 { font-size: clamp(2.5rem, 10vw, 4.2rem); }
	.nav-actions { display: none; }
	.menu-toggle {
		display: inline-grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border: 1px solid rgba(255,255,255,.35);
		border-radius: var(--radius);
		background: rgba(255,255,255,.12);
		color: var(--white);
	}
	.is-scrolled .menu-toggle { color: var(--dark); border-color: var(--line); background: var(--white); }
	.main-navigation {
		position: fixed;
		top: 76px;
		left: 20px;
		right: 20px;
		display: none;
		padding: 22px;
		border-radius: var(--radius);
		background: rgba(255,255,255,.96);
		box-shadow: var(--shadow);
	}
	.menu-open .main-navigation { display: block; }
	.main-navigation ul { display: grid; gap: 6px; }
	.main-navigation a { display: block; color: var(--dark); padding: 12px; }
	.hero-grid, .split-layout, .demo-grid, .contact-grid, .blog-layout { grid-template-columns: 1fr; }
	.hero-visual { min-height: 500px; }
	.feature-grid, .testimonial-grid, .pricing-grid, .steps-grid, .footer-grid, .post-grid, .post-grid.three { grid-template-columns: 1fr 1fr; }
	.step-card::after { display: none; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
	.container { width: min(100% - 28px, 1180px); }
	.section { padding: 76px 0; }
	.hero { padding-top: 118px; }
	.hero-actions, .trust-badges, .footer-bottom, .share-row { align-items: stretch; flex-direction: column; }
	.hero-grid { gap: 34px; }
	.hero-visual { min-height: 540px; }
	.dashboard-header, .email-header { flex-direction: column; }
	.kb-grid, .feature-grid, .testimonial-grid, .pricing-grid, .steps-grid, .footer-grid, .post-grid, .post-grid.three, .contact-form { grid-template-columns: 1fr; }
	.pricing-card-featured { transform: none; }
	.contact-form .full, .contact-form .btn, .form-notice { grid-column: auto; }
	.site-logo-text { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
	.reveal { opacity: 1; transform: none; }
}
