/* ===========================================================
   RakutenOps 官网（轻量静态站）— 统一样式表
   站点根：D:\Website\RakutenOps\src\public
   =========================================================== */

:root {
  --brand: #1f5eff;
  --brand-dark: #0b3bc4;
  --brand-soft: #eaf1ff;
  --ink: #0e1729;
  --body: #3d4c63;
  --muted: #7d8aa0;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e5eaf3;
  --ok: #0aa06e;
  --ok-soft: #e7f7f1;
  --no: #b0472f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 26px rgba(15, 23, 41, .07);
  --shadow-lg: 0 14px 44px rgba(15, 23, 41, .12);
  --max: 1160px;
  --nav-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 2.6rem; letter-spacing: -.5px; }
h2 { font-size: 1.9rem; letter-spacing: -.3px; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 22px;
  height: var(--nav-h); display: flex; align-items: center; gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #4a8bff);
  color: #fff; display: grid; place-items: center;
  font-size: .82rem; font-weight: 800; letter-spacing: -.5px;
}
.logo-sub { color: var(--muted); font-weight: 500; font-size: .8rem; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--body); font-size: .92rem; padding: 7px 11px; border-radius: 8px;
}
.nav-links a:hover { background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.burger {
  display: none; margin-left: auto; width: 38px; height: 34px;
  border: 1px solid var(--line); background: #fff; border-radius: 9px;
  font-size: 1rem; color: var(--ink); cursor: pointer;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-size: .95rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(31, 94, 255, .28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d5ea; background: #fbfcff; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 78px 0; }
.section.alt { background: #fff; }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--brand);
  background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.lead { font-size: 1.06rem; color: var(--body); }

/* ---------------- Hero ---------------- */
.hero {
  padding: 72px 0 62px;
  background:
    radial-gradient(1100px 420px at 12% -8%, #e6efff 0%, rgba(230, 239, 255, 0) 62%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hero h1 { font-size: 2.85rem; margin-bottom: .45em; }
.hero-sub { font-size: 1.08rem; color: var(--body); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 20px; }
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .86rem; color: var(--muted);
  padding-top: 16px; border-top: 1px dashed var(--line);
}
.trust-bar span { display: inline-flex; align-items: center; gap: 6px; }
.dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: inline-block;
}

/* 软件界面示意（纯 CSS，不依赖图片资源） */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px;
  background: #f1f4fa; border-bottom: 1px solid var(--line);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3dbe8; display: block; }
.mock-bar .mock-title { margin-left: 8px; font-size: .74rem; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 236px; }
.mock-side { border-right: 1px solid var(--line); padding: 12px 10px; background: #fbfcfe; }
.mock-side div {
  font-size: .72rem; color: var(--muted); padding: 7px 8px; border-radius: 7px; margin-bottom: 4px;
}
.mock-side div.on { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.mock-main { padding: 14px; }
.mock-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 8px;
}
.mock-row b {
  height: 26px; border-radius: 6px; background: #eef2f9; display: block;
}
.mock-row.filled b { background: linear-gradient(90deg, #dbe8ff, #eef4ff); }
.mock-btn {
  display: inline-block; margin-top: 6px; padding: 7px 14px; border-radius: 8px;
  background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700;
}
.mock-hint { font-size: .72rem; color: var(--muted); margin-top: 10px; }

/* ---------------- 痛点区 ---------------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pain-item {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid #ffcf8a;
  border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow);
}
.pain-item strong { display: block; color: var(--ink); margin-bottom: 2px; }
.pain-item span { font-size: .92rem; color: var(--body); }
.pain-close {
  margin-top: 26px; text-align: center; font-size: 1.2rem; font-weight: 700; color: var(--ink);
}

/* ---------------- 数字员工卡片 ---------------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; box-shadow: var(--shadow); transition: .18s ease;
  display: flex; flex-direction: column;
}
.agent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfdcf5; }
.agent-num {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft);
  color: var(--brand-dark); font-weight: 800; font-size: .9rem;
  display: grid; place-items: center; margin-bottom: 12px;
}
.agent-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.agent-card p { font-size: .9rem; margin-bottom: .8em; }
.agent-value {
  margin-top: auto; font-size: .82rem; font-weight: 700; color: var(--ok);
  background: var(--ok-soft); padding: 4px 10px; border-radius: 999px; align-self: flex-start;
}
.note {
  margin-top: 22px; font-size: .86rem; color: #8a6d3b; background: #fff8e8;
  border: 1px dashed #f0d9a8; border-radius: var(--radius-sm); padding: 12px 16px;
}

/* ---------------- 云端知识库 ---------------- */
.kb {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.kb h2 { margin-bottom: .5em; }
.kb-list { list-style: none; padding: 0; margin: 0; }
.kb-list li {
  position: relative; padding-left: 26px; margin-bottom: 10px; font-size: .96rem;
}
.kb-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 3px; background: var(--brand);
}
.flow {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.flow-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  border-bottom: 1px dashed var(--line); font-size: .9rem;
}
.flow-row:last-child { border-bottom: 0; }
.flow-tag {
  flex: none; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand-dark);
}
.flow-tag.one-way { background: #fdeee9; color: var(--no); }
.flow-code { font-family: ui-monospace, Consolas, monospace; font-size: .82rem; color: var(--ink); }

/* ---------------- 使用场景 ---------------- */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scene {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow);
}
.scene .tag {
  display: inline-block; font-size: .76rem; font-weight: 700; color: var(--brand-dark);
  background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
}
.scene ol { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.scene .result { margin-top: 12px; font-size: .88rem; font-weight: 700; color: var(--ok); }

/* ---------------- 数据安全 ---------------- */
.promise {
  background: linear-gradient(135deg, #0e1729, #17305c); color: #dfe8f8;
  border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-lg);
}
.promise strong { color: #fff; font-size: 1.35rem; display: block; margin-bottom: .5em; }
.promise ul { list-style: none; padding: 0; margin: 0; }
.promise li { padding-left: 22px; position: relative; margin-bottom: 8px; font-size: .95rem; }
.promise li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px;
  border-radius: 50%; background: #4a8bff;
}
.safety-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start; }

table.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.tbl th, table.tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
table.tbl th { background: #f3f6fc; color: var(--ink); font-weight: 700; }
table.tbl tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--no); font-weight: 700; }

/* ---------------- 定价 ---------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 14px 40px rgba(31, 94, 255, .16); position: relative; }
.plan.featured::after {
  content: "营收核心"; position: absolute; top: -12px; right: 18px;
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.plan h3 { margin-bottom: .2em; }
.plan .price { font-size: 1.7rem; font-weight: 800; color: var(--ink); margin: 6px 0 4px; }
.plan .price small { font-size: .8rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 14px 0 20px; font-size: .92rem; }
.plan li { padding-left: 20px; position: relative; margin-bottom: 7px; }
.plan li::before { content: "√"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; font-size: .94rem; }

/* ---------------- 底部 ---------------- */
.footer { background: #0e1729; color: #9fb0cb; padding: 46px 0 26px; margin-top: 0; }
.footer a { color: #cfdaf0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: .8em; }
.footer ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.footer li { margin-bottom: 7px; }
.footer .logo { color: #fff; }
.footer .logo-sub { color: #8fa1be; }
.footer .qr {
  width: 96px; height: 96px; border-radius: 10px; background: #1b2942;
  display: grid; place-items: center; font-size: .72rem; color: #7f92b2; text-align: center;
  border: 1px dashed #33456a; padding: 8px;
}
/* 特定商取引法に基づく表記（日本法定表记） */
.footer-tokutei { margin-top: 30px; padding-top: 22px; border-top: 1px solid #1e2c47; }
.footer-tokutei h4 { color: #fff; font-size: .92rem; margin: 0 0 .5em; }
.tokutei-note { font-size: .8rem; color: #7c8dab; margin: 0 0 14px; }
.tokutei-list {
  display: grid; grid-template-columns: 210px 1fr; gap: 8px 18px;
  margin: 0; font-size: .85rem;
}
.tokutei-list dt { color: #cfdaf0; font-weight: 700; }
.tokutei-list dd { margin: 0; color: #9fb0cb; }

.footer-bottom {
  margin-top: 32px; padding-top: 18px; border-top: 1px solid #1e2c47;
  font-size: .82rem; color: #7c8dab; display: flex; flex-wrap: wrap; gap: 8px 18px;
}

/* ---------------- 二级页 ---------------- */
.page-head {
  padding: 52px 0 34px; background: linear-gradient(180deg, #eef3ff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: 2.1rem; margin-bottom: .25em; }
.page-head p { color: var(--muted); margin: 0; }
.page-body { padding: 56px 0 72px; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 18px; }
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* 表单 */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-size: .95rem; font-family: inherit; color: var(--ink); background: #fcfdff;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 94, 255, .12); }
.hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button {
  border: 0; background: #fbfcff; padding: 11px 18px; font-size: .92rem; font-weight: 600;
  color: var(--body); cursor: pointer; font-family: inherit;
}
.seg button.on { background: var(--brand); color: #fff; }

/* 步骤 / 列表 */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li {
  counter-increment: s; position: relative; padding: 0 0 18px 44px; border-left: 2px solid var(--line);
  margin-left: 15px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: -16px; top: 0;
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.steps li strong { display: block; color: var(--ink); }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li {
  border-bottom: 1px solid var(--line); padding: 12px 0; display: flex;
  justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .95rem;
}
.doc-list li:last-child { border-bottom: 0; }
.doc-list .badge {
  font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark);
}
.doc-list .badge.dim { background: #f0f2f7; color: var(--muted); }
.legal h3 { margin-top: 1.4em; }
.legal p, .legal li { font-size: .95rem; }

/* 通用徽标 */
.badge {
  display: inline-block; font-size: .74rem; font-weight: 700; padding: 2px 9px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark);
  white-space: nowrap;
}

/* 状态提示条 */
.callout {
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: .88rem;
  background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #d6e3ff;
}
.callout.warn { background: #fff8e8; color: #8a6d3b; border-color: #f0d9a8; }
.callout.dev { background: #f3f5f9; color: var(--muted); border-color: var(--line); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .kb, .safety-grid, .two-col { grid-template-columns: 1fr; }
  .scenes, .plans, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.1rem; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 1px solid var(--line); padding: 10px 16px 16px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 8px; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .nav { position: sticky; }
  .nav-inner { position: relative; }
  .pain-grid, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* ---------------- 运营补给站（数字员工之外的随用工具） ---------------- */
.supply {
  margin-top: 34px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 24px 20px; box-shadow: var(--shadow);
}
.supply h3 { margin-bottom: .25em; }
.supply .muted { margin-bottom: 16px; }
.supply-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.supply-item {
  background: #fbfcff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.supply-item strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: .98rem; }
.supply-item span { font-size: .9rem; color: var(--body); }

@media (max-width: 860px) {
  .supply-grid { grid-template-columns: 1fr; }
}
