/* style.css — szmm.top 招商加盟官网（蓝白红黑简洁风） */
:root {
  --ink: #0f172a;        /* 蓝黑主色 */
  --ink-2: #1e293b;
  --blue: #1d4ed8;       /* 强调蓝 */
  --red: #dc2626;        /* 点缀红 */
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --line: #e2e8f0;
  --muted: #64748b;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }

/* ===== 顶部导航 ===== */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; }
.logo-mark { background: var(--red); color: #fff; padding: 2px 10px; border-radius: 6px; letter-spacing: 1px; }
.logo-text { color: #fff; letter-spacing: 2px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { color: #cbd5e1; padding: 8px 14px; border-radius: 6px; font-size: 15px; transition: .2s; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a.active { color: #fff; background: var(--blue); }
.header-hotline { font-size: 14px; color: #cbd5e1; }
.hotline-num { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .5px; }

/* ===== Hero ===== */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%); color: #fff; padding: 90px 0; text-align: center; }
.hero h1 { font-size: 42px; font-weight: 800; letter-spacing: 2px; margin-bottom: 16px; }
.hero-sub { font-size: 18px; color: #c7d2fe; margin-bottom: 32px; line-height: 1.9; }
.hero-actions { display: flex; gap: 16px; justify-content: center; }

/* ===== 按钮 ===== */
.btn { display: inline-block; padding: 12px 32px; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; border: none; transition: .2s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #b91c1c; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-lg { padding: 14px 44px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1e40af; }
.btn-danger { background: #fee2e2; color: var(--red); }
.btn-danger:hover { background: #fecaca; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 6px; }

/* ===== 区块 ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #fff; }
.section-title { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 40px; letter-spacing: 1px; }
.section-title.light { color: #fff; }
.sub-title { font-size: 22px; font-weight: 700; margin: 48px 0 24px; text-align: center; }
.page-hero { background: var(--ink); color: #fff; padding: 48px 0; text-align: center; }
.page-hero h1 { font-size: 30px; font-weight: 800; letter-spacing: 2px; }
.page-main { min-height: 60vh; }

/* ===== 卡片 ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: 0 1px 3px rgba(15,23,42,.06); transition: .2s; }
.card:hover { box-shadow: 0 8px 24px rgba(15,23,42,.1); transform: translateY(-2px); }
.card-num { font-size: 13px; color: var(--blue); font-weight: 700; margin-bottom: 8px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; }

/* ===== 特色列表 ===== */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; max-width: 820px; margin: 0 auto; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-dot { width: 10px; height: 10px; background: var(--red); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.feature h4 { font-size: 16px; margin-bottom: 2px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ===== 承诺 ===== */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 24px; text-align: center; }
.promise h4 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.promise p { color: #cbd5e1; font-size: 14px; }

/* ===== 价格 ===== */
.price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 720px; margin: 0 auto 40px; }
.price-card { background: var(--bg); border: 2px solid var(--line); border-radius: 12px; padding: 28px; text-align: center; transition: .2s; }
.price-card:hover { border-color: var(--blue); }
.price-card h4 { font-size: 16px; color: var(--muted); margin-bottom: 8px; }
.price { font-size: 30px; font-weight: 800; color: var(--red); }
.trial-box { background: var(--bg-alt); border-radius: 12px; padding: 32px; text-align: center; max-width: 720px; margin: 0 auto; }
.trial-box h3 { margin-bottom: 12px; }
.trial-box p { color: var(--muted); font-size: 15px; }
.trial-price { margin-top: 14px; font-size: 18px; color: var(--ink) !important; }
.trial-price b { color: var(--red); font-size: 24px; }

/* ===== 步骤 ===== */
.step-list { max-width: 640px; margin: 0 auto 40px; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.step:last-child { border-bottom: none; }
.step-num { width: 40px; height: 40px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.step h4 { font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; }
.cta-block { margin-top: 40px; }

/* ===== 新闻 ===== */
.news-list { display: flex; flex-direction: column; }
.news-list-item { display: flex; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); transition: .2s; }
.news-list-item:hover { padding-left: 8px; }
.news-date { color: var(--muted); font-size: 14px; flex-shrink: 0; width: 90px; }
.news-title { font-size: 16px; font-weight: 600; }
.home-news { display: flex; flex-direction: column; max-width: 720px; margin: 0 auto; }
.home-news-item { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.home-news-item:last-child { border-bottom: none; }
.news-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.news-content p { margin-bottom: 14px; }
.back-link { margin-top: 28px; }
.back-link a { color: var(--blue); }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ===== 联系我们 ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: 22px; margin-bottom: 8px; }
.contact-info > p { color: var(--muted); margin-bottom: 24px; }
.info-line { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.info-line .label { display: inline-block; width: 80px; color: var(--muted); }
.info-line a { color: var(--blue); font-weight: 700; }
.lead-form { background: var(--bg-alt); border-radius: 12px; padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--ink-2); }
.req { color: var(--red); }
.form-group input, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff; transition: .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.12); }
.form-tip { margin-top: 12px; font-size: 14px; text-align: center; }
.form-tip.ok { color: #16a34a; }
.form-tip.error { color: var(--red); }

/* ===== 页脚 ===== */
.site-footer { background: var(--ink); color: #94a3b8; padding: 36px 0; font-size: 14px; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; }
.footer-brand { color: #e2e8f0; font-weight: 600; }
.footer-icp { color: #64748b; font-size: 13px; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .card-grid, .card-grid.four, .promise-grid, .price-row { grid-template-columns: 1fr; }
  .feature-list, .contact-wrap { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hero h1 { font-size: 30px; }
}
