:root {
	--color-primary: #2563EB;
	--color-primary-dark: #1D4ED8;
	--color-primary-light: #3B82F6;
	--color-accent: #60A5FA;
	--color-primary-soft: #EAF0FF;
	--color-text: #52525B;
	--color-heading: #0B0B14;
	--color-muted: #8A8A94;
	--color-border: #ECECF0;
	--color-bg: #ffffff;
	--color-bg-alt: #FAFAFB;
	--color-surface: #ffffff;
	--color-surface-soft: #F6F8FC;
	--header-bg: rgba(255, 255, 255, 0.7);
	--glass-bg: #ffffff;
	--icon-bg: var(--color-primary-soft);
	--container: 1120px;
	--section-y: 128px;
	--radius: 12px;
	--radius-lg: 18px;
	--shadow-sm: 0 1px 3px rgba(11, 11, 20, 0.04), 0 1px 2px rgba(11, 11, 20, 0.03);
	--shadow-md: 0 10px 30px rgba(11, 11, 20, 0.06);
	--shadow-lg: 0 30px 60px rgba(11, 11, 20, 0.1);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
	--color-primary: #5B8DEF;
	--color-primary-dark: #3B82F6;
	--color-primary-light: #7CA5F5;
	--color-primary-soft: #17203A;
	--color-text: #9CA3AF;
	--color-heading: #F4F5F7;
	--color-muted: #6B7280;
	--color-border: #1E2436;
	--color-bg: #0A0C12;
	--color-bg-alt: #0D0F17;
	--color-surface: #0F121C;
	--color-surface-soft: #141827;
	--header-bg: rgba(10, 12, 18, 0.7);
	--glass-bg: #0F121C;
	--icon-bg: #17203A;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
	--shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
	--shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.55);
}

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

body {
	margin: 0;
	font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	transition: background 0.3s, color 0.3s;
}

h1, h2, h3 { letter-spacing: -0.025em; color: var(--color-heading); font-weight: 700; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.section { padding: var(--section-y) 0; }
.section--alt { background: var(--color-bg-alt); }
.section-header { text-align: center; margin-bottom: 64px; max-width: 620px; margin-left: auto; margin-right: auto; }
.section-header__eyebrow {
	display: inline-block;
	margin: 0 0 16px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-primary);
}
.section-header h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); margin: 0 0 16px; line-height: 1.15; }
.section-header__desc { margin: 0; color: var(--color-muted); font-size: 1.0625rem; line-height: 1.6; }
.text-center { text-align: center; }

/* Reveal on scroll */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--header-bg);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	gap: 24px;
	position: relative;
}
.site-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--color-heading);
	text-decoration: none;
	letter-spacing: -0.02em;
}
.site-title__mark {
	position: relative;
	width: 11px;
	height: 11px;
	border-radius: 3px;
	background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
}
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.header-login { padding: 9px 18px; font-size: 0.9375rem; }

/* Language switch */
.lang-switch {
	display: inline-flex;
	align-items: center;
	padding: 3px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: var(--color-surface);
}
.lang-switch__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 28px;
	padding: 0 10px;
	border: 0;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	font-family: inherit;
	letter-spacing: 0.02em;
	color: var(--color-muted);
	text-decoration: none;
	background: transparent;
	cursor: pointer;
	transition: color 0.2s, background 0.2s;
}
.lang-switch__btn:hover { color: var(--color-heading); }
.lang-switch__btn.is-active {
	background: var(--color-heading);
	color: var(--color-bg);
}
.primary-nav .menu {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.primary-nav a {
	display: block;
	padding: 8px 14px;
	border-radius: 8px;
	color: var(--color-text);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9375rem;
	transition: color 0.2s, background 0.2s;
}
.primary-nav a:hover { color: var(--color-heading); background: var(--color-surface-soft); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--color-heading);
	margin: 5px 0;
	border-radius: 2px;
	transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Theme toggle */
.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 9px;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-muted);
	cursor: pointer;
	transition: color 0.2s, border-color 0.2s;
	flex-shrink: 0;
}
.theme-toggle:hover { color: var(--color-heading); border-color: var(--color-muted); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
	border: 1px solid transparent;
	cursor: pointer;
}
.btn-primary {
	background: var(--color-heading);
	color: var(--color-bg);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent {
	background: var(--color-primary);
	color: #fff;
}
.btn-accent:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn-outline {
	border-color: var(--color-border);
	color: var(--color-heading);
	background: transparent;
}
.btn-outline:hover { border-color: var(--color-muted); transform: translateY(-1px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* Hero */
.hero {
	position: relative;
	padding: 120px 0 96px;
	overflow: hidden;
	text-align: center;
}
.hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(60% 50% at 50% -10%, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}
[data-theme="dark"] .hero__bg {
	background:
		radial-gradient(60% 50% at 50% -10%, rgba(91, 141, 239, 0.14) 0%, transparent 70%);
}
.hero__inner { position: relative; }
.hero__content { max-width: 760px; margin: 0 auto; }
.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 28px;
	padding: 6px 14px 6px 12px;
	border-radius: 999px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	color: var(--color-text);
	font-size: 0.8125rem;
	font-weight: 500;
	box-shadow: var(--shadow-sm);
}
.hero__eyebrow::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #22C55E;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.hero h1 {
	font-size: clamp(2.5rem, 6vw, 4rem);
	line-height: 1.08;
	margin: 0 0 24px;
	font-weight: 750;
	letter-spacing: -0.035em;
}
.hero h1 .accent {
	background: linear-gradient(120deg, var(--color-primary-light), var(--color-primary-dark));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero__subtitle {
	font-size: 1.1875rem;
	color: var(--color-muted);
	line-height: 1.65;
	margin: 0 auto 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__note { margin: 24px 0 0; font-size: 0.875rem; color: var(--color-muted); }

/* Hero product mock */
.hero__mock {
	position: relative;
	max-width: 940px;
	margin: 72px auto 0;
	perspective: 1600px;
}
.mock-window {
	border-radius: 16px;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	text-align: left;
}
.mock-window__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-bg-alt);
}
.mock-window__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--color-border); }
.mock-window__bar span:nth-child(1) { background: #FF5F57; }
.mock-window__bar span:nth-child(2) { background: #FEBC2E; }
.mock-window__bar span:nth-child(3) { background: #28C840; }
.mock-window__body {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 28px;
	padding: 36px;
}
.mock-metric { margin-bottom: 28px; }
.mock-metric__label { font-size: 0.8125rem; color: var(--color-muted); margin: 0 0 6px; }
.mock-metric__value { font-size: 3rem; font-weight: 750; color: var(--color-heading); letter-spacing: -0.04em; line-height: 1; }
.mock-metric__value small { font-size: 1.125rem; color: var(--color-muted); font-weight: 500; margin-left: 4px; }
.mock-graph { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.mock-graph span {
	flex: 1;
	border-radius: 6px 6px 0 0;
	background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary));
	opacity: 0.9;
}
.mock-nodes { display: flex; flex-direction: column; gap: 12px; }
.mock-node {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 16px;
	border-radius: 12px;
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	font-size: 0.875rem;
}
.mock-node__name { display: flex; align-items: center; gap: 10px; color: var(--color-heading); font-weight: 500; }
.mock-node__dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.mock-node__ping { color: var(--color-primary); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Stats */
.stats { padding-bottom: var(--section-y); }
.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.stat-item { text-align: center; }
.stat-item strong {
	display: block;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 750;
	color: var(--color-heading);
	letter-spacing: -0.03em;
	margin-bottom: 6px;
}
.stat-item span { color: var(--color-muted); font-size: 0.9375rem; }

/* Features */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.feature-card {
	position: relative;
	padding: 32px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s;
}
.feature-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
	border-color: transparent;
}
.feature-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	color: var(--color-primary);
	background: var(--icon-bg);
	margin-bottom: 20px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 1.0625rem; }
.feature-card p { margin: 0; color: var(--color-muted); line-height: 1.65; font-size: 0.9375rem; }

/* Pricing */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: stretch;
}
.pricing-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 36px 32px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pricing-card--highlight {
	border-color: var(--color-heading);
	box-shadow: var(--shadow-md);
}
.pricing-card__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--color-heading);
	color: var(--color-bg);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 999px;
	white-space: nowrap;
}
.pricing-card h3 { margin: 0 0 12px; font-size: 1.0625rem; color: var(--color-muted); font-weight: 600; }
.pricing-card__price { margin: 0 0 8px; color: var(--color-heading); }
.pricing-card__price span { font-size: 2.75rem; font-weight: 750; letter-spacing: -0.04em; }
.pricing-card__price small { color: var(--color-muted); font-size: 1rem; font-weight: 500; }
.pricing-card ul {
	list-style: none;
	padding: 0;
	margin: 28px 0;
	color: var(--color-text);
	flex: 1;
}
.pricing-card li {
	position: relative;
	padding: 8px 0 8px 28px;
	font-size: 0.9375rem;
}
.pricing-card li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}
.pricing-card .btn { width: 100%; }

/* CTA */
.cta { text-align: center; }
.cta__inner {
	position: relative;
	margin: 0 auto;
	padding: 72px 40px;
	border-radius: 24px;
	background: #0B0B14;
	overflow: hidden;
}
[data-theme="dark"] .cta__inner { background: #10131F; border: 1px solid var(--color-border); }
.cta__inner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(70% 120% at 50% 0%, rgba(59, 130, 246, 0.4) 0%, transparent 60%);
}
.cta h2 { position: relative; margin: 0 0 14px; font-size: clamp(1.75rem, 3.4vw, 2.5rem); color: #fff; }
.cta p { position: relative; color: rgba(255, 255, 255, 0.72); margin: 0 auto 32px; max-width: 440px; font-size: 1.0625rem; }
.cta .btn { position: relative; }
.cta .btn-accent { background: #fff; color: #0B0B14; }
.cta .btn-accent:hover { background: rgba(255, 255, 255, 0.9); transform: translateY(-1px); }

/* Footer */
.site-footer {
	padding: 72px 0 40px;
	border-top: 1px solid var(--color-border);
	background: var(--color-bg);
}
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
}
.site-footer__name {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--color-heading);
}

.site-footer__tagline { margin: 14px 0; color: var(--color-muted); font-size: 0.9375rem; max-width: 300px; }
.site-footer__email { color: var(--color-primary); text-decoration: none; font-weight: 500; }
.site-footer__email:hover { text-decoration: underline; }
.footer-nav .menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-nav a { color: var(--color-muted); text-decoration: none; font-size: 0.9375rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--color-heading); }
.site-footer__copy {
	margin: 40px 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--color-border);
	color: var(--color-muted);
	font-size: 0.875rem;
	width: 100%;
}

/* Pages */
.page-header { padding: 88px 0 0; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; letter-spacing: -0.035em; }
.content-area { line-height: 1.8; }
.contact-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 40px;
}
.contact-card {
	padding: 30px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	transition: box-shadow 0.3s, transform 0.3s;
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card h3 { margin: 0 0 8px; }
.contact-card a { color: var(--color-primary); text-decoration: none; font-weight: 600; }

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}
.post-card {
	padding: 28px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	transition: box-shadow 0.3s, transform 0.3s;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card h2 { margin: 0 0 8px; font-size: 1.0625rem; }
.post-card a { color: inherit; text-decoration: none; }
.post-card a:hover { color: var(--color-primary); }

/* Responsive */
@media (max-width: 1023px) {
	:root { --section-y: 96px; }
	.features-grid { grid-template-columns: repeat(2, 1fr); }
	.stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
	.pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
	.mock-window__body { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	:root { --section-y: 72px; }
	.header-cta,
	.header-login { display: none; }
	.nav-toggle { display: block; }
	.primary-nav {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: var(--color-surface);
		border: 1px solid var(--color-border);
		border-radius: 14px;
		padding: 12px;
		box-shadow: var(--shadow-md);
	}
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; gap: 4px; }
	.primary-nav a { padding: 12px 14px; }
	.features-grid { grid-template-columns: 1fr; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.contact-cards { grid-template-columns: 1fr; }
	.hero { padding: 80px 0 64px; }
	.hero__mock { margin-top: 48px; }
	.mock-window__body { padding: 24px; }
	.cta__inner { padding: 56px 24px; }
}


.site-footer__right{
	float: right;
}
.footer-link{
	color: var(--color-muted);
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.2s;
	margin-left: 8px;
}
.footer-link:hover{
	color: var(--color-heading);
}

.site-footer__brand a{
	color: var(--color-muted);
	text-decoration: none;
	font-size: 0.975rem;
	transition: color 0.2s;
	margin-bottom: 8px;
	margin-left: 3px;
    display: block;
}
.site-footer__brand a:hover{
	color: var(--color-heading);
}