/* ============================================================
   轻舟助手 · 官方网站样式
   蓝白配色 · 金色点缀
   ============================================================ */

:root {
  --blue-500: #1474FA;
  --blue-600: #0C67EC;
  --blue-700: #0762E4;
  --sky-300: #7CC4FF;
  --sky-400: #5BC1FE;
  --navy-900: #08336A;
  --navy-700: #2E5C8E;
  --ink: #0F2C4C;
  --ink-soft: #5A7087;
  --gold-300: #FEC44E;
  --gold-400: #FFAA3A;
  --bg: #FFFFFF;
  --bg-soft: #F5FAFF;
  --bg-blue: #EFF7FF;
  --line: #E3EDF8;
  --grad: linear-gradient(135deg, #5BC1FE 0%, #1474FA 48%, #0C67EC 100%);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(12, 103, 236, .08);
  --shadow-md: 0 14px 36px rgba(12, 103, 236, .12);
  --shadow-lg: 0 26px 64px rgba(12, 103, 236, .18);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(12, 103, 236, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(12, 103, 236, .42); }
.btn-ghost { background: #fff; color: var(--blue-600); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue-600); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue-700); box-shadow: 0 10px 28px rgba(4, 40, 90, .22); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(4, 40, 90, .3); }
.btn-lg { padding: 14px 30px; font-size: 17px; }
.btn-sm { padding: 9px 20px; font-size: 15px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--navy-700); transition: color .15s ease; position: relative; }
.nav a:hover { color: var(--blue-600); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #EAF4FF 0%, #F7FBFF 55%, #FFFFFF 100%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: #fff; color: var(--blue-700); font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.hero-title { font-size: 54px; line-height: 1.18; font-weight: 800; color: var(--navy-900); margin: 22px 0 20px; letter-spacing: -.5px; }
.hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 500px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--navy-700); font-weight: 500; }
.hero-points .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(12, 103, 236, .1); }

.hero-visual { position: relative; z-index: 1; }
.hero-glow { position: absolute; inset: -8% -12%; background: radial-gradient(closest-side, rgba(92, 193, 254, .55), rgba(92, 193, 254, 0) 72%); filter: blur(10px); z-index: 0; }
.mockup { position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 14px 14px 0; border: 1px solid var(--line); }
.mockup-bar { display: flex; gap: 7px; padding: 6px 4px 12px; }
.mockup-bar span { width: 12px; height: 12px; border-radius: 50%; }
.mockup-bar span:nth-child(1) { background: #FF6B6B; }
.mockup-bar span:nth-child(2) { background: #FFC24B; }
.mockup-bar span:nth-child(3) { background: #4CD07D; }
.mockup img { width: 100%; height: auto; border-radius: 12px 12px 0 0; border: 1px solid var(--line); border-bottom: none; }
.hero-mark { position: absolute; right: -26px; top: -26px; width: 84px; height: 84px; z-index: 2; filter: drop-shadow(0 10px 22px rgba(12, 103, 236, .28)); animation: float 5s ease-in-out infinite; }
.hero-star { position: absolute; left: -20px; bottom: 26px; width: 34px; height: 34px; z-index: 2; background: var(--gold-400); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation: float 6s ease-in-out infinite reverse; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 区块通用 ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--blue-600); background: var(--bg-blue); padding: 6px 16px; border-radius: 999px; margin-bottom: 16px; }
.section-head h2 { font-size: 36px; font-weight: 800; color: var(--navy-900); letter-spacing: -.3px; margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--ink-soft); }

/* ---------- 痛点 ---------- */
.pain { background: #fff; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pain-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pain-emoji { font-size: 34px; display: block; margin-bottom: 16px; }
.pain-card h3 { font-size: 19px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.pain-card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- 产品介绍 ---------- */
.intro { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { text-align: center; padding: 34px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pillar-icon { font-size: 38px; display: block; margin-bottom: 16px; }
.pillar h3 { font-size: 20px; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--ink-soft); }

/* ---------- 功能 ---------- */
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(12, 103, 236, .25); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--bg-blue), #E0F0FF); color: var(--blue-600);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 19px; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- 界面展示 ---------- */
.screenshots { background: linear-gradient(180deg, #fff 0%, var(--bg-blue) 100%); }
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot { cursor: zoom-in; }
.shot img {
  width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.shot:hover img { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shot figcaption { text-align: center; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--navy-700); }

/* ---------- 使用流程 ---------- */
.how { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 38px 28px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: 24px; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(12, 103, 236, .3);
}
.step h3 { font-size: 19px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); }

/* ---------- 下载应用 ---------- */
.download { background: #fff; }
.download-panel {
  max-width: 720px; margin: 0 auto; text-align: center; padding: 54px 36px;
  background: linear-gradient(180deg, #F3F9FF 0%, #FFFFFF 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.download-mark { width: 84px; height: 84px; margin: 0 auto 24px; filter: drop-shadow(0 10px 22px rgba(12, 103, 236, .22)); }
.download-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 22px; }
.download-btn svg { width: 20px; height: 20px; }
.download-btn.is-disabled { opacity: .55; cursor: not-allowed; }
.download-btn.is-disabled:hover { transform: none; box-shadow: none; border-color: var(--line); }
.download-meta { font-size: 15px; color: var(--ink-soft); }

/* ---------- 为什么选择 ---------- */
.why { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.why-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-container { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .2s ease; }
.faq-item.open { border-color: rgba(12, 103, 236, .3); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 17px; font-weight: 600; color: var(--navy-900); text-align: left;
}
.faq-icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--blue-600); border-radius: 2px; top: 50%; left: 50%; transition: transform .25s ease; }
.faq-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; font-size: 15.5px; color: var(--ink-soft); }

/* ---------- 联系我们 ---------- */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 720px; margin: 0 auto; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; text-align: center; }
.qr-box {
  width: 190px; height: 190px; margin: 0 auto 20px; border-radius: 14px; background: #fff;
  border: 1.5px dashed var(--sky-300); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ink-soft);
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.qr-icon { width: 64px; height: 64px; color: var(--sky-400); }
.qr-hint { font-size: 13px; color: var(--ink-soft); }
.contact-card h3 { font-size: 19px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.contact-card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- 结尾 CTA ---------- */
.cta { background: #fff; padding-bottom: 100px; }
.cta-panel {
  position: relative; overflow: hidden; text-align: center; padding: 72px 32px; border-radius: var(--radius-lg);
  background: var(--grad); color: #fff; box-shadow: var(--shadow-lg);
}
.cta-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side at 70% 0%, rgba(255,255,255,.22), transparent 60%); }
.cta-mark { width: 76px; height: 76px; margin: 0 auto 22px; position: relative; filter: drop-shadow(0 8px 18px rgba(4, 40, 90, .3)); }
.cta-panel h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; position: relative; }
.cta-panel p { font-size: 18px; opacity: .94; margin-bottom: 30px; position: relative; }
.cta-panel .btn { position: relative; }

/* ---------- 页脚 ---------- */
.site-footer { background: #07234D; color: #BFD4EC; padding: 56px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.footer-logo { height: 44px; width: auto; margin: 0 auto 16px; }
.footer-brand p { font-size: 15px; opacity: .8; }
.footer-meta { font-size: 14px; opacity: .7; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; width: 100%; }
.footer-meta a { color: inherit; text-decoration: underline; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6, 24, 51, .88);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; gap: 16px;
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 92vw; max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff; }
.lightbox-caption { color: #EAF3FF; font-size: 16px; font-weight: 600; }
.lightbox-close {
  position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }

/* ---------- 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 72px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-visual { max-width: 640px; margin: 0 auto; }
  .hero-mark { right: -12px; top: -18px; width: 66px; height: 66px; }
  .pain-grid, .feature-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars, .steps, .shot-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 30px; }
  .hero-title { font-size: 42px; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .nav {
    position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 8px 20px 16px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .pain-grid, .feature-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .btn-lg { padding: 13px 26px; font-size: 16px; }
  .cta-panel h2 { font-size: 27px; }
  .hero-mark { display: none; }
}
