/* ============================================================
   米老鼠 AI建站 · 品牌官网样式（home.html 专用，独立于产品站）
   蓝色渐变体系，响应式，无外部依赖
   ============================================================ */
:root {
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.h-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.h-nav-inner { display: flex; align-items: center; height: 64px; gap: 28px; }
.h-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--ink-900); }
.h-logo .h-logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .35);
}
.h-logo .h-reg { font-size: 10px; font-weight: 700; color: var(--blue-600); align-self: flex-start; margin-top: 2px; }
.h-nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--ink-700); }
.h-nav-links a { transition: color .15s; }
.h-nav-links a:hover { color: var(--blue-600); }
.h-nav-cta {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff !important; font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 10px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.h-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37, 99, 235, .4); }
.h-burger { display: none; margin-left: auto; background: none; border: none; font-size: 24px; color: var(--ink-900); cursor: pointer; }

/* ---------- Hero ---------- */
.h-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #eef5ff 0%, #ffffff 55%, #f0f7ff 100%);
  padding: 84px 0 92px;
}
.h-hero::before {
  content: ''; position: absolute; top: -180px; right: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .18), transparent 70%);
  pointer-events: none;
}
.h-hero-inner { position: relative; text-align: center; max-width: 820px; }
.h-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--blue-100);
  color: var(--blue-700); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.h-hero h1 {
  font-size: 46px; line-height: 1.25; font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 20px;
}
.h-hero h1 .h-grad {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h-hero p.h-sub { font-size: 18px; color: var(--ink-500); max-width: 620px; margin: 0 auto 34px; }
.h-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.h-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff !important; font-size: 16px; font-weight: 700;
  padding: 14px 32px; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .35);
  transition: transform .15s, box-shadow .15s;
}
.h-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 99, 235, .42); }
.h-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--line);
  color: var(--ink-700) !important; font-size: 16px; font-weight: 600;
  padding: 13px 28px; border-radius: 12px;
  transition: border-color .15s, color .15s;
}
.h-btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600) !important; }
.h-hero-tips { display: flex; gap: 26px; justify-content: center; margin-top: 30px; font-size: 13.5px; color: var(--ink-500); flex-wrap: wrap; }
.h-hero-tips span { display: inline-flex; align-items: center; gap: 6px; }

/* 浏览器窗口 mock */
.h-mock {
  max-width: 920px; margin: 58px auto 0;
  background: #fff; border-radius: 14px;
  box-shadow: 0 24px 70px rgba(30, 78, 216, .18);
  border: 1px solid var(--line);
  overflow: hidden; text-align: left;
}
.h-mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.h-mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.h-mock-bar i:nth-child(1) { background: #f87171; }
.h-mock-bar i:nth-child(2) { background: #fbbf24; }
.h-mock-bar i:nth-child(3) { background: #34d399; }
.h-mock-url {
  margin-left: 12px; flex: 1; font-size: 12px; color: var(--ink-500);
  background: #fff; border: 1px solid var(--line); border-radius: 7px;
  padding: 4px 12px;
}
.h-mock-body { padding: 34px 38px; }
.h-mock-body .h-mock-title { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.h-mock-body .h-mock-text { height: 10px; border-radius: 5px; background: #e2e8f0; margin-bottom: 9px; }
.h-mock-body .h-mock-text.w70 { width: 70%; }
.h-mock-body .h-mock-text.w50 { width: 50%; }
.h-mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.h-mock-cards .h-mock-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px;
}
.h-mock-card .h-mock-ic {
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--blue-100), #bfdbfe);
}
.h-mock-card .h-mock-l { height: 9px; border-radius: 5px; background: #e2e8f0; margin-bottom: 7px; }
.h-mock-card .h-mock-l.short { width: 60%; }

/* ---------- 通用区块 ---------- */
.h-section { padding: 88px 0; }
.h-section.alt { background: var(--bg-soft); }
.h-section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.h-section-head .h-kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--blue-600); margin-bottom: 12px;
}
.h-section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 14px; }
.h-section-head p { font-size: 16px; color: var(--ink-500); }

/* 能力卡片 */
.h-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h-feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.h-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.h-feature .h-ic {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.h-feature h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.h-feature p { font-size: 14px; color: var(--ink-500); }

/* 三步流程 */
.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.h-step { text-align: center; position: relative; }
.h-step-num {
  width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
}
.h-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.h-step p { font-size: 14px; color: var(--ink-500); max-width: 280px; margin: 0 auto; }
.h-step:not(:last-child)::after {
  content: '→'; position: absolute; top: 14px; right: -20px;
  color: var(--blue-500); font-size: 22px; font-weight: 700;
}

/* 场景 */
.h-scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.h-scene {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; font-size: 15px; font-weight: 600;
}
.h-scene .h-scene-ic { font-size: 26px; }

/* 案例 */
.h-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h-case {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; transition: transform .18s, box-shadow .18s;
}
.h-case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.h-case-cover { height: 170px; position: relative; display: flex; align-items: center; justify-content: center; font-size: 42px; }
.h-case-cover.c1 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.h-case-cover.c2 { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.h-case-cover.c3 { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.h-case-body { padding: 20px 22px; }
.h-case-body h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.h-case-body p { font-size: 13.5px; color: var(--ink-500); }
.h-case-body .h-case-tag {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600;
  color: var(--blue-700); background: var(--blue-50);
  padding: 3px 10px; border-radius: 999px;
}
.h-cases-note { text-align: center; margin-top: 30px; font-size: 14px; color: var(--ink-500); }
a.h-case { display: block; color: inherit; }
.h-case-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--blue-600);
}
a.h-case:hover .h-case-link { gap: 9px; }
.h-case-link, a.h-case:hover .h-case-link { transition: gap .18s; }
/* 定制服务引导条 */
.h-custom-band {
  margin: 44px auto 0; max-width: 760px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 28px; box-shadow: var(--shadow-sm);
}
.h-custom-band p { font-size: 15px; color: var(--ink-700); margin-bottom: 14px; }
.h-custom-band .h-custom-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 11px 26px; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(37,99,235,.6);
}
.h-custom-band .h-custom-btn:hover { transform: translateY(-2px); }

/* 关于 */
.h-about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.h-about h2 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.h-about p { font-size: 15px; color: var(--ink-700); margin-bottom: 16px; }
.h-about-certs { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.h-cert {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--ink-700);
}
/* 授权证书 */
.h-cert-figure { margin: 26px 0 0; max-width: 300px; }
.h-cert-figure a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background:#fff; }
.h-cert-figure img { display: block; width: 100%; height: auto; transition: transform .3s; }
.h-cert-figure a:hover img { transform: scale(1.02); }
.h-cert-figure figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: var(--ink-500); text-align: center; }
.h-about-card {
  background: linear-gradient(150deg, var(--blue-600), var(--blue-700));
  border-radius: 20px; padding: 40px 36px; color: #fff;
  box-shadow: 0 20px 50px rgba(29, 78, 216, .3);
}
.h-about-card .h-big { font-size: 40px; font-weight: 800; line-height: 1.2; }
.h-about-card .h-big small { font-size: 16px; font-weight: 600; opacity: .85; }
.h-about-card ul { list-style: none; margin-top: 24px; display: grid; gap: 12px; font-size: 14.5px; }
.h-about-card li { display: flex; gap: 9px; align-items: flex-start; }
.h-about-card li::before { content: '✓'; font-weight: 800; }

/* 联系 */
.h-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; text-align: center;
}
.h-contact-card .h-ic { font-size: 30px; margin-bottom: 14px; }
.h-contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.h-contact-card p { font-size: 15px; color: var(--blue-700); font-weight: 700; }
.h-contact-card p.muted { color: var(--ink-500); font-weight: 400; font-size: 13.5px; }

/* 底部 CTA */
.h-cta-band {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  border-radius: 24px; padding: 60px 40px; text-align: center; color: #fff;
}
.h-cta-band h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.h-cta-band p { font-size: 16px; opacity: .9; margin-bottom: 30px; }
.h-cta-band .h-btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue-700) !important;
  font-size: 16px; font-weight: 700; padding: 14px 34px; border-radius: 12px;
  transition: transform .15s;
}
.h-cta-band .h-btn-white:hover { transform: translateY(-2px); }

/* 页脚 */
.h-footer { background: #0b1220; color: #94a3b8; padding: 54px 0 30px; margin-top: 88px; }
.h-footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.h-footer-brand { max-width: 380px; }
.h-footer-brand .h-logo { color: #fff; margin-bottom: 14px; }
.h-footer-brand p { font-size: 13.5px; line-height: 1.8; }
.h-footer-links { display: flex; gap: 56px; }
.h-footer-links h4 { color: #e2e8f0; font-size: 14px; margin-bottom: 14px; }
.h-footer-links a { display: block; font-size: 13.5px; margin-bottom: 10px; transition: color .15s; }
.h-footer-links a:hover { color: #fff; }
.h-footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, .18);
  margin-top: 40px; padding-top: 22px;
  font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* 滚动显现 */
.h-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.h-reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .h-features, .h-steps, .h-scenes, .h-cases, .h-contact { grid-template-columns: repeat(2, 1fr); }
  .h-step:not(:last-child)::after { display: none; }
  .h-about { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .h-section { padding: 60px 0; }
  .h-hero { padding: 56px 0 64px; }
  .h-hero h1 { font-size: 31px; }
  .h-hero p.h-sub { font-size: 15.5px; }
  .h-section-head h2, .h-about h2 { font-size: 26px; }
  .h-features, .h-steps, .h-scenes, .h-cases, .h-contact { grid-template-columns: 1fr; }
  .h-mock-cards { grid-template-columns: 1fr; }
  .h-nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 20px 16px;
  }
  .h-nav-links.open { display: flex; }
  .h-nav-links a { padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
  .h-nav-cta { display: none; }
  .h-burger { display: block; }
  .h-cta-band { padding: 44px 22px; }
  .h-cta-band h2 { font-size: 25px; }
  .h-footer-links { gap: 32px; }
}
