/* Visual polish: leading-tech feel, square corners, light motion. */

.eark-header {
	position: sticky;
	background: #ffffff;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
	overflow: visible;
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease;
}

.eark-mega-wrap { z-index: 1001; }

.eark-menu-icon,
.eark-mega-cat .eark-menu-icon,
.eark-mega-item .eark-menu-icon,
.eark-top-item > a .eark-menu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	min-width: 16px;
	max-width: 16px;
	max-height: 16px;
	margin: 0 8px 0 0;
	flex: 0 0 16px;
	color: var(--eark-primary, #1677ff);
}

.eark-top-item > a,
.eark-mega-cat > a,
.eark-mega-item a {
	display: flex;
	align-items: center;
}

.eark-top-item > a { position: relative; }

.eark-top-item > a::after { display: none; }

.eark-top-item.current-menu-item > a,
.eark-top-item.current-menu-ancestor > a {
	color: var(--eark-primary, #1677ff);
	font-weight: 600;
	box-shadow: inset 0 -2px 0 var(--eark-primary, #1677ff);
}

.eark-btn,
.eark-btn-primary,
.eark-btn-ghost {
	border-radius: 0;
	height: 40px;
	line-height: 40px;
	padding: 0 20px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	border: 1px solid transparent;
	transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.eark-btn-primary,
a.eark-btn-primary {
	background: var(--eark-primary, #1677ff);
	color: #ffffff;
	box-shadow: 0 1px 2px rgba(22, 119, 255, 0.24);
}

.eark-btn-primary:hover,
a.eark-btn-primary:hover,
.entry-content a.eark-btn-primary:hover,
.product-content a.eark-btn-primary:hover {
	background: var(--eark-primary-dark, #0e5fe0);
	box-shadow: 0 8px 20px rgba(22, 119, 255, 0.28);
	transform: translateY(-1px);
	color: #ffffff;
	text-decoration: none;
}

.eark-btn-ghost,
a.eark-btn-ghost {
	background: #ffffff;
	color: var(--eark-primary, #1677ff);
	border-color: #d6e4ff;
}

.eark-btn-ghost:hover,
a.eark-btn-ghost:hover,
.entry-content a.eark-btn-ghost:hover,
.product-content a.eark-btn-ghost:hover {
	background: #f5f8ff;
	border-color: var(--eark-primary, #1677ff);
	color: var(--eark-primary, #1677ff);
	text-decoration: none;
}

.product-hero {
	position: relative;
	overflow: hidden;
	background: #f4f8ff;
}

.product-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(520px 220px at 18% 30%, rgba(22, 119, 255, 0.16), transparent 70%),
		radial-gradient(480px 200px at 82% 20%, rgba(0, 196, 180, 0.12), transparent 68%),
		linear-gradient(180deg, #eef5ff 0%, #ffffff 78%);
	animation: eark-hero-shift 16s ease-in-out infinite alternate;
	pointer-events: none;
}

.product-hero-inner { position: relative; z-index: 1; }

@keyframes eark-hero-shift {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(0, -8px, 0); }
}

.eark-adv-card,
.eark-feat-card,
.eark-pricing-col,
.eark-sol-card,
.eark-faq-help {
	border-color: #e7ebf3;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 24px rgba(16, 24, 40, 0.04);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.eark-adv-card:hover,
.eark-feat-card:hover,
.eark-pricing-col:hover,
.eark-sol-card:hover {
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
	transform: translateY(-2px);
}

.eark-pricing-col.is-featured {
	box-shadow: 0 0 0 1px var(--eark-primary, #1677ff), 0 12px 28px rgba(22, 119, 255, 0.12);
}

.eark-sidebar-nav-list a {
	transition: color 0.15s ease, background 0.15s ease;
}

.eark-sidebar-nav-list a.is-active {
	background: #f2f7ff;
}

.eark-tab-nav button {
	transition: color 0.15s ease, border-color 0.15s ease;
}

.eark-cta-banner:not(.eark-cta-dark) {
	background: linear-gradient(180deg, #f7f9fc 0%, #f3f6fb 100%);
	border: 1px solid #e7ebf3;
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
}

.product-hero-image img {
	box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
}

@media (prefers-reduced-motion: reduce) {
	.product-hero::before,
	.eark-adv-card,
	.eark-feat-card,
	.eark-pricing-col,
	.eark-sol-card,
	.eark-btn-primary {
		animation: none;
		transition: none;
		transform: none;
	}
}
