/* 海顿产品页 — 共用 CSS(其他 10 个产品页 @import 这个文件) */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --c-primary: #0F2F5C; --c-primary-2: #163E72;
  --c-accent: #1F70C1; --c-accent-h: #1860A8;
  --c-light: #EAF1F9; --c-light-2: #F5F7FA;
  --c-text: #1A2332; --c-text-mute: #5A6B82; --c-line: #E2E8F0;
  --c-success: #15803D; --c-success-bg: #DCFCE7;
  --c-warn: #B45309; --c-warn-bg: #FEF3C7;
  --c-mint: #6FE3B0; --c-gold: #D4A017;
  --shadow-md: 0 4px 16px rgba(15,47,92,0.08);
  --shadow-lg: 0 12px 40px rgba(15,47,92,0.15);
  --radius: 8px; --radius-lg: 14px;
}
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--c-text); line-height: 1.7; background: #fff; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 22px; font-weight: 800; color: var(--c-primary); text-decoration: none; }
.logo-tag { font-size: 12px; color: var(--c-text-mute); margin-left: 10px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-text-mute); margin-left: 24px; }
.crumb a { color: var(--c-accent); text-decoration: none; }
.crumb .sep { color: var(--c-line); }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: var(--radius); font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: all 0.18s; white-space: nowrap; }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-h); box-shadow: 0 6px 18px rgba(31,112,193,0.3); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--c-accent); border-color: var(--c-accent); }
.btn-secondary:hover { background: var(--c-accent); color: #fff; }
.btn-white { background: #fff; color: var(--c-primary); }
.btn-text { color: var(--c-text-mute); padding: 10px 12px; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }

/* Hero */
.hero { background: linear-gradient(135deg, #0F2F5C 0%, #163E72 50%, #1F70C1 100%); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px circle at 70% 30%, rgba(31,112,193,0.4) 0%, transparent 60%); pointer-events: none; }
.hero .container { position: relative; }
.hero-pin { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 16px; }
.hero-pin.main { background: var(--c-gold); color: #fff; }
.hero-pin.mature { background: var(--c-mint); color: var(--c-primary); }
.hero-pin.smart { background: linear-gradient(120deg, var(--c-mint), #fff); color: var(--c-primary); }
.hero h1 { font-size: 40px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.6px; max-width: 800px; }
.hero .tagline { font-size: 19px; color: rgba(255,255,255,0.92); margin-bottom: 14px; line-height: 1.5; max-width: 700px; }
.hero .body { font-size: 14.5px; color: rgba(255,255,255,0.75); line-height: 1.85; margin-bottom: 24px; max-width: 720px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctas .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero-ctas .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.hero-ctas .btn-text { color: rgba(255,255,255,0.85); }

/* Section */
.section { padding: 64px 0; }
.section-light { background: var(--c-light-2); }
.section-head { max-width: 800px; margin-bottom: 36px; }
.section-eyebrow { display: inline-block; color: var(--c-accent); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 28px; font-weight: 800; color: var(--c-primary); line-height: 1.3; letter-spacing: -0.3px; margin-bottom: 12px; }
.section-lead { font-size: 16px; color: var(--c-text-mute); line-height: 1.75; }

/* 痛点 grid */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 22px; }
.pain-card h3 { font-size: 16px; color: var(--c-primary); font-weight: 700; margin-bottom: 8px; }
.pain-card p { color: var(--c-text-mute); font-size: 14px; line-height: 1.7; }

/* 功能 grid */
.func-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.func-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 22px; transition: all 0.2s; }
.func-card:hover { border-color: var(--c-accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.func-card .ic { width: 36px; height: 36px; background: var(--c-light); color: var(--c-accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 18px; font-weight: 700; }
.func-card h4 { font-size: 15px; color: var(--c-primary); font-weight: 700; margin-bottom: 6px; }
.func-card p { font-size: 13.5px; color: var(--c-text-mute); line-height: 1.65; }

/* Scenes grid */
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scene-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; }
.scene-card h4 { font-size: 14px; color: var(--c-primary); font-weight: 700; margin-bottom: 4px; }
.scene-card p { font-size: 12.5px; color: var(--c-text-mute); line-height: 1.6; }

/* CTA strip */
.cta-strip { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%); color: #fff; border-radius: 14px; padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; margin: 28px 0; }
.cta-strip::after { content: ''; position: absolute; top: -80px; right: -80px; width: 250px; height: 250px; background: radial-gradient(circle, rgba(111,227,176,0.2) 0%, transparent 70%); }
.cta-strip h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; position: relative; }
.cta-strip p { font-size: 14px; color: rgba(255,255,255,0.85); position: relative; max-width: 700px; }
.cta-strip-btns { display: flex; flex-direction: column; gap: 10px; position: relative; }
.cta-strip-btns .btn-white { background: #fff; color: var(--c-primary); }
.cta-strip-btns .btn-white:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.25); transform: translateY(-2px); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px 22px; cursor: pointer; transition: all 0.2s; }
.faq-item:hover { border-color: var(--c-accent); }
.faq-item.open { border-color: var(--c-accent); box-shadow: var(--shadow-md); }
.faq-q { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--c-primary); font-weight: 700; }
.faq-q .ic { color: var(--c-accent); font-size: 17px; transition: transform 0.2s; }
.faq-item.open .ic { transform: rotate(45deg); }
.faq-a { font-size: 14px; color: var(--c-text-mute); line-height: 1.75; max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-item.open .faq-a { margin-top: 12px; max-height: 400px; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,47,92,0.6); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 24px; }
.modal-overlay.show { display: flex; }
.modal { background: #fff; border-radius: 14px; padding: 32px; max-width: 520px; width: 100%; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; }
.modal h3 { font-size: 20px; color: var(--c-primary); font-weight: 800; margin-bottom: 8px; }
.modal-sub { font-size: 14px; color: var(--c-text-mute); margin-bottom: 22px; line-height: 1.7; }
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-form label { font-size: 13px; color: var(--c-text); font-weight: 600; margin-bottom: 4px; display: block; }
.modal-form input, .modal-form select, .modal-form textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: 7px; font-size: 14px; font-family: inherit; }
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(31,112,193,0.15); }
.modal-form .upload-zone { border: 2px dashed var(--c-line); border-radius: 7px; padding: 20px; text-align: center; color: var(--c-text-mute); cursor: pointer; font-size: 13.5px; }
.modal-form .upload-zone:hover { border-color: var(--c-accent); background: var(--c-light); }
.modal-foot { margin-top: 20px; display: flex; gap: 10px; justify-content: flex-end; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--c-text-mute); font-size: 22px; float: right; line-height: 1; }
.modal-privacy { font-size: 12px; color: var(--c-text-mute); margin-top: 12px; line-height: 1.6; }

/* Footer */
.footer { background: #0A1F3D; color: rgba(255,255,255,0.65); padding: 36px 0 18px; }
.footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer h3 { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.footer p { font-size: 13px; line-height: 1.6; }
.footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer .meta { font-size: 12px; color: rgba(255,255,255,0.4); }

@media (max-width: 980px) {
  .header-inner .crumb { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 26px; }
  .hero .tagline { font-size: 15px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 22px; }
  .pain-grid, .func-grid, .scene-grid { grid-template-columns: 1fr; }
  .func-grid { grid-template-columns: 1fr 1fr; }
  .cta-strip { grid-template-columns: 1fr; padding: 24px; }
  .footer .container { flex-direction: column; text-align: center; }
}
