/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
	--bg: #0b1020;
	--panel: #11162b;
	--text: #e8ecf1;
	--muted: #a8b0bc;
	--primary: #4f8cff;
	--primary-600: #3a6fda;
	--accent: #14d6c4;
	--ring: rgba(79,140,255,0.35);
	--radius: 12px;
	--shadow: 0 10px 30px rgba(0,0,0,0.35);
}
:root.theme-amber {
	--bg: #111827;
	--panel: #0d1220;
	--text: #f1f5f9;
	--muted: #b6c0cd;
	--primary: #f59e0b;
	--primary-600: #d97706;
	--accent: #fbbf24;
	--ring: rgba(245,158,11,0.35);
}
:root.theme-green {
	--bg: #0c1410;
	--panel: #0e1b14;
	--text: #e6f4ee;
	--muted: #a9c4b7;
	--primary: #34d399;
	--primary-600: #059669;
	--accent: #22d3ee;
	--ring: rgba(52,211,153,0.35);
}
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans', 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif; color: var(--text); background: linear-gradient(180deg, #0a0f1e 0%, #0e1430 100%); line-height: 1.6; }
img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: var(--text); text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(8, 12, 28, 0.8); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 28px; height: 28px; }
.brand { font-weight: 700; letter-spacing: 0.2px; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 8px; color: var(--text); }
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--text); margin: 3px 0; border-radius: 2px; }
.nav-menu { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.nav-menu a { padding: 8px 10px; border-radius: 8px; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.nav-menu a:hover { background: rgba(255,255,255,0.06); }
.nav-menu a.active { color: var(--primary); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 3px var(--ring) inset; }
.lang-switch { display: inline-flex; gap: 8px; }
.lang-btn { padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.14); background: transparent; color: var(--text); cursor: pointer; }
.lang-btn.active { background: rgba(255,255,255,0.08); border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }

/* Right dot nav */
.dot-nav { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.dot-nav .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.35); border: 2px solid rgba(255,255,255,0.7); display: inline-block; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dot-nav .dot:hover { transform: scale(1.15); }
.dot-nav .dot.active { background: var(--primary); transform: scale(1.35); box-shadow: 0 0 0 5px var(--ring); border-color: var(--primary-600); }
@media (max-width: 960px) { .dot-nav { display: none; } }

/* Theme dock */
.theme-dock { position: fixed; right: 12px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; padding: 8px; background: rgba(8,12,28,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; z-index: 95; backdrop-filter: blur(6px); }
.swatch { width: 24px; height: 24px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.2); cursor: pointer; }
.swatch[data-theme="blue"] { background: linear-gradient(135deg, #4f8cff, #14d6c4); }
.swatch[data-theme="amber"] { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.swatch[data-theme="green"] { background: linear-gradient(135deg, #34d399, #22d3ee); }
.swatch.active { box-shadow: 0 0 0 3px var(--ring); border-color: var(--primary-600); }

/* Hero */
.hero { padding: 64px 0 32px; background: radial-gradient(1200px 400px at 20% -10%, rgba(79,140,255,0.18), transparent 60%), radial-gradient(1200px 400px at 80% -10%, rgba(20,214,196,0.16), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
/* min-height: 110vh; display: flex; align-items: center; */
.hero-text h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; margin: 0 0 10px; }
.lead { color: var(--muted); margin: 0 0 20px; }
.hero-cta { display: flex; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.16); transition: all .2s ease; }
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--accent)); border: none; color: #0b1020; font-weight: 700; }
.btn.outline { background: transparent; color: var(--text); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)); }
.section-title { font-size: 24px; margin: 0 0 10px; }
.section-desc { color: var(--muted); margin: 0 0 22px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--panel); padding: 18px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.06); box-shadow: var(--shadow); }
.feature-card h3 { margin: 0 0 6px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline { border-left: 2px solid rgba(255,255,255,0.12); padding-left: 22px; }
.timeline-item { position: relative; padding: 8px 0 16px; display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: start; }
.timeline-item::before { content: ""; position: absolute; left: -28px; top: 14px; width: 10px; height: 10px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 3px var(--ring); }
.timeline .time { font-weight: 700; margin-bottom: 0; }
.timeline .content { color: var(--muted); }
.timeline .content h3 { margin-top: 0; }
.timeline .media { margin-top: 8px; }
.timeline .media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.timeline .media-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.06); box-shadow: var(--shadow); }
@media (max-width: 680px) {
	.timeline .media-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-body { padding: 14px 16px; }
.card-body h3 { margin: 0 0 6px; font-size: 18px; }
.card-body p { margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 14px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.promo { background: linear-gradient(135deg, rgba(79,140,255,0.12), rgba(20,214,196,0.12)); border: 1px solid rgba(255,255,255,0.14); padding: 12px; border-radius: 10px; }
.wechat-qr { margin-top: 16px; background: var(--panel); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 12px; }
.wechat-qr h3 { margin: 0 0 8px; font-size: 16px; }
.wechat-qr .muted { color: var(--muted); margin-top: 8px; }
.map { color: var(--muted); margin-top: 20px; }
.map iframe { width: 100%; min-height: 500px; border: 0; border-radius: var(--radius); }

/* Footer */
.site-footer { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(8, 12, 28, 0.7); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-legal { padding: 8px 0 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal .sep { opacity: 0.6; }

/* Responsive */
@media (max-width: 960px) {
	.hero-inner { grid-template-columns: 1fr; }
	.features { grid-template-columns: 1fr 1fr; }
	.card-grid { grid-template-columns: 1fr 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.timeline-item { grid-template-columns: 56px 1fr; }
}
@media (max-width: 680px) {
	.nav-toggle { display: inline-block; }
	.nav-menu { position: absolute; right: 4%; top: 56px; flex-direction: column; background: rgba(8,12,28,0.95); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 8px; display: none; }
	.nav-menu.open { display: flex; }
	.features { grid-template-columns: 1fr; }
	.card-grid { grid-template-columns: 1fr; }
} 