/* ==========================================================================
   LINE官网 — 即时通讯应用工具
   主色：LINE 品牌绿 #06c755，亮色底 + 聊天气泡元素
   ========================================================================== */

:root {
  --primary: #06c755;
  --primary-dark: #05b04a;
  --primary-darker: #04923d;
  --primary-light: #e6f9ee;
  --primary-border: #b7f0cf;
  --accent: #06c755;
  --accent-light: #eef8ea;
  --bg: #f4f6f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --title: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --radius: 16px;
  --shadow: 0 2px 12px rgba(15,23,42,.06);
  --shadow-lg: 0 12px 32px rgba(6,199,85,.18);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--body); font-size: 16px; line-height: 1.7;
}
a { color: var(--primary-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-darker); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 26px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--title); }
.logo img, .f-logo img { flex: none; border-radius: 8px; }
.logo em { font-style: normal; color: var(--primary-dark); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 7px 14px; border-radius: 8px; color: var(--body); font-size: 15px; font-weight: 500; }
.nav-links a:hover { background: var(--primary-light); color: var(--primary-darker); }
.nav-links a.active { color: var(--primary-dark); background: var(--primary-light); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-login { color: var(--body); font-size: 15px; font-weight: 500; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; border: 1px solid transparent; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(6,199,85,.32); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--primary-dark); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary-darker); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Hero（单栏居中） ---------- */
.hero { background: linear-gradient(180deg, #e6f9ee 0%, var(--bg) 100%); padding: 80px 0 70px; }
.hero-inner { text-align: center; }
.hero-content { max-width: 640px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block; padding: 6px 16px; background: #fff; border: 1px solid var(--primary-border);
  border-radius: 999px; color: var(--primary-dark); font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 52px; line-height: 1.2; color: var(--title); font-weight: 800; letter-spacing: -1px; }
.hero h1 .hl { color: var(--primary-dark); }
.hero-lead { margin-top: 16px; font-size: 22px; color: var(--title); font-weight: 600; }
.hero-copy { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ---------- 通用标题 ---------- */
.sec-h2 { font-size: 30px; font-weight: 800; color: var(--title); text-align: center; }
.sec-lead { margin-top: 12px; text-align: center; color: var(--muted); font-size: 16px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- 数据列表 stat-list ---------- */
.stat-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.stat-item dt { font-size: 18px; font-weight: 700; color: var(--title); }
.stat-item dd { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- split 图文 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.image-frame { border-radius: var(--radius); overflow: hidden; }
.image-frame img { width: 100%; height: auto; display: block; }
.image-frame.crop img { aspect-ratio: 16/10; object-fit: cover; }
.image-frame.contain img { aspect-ratio: 16/10; object-fit: contain; }

/* ---------- life-cards 3色卡 ---------- */
.life-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.life-card { border-radius: var(--radius); padding: 26px; }
.life-card h3 { font-size: 18px; margin-bottom: 8px; }
.life-card p { font-size: 14px; line-height: 1.7; }
.life-card.green { background: #e6f9ee; }
.life-card.green h3 { color: #04923d; }
.life-card.gray { background: #f1f5f9; }
.life-card.gray h3 { color: #334155; }
.life-card.yellow { background: #fff7e0; }
.life-card.yellow h3 { color: #b45309; }

/* ---------- communication-grid 6卡带图 ---------- */
.communication-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.communication-item { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all .25s; }
.communication-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.communication-visual { background: #f4f6f9; }
.communication-visual img { width: 100%; height: auto; display: block; }
.communication-item h3 { font-size: 17px; color: var(--title); padding: 16px 20px 6px; }
.communication-item p { font-size: 13px; color: var(--muted); padding: 0 20px 20px; }

/* ---------- story-grid 2卡 ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.story-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.story-copy h3 { font-size: 20px; color: var(--title); margin-bottom: 8px; }
.story-copy p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- service-grid 8卡 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 18px; transition: all .2s; }
.service-card:hover { border-color: var(--primary-border); box-shadow: var(--shadow); }
.service-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 16px; }
.service-card h3 { font-size: 15px; color: var(--title); margin-bottom: 6px; }
.service-card p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---------- store-row 下载按钮 ---------- */
.store-row { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ---------- 通用 section ---------- */
.section { padding: 60px 0; }
.section.soft { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 30px; font-weight: 800; color: var(--title); }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.sec-head.left { text-align: left; margin-left: 0; }

/* 手机聊天界面 mockup */
.phone-mock {
  width: 240px; margin: 0 auto; background: #fff; border: 10px solid #1a1a1a;
  border-radius: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.18); overflow: hidden;
}
.phone-mock .pm-status { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: 11px; color: var(--body); background: #fafafa; border-bottom: 1px solid var(--border); }
.phone-mock .pm-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.phone-mock .pm-head .av { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }
.phone-mock .pm-head .nm { font-weight: 700; font-size: 14px; color: var(--title); }
.phone-mock .pm-head .st { font-size: 11px; color: var(--muted); }
.phone-mock .pm-body { padding: 14px 12px; background: #f4f6f9; min-height: 220px; }
.pm-msg { max-width: 80%; padding: 8px 12px; border-radius: 14px; font-size: 12px; margin-bottom: 10px; line-height: 1.5; position: relative; }
.pm-msg.in { background: #fff; color: var(--body); border-top-left-radius: 3px; }
.pm-msg.out { background: var(--primary); color: #fff; margin-left: auto; border-top-right-radius: 3px; }
.pm-msg .t { font-size: 10px; opacity: .55; margin-top: 3px; display: block; text-align: right; }
.pm-msg .lock { margin-right: 3px; }

/* ---------- 通用 section ---------- */
.section { padding: 60px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 30px; font-weight: 800; color: var(--title); }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.sec-head.left { text-align: left; margin-left: 0; }

/* ---------- 功能卡 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: all .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-border); }
.feature-card .ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--primary-light); margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; color: var(--title); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* ---------- 带手机截图的富媒体卡 ---------- */
.shot-card { overflow: hidden; padding: 0; }
.shot-card .shot {
  height: 200px; background: #f4f6f9; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}
.shot-card .shot .mini-phone {
  width: 110px; height: 190px; background: #fff; border: 4px solid #1a1a1a; border-radius: 16px;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.mini-phone .mp-head { padding: 6px 8px; border-bottom: 1px solid var(--border); font-size: 9px; display: flex; align-items: center; gap: 5px; }
.mini-phone .mp-head .a { width: 16px; height: 16px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 8px; flex: none; }
.mini-phone .mp-body { padding: 8px 6px; background: #f4f6f9; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mp-msg { max-width: 82%; padding: 4px 7px; border-radius: 8px; font-size: 8px; line-height: 1.4; }
.mp-msg.in { background: #fff; color: #334155; border-top-left-radius: 2px; }
.mp-msg.out { background: var(--primary); color: #fff; margin-left: auto; border-top-right-radius: 2px; }
.mp-row { display: flex; align-items: center; gap: 4px; font-size: 8px; color: #334155; background: #fff; border-radius: 6px; padding: 4px 6px; }
.mp-row .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 7px; flex: none; }
.shot-card .shot-info { padding: 16px 20px; }
.shot-card .shot-info h3 { font-size: 16px; color: var(--title); margin-bottom: 6px; }
.shot-card .shot-info p { font-size: 13px; color: var(--muted); }

/* ---------- 4列卡片（参考站服务总览） ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-4 .feature-card { padding: 20px; }
.grid-4 .feature-card h3 { font-size: 16px; }
.grid-4 .feature-card p { font-size: 13px; }

/* ---------- 6卡网格（2行3列，参考站加密通讯） ---------- */
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- 下载矩阵 ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dl-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-align: center; transition: all .25s;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-border); }
.dl-card .ic { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; }
.dl-card h3 { font-size: 17px; color: var(--title); }
.dl-card p { font-size: 13px; color: var(--muted); margin: 8px 0 16px; }
.dl-card .badge { display: inline-block; font-size: 12px; color: var(--primary-dark); background: var(--primary-light); padding: 3px 10px; border-radius: 99px; margin-bottom: 14px; }

/* ---------- 左右交替图文（参考站布局） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-text h2 { font-size: 28px; font-weight: 800; color: var(--title); margin-bottom: 14px; }
.split-text p { font-size: 16px; color: var(--muted); line-height: 1.8; }
.split-text .split-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--primary-dark); font-weight: 600; font-size: 15px; }
.split-text .split-more::after { content: "→"; }
.split-visual { background: var(--primary-light); border-radius: 20px; min-height: 260px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.split-visual .phone {
  width: 150px; height: 280px; background: #fff; border: 6px solid #d8e8cd; border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.split-visual .phone .p-av { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.split-visual .phone .p-bubble { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font-size: 12px; color: var(--body); width: 80%; text-align: center; }
.split-visual .phone .p-bubble.green { background: var(--primary); color: #fff; border: none; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { display: flex; gap: 16px; }
.step .idx { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 17px; color: var(--title); }
.step p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- 场景卡 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.scene-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; align-items: flex-start; }
.scene-card .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; }
.scene-card h3 { font-size: 17px; color: var(--title); }
.scene-card p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- 订阅套餐 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px;
  display: flex; flex-direction: column; position: relative; transition: all .25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.hot { border: 2px solid var(--primary); box-shadow: 0 10px 30px rgba(66,197,6,.14); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 99px; }
.plan h3 { font-size: 18px; color: var(--title); }
.plan .price { margin: 16px 0 4px; font-size: 40px; font-weight: 800; color: var(--title); line-height: 1; }
.plan .price small { font-size: 15px; color: var(--muted); }
.plan .price-unit { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; margin: 22px 0 26px; flex: 1; }
.plan ul li { padding: 8px 0; font-size: 14px; color: var(--body); display: flex; gap: 9px; align-items: flex-start; }
.plan ul li::before { content: "✓"; color: var(--primary-dark); font-weight: 700; flex: none; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-item details summary { padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--title); font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary::after { content: "+"; font-size: 22px; color: var(--primary-dark); font-weight: 400; }
.faq-item details[open] summary::after { content: "−"; }
.faq-item details .faq-a { padding: 0 22px 20px; font-size: 15px; color: var(--body); }

/* ---------- 正文 SEO 段 ---------- */
.seo-content { font-size: 15px; color: var(--body); text-align: justify; }
.seo-content p { margin-bottom: 14px; text-indent: 2em; }
.seo-content h2, .seo-content h3 { text-indent: 0; color: var(--title); margin: 22px 0 12px; }
.seo-content strong { color: var(--primary-darker); }

/* ---------- 文章页 ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article-meta { color: var(--muted); font-size: 13px; margin: 14px 0 26px; display: flex; gap: 16px; flex-wrap: wrap; }
.article h2 { font-size: 22px; color: var(--title); margin: 28px 0 12px; }
.article h3 { font-size: 18px; color: var(--title); margin: 22px 0 10px; }
.article p { margin-bottom: 14px; text-align: justify; }
.article ul, .article ol { margin: 0 0 16px 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--primary-darker); }
.article .tip { background: var(--primary-light); border-left: 4px solid var(--primary); padding: 16px 18px; border-radius: 8px; margin: 18px 0; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb span { margin: 0 6px; color: var(--border); }

/* ---------- 页脚 ---------- */
.site-footer { background: #04923d; color: #b7f0cf; padding: 54px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-col .f-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.footer-col .f-logo img { border-radius: 8px; }
.footer-col p { font-size: 13px; color: #7fd9a6; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; color: #7fd9a6; font-size: 13px; padding: 5px 0; }
.footer-col a:hover { color: #06c755; }
.footer-bottom { border-top: 1px solid #06c755; margin-top: 40px; padding: 20px 0; font-size: 12px; color: #4aa878; text-align: center; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 90px 0 70px; }
.error-404 .code { font-size: 100px; font-weight: 800; color: var(--primary); line-height: 1; }
.error-404 h1 { font-size: 26px; color: var(--title); margin: 18px 0 10px; }
.error-404 p { color: var(--muted); margin-bottom: 28px; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .nav { gap: 14px; flex-wrap: wrap; height: auto; padding: 12px 0; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; gap: 2px; }
  .nav-links a { white-space: nowrap; }
  .hero { padding: 48px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 34px; }
  .feature-grid, .grid-4, .grid-6, .dl-grid, .plan-grid, .steps { grid-template-columns: 1fr 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec-head h2, .sec-h2 { font-size: 25px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse { direction: ltr; }
  .communication-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .life-cards { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .feature-grid, .grid-4, .grid-6, .dl-grid, .plan-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .communication-grid, .service-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 13px 22px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  body { font-size: 15px; }
}
