/* 基础样式与主题配色 */
:root {
	--brand:#0B59F8;
	--brand-ink:#0A2A6B;
	--text:#0F172A;
	--subtle:#475569;
	--bg:#ffffff;
	--bg-alt:#F6F8FC;
	--card:#ffffff;
	--border:#E2E8F0;
	--shadow:0 8px 24px rgba(2, 6, 23, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
}
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

/* 头部导航 */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,0.8);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { text-decoration: none; color: var(--text); font-weight: 700; letter-spacing: 0.5px; }
.logo { display: inline-block; padding: 6px 10px; background: var(--brand); color: #fff; border-radius: 8px; }

.nav-toggle { display: none; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.menu a { text-decoration: none; color: var(--subtle); font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.menu a:hover { color: var(--brand); background: #EFF6FF; }

/* 首屏 */
.hero { padding: 120px 0 80px; background: radial-gradient(80% 60% at 50% 0%, #EEF2FF 0%, #FFFFFF 60%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 24px; }
.hero-title { font-size: 40px; line-height: 1.2; margin: 0 0 12px; color: var(--brand-ink); }
.hero-subtitle { font-size: 18px; color: var(--subtle); margin: 0 0 24px; }
.hero-cta { display: flex; gap: 12px; margin-bottom: 24px; }
.hero-highlights { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; padding: 0; margin: 12px 0 0; list-style: none; color: var(--subtle); }
.hero-illustration { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: transform .05s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { filter: brightness(1.03); }
.btn-ghost { background: #fff; color: var(--brand); border: 1px solid #D6E4FF; }
.btn-ghost:hover { background: #F8FAFF; }

/* 卡片与网格 */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.card, .feature { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.card h3, .feature h3 { margin-top: 0; margin-bottom: 8px; }
.card p, .feature p { margin: 0; color: var(--subtle); }

/* 案例区域 */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.case-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.case-item h3 { margin-top: 0; margin-bottom: 8px; }
.case-item p { margin: 0; color: var(--subtle); }

/* 联系区 */
.contact { text-align: center; }
.cta-actions { display: inline-flex; gap: 12px; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.site-footer nav a { color: var(--subtle); text-decoration: none; margin-left: 14px; }
.site-footer nav a:hover { color: var(--brand); }

/* 响应式 */
@media (max-width: 960px) {
	.grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.hero-title { font-size: 34px; }
	.hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.menu { display: none; position: absolute; right: 20px; top: 64px; flex-direction: column; background: #fff; padding: 12px; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
	.nav-toggle { display: inline-flex; height: 36px; padding: 0 12px; align-items: center; border-radius: 8px; border: 1px solid var(--border); background: #fff; }
	.hero { padding: 96px 0 64px; }
	.hero-highlights { grid-template-columns: 1fr; }
	.grid-3, .cases { grid-template-columns: 1fr; }
	.hero-illustration { display: none; }
}

/* 优化可访问性焦点样式 */
:focus-visible { outline: 2px solid #94B8FF; outline-offset: 2px; border-radius: 6px; }
