/* Wayne AI — 企業 AI 導入與流程自動化 Landing Page
   品牌語言沿用主官網（index.html）與 /marketing/：色票、字體、圓角、間距、動效。
   本檔僅供 /enterprise/ 使用，不影響主官網。 */

:root {
  --ink:        #0f1729;
  --ink-deep:   #0a1121;
  --ink-darker: #070d19;
  --panel:      #111a2c;
  --brand:      #2f6bff;
  --brand-dark: #1f4fd8;
  --brand-soft: #1f3d8f;
  --bg:         #f4f5f7;
  --card:       #ffffff;
  --line:       #e4e7ec;
  --muted:      #5c6779;
  --muted-2:    #8a94a6;
  --on-dark:    #b9c3d6;
  --on-dark-2:  #8fa4cc;
  --on-dark-3:  #7f8da8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans TC", "Space Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.page { width: 100%; overflow-x: hidden; }
.wrap { max-width: 1180px; margin: 0 auto; }
.section { padding: clamp(72px, 10vh, 116px) clamp(20px, 6vw, 80px); scroll-margin-top: 80px; }
.section--light { background: var(--bg); }
.section--white { background: #fff; }
.section--dark { background: var(--ink-deep); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(47,107,255,0.08);
  font-size: 12px; letter-spacing: 0.06em; color: #9fb3e0;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #4f8cff; flex-shrink: 0; }
.eyebrow--onlight { border-color: #d6ddea; background: rgba(47,107,255,0.07); color: var(--brand-soft); }

.h2 { margin: 0; font-size: clamp(25px, 3.2vw, 40px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; text-wrap: balance; }
.lede { margin: 16px 0 0; max-width: 680px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.95; font-weight: 300; color: var(--muted); text-wrap: pretty; }
.section--dark .lede { color: #a8b4cc; }
.sec-head .eyebrow { margin-bottom: 20px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 56px);
  background: rgba(10,17,33,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; white-space: nowrap; }
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; display: block; object-fit: cover; }
.nav-brand .stack { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand .n1 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }
.nav-brand .n2 { font-size: 10px; letter-spacing: 0.22em; color: #7d8ba6; }
.nav-actions { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); min-width: 0; }
.nav-link { color: #c3cbdb; font-size: 14px; white-space: nowrap; }
.nav-link:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 500; padding: 16px 30px; border-radius: 10px;
  transition: transform .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  text-align: center; line-height: 1.5;
}
.btn--sm { font-size: 14px; padding: 10px 20px; border-radius: 8px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(15,23,41,0.28); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(255,255,255,0.26); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--outline { border: 1px solid #ccd5e6; color: var(--brand); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink-deep); color: #fff; overflow: hidden;
  padding: clamp(112px, 15vh, 172px) clamp(20px, 6vw, 80px) clamp(76px, 11vh, 116px);
}
.hero::after {
  content: ""; position: absolute; top: -180px; right: -140px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,0.20), rgba(47,107,255,0) 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: clamp(34px, 5vw, 64px); align-items: center;
}
.hero h1 {
  margin: 26px 0 0; font-size: clamp(27px, 4.4vw, 54px); line-height: 1.28;
  font-weight: 900; letter-spacing: -0.01em; text-wrap: balance;
}
.hero .sub { margin: 24px 0 0; max-width: 640px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.95; color: var(--on-dark); font-weight: 300; text-wrap: pretty; }
.hero-claim {
  margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0; background: rgba(255,255,255,0.04);
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.85; font-weight: 500; color: #eaf0ff; text-wrap: pretty;
}
.hero-media { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero-shot {
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12);
  background: #131c30;
}
.hero-shot img { width: 100%; height: auto; display: block; }
.hero-note {
  padding: 16px 20px; border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
  background: var(--panel); font-size: 13px; line-height: 1.85; color: #94a2bd; font-weight: 300; text-wrap: pretty;
}
.hero-note b { color: #dbe4f7; font-weight: 500; }

/* ---------- Cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; margin-top: 44px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 26px 30px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(15,23,41,0.1); border-color: #c9d6f5; }
.card .head { display: flex; align-items: center; justify-content: space-between; }
.card .num { font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--brand); }
.card .rule { width: 34px; height: 2px; background: var(--line); }
.card .title { margin-top: 18px; font-size: 19px; font-weight: 700; line-height: 1.55; text-wrap: balance; }
.card .body { margin-top: 13px; font-size: 14px; line-height: 1.95; color: var(--muted); font-weight: 300; text-wrap: pretty; }

.note-band {
  margin-top: clamp(28px, 4vw, 40px); padding: 20px 24px;
  border: 1px solid #dbe3f2; border-radius: 14px; background: rgba(47,107,255,0.05);
  font-size: 15px; line-height: 1.95; color: #3d4759; font-weight: 400; text-wrap: pretty;
}
.note-band--dark {
  border-color: rgba(255,255,255,0.14); background: rgba(47,107,255,0.10); color: #dbe4f7;
}
.note-band--dashed { border: 1px dashed #c8cfdc; background: #eceff4; color: #4a5567; font-weight: 300; font-size: 14px; }

/* ---------- 流程步驟（Section 3） ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 44px; }
.step {
  border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; background: var(--panel);
  padding: 24px 24px 26px; display: flex; flex-direction: column;
}
.step .sn { font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: #6f9dff; }
.step .st { margin-top: 12px; font-size: 18px; font-weight: 700; line-height: 1.55; color: #fff; text-wrap: balance; }
.step .sb { margin-top: 12px; font-size: 14px; line-height: 1.95; color: var(--on-dark); font-weight: 300; text-wrap: pretty; }

/* ---------- 價格方案（Section 4） ---------- */
.plans { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 44px; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 28px 32px; display: flex; flex-direction: column;
}
.plan--focus { border-color: #b9cdff; box-shadow: 0 16px 40px rgba(47,107,255,0.10); }
.plan--conditional { border-style: dashed; background: #f8f9fb; }
.plan .pn { font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--brand); }
.plan .pt { margin-top: 12px; font-size: 21px; font-weight: 700; line-height: 1.5; }
.plan .pp { margin-top: 14px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.plan .pp small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.plan .pp--talk { font-size: clamp(20px, 2vw, 24px); }
.plan .pcond {
  margin-top: 16px; padding: 13px 15px; border-radius: 10px; background: #f4f6fb;
  border: 1px solid #e4e9f4; font-size: 13px; line-height: 1.85; color: #3d4759; text-wrap: pretty;
}
.plan .plabel { margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--ink); }
.plan-list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.plan-list li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.85; color: var(--muted); font-weight: 300; text-wrap: pretty; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }

/* ---------- 案例（Section 5） ---------- */
.case { display: grid; gap: clamp(22px, 4vw, 44px); align-items: center; margin-top: clamp(40px, 6vw, 60px); }
.case-figure {
  border: 1px solid #dfe3ea; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 12px 32px rgba(15,23,41,0.07);
}
.case-figure img { width: 100%; height: auto; display: block; }
.case-tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  border: 1px solid #d6ddea; background: rgba(47,107,255,0.07);
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--brand-soft);
}
.case h3 { margin: 14px 0 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.5; text-wrap: balance; }
.case-block { margin-top: 18px; }
.case-block .cb-t { font-size: 14px; font-weight: 700; color: var(--ink); }
.case-block .cb-p { margin: 8px 0 0; font-size: 15px; line-height: 1.95; color: var(--muted); font-weight: 300; text-wrap: pretty; }

/* 主要實作案例（視覺層級高於模擬案例） */
.case--featured {
  margin-top: clamp(34px, 5vw, 46px); padding: clamp(22px, 3.4vw, 34px);
  background: var(--card); border: 1px solid #c9d6f5; border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15,23,41,0.10);
}
.case--featured h3 { font-size: clamp(22px, 2.6vw, 30px); }
.case-tag--live { border-color: var(--brand); background: var(--brand); color: #fff; }
.case-embed {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border: 1px solid #dfe3ea; border-radius: 14px; overflow: hidden; background: var(--ink-deep);
  box-shadow: 0 12px 32px rgba(15,23,41,0.07);
}
.case-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.flow-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.flow-chip {
  display: inline-block; padding: 7px 13px; border-radius: 9px;
  border: 1px solid #d6ddea; background: rgba(47,107,255,0.06);
  font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--brand-soft);
}
.flow-arrow { font-size: 13px; color: var(--muted-2); flex-shrink: 0; }

/* ---------- 價值（Section 6） ---------- */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 34px; }
.value {
  border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; background: var(--panel);
  padding: 19px 20px 20px;
}
.value .vt { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 700; color: #eaf0ff; line-height: 1.5; }
.value .bar { width: 3px; align-self: stretch; min-height: 20px; border-radius: 2px; background: var(--brand); flex-shrink: 0; }
.value .vb { margin-top: 9px; font-size: 13px; line-height: 1.75; color: var(--on-dark); font-weight: 300; text-wrap: pretty; }

/* ---------- 合作邊界（Section 7） ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 44px; }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; }
.role-card--wayne { background: var(--ink-deep); border-color: rgba(255,255,255,0.12); color: #fff; }
.role-card .role-label { font-size: 12px; letter-spacing: 0.14em; font-family: "Space Grotesk", sans-serif; color: var(--brand); }
.role-card--wayne .role-label { color: #7fa6ff; }
.role-card .role-title { margin-top: 12px; font-size: 21px; font-weight: 700; }
.role-list { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.role-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.8; color: var(--muted); font-weight: 300; }
.role-card--wayne .role-list li { color: var(--on-dark); }
.role-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }

/* ---------- 最終 CTA ---------- */
.cta { text-align: center; }
.cta .lede { margin-left: auto; margin-right: auto; }
.cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-darker); color: #8a97b0; padding: 44px clamp(20px, 6vw, 80px); }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; display: block; object-fit: cover; }
.footer-brand span { font-family: "Space Grotesk", sans-serif; font-size: 14px; letter-spacing: 0.06em; color: #c3cbdb; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; }
.footer-link { color: #8a97b0; }
.footer-link:hover { color: #fff; }
.footer-copy { font-size: 12px; color: #5d6b86; }

/* ---------- 進場動畫 ---------- */
[data-reveal] { transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-pending { opacity: 0; transform: translateY(22px); }

/* ---------- RWD ---------- */
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.summary-grid li { display: flex; align-items: baseline; gap: 16px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; line-height: 1.8; }
.summary-num { flex-shrink: 0; color: var(--brand); font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.checklist { margin-top: 34px; }
.checklist .role-list { margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.case-tech { margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.faq-list { margin-top: 34px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 22px 8px; font-size: 17px; font-weight: 500; line-height: 1.7; }
.faq-item summary::marker { color: var(--brand); }
.faq-item p { margin: 0; padding: 0 8px 24px; max-width: 850px; color: var(--muted); line-height: 1.95; }
.faq-item summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.poc-details { margin-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.poc-content { padding: 0 8px 8px; }
.poc-content p { padding: 0 0 20px; font-size: 15px; }
.poc-content .role-list { margin: 0 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.poc-statement { margin: 16px 8px 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.scope-checklists { margin-top: 28px; }
.scope-checklists .role-card { scroll-margin-top: 80px; }
.scope-checklists .role-title { margin: 0; }
.scope-checklists .lede { font-size: 15px; }
@media (max-width: 620px) {
  .summary-grid, .checklist .role-list, .poc-content .role-list { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .case--reversed .case-figure { order: 2; }
}
@media (max-width: 860px) {
  .nav-link { display: none; }
}
@media (max-width: 620px) {
  .btn { width: 100%; }
  .btn--sm { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
}
