/*!
Theme Name: 爱翻译 iTranslate
Theme URI: https://example.com/itranslate
Author: iTranslate Team
Author URI: https://example.com
Description: "爱翻译" 智能语言助手官网主题 — 面向学生、旅行用户、办公人员与海外交流用户的现代化 AI 翻译产品落地页。采用 16px 圆角、玻璃拟态、柔和阴影、Inter + PingFang SC，全端响应式，WP Customizer 可配置主色、辅助色、强调色与 Logo。
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: wm-itranslate
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

爱翻译 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.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Design Tokens (CSS Variables)
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography (Inter + PingFang SC)
	- Elements
	- Links
	- Forms
# Layouts
# Components
	- Buttons
	- Navigation / Header
	- Hero (chat bubble + AI avatar)
	- Features grid
	- Translate showcase
	- Voice / Photo / Learning
	- Scenarios
	- Testimonials
	- Download / CTA
	- Footer
	- Posts and pages
	- Comments
	- Widgets
# Plugins
# Utilities
	- Accessibility
	- Glassmorphism helpers
	- Animations (respect reduced motion)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Design Tokens
--------------------------------------------------------------*/
:root {
	--color-primary: #00B96B;
	--color-secondary: #0F172A;
	--color-accent: #06B6D4;
	--color-bg: #F7FAFC;
	--color-surface: #FFFFFF;
	--color-surface-2: #F1F5F9;
	--color-text: #0F172A;
	--color-text-soft: #334155;
	--color-muted: #64748B;
	--color-border: rgba(15, 23, 42, 0.08);
	--color-white: #FFFFFF;
	--color-on-primary: #FFFFFF;
	--color-success: #00B96B;
	--color-warning: #F59E0B;
	--color-danger: #EF4444;

	--gradient-brand: linear-gradient(135deg, #00B96B 0%, #06B6D4 100%);
	--gradient-soft: linear-gradient(135deg, rgba(0, 185, 107, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
	--gradient-hero: linear-gradient(160deg, #ECFDF5 0%, #ECFEFF 50%, #F7FAFC 100%);
	--gradient-mesh: radial-gradient(at 20% 20%, rgba(0, 185, 107, 0.18) 0px, transparent 50%),
						radial-gradient(at 80% 0%, rgba(6, 182, 212, 0.18) 0px, transparent 50%),
						radial-gradient(at 50% 80%, rgba(15, 23, 42, 0.06) 0px, transparent 50%);

	--shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
	--shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
	--shadow-md: 0 10px 30px rgba(15, 23, 42, 0.10);
	--shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
	--shadow-glow: 0 16px 48px rgba(0, 185, 107, 0.28);

	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-full: 999px;

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

	--font-sans: "Inter", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--container-max: 1200px;
	--header-height: 72px;

	--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-base: 220ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Normalize (light subset, key resets) */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.6; -webkit-text-size-adjust: 100%; box-sizing: border-box; }
body { margin: 0; }
main { display: block; }
img, svg { border-style: none; max-width: 100%; height: auto; display: block; }
hr { box-sizing: content-box; height: 0; overflow: visible; border: 0; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.5; margin: 0; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; cursor: pointer; }
[hidden] { display: none; }

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
html { scroll-behavior: smooth; }

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background: var(--color-bg);
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	color: var(--color-text);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 var(--space-2);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 var(--space-2); }

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover,
a:focus { color: var(--color-accent); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.wm-container {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--space-3);
	padding-right: var(--space-3);
}

.wm-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wm-main {
	flex: 1 0 auto;
}

/*--------------------------------------------------------------
# Components — Buttons
--------------------------------------------------------------*/
.wm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-1);
	padding: 14px 26px;
	border-radius: var(--radius-md);
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--transition-fast), box-shadow var(--transition-base), background-color var(--transition-base), color var(--transition-base);
	white-space: nowrap;
	user-select: none;
}

.wm-btn:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--color-primary) 60%, transparent);
	outline-offset: 3px;
}

.wm-btn--primary {
	background: var(--gradient-brand);
	color: var(--color-on-primary);
	box-shadow: var(--shadow-glow);
}
.wm-btn--primary:hover,
.wm-btn--primary:focus {
	color: var(--color-on-primary);
	transform: translateY(-2px);
	box-shadow: 0 20px 56px color-mix(in srgb, var(--color-primary) 38%, transparent);
}

.wm-btn--ghost {
	background: var(--color-surface);
	color: var(--color-text);
	border-color: var(--color-border);
	box-shadow: var(--shadow-xs);
}
.wm-btn--ghost:hover,
.wm-btn--ghost:focus {
	color: var(--color-primary);
	border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
	transform: translateY(-2px);
}

.wm-btn--outline {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}
.wm-btn--outline:hover,
.wm-btn--outline:focus {
	background: var(--color-primary);
	color: var(--color-on-primary);
}

.wm-btn--sm { padding: 10px 18px; font-size: 14px; }
.wm-btn--lg { padding: 16px 32px; font-size: 17px; border-radius: var(--radius-lg); }

.wm-btn .wm-btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

/*--------------------------------------------------------------
# Components — Header / Navigation
--------------------------------------------------------------*/
.wm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid var(--color-border);
}

.wm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	gap: var(--space-3);
}

.wm-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--color-text);
	text-decoration: none;
}
.wm-brand:hover { color: var(--color-text); }
.wm-brand__mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--gradient-brand);
	display: grid;
	place-items: center;
	color: var(--color-white);
	box-shadow: var(--shadow-glow);
}
.wm-brand__mark svg { width: 20px; height: 20px; }
.wm-brand__name { letter-spacing: -0.01em; }
.wm-brand__name b { color: var(--color-primary); }

.wm-nav {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}
.wm-nav__list {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.wm-nav__list li > a {
	display: inline-block;
	padding: 8px 14px;
	border-radius: var(--radius-sm);
	color: var(--color-text-soft);
	font-weight: 500;
	font-size: 15px;
	transition: background var(--transition-fast), color var(--transition-fast);
}
.wm-nav__list li > a:hover,
.wm-nav__list li.current-menu-item > a {
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.wm-nav__actions {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.wm-nav__toggle {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	align-items: center;
	justify-content: center;
}
.wm-nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 1023px) {
	.wm-nav__toggle { display: inline-flex; }
	.wm-nav__panel {
		position: fixed;
		inset: var(--header-height) 0 auto 0;
		background: var(--color-surface);
		border-bottom: 1px solid var(--color-border);
		box-shadow: var(--shadow-md);
		padding: var(--space-3);
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		transition: opacity var(--transition-base), transform var(--transition-base);
	}
	.wm-nav.is-open .wm-nav__panel {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}
	.wm-nav__list {
		flex-direction: column;
		gap: 4px;
	}
	.wm-nav__list li > a {
		display: block;
		padding: 12px 14px;
	}
	.wm-nav__actions {
		margin-top: var(--space-2);
		flex-wrap: wrap;
	}
}

/*--------------------------------------------------------------
# Components — Hero
--------------------------------------------------------------*/
.wm-hero {
	position: relative;
	padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 96px);
	background: var(--gradient-hero), var(--color-bg);
	overflow: hidden;
}
.wm-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gradient-mesh);
	pointer-events: none;
	opacity: 0.9;
}
.wm-hero .wm-container {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: var(--space-5);
	align-items: center;
}

.wm-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: var(--radius-full);
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	color: var(--color-primary);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: var(--space-2);
}
.wm-hero__eyebrow .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.wm-hero__title {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	line-height: 1.08;
	margin-bottom: var(--space-3);
}
.wm-hero__title em {
	font-style: normal;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wm-hero__lead {
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	color: var(--color-text-soft);
	max-width: 540px;
	margin-bottom: var(--space-3);
}

.wm-hero__cta {
	display: inline-flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-bottom: var(--space-3);
}

.wm-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	color: var(--color-muted);
	font-size: 14px;
}
.wm-hero__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.wm-hero__meta-item svg { width: 16px; height: 16px; color: var(--color-primary); }

/* Hero visual: chat with AI avatar */
.wm-hero__visual {
	position: relative;
	min-height: 480px;
	display: grid;
	place-items: center;
}

.wm-chat {
	position: relative;
	width: 100%;
	max-width: 460px;
	padding: var(--space-3);
	border-radius: var(--radius-xl);
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: var(--shadow-lg);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	z-index: 2;
}

.wm-chat__bubble {
	max-width: 80%;
	padding: 12px 16px;
	border-radius: 18px;
	font-size: 15px;
	line-height: 1.5;
	animation: wm-fade-up 600ms ease both;
}
.wm-chat__bubble--user {
	align-self: flex-end;
	background: var(--gradient-brand);
	color: var(--color-on-primary);
	border-bottom-right-radius: 6px;
}
.wm-chat__bubble--ai {
	align-self: flex-start;
	background: var(--color-surface-2);
	color: var(--color-text);
	border-bottom-left-radius: 6px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.wm-chat__bubble--ai .wm-avatar {
	flex-shrink: 0;
}
.wm-chat__bubble--ai span { display: block; }
.wm-chat__bubble--ai small {
	display: block;
	margin-top: 4px;
	color: var(--color-muted);
	font-size: 12px;
}
.wm-chat__bubble--ai:nth-child(2) { animation-delay: 200ms; }
.wm-chat__bubble--ai:nth-child(3) { animation-delay: 500ms; }
.wm-chat__bubble--user:nth-child(4) { animation-delay: 900ms; }
.wm-chat__bubble--ai:nth-child(5) { animation-delay: 1200ms; }

.wm-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--gradient-brand);
	display: grid;
	place-items: center;
	color: var(--color-white);
	flex-shrink: 0;
	box-shadow: var(--shadow-glow);
}
.wm-avatar svg { width: 20px; height: 20px; }
.wm-avatar--lg {
	width: 88px;
	height: 88px;
	border-radius: 28px;
}
.wm-avatar--lg svg { width: 44px; height: 44px; }

.wm-hero__avatar {
	position: absolute;
	top: -28px;
	right: -10px;
	z-index: 3;
	animation: wm-float 6s ease-in-out infinite;
}

.wm-hero__lang {
	position: absolute;
	padding: 10px 16px;
	border-radius: var(--radius-full);
	background: var(--color-surface);
	box-shadow: var(--shadow-md);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	color: var(--color-text);
	animation: wm-float 7s ease-in-out infinite;
}
.wm-hero__lang svg { width: 18px; height: 18px; color: var(--color-primary); }
.wm-hero__lang--1 { left: -16px; top: 30%; }
.wm-hero__lang--2 { right: -24px; bottom: 14%; animation-delay: -2s; }
.wm-hero__lang--3 { left: 6%; bottom: 6%; animation-delay: -4s; }

@media (max-width: 1023px) {
	.wm-hero .wm-container { grid-template-columns: 1fr; }
	.wm-hero__visual { min-height: auto; margin-top: var(--space-3); }
	.wm-hero__lang--1, .wm-hero__lang--3 { display: none; }
}

/*--------------------------------------------------------------
# Components — Section heading
--------------------------------------------------------------*/
.wm-section {
	padding: clamp(64px, 7vw, 96px) 0;
}
.wm-section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.wm-section--alt { background: var(--color-surface); }
.wm-section--dark {
	background: var(--color-secondary);
	color: var(--color-white);
}
.wm-section--dark h1,
.wm-section--dark h2,
.wm-section--dark h3 { color: var(--color-white); }

.wm-section__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto var(--space-5);
}
.wm-section__head p {
	color: var(--color-muted);
	font-size: 1.0625rem;
	margin-top: var(--space-1);
}
.wm-section--dark .wm-section__head p { color: rgba(255,255,255,0.7); }

.wm-eyebrow {
	display: inline-block;
	padding: 4px 12px;
	border-radius: var(--radius-full);
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	color: var(--color-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: var(--space-2);
}

/*--------------------------------------------------------------
# Components — Features grid
--------------------------------------------------------------*/
.wm-grid {
	display: grid;
	gap: var(--space-3);
}
.wm-grid--features { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.wm-grid--scenarios { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.wm-grid--reviews { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.wm-feature {
	position: relative;
	padding: var(--space-3);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-xs);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.wm-feature:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
}
.wm-feature__icon {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-md);
	display: grid;
	place-items: center;
	background: var(--gradient-soft);
	color: var(--color-primary);
	margin-bottom: var(--space-2);
}
.wm-feature__icon svg { width: 24px; height: 24px; }
.wm-feature__title {
	font-size: 1.125rem;
	margin-bottom: 8px;
	font-weight: 700;
}
.wm-feature__desc {
	color: var(--color-muted);
	font-size: 0.9375rem;
	margin: 0;
}

/*--------------------------------------------------------------
# Components — Translate showcase
--------------------------------------------------------------*/
.wm-translate {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-3);
	align-items: stretch;
}
.wm-translate__card {
	padding: var(--space-3);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}
.wm-translate__lang {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	color: var(--color-primary);
}
.wm-translate__lang svg { width: 16px; height: 16px; }
.wm-translate__text {
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--color-text);
	margin: 0;
}
.wm-translate__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: var(--color-muted);
	border-top: 1px dashed var(--color-border);
	padding-top: 12px;
}
.wm-translate__meta-actions { display: inline-flex; gap: 8px; }
.wm-translate__meta-actions button {
	border: 0;
	background: transparent;
	padding: 6px;
	border-radius: var(--radius-sm);
	color: var(--color-muted);
}
.wm-translate__meta-actions button:hover {
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}
.wm-translate__meta-actions svg { width: 16px; height: 16px; }

@media (max-width: 767px) {
	.wm-translate { grid-template-columns: 1fr; }
}

/*--------------------------------------------------------------
# Components — Tool cards (Voice / Photo / Learning)
--------------------------------------------------------------*/
.wm-tools {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--space-3);
}
.wm-tool {
	position: relative;
	padding: var(--space-4) var(--space-3);
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-xs);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.wm-tool::after {
	content: "";
	position: absolute;
	inset: auto -40px -40px auto;
	width: 160px;
	height: 160px;
	background: var(--gradient-soft);
	border-radius: 50%;
	z-index: 0;
}
.wm-tool > * { position: relative; z-index: 1; }
.wm-tool:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.wm-tool__icon {
	width: 56px;
	height: 56px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	background: var(--gradient-brand);
	color: var(--color-white);
	margin-bottom: var(--space-2);
	box-shadow: var(--shadow-glow);
}
.wm-tool__icon svg { width: 28px; height: 28px; }
.wm-tool__title { font-size: 1.25rem; margin-bottom: 8px; }
.wm-tool__desc { color: var(--color-muted); margin-bottom: var(--space-2); }
.wm-tool__link {
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.wm-tool__link svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.wm-tool__link:hover svg { transform: translateX(4px); }

/*--------------------------------------------------------------
# Components — Scenarios
--------------------------------------------------------------*/
.wm-scenario {
	text-align: center;
	padding: var(--space-3);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	transition: transform var(--transition-base), background var(--transition-base);
}
.wm-scenario:hover { transform: translateY(-4px); background: var(--color-surface-2); }
.wm-scenario__emoji {
	width: 64px;
	height: 64px;
	margin: 0 auto var(--space-2);
	border-radius: 18px;
	display: grid;
	place-items: center;
	background: var(--gradient-soft);
	color: var(--color-primary);
}
.wm-scenario__emoji svg { width: 30px; height: 30px; }
.wm-scenario__title { font-size: 1.0625rem; margin-bottom: 6px; }
.wm-scenario__desc { color: var(--color-muted); font-size: 14px; margin: 0; }

/*--------------------------------------------------------------
# Components — Reviews / Testimonials
--------------------------------------------------------------*/
.wm-review {
	padding: var(--space-3);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	box-shadow: var(--shadow-xs);
}
.wm-review__stars {
	display: inline-flex;
	gap: 2px;
	color: #F5A524;
}
.wm-review__stars svg { width: 16px; height: 16px; }
.wm-review__quote { font-size: 1rem; line-height: 1.65; color: var(--color-text); margin: 0; }
.wm-review__author {
	display: flex;
	align-items: center;
	gap: 12px;
	border-top: 1px solid var(--color-border);
	padding-top: var(--space-2);
}
.wm-review__author-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gradient-brand);
	color: var(--color-white);
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 14px;
	flex-shrink: 0;
}
.wm-review__author-meta { display: flex; flex-direction: column; }
.wm-review__author-name { font-weight: 600; font-size: 15px; }
.wm-review__author-role { color: var(--color-muted); font-size: 13px; }

/*--------------------------------------------------------------
# Components — Download CTA
--------------------------------------------------------------*/
.wm-cta {
	padding: clamp(64px, 7vw, 96px) 0;
	background: var(--gradient-brand);
	color: var(--color-white);
	position: relative;
	overflow: hidden;
}
.wm-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(at 10% 10%, rgba(255,255,255,0.18) 0, transparent 40%),
		radial-gradient(at 90% 90%, rgba(255,255,255,0.18) 0, transparent 40%);
	pointer-events: none;
}
.wm-cta .wm-container {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: var(--space-5);
	align-items: center;
}
.wm-cta h2 { color: var(--color-white); font-size: clamp(1.875rem, 4vw, 2.75rem); }
.wm-cta p { color: rgba(255,255,255,0.85); max-width: 520px; margin-bottom: var(--space-3); }
.wm-cta__buttons { display: inline-flex; flex-wrap: wrap; gap: var(--space-2); }
.wm-cta__buttons .wm-btn--primary {
	background: var(--color-white);
	color: var(--color-primary);
	box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}
.wm-cta__buttons .wm-btn--primary:hover { background: var(--color-white); color: var(--color-accent); }
.wm-cta__buttons .wm-btn--ghost {
	background: transparent;
	color: var(--color-white);
	border-color: rgba(255,255,255,0.6);
}
.wm-cta__buttons .wm-btn--ghost:hover { background: rgba(255,255,255,0.14); color: var(--color-white); }

.wm-cta__card {
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.3);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	padding: var(--space-3);
	border-radius: var(--radius-xl);
	text-align: center;
}
.wm-cta__card-qr {
	width: 160px;
	height: 160px;
	margin: 0 auto var(--space-2);
	background: var(--color-white);
	border-radius: var(--radius-md);
	display: grid;
	place-items: center;
	color: var(--color-secondary);
	font-weight: 700;
}
.wm-cta__card-store {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: var(--space-2);
	flex-wrap: wrap;
}
.wm-cta__store-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: var(--radius-md);
	background: var(--color-secondary);
	color: var(--color-white);
	font-size: 13px;
	font-weight: 600;
}
.wm-cta__store-btn svg { width: 18px; height: 18px; }

@media (max-width: 1023px) {
	.wm-cta .wm-container { grid-template-columns: 1fr; }
}

/*--------------------------------------------------------------
# Components — Footer
--------------------------------------------------------------*/
.wm-footer {
	background: var(--color-secondary);
	color: rgba(255,255,255,0.72);
	padding: var(--space-5) 0 var(--space-3);
}
.wm-footer a { color: rgba(255,255,255,0.72); }
.wm-footer a:hover { color: var(--color-white); }
.wm-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: var(--space-4);
	margin-bottom: var(--space-4);
}
.wm-footer__brand { color: var(--color-white); font-weight: 700; font-size: 1.125rem; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.wm-footer__brand .wm-brand__mark { box-shadow: none; }
.wm-footer__desc { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 280px; }
.wm-footer__social { display: inline-flex; gap: 10px; margin-top: var(--space-2); }
.wm-footer__social a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255,255,255,0.08);
	transition: background var(--transition-fast), color var(--transition-fast);
}
.wm-footer__social a:hover { background: var(--color-primary); color: var(--color-white); }
.wm-footer__social svg { width: 18px; height: 18px; }
.wm-footer__title { color: var(--color-white); font-weight: 600; margin-bottom: 12px; font-size: 15px; }
.wm-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.wm-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.08);
	padding-top: var(--space-2);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: rgba(255,255,255,0.5);
}

@media (max-width: 767px) {
	.wm-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.wm-footer__grid { grid-template-columns: 1fr; }
}

/*--------------------------------------------------------------
# Components — Posts & Pages
--------------------------------------------------------------*/
.post, .page { margin: 0 0 var(--space-3); }
.sticky { display: block; }
.updated:not(.published) { display: none; }
.page-content, .entry-content, .entry-summary { margin: var(--space-2) 0 0; }
.page-links { clear: both; margin: 0 0 var(--space-2); }
.entry-header { margin-bottom: var(--space-2); }
.entry-title { font-size: 1.75rem; }
.entry-meta { color: var(--color-muted); font-size: 14px; margin-bottom: var(--space-2); }
.entry-footer { color: var(--color-muted); font-size: 14px; }

/*--------------------------------------------------------------
# Components — Comments
--------------------------------------------------------------*/
.comment-content a { word-wrap: break-word; }
.bypostauthor { display: block; }

/*--------------------------------------------------------------
# Components — Widgets
--------------------------------------------------------------*/
.widget { margin: 0 0 var(--space-3); }
.widget select { max-width: 100%; }
.widget-title { font-size: 1.0625rem; margin-bottom: 12px; }

/*--------------------------------------------------------------
# Components — Captions & Galleries
--------------------------------------------------------------*/
.wp-caption { margin-bottom: var(--space-2); max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; }
.wp-caption-text { text-align: center; }
.gallery { display: grid; grid-gap: var(--space-2); margin-bottom: var(--space-2); }
.gallery-item { display: inline-block; text-align: center; }
@for $i from 2 through 9 { .gallery-columns-#{$i} { grid-template-columns: repeat(#{$i}, 1fr); } }

/*--------------------------------------------------------------
# Plugins — Jetpack
--------------------------------------------------------------*/
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer { display: none; }
.infinity-end.neverending .site-footer { display: block; }

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
.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: var(--color-surface);
	border-radius: var(--radius-sm);
	box-shadow: 0 0 0 3px var(--color-primary);
	clip: auto !important;
	clip-path: none;
	color: var(--color-primary);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 14px 22px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus { outline: 0; }

.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: 0 auto var(--space-2); }

/*--------------------------------------------------------------
# Animations + Reduced motion
--------------------------------------------------------------*/
@keyframes wm-fade-up {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes wm-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

@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;
	}
}

/*--------------------------------------------------------------
# Responsive tuning
--------------------------------------------------------------*/
@media (max-width: 767px) {
	:root { --header-height: 64px; }
	.wm-section { padding: 56px 0; }
	.wm-hero { padding: 48px 0 32px; }
}
@media (min-width: 1440px) {
	.wm-container { max-width: 1280px; }
}
