:root {
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', -apple-system, sans-serif; }
body { background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
.admin-page-bg { background-color: #f1f5f9; min-height: 100vh; }

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 3rem; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.logo { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-badge { background: var(--primary); color: white; padding: 2px 6px; border-radius: 4px; font-size: 0.75rem; }
.logo-sub { color: var(--primary); font-weight: 600; }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }

.lang-select { padding: 0.4rem 0.6rem; border: 1px solid var(--border); border-radius: 6px; background: white; font-size: 0.85rem; outline: none; cursor: pointer; }

/* Hero */
.hero { text-align: center; padding: 4.5rem 2rem 3.5rem; max-width: 850px; margin: 0 auto; }
.hero-badge { display: inline-block; background: #eff6ff; color: var(--primary); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.8rem; }
.text-gradient { background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.8rem; }
.hero-btns { display: flex; justify-content: center; gap: 1rem; }

/* 通用按钮 */
.btn-primary { background: var(--primary); color: white; border: none; padding: 0.7rem 1.2rem; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; transition: 0.2s; text-align: center; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: white; color: var(--text-main); border: 1px solid var(--border); padding: 0.7rem 1.2rem; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; transition: 0.2s; text-align: center; }
.btn-secondary:hover { background: #f1f5f9; }

/* 布局结构 */
.container { max-width: 1200px; margin: 0 auto; padding: 3.5rem 2rem; }
.bg-light { background: #ffffff; border: 1px solid var(--border); border-radius: 12px; }
.section-title { text-align: center; margin-bottom: 2rem; }
.section-title h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.4rem; }
.section-title p { color: var(--text-muted); font-size: 0.95rem; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }

.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform 0.2s; }
.card:hover { transform: translateY(-3px); }
.card-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }

/* 业务员卡片 */
.sales-card { text-align: center; padding: 1.2rem 1rem; }
.sales-avatar { width: 48px; height: 48px; background: #2563eb; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 0.8rem; }
.sales-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.2rem; }
.sales-card .role { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem; }
.sales-btns { display: flex; flex-direction: column; gap: 0.5rem; }
.btn-wa { background: #25D366; color: white; border: none; padding: 0.4rem 0.6rem; border-radius: 4px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.btn-email { background: #f1f5f9; color: var(--text-main); border: 1px solid var(--border); padding: 0.4rem 0.6rem; border-radius: 4px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }

/* 表单与留言板 */
.form-box { max-width: 650px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; box-shadow: var(--shadow-md); }
.form-box-sm { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
.form-row { display: flex; gap: 1rem; }
.form-group { flex: 1; margin-bottom: 1.2rem; display: flex; flex-direction: column; }
.form-group label { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select { padding: 0.65rem; border: 1px solid var(--border); border-radius: 6px; font-size: 0.9rem; outline: none; }
.full-width { width: 100%; }
.form-result { margin-top: 1rem; font-size: 0.85rem; font-weight: 600; text-align: center; }

.message-board-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; }
.message-list { display: flex; flex-direction: column; gap: 0.8rem; max-height: 400px; overflow-y: auto; margin-top: 1rem; }
.msg-item { background: #f8fafc; border: 1px solid var(--border); padding: 0.8rem 1rem; border-radius: 6px; }
.msg-item .msg-user { font-weight: 700; font-size: 0.85rem; color: var(--primary); margin-bottom: 0.3rem; }
.msg-item .msg-content { font-size: 0.9rem; color: var(--text-main); }

/* 关于我们 + 视频区 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.about-text p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.8rem; line-height: 1.7; }
.about-video-box h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.video-wrapper video { width: 100%; border-radius: 8px; border: 1px solid var(--border); background: #000; }

/* 友情链接 */
.friend-links-section { border-top: 1px dashed var(--border); margin-top: 3rem; background: #ffffff; }
.friend-links-container { padding: 1.2rem 2rem; display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.friend-links-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.friend-links-container a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color 0.2s; }
.friend-links-container a:hover { color: var(--primary); }
.link-divider { color: var(--border); font-size: 0.8rem; }

.style-hidden { display: none; }
.admin-actions-vertical { display: flex; flex-direction: column; margin-top: 1.5rem; }

footer { text-align: center; padding: 2rem; color: var(--text-muted); font-size: 0.8rem; border-top: 1px solid var(--border); background: white; }
