/* ===== 三生源 · Sanshengyuan · 多页面样式 =====
   美学：明亮赛博晨光 — 米白 + 電光藍/品紅紫漸變
   每個頁面擁有獨特佈局，共享基礎組件
================================================ */

:root {
  --bg: #F5F7FF;
  --bg-soft: #EEF2FF;
  --bg-elev: #FFFFFF;
  --ink: #0A0E2F;
  --ink-soft: #424B7A;
  --ink-mute: #6E78A8;
  --line: rgba(10, 14, 47, 0.08);
  --line-soft: rgba(10, 14, 47, 0.05);

  --c-cyan: #00D4FF;
  --c-blue: #0066FF;
  --c-violet: #7B2FF7;
  --c-magenta: #FF3CAC;
  --c-amber: #FFB400;

  --grad-main: linear-gradient(120deg, #00D4FF 0%, #0066FF 45%, #FF3CAC 100%);
  --grad-soft: linear-gradient(120deg, rgba(0,212,255,0.18), rgba(0,102,255,0.12) 50%, rgba(255,60,172,0.18));
  --grad-text: linear-gradient(110deg, #0066FF 0%, #7B2FF7 50%, #FF3CAC 100%);
  --grad-deep: linear-gradient(135deg, #0A0E2F 0%, #1A1F4D 50%, #2D1A5C 100%);

  --shadow-sm: 0 4px 18px rgba(10, 14, 47, 0.06);
  --shadow-md: 0 12px 40px rgba(10, 14, 47, 0.08);
  --shadow-lg: 0 30px 80px rgba(10, 14, 47, 0.12);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --ff-display: 'Bricolage Grotesque', 'Noto Sans TC', sans-serif;
  --ff-body: 'Sora', 'Noto Sans TC', sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(0,102,255,0.2); color: var(--ink); }

/* ===== 背景層 ===== */
.bg-layer { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, rgba(0,102,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,102,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 90%);
}
.bg-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(0,212,255,0.22), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(255,60,172,0.18), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(0,102,255,0.14), transparent 55%);
  filter: blur(20px);
}
.bg-noise {
  position: absolute; inset: 0; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== 滾動進度 ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--grad-main); z-index: 999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(0,102,255,0.5);
}

/* ===== 自訂游標光暈 ===== */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 480px; height: 480px;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(0,102,255,0.12), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s; opacity: 0;
  mix-blend-mode: multiply;
}
body:hover .cursor-glow { opacity: 1; }

/* ===== 導航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.4s var(--ease);
  padding: 22px 0;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(245, 247, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1340px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 6px 14px rgba(0,102,255,0.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--ff-display); font-weight: 800; font-size: 20px;
  color: var(--ink); letter-spacing: -0.02em;
}
.brand-suffix {
  font-family: var(--ff-mono); font-size: 9.5px; color: var(--ink-mute);
  letter-spacing: 0.22em; margin-top: 4px;
}

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px; position: relative;
  transition: all 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(0,102,255,0.06); }
.nav-links a.active {
  color: var(--c-blue); background: rgba(0,102,255,0.08);
}

.nav-cta { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: flex; gap: 2px; padding: 3px;
  background: rgba(255,255,255,0.6); border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-btn {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; color: var(--ink-mute);
  transition: all 0.25s var(--ease); letter-spacing: 0.05em;
}
.lang-btn.active, .lang-btn[aria-pressed="true"] {
  background: var(--grad-main); color: #fff;
  box-shadow: 0 4px 12px rgba(0,102,255,0.35);
}
.lang-btn:hover:not(.active) { color: var(--ink); }

/* 按鈕 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-body); font-weight: 600; font-size: 14px;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  transition: all 0.3s var(--ease); position: relative; overflow: hidden;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--grad-main); color: #fff;
  box-shadow: 0 10px 30px rgba(0,102,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,60,172,0.4); }
.btn-ghost {
  background: rgba(255,255,255,0.6); color: var(--ink);
  border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: #fff; border-color: var(--c-blue); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.nav-cta-btn { padding: 10px 18px; font-size: 13px; }

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

/* ===== 通用 SECTION ===== */
.section { max-width: 1340px; margin: 0 auto; padding: 120px 40px; position: relative; }
.section-head { max-width: 800px; margin: 0 auto 70px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(0,102,255,0.06); border: 1px solid rgba(0,102,255,0.12);
  font-family: var(--ff-mono); font-size: 11px; color: var(--c-blue);
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 22px;
}
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); box-shadow: 0 0 8px var(--c-blue); }
.kicker.light { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); color: #fff; }
.kicker.light i { background: #fff; box-shadow: 0 0 8px #fff; }

.section-title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1;
  letter-spacing: -0.03em; color: var(--ink);
}
.section-desc { margin-top: 18px; font-size: 17px; color: var(--ink-soft); line-height: 1.7; }

/* ===== 頁面 HERO（子頁通用，小於首頁 hero） ===== */
.page-hero {
  position: relative; padding: 160px 40px 80px;
  text-align: center; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(0,102,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,102,255,0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, #000 10%, transparent 80%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(36px, 5.2vw, 68px); line-height: 1.05;
  letter-spacing: -0.035em; margin: 22px 0 20px;
}
.page-hero h1 .grad {
  background: var(--grad-text); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.page-hero p { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); line-height: 1.7; max-width: 680px; margin: 0 auto; }

.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 12px; color: var(--ink-mute);
  margin-bottom: 8px; letter-spacing: 0.1em;
}
.breadcrumb a:hover { color: var(--c-blue); }
.breadcrumb span.sep { opacity: 0.4; }

/* ===== REVEAL 動畫 ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 0.08s); }

/* ===== 首頁 HERO ===== */
.hero {
  position: relative; min-height: 100vh; padding: 140px 40px 80px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 1100px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-family: var(--ff-mono); font-size: 12px; color: var(--ink-soft);
  letter-spacing: 0.05em;
  animation: badgeIn 0.8s var(--ease-out) both;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-cyan);
  box-shadow: 0 0 0 0 rgba(0,212,255,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,212,255,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(0,212,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
}
@keyframes badgeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.hero-title {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.02; letter-spacing: -0.04em; margin: 28px 0 24px;
}
.hero-title .line { display: block; opacity: 0; transform: translateY(40px); animation: titleIn 1s var(--ease-out) forwards; }
.hero-title .line:nth-child(1) { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) { animation-delay: 0.35s; }
.hero-title .grad {
  background: var(--grad-text); -webkit-background-clip: text;
  background-clip: text; color: transparent;
  background-size: 200% 200%;
  animation: titleIn 1s var(--ease-out) 0.35s forwards, gradShift 8s ease-in-out infinite 1.4s;
}
@keyframes titleIn { to { opacity: 1; transform: translateY(0); } }
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  max-width: 720px; margin: 0 auto;
  font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-soft);
  line-height: 1.7; opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.6s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.hero-actions {
  display: flex; gap: 14px; justify-content: center; margin-top: 40px;
  opacity: 0; animation: fadeIn 1s var(--ease-out) 0.8s forwards; flex-wrap: wrap;
}
.hero-grid-deco {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(0,102,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,102,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 80%);
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 3; opacity: 0; animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}
.hero-scroll .scroll-label {
  font-family: var(--ff-mono); font-size: 10px; color: var(--ink-mute);
  letter-spacing: 0.28em; text-transform: uppercase;
}
.hero-scroll .scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--c-blue), transparent);
  position: relative; overflow: hidden;
}
.hero-scroll .scroll-line::after {
  content: ''; position: absolute; top: -48px; left: 0; width: 100%; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--c-cyan));
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot { 0% { top: -48px; } 100% { top: 48px; } }

/* ===== 首頁：業務四象限（不對稱錯落） ===== */
.home-pillars .pillars-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px;
}
.pillar-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 36px; position: relative; overflow: hidden;
  transition: all 0.5s var(--ease);
}
.pillar-card.p1 { grid-column: span 7; min-height: 240px; }
.pillar-card.p2 { grid-column: span 5; }
.pillar-card.p3 { grid-column: span 5; }
.pillar-card.p4 { grid-column: span 7; min-height: 240px; }
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-main); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.pillar-card::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--grad-soft); opacity: 0;
  transition: opacity 0.5s var(--ease); filter: blur(20px);
}
.pillar-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lg); }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover::after { opacity: 1; }
.pillar-no {
  font-family: var(--ff-mono); font-size: 13px; color: var(--c-blue);
  letter-spacing: 0.1em; margin-bottom: 16px; position: relative; z-index: 1;
}
.pillar-card h3 {
  font-family: var(--ff-display); font-weight: 700; font-size: 26px;
  color: var(--ink); margin-bottom: 12px; letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.pillar-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; position: relative; z-index: 1; }
.pillar-arrow {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 13px; color: var(--c-blue);
  transition: gap 0.3s var(--ease); position: relative; z-index: 1;
}
.pillar-card:hover .pillar-arrow { gap: 12px; }

/* ===== 首頁：內容導覽卡片 ===== */
.home-navgrid .navgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.nav-card {
  position: relative; padding: 32px 28px; border-radius: var(--r-lg);
  background: var(--bg-elev); border: 1px solid var(--line);
  overflow: hidden; transition: all 0.5s var(--ease);
  display: flex; flex-direction: column; min-height: 200px;
}
.nav-card::before {
  content: attr(data-no);
  position: absolute; right: 24px; top: 20px;
  font-family: var(--ff-display); font-weight: 800; font-size: 60px;
  color: rgba(0,102,255,0.06); line-height: 1; transition: color 0.5s var(--ease);
}
.nav-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lg); }
.nav-card:hover::before { color: rgba(0,102,255,0.12); }
.nav-card h3 {
  font-family: var(--ff-display); font-weight: 700; font-size: 22px;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -0.02em;
}
.nav-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; flex: 1; }
.nav-card .nc-more {
  margin-top: 18px; font-family: var(--ff-mono); font-size: 12px;
  color: var(--c-blue); letter-spacing: 0.1em;
}

/* ===== 首頁：介紹區（左大字引言） ===== */
.home-intro .intro-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center;
}
.intro-quote {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2;
  letter-spacing: -0.03em; color: var(--ink);
}
.intro-quote .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-text { font-size: 17px; color: var(--ink-soft); line-height: 1.85; }

/* ===== CTA 區（深色卡片） ===== */
.cta-band { padding: 80px 40px; }
.cta-card {
  position: relative; max-width: 1340px; margin: 0 auto;
  background: var(--grad-deep); border-radius: var(--r-xl);
  padding: 70px 60px; overflow: hidden; text-align: center;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0.6; pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,212,255,0.4), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255,60,172,0.35), transparent 45%);
}
.cta-card::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-card .inner { position: relative; z-index: 1; }
.cta-card h2 {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px); color: #fff;
  letter-spacing: -0.03em; line-height: 1.15; margin: 18px 0 14px;
}
.cta-card p { font-size: 16px; color: rgba(255,255,255,0.78); line-height: 1.7; margin: 0 auto 36px; max-width: 560px; }

/* ===== 通用：時間線（橫向） ===== */
.flow-track {
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; padding-top: 40px;
}
.flow-track.cols-4 { grid-template-columns: repeat(4, 1fr); }
.flow-line {
  position: absolute; top: 60px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), var(--c-blue), var(--c-violet), var(--c-magenta), transparent);
  opacity: 0.4;
}
.flow-track.cols-4 .flow-line { background: linear-gradient(90deg, transparent, var(--c-cyan), var(--c-blue), var(--c-magenta), transparent); }
.flow-step { position: relative; padding-top: 50px; text-align: center; }
.flow-step::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-elev); border: 3px solid var(--c-blue);
  box-shadow: 0 0 0 6px rgba(0,102,255,0.1);
  transition: all 0.4s var(--ease);
}
.flow-step:hover::before { background: var(--grad-main); border-color: transparent; transform: translateX(-50%) scale(1.3); }
.f-no {
  position: absolute; top: -32px; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-mono); font-size: 10px; color: var(--ink-mute); letter-spacing: 0.2em;
}
.flow-step h4 {
  font-family: var(--ff-display); font-weight: 700; font-size: 16px;
  color: var(--ink); margin-bottom: 8px;
}
.flow-step p { font-size: 12px; color: var(--ink-soft); line-height: 1.6; padding: 0 4px; }

/* ===== 業務頁：左右交錯區 ===== */
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 70px 0; border-bottom: 1px solid var(--line-soft);
}
.svc-row:last-child { border-bottom: none; }
.svc-row.reverse .svc-visual { order: 2; }
.svc-visual {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.svc-visual[data-grad="1"] { background: linear-gradient(135deg, #00D4FF, #0066FF 60%, #7B2FF7); }
.svc-visual[data-grad="2"] { background: linear-gradient(135deg, #0066FF, #FF3CAC); }
.svc-visual[data-grad="3"] { background: linear-gradient(135deg, #7B2FF7, #FF3CAC); }
.svc-visual[data-grad="4"] { background: linear-gradient(135deg, #00D4FF, #7B2FF7); }
.svc-orb {
  width: 60%; max-width: 240px; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 100px rgba(255,255,255,0.5), inset -30px -30px 60px rgba(0,102,255,0.3);
  animation: orbFloat 6s ease-in-out infinite;
}
@keyframes orbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.svc-visual-label {
  position: absolute; top: 18px; left: 18px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.25); backdrop-filter: blur(10px);
  color: #fff; font-family: var(--ff-mono); font-size: 11px;
  border: 1px solid rgba(255,255,255,0.3); letter-spacing: 0.1em;
}
.svc-text-no {
  font-family: var(--ff-mono); font-size: 14px; color: var(--c-blue);
  letter-spacing: 0.15em; margin-bottom: 14px;
}
.svc-text h2 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15;
  letter-spacing: -0.03em; color: var(--ink); margin-bottom: 14px;
}
.svc-lead { font-size: 18px; color: var(--ink); font-weight: 500; line-height: 1.6; margin-bottom: 16px; }
.svc-text p.desc { font-size: 15px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 24px; }
.svc-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc-feat { display: flex; gap: 12px; align-items: start; }
.svc-feat .mark {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  background: rgba(0,102,255,0.08); color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 12px; font-weight: 600;
}
.svc-feat strong {
  display: block; font-family: var(--ff-display); font-weight: 700;
  font-size: 14px; color: var(--ink); margin-bottom: 2px;
}
.svc-feat span.d { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ===== 產品頁：Bento Grid ===== */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 20px;
}
.bento .b { border-radius: var(--r-lg); overflow: hidden; position: relative; transition: all 0.5s var(--ease); }
.bento .b:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.b-big { grid-column: span 2; grid-row: span 2; }
.b-tall { grid-row: span 2; }
.b-wide { grid-column: span 2; }
.bento .b-cover {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.bento .b-cover[data-grad="1"] { background: linear-gradient(135deg, #00D4FF, #0066FF 60%, #7B2FF7); }
.bento .b-cover[data-grad="2"] { background: linear-gradient(135deg, #0066FF, #FF3CAC); }
.bento .b-cover[data-grad="3"] { background: linear-gradient(135deg, #7B2FF7, #FF3CAC); }
.bento .b-cover[data-grad="4"] { background: linear-gradient(135deg, #00D4FF, #7B2FF7); }
.bento .b-cover[data-grad="5"] { background: linear-gradient(135deg, #FFB400, #FF3CAC); }
.b-orb {
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 80px rgba(255,255,255,0.6), inset -20px -20px 50px rgba(0,102,255,0.3);
  animation: orbFloat 6s ease-in-out infinite;
}
.b-big .b-orb { width: 160px; height: 160px; }
.b-tag {
  position: absolute; top: 18px; left: 18px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.25); backdrop-filter: blur(10px);
  color: #fff; font-family: var(--ff-mono); font-size: 10px;
  border: 1px solid rgba(255,255,255,0.3); letter-spacing: 0.12em;
  z-index: 2;
}
.bento .b-body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px;
  background: linear-gradient(to top, rgba(10,14,47,0.85), transparent);
  z-index: 2;
}
.bento .b-body h3 {
  font-family: var(--ff-display); font-weight: 700; font-size: 20px;
  color: #fff; margin-bottom: 6px; letter-spacing: -0.02em;
}
.b-big .b-body h3 { font-size: 28px; }
.bento .b-body p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.b-feats { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.b-feats li {
  font-family: var(--ff-mono); font-size: 10px; padding: 3px 9px;
  border-radius: 999px; background: rgba(255,255,255,0.15);
  color: #fff; letter-spacing: 0.04em; border: 1px solid rgba(255,255,255,0.2);
}
.b-for {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  font-family: var(--ff-mono); font-size: 10px; color: rgba(255,255,255,0.85);
  background: rgba(10,14,47,0.4); backdrop-filter: blur(8px);
  padding: 5px 10px; border-radius: 8px; max-width: 60%; text-align: right;
}

/* Bento 內 CTA 磚 */
.b-cta-tile { grid-column: span 2; }
.b-cta-cover {
  background: linear-gradient(135deg, #0A0E2F 0%, #1A1F4D 50%, #2D1A5C 100%);
  position: relative;
}
.b-cta-cover::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,212,255,0.35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255,60,172,0.3), transparent 50%);
}
.b-cta-cover::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.b-cta-inner {
  position: relative; z-index: 2; padding: 32px; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
}
.b-cta-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 11px; color: #fff;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.b-cta-kicker::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-cyan); box-shadow: 0 0 8px var(--c-cyan);
}
.b-cta-inner h3 {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px); color: #fff;
  letter-spacing: -0.03em; line-height: 1.2; max-width: 80%;
}
.b-cta-inner .btn { margin-top: 4px; }

/* 產品對照表 */
.compare-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--bg-elev); min-width: 720px; }
.compare-table th, .compare-table td {
  padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.compare-table th {
  font-family: var(--ff-display); font-weight: 700; color: var(--ink);
  background: var(--bg-soft); font-size: 13px; letter-spacing: 0.02em;
}
.compare-table td:first-child { font-family: var(--ff-display); font-weight: 600; color: var(--ink); }
.compare-table tr:hover td { background: rgba(0,102,255,0.02); }
.badge-yes { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(0,212,255,0.12); color: var(--c-blue); font-family: var(--ff-mono); font-size: 11px; }
.badge-partial { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255,180,0,0.14); color: #b87a00; font-family: var(--ff-mono); font-size: 11px; }
.badge-none { color: var(--ink-mute); }

/* ===== 場景頁：交錯列表 ===== */
.scn-list { display: flex; flex-direction: column; }
.scn-item {
  display: grid; grid-template-columns: 80px 1fr 1fr; gap: 50px;
  padding: 70px 0; border-bottom: 1px solid var(--line-soft); align-items: start;
}
.scn-item:last-child { border-bottom: none; }
.scn-item:nth-child(even) { direction: rtl; }
.scn-item:nth-child(even) > * { direction: ltr; }
.scn-no {
  font-family: var(--ff-display); font-weight: 800; font-size: 56px;
  background: var(--grad-text); -webkit-background-clip: text;
  background-clip: text; color: transparent; line-height: 1; opacity: 0.9;
}
.scn-text h3 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 36px); color: var(--ink);
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.scn-text p { font-size: 16px; color: var(--ink-soft); line-height: 1.8; }
.scn-points { display: flex; flex-direction: column; gap: 14px; }
.scn-point {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--r-md); transition: all 0.3s var(--ease);
}
.scn-point:hover { border-color: var(--c-blue); transform: translateX(6px); box-shadow: var(--shadow-sm); }
.scn-point .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--grad-main); flex-shrink: 0;
}
.scn-point span { font-size: 14px; color: var(--ink); font-weight: 500; }

/* ===== 案例頁：雜誌式 ===== */
.case-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 70px 0; border-bottom: 1px solid var(--line-soft);
}
.case-block:last-child { border-bottom: none; }
.case-block.reverse .case-visual { order: 2; }
.case-visual {
  position: relative; aspect-ratio: 5/4; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.case-visual[data-grad="a"] { background: linear-gradient(135deg, #00D4FF, #0066FF, #7B2FF7); }
.case-visual[data-grad="b"] { background: linear-gradient(135deg, #FF3CAC, #7B2FF7); }
.case-visual[data-grad="c"] { background: linear-gradient(135deg, #0066FF, #00D4FF); }
.case-visual[data-grad="d"] { background: linear-gradient(135deg, #FFB400, #FF3CAC); }
.case-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 55%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 100px rgba(255,255,255,0.5), inset -30px -30px 60px rgba(0,102,255,0.3);
  animation: orbFloat 7s ease-in-out infinite;
}
.case-cat {
  position: absolute; top: 22px; left: 22px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.25); backdrop-filter: blur(10px);
  color: #fff; font-family: var(--ff-mono); font-size: 11px;
  border: 1px solid rgba(255,255,255,0.3); letter-spacing: 0.1em;
}
.case-meta {
  font-family: var(--ff-mono); font-size: 12px; color: var(--ink-mute);
  letter-spacing: 0.08em; margin-bottom: 14px;
}
.case-body h2 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 36px); color: var(--ink);
  letter-spacing: -0.02em; margin-bottom: 28px; line-height: 1.2;
}
.case-detail { display: flex; flex-direction: column; gap: 22px; }
.case-detail .row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; }
.case-detail .row .lbl {
  font-family: var(--ff-mono); font-size: 12px; color: var(--c-blue);
  letter-spacing: 0.12em; text-transform: uppercase; padding-top: 2px;
}
.case-detail .row .val { font-size: 15px; color: var(--ink-soft); line-height: 1.75; }

/* ===== 關於頁 ===== */
.about-story .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-quote {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2;
  letter-spacing: -0.03em; color: var(--ink);
}
.story-quote .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-text p { font-size: 16px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 18px; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card {
  padding: 32px; border-radius: var(--r-lg); background: var(--bg-elev);
  border: 1px solid var(--line); transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-main); transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.value-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-md); }
.value-card:hover::before { transform: scaleY(1); }
.value-card .v-no { font-family: var(--ff-mono); font-size: 12px; color: var(--c-blue); letter-spacing: 0.12em; margin-bottom: 12px; }
.value-card h3 { font-family: var(--ff-display); font-weight: 700; font-size: 22px; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.02em; }
.value-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

/* 縱向時間線 */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--c-cyan), var(--c-blue), var(--c-violet), var(--c-magenta));
  opacity: 0.5;
}
.tl-item { position: relative; padding: 0 0 50px 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -34px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-elev); border: 3px solid var(--c-blue);
  box-shadow: 0 0 0 5px rgba(0,102,255,0.1);
}
.tl-stage {
  font-family: var(--ff-mono); font-size: 12px; color: var(--c-blue);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 8px;
}
.tl-item h4 {
  font-family: var(--ff-display); font-weight: 700; font-size: 22px;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -0.02em;
}
.tl-item p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; max-width: 620px; }

/* 團隊理念 */
.team-block .team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.team-list { display: flex; flex-direction: column; gap: 18px; }
.team-list li {
  display: flex; gap: 16px; align-items: center;
  padding: 22px 26px; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--r-md); transition: all 0.3s var(--ease);
}
.team-list li:hover { border-color: var(--c-blue); transform: translateX(6px); }
.team-list li .icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  background: var(--grad-soft); display: flex; align-items: center; justify-content: center;
  color: var(--c-blue); font-family: var(--ff-mono); font-weight: 700; font-size: 14px;
}
.team-list li span { font-size: 15px; color: var(--ink); font-weight: 500; }
.team-text h2 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2;
  letter-spacing: -0.03em; color: var(--ink); margin-bottom: 18px;
}
.team-text p { font-size: 16px; color: var(--ink-soft); line-height: 1.85; }

/* ===== 聯絡頁 ===== */
/* .contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; } */
.contact-form-card, .channels-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-sm);
}
.contact-form-card h3, .channels-card h3 {
  font-family: var(--ff-display); font-weight: 700; font-size: 24px;
  color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em;
}
.form-desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 28px; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { position: relative; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 16px 18px; font-family: var(--ff-body); font-size: 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink); transition: all 0.3s var(--ease);
  outline: none;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  background: #fff; border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.12);
}
.form-row label {
  position: absolute; left: 18px; top: 16px; font-size: 14px;
  color: var(--ink-mute); pointer-events: none; transition: all 0.25s var(--ease);
}
.form-row input:focus + label, .form-row input:not(:placeholder-shown) + label,
.form-row textarea:focus + label, .form-row textarea:not(:placeholder-shown) + label {
  top: -8px; left: 12px; font-size: 10px; padding: 0 6px;
  background: var(--bg-elev); color: var(--c-blue); letter-spacing: 0.05em;
}
.form-note {
  margin-top: 8px; font-size: 13px; color: var(--c-blue);
  padding: 12px 16px; background: rgba(0,102,255,0.08);
  border-radius: var(--r-sm); border: 1px solid rgba(0,102,255,0.18);
}

.channels-list { display: flex; flex-direction: column; gap: 24px; }
.ch-item { padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.ch-item:last-child { border-bottom: none; padding-bottom: 0; }
.ch-item .ch-label {
  font-family: var(--ff-mono); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 8px;
}
.ch-item .ch-val {
  font-family: var(--ff-display); font-weight: 600; font-size: 17px;
  color: var(--ink); letter-spacing: -0.01em; word-break: break-all;
}
.ch-item a.ch-val:hover { color: var(--c-blue); }

/* FAQ */
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; transition: all 0.3s var(--ease);
}
.faq-item.open { border-color: var(--c-blue); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between;
  text-align: left; font-family: var(--ff-display); font-weight: 600; font-size: 16px;
  color: var(--ink); gap: 16px;
}
.faq-q::after {
  content: '+'; font-size: 24px; color: var(--c-blue); flex-shrink: 0;
  transition: transform 0.3s var(--ease); font-weight: 300;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease);
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner { padding: 0 26px 24px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* ===== 頁腳 ===== */
.footer { background: var(--bg-elev); border-top: 1px solid var(--line); padding: 70px 40px 30px; }
.footer-top {
  max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px; padding-bottom: 50px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-tag { font-size: 14px; color: var(--ink-soft); max-width: 320px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(10,14,47,0.04); color: var(--ink-soft);
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--grad-main); color: #fff; transform: translateY(-2px); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.f-col h4 {
  font-family: var(--ff-display); font-weight: 700; font-size: 14px;
  color: var(--ink); margin-bottom: 18px; letter-spacing: -0.01em;
}
.f-col a {
  display: block; font-size: 13px; color: var(--ink-soft);
  padding: 5px 0; transition: color 0.25s var(--ease);
}
.f-col a:hover { color: var(--c-blue); }
.footer-bottom {
  max-width: 1340px; margin: 30px auto 0;
  display: flex; justify-content: center; align-items: center; gap: 20px;
  font-family: var(--ff-mono); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--c-blue); }

/* ===== 板塊配圖：圖片層 + 品牌色調疊加 ===== */
.svc-img, .b-img, .case-img, .story-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: transform 0.8s var(--ease);
}
.svc-visual::after, .b-cover::after, .case-visual::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0,212,255,0.42), rgba(0,102,255,0.32) 50%, rgba(255,60,172,0.42));
  mix-blend-mode: multiply;
  transition: opacity 0.5s var(--ease);
}
.svc-visual:hover .svc-img,
.b:hover .b-img,
.case-block:hover .case-img { transform: scale(1.06); }
.svc-visual:hover::after,
.b:hover .b-cover::after,
.case-block:hover .case-visual::after { opacity: 0.65; }
.svc-visual-label, .b-tag, .b-for, .case-cat { z-index: 3; }

/* 關於頁故事區配圖 */
.story-visual {
  position: relative; aspect-ratio: 5/4; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.story-visual::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, rgba(0,212,255,0.38), rgba(0,102,255,0.28) 50%, rgba(255,60,172,0.38));
  mix-blend-mode: multiply;
}
.story-visual .story-label {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  font-family: var(--ff-mono); font-size: 11px; color: #fff;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(10,14,47,0.45); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ===== 響應式 ===== */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta-btn { display: none; }
  .home-pillars .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card.p1, .pillar-card.p2, .pillar-card.p3, .pillar-card.p4 { grid-column: span 1; }
  .home-navgrid .navgrid { grid-template-columns: repeat(2, 1fr); }
  .home-intro .intro-grid, .about-story .story-grid, .team-block .team-grid { grid-template-columns: 1fr; gap: 30px; }
  .svc-row { grid-template-columns: 1fr; gap: 30px; }
  .svc-row.reverse .svc-visual { order: 0; }
  .svc-feats { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .b-big { grid-column: span 2; grid-row: span 2; }
  .b-tall { grid-row: span 1; }
  .b-wide { grid-column: span 2; }
  .scn-item { grid-template-columns: 60px 1fr; gap: 24px; }
  .scn-item .scn-points { grid-column: 1 / -1; }
  .scn-item:nth-child(even) { direction: ltr; }
  .case-block { grid-template-columns: 1fr; gap: 30px; }
  .case-block.reverse .case-visual { order: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .flow-track, .flow-track.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .flow-line { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .case-detail .row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 720px) {
  .section { padding: 80px 24px; }
  .hero { padding: 120px 24px 60px; }
  .page-hero { padding: 130px 24px 60px; }
  .nav-inner { padding: 0 24px; }
  .home-navgrid .navgrid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .b-big, .b-tall, .b-wide { grid-column: span 1; grid-row: span 1; }
  .scn-item { grid-template-columns: 1fr; gap: 16px; }
  .scn-no { font-size: 40px; }
  .contact-form-card, .channels-card { padding: 28px; }
  .cta-card { padding: 50px 28px; }
  .cta-band { padding: 60px 24px; }
  .lang-switch { font-size: 10px; }
  .pillar-card { padding: 28px; }
  .case-detail .row { grid-template-columns: 1fr; }
}

/* 導航移動端下拉 */
@media (max-width: 1100px) {
  .nav-links.mobile-open {
    display: flex; flex-direction: column; position: fixed;
    top: 70px; left: 0; right: 0; background: rgba(245,247,255,0.96);
    backdrop-filter: blur(20px); padding: 24px 40px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav-links.mobile-open a { padding: 14px 16px; font-size: 16px; }
}

/* 滾動條 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--c-blue), var(--c-violet)); border-radius: 4px; }
