/*!
Theme Name: 美洽AI客服
Theme URI: https://www.meiqia.com/
Author: Meiqia Team
Author URI: https://www.meiqia.com/
Description: 面向企业营销、销售与客服团队的智能化客户沟通平台主题，AI未来科技风，支持 WP Customizer 配置主题色、Logo、AI 模块、咨询按钮与产品链接。
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: meiqia
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-templates

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

_s is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Design Tokens (CSS Variables)
# Generic - Normalize / Box sizing
# Base - Typography / Elements / Links / Forms
# Layouts
# Components - Header / Hero / Features / Channels / Flow / Data / CTA / Footer
# Utilities - Accessibility / Alignments
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Design Tokens
--------------------------------------------------------------*/
:root {
	/* Brand palette - overridable via WP Customizer */
	--color-primary: #2563EB;
	--color-primary-rgb: 37, 99, 235;
	--color-secondary: #111827;
	--color-secondary-rgb: 17, 24, 39;
	--color-accent: #06B6D4;
	--color-accent-rgb: 6, 182, 212;
	--color-bg: #0B1020;
	--color-surface: #111827;
	--color-surface-2: #1A2238;
	--color-text: #E5E7EB;
	--color-text-strong: #FFFFFF;
	--color-muted: #94A3B8;
	--color-border: rgba(255, 255, 255, 0.10);
	--color-white: #FFFFFF;
	--color-success: #10B981;
	--color-danger: #EF4444;

	/* Gradients */
	--gradient-brand: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
	--gradient-bg: radial-gradient(1200px 600px at 10% -10%, rgba(37, 99, 235, 0.35), transparent 60%),
	                radial-gradient(900px 500px at 100% 10%, rgba(6, 182, 212, 0.25), transparent 60%),
	                linear-gradient(180deg, #0B1020 0%, #0F172A 100%);
	--gradient-card: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);

	/* Spacing - 8px rhythm */
	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 32px;
	--space-5: 48px;
	--space-6: 64px;
	--space-7: 96px;

	/* Radius */
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-pill: 999px;

	/* Shadows */
	--shadow-sm: 0 2px 8px rgba(2, 6, 23, 0.25);
	--shadow-md: 0 8px 24px rgba(2, 6, 23, 0.35);
	--shadow-lg: 0 20px 48px rgba(2, 6, 23, 0.45);
	--shadow-glow: 0 0 32px rgba(37, 99, 235, 0.35);

	/* Typography */
	--font-sans: 'Inter', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans GB', 'Microsoft YaHei', Roboto, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-md: 1.125rem;
	--fs-lg: 1.25rem;
	--fs-xl: 1.5rem;
	--fs-2xl: 2rem;
	--fs-3xl: 2.5rem;
	--fs-4xl: 3.5rem;
	--lh-body: 1.65;
	--lh-tight: 1.2;

	/* Layout */
	--container-max: 1200px;
	--header-h: 72px;

	/* Motion */
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--dur-fast: 150ms;
	--dur-base: 240ms;
	--dur-slow: 400ms;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

main { display: block; }

h1 { font-size: 2em; margin: 0.67em 0; }

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
	color: var(--color-accent);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out);
}
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}
b, strong { font-weight: 700; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; max-width: 100%; height: auto; display: block; }
button, input, optgroup, select, textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }
button:-moz-focusring, [type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { padding: 0.35em 0.75em 0.625em; }
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}
progress { vertical-align: baseline; }
textarea { overflow: auto; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details { display: block; }
summary { display: list-item; }
template { display: none; }
[hidden] { display: none; }

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

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography */
body, button, input, select, optgroup, textarea {
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	color: var(--color-text-strong);
	font-weight: 700;
	line-height: var(--lh-tight);
	margin: 0 0 var(--space-2);
}

h1 { font-size: clamp(2rem, 5vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.5rem, 3.5vw, var(--fs-3xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p { margin: 0 0 var(--space-2); }
dfn, cite, em, i { font-style: italic; }
blockquote { margin: 0 var(--space-2); }
address { margin: 0 0 var(--space-2); }
pre {
	background: var(--color-surface);
	font-family: var(--font-mono);
	line-height: 1.6;
	margin-bottom: var(--space-3);
	max-width: 100%;
	overflow: auto;
	padding: var(--space-2);
	border-radius: var(--radius-md);
}
code, kbd, tt, var { font-family: var(--font-mono); }
abbr, acronym { border-bottom: 1px dotted var(--color-muted); cursor: help; }
mark, ins { background: rgba(var(--color-accent-rgb), 0.2); text-decoration: none; }
big { font-size: 125%; }

/* Elements */
ul, ol {
	margin: 0 0 var(--space-2) var(--space-3);
	padding-left: var(--space-2);
}
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul, li > ol { margin-bottom: 0; margin-left: var(--space-2); }
dt { font-weight: 700; }
dd { margin: 0 var(--space-2) var(--space-2); }

embed, iframe, object { max-width: 100%; }
figure { margin: var(--space-2) 0; }
table { margin: 0 0 var(--space-2); width: 100%; }

hr {
	background-color: var(--color-border);
	border: 0;
	height: 1px;
	margin: var(--space-4) 0;
}

/* Links */
a:hover, a:focus { color: var(--color-primary); }
a:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Forms */
input[type="text"], input[type="email"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"],
input[type="tel"], input[type="range"], input[type="date"],
input[type="month"], input[type="week"], input[type="time"],
input[type="datetime"], input[type="datetime-local"], input[type="color"],
textarea {
	color: var(--color-text-strong);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	width: 100%;
	transition: border-color var(--dur-fast) var(--ease-out),
	            box-shadow var(--dur-fast) var(--ease-out);
}
input:focus, textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}
select { border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); border-radius: var(--radius-sm); padding: 8px 12px; }
textarea { width: 100%; }

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.wm-container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-2);
}
.wm-section {
	padding: var(--space-6) 0;
}
@media (min-width: 1024px) {
	.wm-section { padding: var(--space-7) 0; }
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Site wrapper */
.wm-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: var(--gradient-bg);
	background-attachment: fixed;
	position: relative;
	overflow-x: hidden;
}
.wm-site::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(var(--color-primary-rgb), 0.15) 0, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(var(--color-accent-rgb), 0.12) 0, transparent 50%);
	pointer-events: none;
	z-index: 0;
}
.wm-site > * { position: relative; z-index: 1; }

/* Header */
.wm-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(11, 16, 32, 0.7);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid var(--color-border);
}
.wm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	gap: var(--space-2);
}
.wm-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: var(--color-text-strong);
	font-size: var(--fs-lg);
	text-decoration: none;
}
.wm-brand__mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--gradient-brand);
	display: grid;
	place-items: center;
	box-shadow: var(--shadow-glow);
}
.wm-brand__mark svg { width: 20px; height: 20px; }
.wm-brand img { max-height: 36px; width: auto; }

.wm-nav {
	display: none;
	flex: 1;
	justify-content: center;
}
.wm-nav ul {
	list-style: none;
	display: flex;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
}
.wm-nav a {
	color: var(--color-text);
	font-weight: 500;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
	transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.wm-nav a:hover {
	color: var(--color-text-strong);
	background: rgba(255, 255, 255, 0.06);
}
.wm-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.wm-menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-text-strong);
	cursor: pointer;
}
.wm-menu-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1024px) {
	.wm-nav { display: flex; }
	.wm-menu-toggle { display: none; }
}

/* Mobile nav */
.wm-mobile-nav {
	position: fixed;
	inset: var(--header-h) 0 0 0;
	background: rgba(11, 16, 32, 0.96);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	padding: var(--space-3);
	transform: translateY(-12px);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--dur-base) var(--ease-out),
	            transform var(--dur-base) var(--ease-out),
	            visibility var(--dur-base);
	z-index: 99;
	overflow-y: auto;
}
.wm-mobile-nav.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.wm-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.wm-mobile-nav a {
	display: block;
	padding: 14px 16px;
	color: var(--color-text-strong);
	border-radius: var(--radius-sm);
	font-size: var(--fs-md);
}
.wm-mobile-nav a:hover { background: rgba(255, 255, 255, 0.06); }

/* Buttons */
.wm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: var(--radius-pill);
	font-weight: 600;
	font-size: var(--fs-sm);
	line-height: 1;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform var(--dur-fast) var(--ease-out),
	            box-shadow var(--dur-base) var(--ease-out),
	            background var(--dur-base) var(--ease-out),
	            color var(--dur-base) var(--ease-out);
	min-height: 44px;
	white-space: nowrap;
}
.wm-btn:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
}
.wm-btn--primary {
	background: var(--gradient-brand);
	color: var(--color-white);
	box-shadow: var(--shadow-glow);
}
.wm-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 36px rgba(var(--color-primary-rgb), 0.45);
	color: var(--color-white);
}
.wm-btn--ghost {
	background: transparent;
	color: var(--color-text-strong);
	border-color: var(--color-border);
}
.wm-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.2);
	color: var(--color-text-strong);
}
.wm-btn--sm { padding: 8px 16px; font-size: var(--fs-xs); min-height: 36px; }
.wm-btn--lg { padding: 16px 28px; font-size: var(--fs-base); }

/* Hero */
.wm-hero {
	padding: var(--space-6) 0 var(--space-7);
	position: relative;
	overflow: hidden;
}
.wm-hero__grid {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: 1fr;
	align-items: center;
}
@media (min-width: 1024px) {
	.wm-hero__grid {
		grid-template-columns: 1.1fr 1fr;
		gap: var(--space-5);
	}
}
.wm-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: rgba(var(--color-primary-rgb), 0.12);
	color: var(--color-accent);
	border: 1px solid rgba(var(--color-accent-rgb), 0.3);
	font-size: var(--fs-xs);
	font-weight: 600;
	margin-bottom: var(--space-2);
}
.wm-hero__title {
	font-size: clamp(2rem, 5.5vw, var(--fs-4xl));
	line-height: 1.1;
	margin-bottom: var(--space-3);
	background: linear-gradient(180deg, #FFFFFF 0%, #C7D2FE 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wm-hero__title .wm-hero__title-accent {
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wm-hero__desc {
	color: var(--color-muted);
	font-size: var(--fs-md);
	max-width: 560px;
	margin-bottom: var(--space-4);
}
.wm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: var(--space-4);
}
.wm-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	color: var(--color-muted);
	font-size: var(--fs-sm);
}
.wm-hero__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.wm-hero__meta-item svg { width: 16px; height: 16px; color: var(--color-accent); }

/* Hero visual / AI robot */
.wm-hero__visual {
	position: relative;
	min-height: 360px;
	display: grid;
	place-items: center;
}
@media (min-width: 768px) {
	.wm-hero__visual { min-height: 460px; }
}
.wm-hero__orb {
	position: relative;
	width: min(100%, 420px);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: var(--gradient-brand);
	opacity: 0.18;
	filter: blur(40px);
	animation: wm-pulse 6s ease-in-out infinite;
}
.wm-hero__robot {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}
.wm-robot {
	width: min(80%, 320px);
	aspect-ratio: 1 / 1;
	border-radius: 32px;
	background: var(--gradient-card);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-lg);
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	overflow: hidden;
}
.wm-robot::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 30% 20%, rgba(var(--color-accent-rgb), 0.25), transparent 50%),
		radial-gradient(circle at 70% 80%, rgba(var(--color-primary-rgb), 0.3), transparent 50%);
	pointer-events: none;
}
.wm-robot__face {
	position: relative;
	width: 100%;
	aspect-ratio: 1.6 / 1;
	border-radius: 20px;
	background: rgba(11, 16, 32, 0.6);
	border: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 8px;
}
.wm-robot__eye {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--color-accent);
	box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.7);
	animation: wm-blink 4s infinite;
}
.wm-robot__bubble {
	position: relative;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--color-border);
	border-radius: 14px;
	padding: 10px 14px;
	font-size: var(--fs-sm);
	color: var(--color-text-strong);
}
.wm-robot__bubble::after {
	content: "";
	position: absolute;
	top: -6px;
	left: 24px;
	width: 12px;
	height: 12px;
	background: inherit;
	border-left: 1px solid var(--color-border);
	border-top: 1px solid var(--color-border);
	transform: rotate(45deg);
}
.wm-robot__typing {
	display: inline-flex;
	gap: 4px;
	margin-left: 6px;
}
.wm-robot__typing span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-accent);
	animation: wm-typing 1.2s infinite;
}
.wm-robot__typing span:nth-child(2) { animation-delay: 0.15s; }
.wm-robot__typing span:nth-child(3) { animation-delay: 0.3s; }

/* Data flow animation (CSS only) */
.wm-flow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}
.wm-flow::before,
.wm-flow::after {
	content: "";
	position: absolute;
	width: 200%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(var(--color-accent-rgb), 0.5), transparent);
	animation: wm-flow-x 8s linear infinite;
}
.wm-flow::before { top: 20%; }
.wm-flow::after { top: 70%; animation-delay: 4s; }
.wm-flow__dot {
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-accent);
	box-shadow: 0 0 12px rgba(var(--color-accent-rgb), 0.7);
	animation: wm-flow-y 5s ease-in-out infinite;
}
.wm-flow__dot--1 { left: 15%; top: 30%; }
.wm-flow__dot--2 { right: 20%; top: 60%; animation-delay: 1.5s; }
.wm-flow__dot--3 { left: 60%; top: 80%; animation-delay: 3s; }

/* Section header */
.wm-section__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto var(--space-5);
}
.wm-section__eyebrow {
	display: inline-block;
	color: var(--color-accent);
	font-weight: 600;
	font-size: var(--fs-sm);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.wm-section__title {
	font-size: clamp(1.75rem, 4vw, var(--fs-3xl));
	margin-bottom: 12px;
}
.wm-section__desc {
	color: var(--color-muted);
	font-size: var(--fs-md);
}

/* AI Assistant cards */
.wm-ai-grid {
	display: grid;
	gap: var(--space-2);
	grid-template-columns: 1fr;
}
@media (min-width: 768px) { .wm-ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wm-ai-grid { grid-template-columns: repeat(3, 1fr); } }

.wm-card {
	position: relative;
	background: var(--gradient-card);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
	transition: transform var(--dur-base) var(--ease-out),
	            border-color var(--dur-base) var(--ease-out),
	            box-shadow var(--dur-base) var(--ease-out);
	overflow: hidden;
}
.wm-card:hover {
	transform: translateY(-4px);
	border-color: rgba(var(--color-primary-rgb), 0.4);
	box-shadow: var(--shadow-lg);
}
.wm-card__icon {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-md);
	background: rgba(var(--color-primary-rgb), 0.12);
	color: var(--color-accent);
	display: grid;
	place-items: center;
	margin-bottom: var(--space-2);
}
.wm-card__icon svg { width: 24px; height: 24px; }
.wm-card__title {
	font-size: var(--fs-lg);
	margin-bottom: 8px;
}
.wm-card__desc {
	color: var(--color-muted);
	font-size: var(--fs-sm);
	margin: 0;
}

/* Channels section */
.wm-channels {
	display: grid;
	gap: var(--space-2);
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .wm-channels { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .wm-channels { grid-template-columns: repeat(5, 1fr); } }

.wm-channel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: var(--space-3);
	background: var(--gradient-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	text-align: center;
	transition: transform var(--dur-base) var(--ease-out),
	            border-color var(--dur-base) var(--ease-out);
}
.wm-channel:hover {
	transform: translateY(-3px);
	border-color: rgba(var(--color-accent-rgb), 0.4);
}
.wm-channel__icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: rgba(var(--color-accent-rgb), 0.12);
	color: var(--color-accent);
}
.wm-channel__icon svg { width: 22px; height: 22px; }
.wm-channel__label {
	font-size: var(--fs-sm);
	color: var(--color-text-strong);
	font-weight: 600;
}

/* Flow steps */
.wm-steps {
	display: grid;
	gap: var(--space-2);
	grid-template-columns: 1fr;
	counter-reset: step;
}
@media (min-width: 768px) { .wm-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wm-steps { grid-template-columns: repeat(4, 1fr); } }

.wm-step {
	position: relative;
	padding: var(--space-3);
	border-radius: var(--radius-lg);
	background: var(--gradient-card);
	border: 1px solid var(--color-border);
	counter-increment: step;
}
.wm-step::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	top: var(--space-2);
	right: var(--space-2);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	color: rgba(var(--color-accent-rgb), 0.5);
	font-weight: 700;
}
.wm-step__title {
	font-size: var(--fs-lg);
	margin: 0 0 8px;
}
.wm-step__desc {
	color: var(--color-muted);
	font-size: var(--fs-sm);
	margin: 0;
}

/* Data / stats */
.wm-stats {
	display: grid;
	gap: var(--space-2);
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .wm-stats { grid-template-columns: repeat(4, 1fr); } }

.wm-stat {
	text-align: center;
	padding: var(--space-3);
	border-radius: var(--radius-lg);
	background: var(--gradient-card);
	border: 1px solid var(--color-border);
}
.wm-stat__num {
	font-size: clamp(1.75rem, 4vw, var(--fs-3xl));
	font-weight: 800;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1.1;
}
.wm-stat__label {
	color: var(--color-muted);
	font-size: var(--fs-sm);
	margin-top: 6px;
}

/* CTA section */
.wm-cta {
	position: relative;
	padding: var(--space-6) var(--space-3);
	border-radius: var(--radius-xl);
	background:
		linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.4), rgba(var(--color-accent-rgb), 0.3)),
		var(--color-surface);
	border: 1px solid var(--color-border);
	text-align: center;
	overflow: hidden;
}
.wm-cta::before {
	content: "";
	position: absolute;
	inset: -2px;
	background: radial-gradient(circle at 30% 20%, rgba(var(--color-accent-rgb), 0.4), transparent 60%);
	pointer-events: none;
}
.wm-cta > * { position: relative; }
.wm-cta__title {
	font-size: clamp(1.5rem, 4vw, var(--fs-3xl));
	margin-bottom: 12px;
}
.wm-cta__desc {
	color: var(--color-text);
	max-width: 560px;
	margin: 0 auto var(--space-3);
}
.wm-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* Footer */
.wm-footer {
	margin-top: auto;
	padding: var(--space-6) 0 var(--space-3);
	border-top: 1px solid var(--color-border);
	background: rgba(11, 16, 32, 0.6);
}
.wm-footer__grid {
	display: grid;
	gap: var(--space-3);
	grid-template-columns: 1fr;
	padding-bottom: var(--space-4);
	border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) {
	.wm-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.wm-footer__brand p {
	color: var(--color-muted);
	font-size: var(--fs-sm);
	max-width: 320px;
	margin-top: 12px;
}
.wm-footer__col h4 {
	font-size: var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-strong);
	margin-bottom: 16px;
}
.wm-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.wm-footer__col a {
	color: var(--color-muted);
	font-size: var(--fs-sm);
}
.wm-footer__col a:hover { color: var(--color-text-strong); }
.wm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: var(--space-3);
	color: var(--color-muted);
	font-size: var(--fs-xs);
}

/* Floating contact */
.wm-fab {
	position: fixed;
	right: var(--space-2);
	bottom: var(--space-2);
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 20px;
	border-radius: var(--radius-pill);
	background: var(--gradient-brand);
	color: var(--color-white);
	font-weight: 600;
	font-size: var(--fs-sm);
	box-shadow: var(--shadow-lg);
	text-decoration: none;
	transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.wm-fab:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 40px rgba(var(--color-primary-rgb), 0.5);
	color: var(--color-white);
}
.wm-fab svg { width: 18px; height: 18px; }
@media (min-width: 768px) {
	.wm-fab { right: var(--space-3); bottom: var(--space-3); }
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes wm-pulse {
	0%, 100% { transform: scale(1); opacity: 0.18; }
	50% { transform: scale(1.08); opacity: 0.28; }
}
@keyframes wm-blink {
	0%, 90%, 100% { transform: scaleY(1); }
	93% { transform: scaleY(0.1); }
}
@keyframes wm-typing {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
	30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes wm-flow-x {
	0% { transform: translateX(-50%); }
	100% { transform: translateX(0%); }
}
@keyframes wm-flow-y {
	0%, 100% { transform: translateY(0); opacity: 0.5; }
	50% { transform: translateY(-20px); opacity: 1; }
}

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

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: var(--color-surface);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(var(--color-accent-rgb), 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--color-accent);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
#primary[tabindex="-1"]:focus { outline: 0; }
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--color-primary);
	color: #fff;
	padding: 12px 18px;
	z-index: 9999;
}
.skip-link:focus { left: var(--space-2); top: var(--space-2); }

/* Alignments */
.alignleft { float: left; margin-right: var(--space-2); margin-bottom: var(--space-2); }
.alignright { float: right; margin-left: var(--space-2); margin-bottom: var(--space-2); }
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: var(--space-2);
}

/* Posts / pages inside main */
.site-main {
	max-width: var(--container-max);
	width: 100%;
	margin: 0 auto;
	padding: var(--space-4) var(--space-2);
	color: var(--color-text);
}
.site-main .entry-title { color: var(--color-text-strong); }
.site-main a { color: var(--color-accent); }

/* WP widgets (if used) */
.widget {
	margin: 0 0 var(--space-3);
	padding: var(--space-2);
	background: var(--gradient-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}
.widget select { max-width: 100%; }
.widget-title { color: var(--color-text-strong); font-size: var(--fs-md); }
