﻿/* =================================================================
   LINKSOFT 2026 — Brand Edition
   跨境一站式智能投资交易软件服务提供商
   Brand: 鲜红 #D5301D + 纯黑 #0A0A0A
   ================================================================= */

:root {
  /* Brand Reds — sampled from official cover */
  --red-50:  #FEF1EE;
  --red-100: #FCE0DA;
  --red-200: #F8BFB1;
  --red-300: #F49A87;
  --red-400: #E96B52;
  --red-500: #D5301D;   /* PRIMARY — 鲜红 / 品牌主色 */
  --red-600: #B82A19;   /* hover / active */
  --red-700: #9A2014;
  --red-800: #75170E;
  --red-900: #4F0F09;

  /* Brand Blacks */
  --black:     #0A0A0A;
  --ink-900:   #111111;
  --ink-800:   #1A1A1A;
  --ink-700:   #2A2A2A;
  --ink-600:   #444444;
  --ink-500:   #6B6B6B;
  --ink-400:   #999999;
  --ink-300:   #C4C4C4;
  --ink-200:   #E5E5E5;
  --ink-100:   #F0F0F0;
  --ink-50:    #FAFAFA;
  /* 产品展示卡底色：必须与 tools/make-product-cards.ps1 里的 $cardBg 完全一致，
     否则设备图的边缘会出现一圈色差。 */
  --card:      #F4F5F7;
  --white:     #FFFFFF;

  /* Functional */
  --green:    #10B981;
  --amber:    #F59E0B;
  --blue-ink: #1E40AF;

  /* Geometry */
  --container: 1280px;
  --container-narrow: 1100px;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 22px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.05);
  --shadow:    0 4px 16px rgba(10, 10, 10, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 10, 10, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 10, 10, 0.18);
  --shadow-red: 0 12px 36px rgba(213, 48, 29, 0.25);

  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
* { 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 TC",
               "PingFang HK", "Hiragino Sans GB", "Microsoft JhengHei",
               "Noto Sans TC", "Microsoft YaHei", "Helvetica Neue",
               Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* overflow-x: clip 不建立滾動容器，position: sticky（章節導覽條）才不會失效。
     舊瀏覽器不支援 clip，上面的 hidden 仍作為兜底。 */
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: all .2s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: 0; }
ul, ol { list-style: none; }

/* ---------- Container ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink-900);
  letter-spacing: -0.012em;
}
h1 { font-size: clamp(40px, 5.5vw, 68px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 50px); }
h3 { font-size: clamp(22px, 2.5vw, 30px); }
h4 { font-size: 20px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red-500);
}

.section-title { font-size: clamp(30px, 4vw, 50px); margin-bottom: 18px; }
.section-sub {
  font-size: 18px;
  color: var(--ink-500);
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
  line-height: 1.7;
}

.text-red { color: var(--red-500); }
.text-gradient-red {
  background: linear-gradient(135deg, var(--red-500) 0%, var(--red-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  border: 0;
}
.btn-primary {
  background: var(--red-500);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(213, 48, 29, 0.4);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-dark {
  background: var(--ink-900);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--red-500);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--ink-900);
}
.btn-outline:hover {
  background: var(--ink-900);
  color: var(--white);
}
.btn-outline-red {
  background: transparent;
  color: var(--red-500);
  border: 1.5px solid var(--red-500);
}
.btn-outline-red:hover {
  background: var(--red-500);
  color: var(--white);
}
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .3s var(--ease);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--ink-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  color: var(--ink-900);
}
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}
.nav-logo-mark { display: none; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 8px 0;
}
.nav-link:hover { color: var(--red-500); }
.nav-link.active { color: var(--red-500); }
/* 下划线：改用 scaleX 动画，并用 left/right 定位，
   这样「有下拉」的项可以把 right 收窄，下划线不会延伸到箭头下面 */
.nav-link::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease);
}
.nav-link:hover::before,
.nav-link.active::before { transform: scaleX(1); }
/* 有下拉的导航项加一个箭头提示，否则用户不知道「解決方案」可以展开。
   箭头必须绝对定位在文字右侧：::before 会渲染在文字左边，margin-left 反而
   会把箭头推到更靠近前一个菜单项的位置。padding-right 18px 给箭头留位，
   箭头自身宽 8px，因此文字与箭头之间实际留白 10px。 */
.nav-link.has-child { padding-right: 18px; }
.nav-link.has-child::before { right: 18px; }
.nav-link.has-child::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  margin-top: -2px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .55;
  transition: transform .25s var(--ease);
}
.has-dropdown:hover > .nav-link.has-child::after { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-lang {
  font-size: 13px;
  color: var(--ink-500);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.nav-lang:hover { color: var(--red-500); }
/* 汉堡按钮：桌面端隐藏，≤1024px 由媒体查询改为 flex 显示。
   图标用三条 linear-gradient 绘制，不依赖字体是否有 ☰ 字形。 */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0; border-radius: 8px;
  background: var(--ink-100);
  color: var(--ink-900);
  cursor: pointer;
  align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.nav-toggle:hover { background: var(--ink-200); }
.nav-toggle-icon {
  display: block;
  width: 20px; height: 14px;
  background:
    linear-gradient(currentColor 0 0) 0 0    / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 6px  / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 12px / 100% 2px no-repeat;
}

/* ---------- Dropdown ---------- */
.has-dropdown { position: relative; }
/* 悬停桥接：面板用 top: calc(100% + 12px) 挂在导航下方，与 .has-dropdown 的底边之间
   留有 8~12px 空隙。鼠标平滑下移穿过这段空隙时 .has-dropdown:hover 失效，
   面板瞬间收起，菜单项永远点不中（指针瞬移的工具测不出来）。
   用一层透明桥接补上空隙，保证 hover 状态连续。 */
.has-dropdown:hover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 20px;
  z-index: 5;
}
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 640px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: all .25s var(--ease);
  border: 1px solid var(--ink-200);
  z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* 键盘可达：Tab 到导航项即展开面板 */
.has-dropdown:focus-within::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 20px;
  z-index: 5;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
/* 下拉為 2 欄；子項數為奇數時（如「解決方案」新增安全守護後共 5 項），
   最後一項獨佔整行，避免右欄留白。 */
.dropdown-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  transition: background .2s var(--ease);
}
.dropdown-item:hover { background: var(--ink-50); }
.dropdown-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--red-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700;
  flex-shrink: 0;
}
.dropdown-name { font-weight: 700; color: var(--ink-900); font-size: 14px; }
.dropdown-desc { font-size: 12px; color: var(--ink-500); margin-top: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 140px 0 80px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(213, 48, 29, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(213, 48, 29, 0.18) 0%, transparent 55%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}
/* .hero 是 flex 容器，.container 作为 flex 项默认按内容收缩。
   hero-visual 里只有绝对定位的内容（宽度贡献为 0），
   如果 .hero-content 用固定列 + 1fr，网格会被压成 540px 宽并居中，
   结果就是文字右移、产品图被挤出视口。这里锁死容器宽度。 */
.hero > .container { width: 100%; }
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(213, 48, 29, 0.15);
  border: 1px solid rgba(213, 48, 29, 0.35);
  border-radius: 100px;
  font-size: 13px;
  color: #FF8A75;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--red-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 { color: var(--white); margin-bottom: 28px; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--red-500) 0%, #FF8A75 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tag {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 44px;
  line-height: 1.7;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-value {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat-value .plus { color: var(--red-500); }
.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  height: 600px;
}
.hero-mockup {
  position: absolute;
  inset: 0;
  background-image: url('../img/prod-tradepro.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 24px 48px rgba(213, 48, 29, 0.22));
}
/* 旧的笔记本样机需要底部渐隐才能融进黑色首屏；
   现在的合成图自带阴影与留白，不再做渐隐，否则会吃掉手机画面。 */

/* ---------- Section ---------- */
.section { padding: 110px 0; }
/* 頂欄是 position:fixed，跨頁錨點跳轉必須預留偏移，否則目標會被頂欄蓋住 */
section[id] { scroll-margin-top: 96px; }
@media (max-width: 640px) {
  section[id] { scroll-margin-top: 120px; }
}
.section-sm { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 72px; }
.bg-light { background: var(--ink-50); }
.bg-dark { background: var(--black); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark .section-sub { color: rgba(255, 255, 255, 0.7); }
.bg-dark .eyebrow { color: var(--red-500); }
.bg-dark .eyebrow::before { background: var(--red-500); }

/* ---------- Marquee（共用跑馬燈組件） ----------
   首頁「資質滾動條」與 about 頁「客戶 LOGO 牆」使用同一套組件：
     .marquee       → 外框（可換膚）
     .marquee-track → 動畫軌道（唯一會位移的元素）
     .marquee-set   → 一組內容（單元寬度 = 組內內容 + 尾部間距）
     .marquee-item  → 單個內容
   四份 .marquee-set 串接 → 軌道寬度 = 4 × 單元寬度，
   位移 -25%（正好一個單元寬度）即可無縫循環。
   視窗寬度只要 ≤ 3 × 單元寬度就永不露縫（涵蓋 4K / 5K 螢幕）。 */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 32px 0;
  background: var(--ink-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 35s linear infinite;
  will-change: transform;
}
.marquee-set {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: var(--marquee-gap, 64px);
  padding-right: var(--marquee-gap, 64px);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}
/* 反向（右滑）：由 -1/4 滑回 0，視覺上內容往右走 */
@keyframes marquee-right {
  from { transform: translateX(-25%); }
  to   { transform: translateX(0); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.marquee-item-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--red-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s var(--ease);
}
.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--red-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700;
  margin-bottom: 20px;
  font-size: 20px;
}
.card-title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card-desc { font-size: 15px; color: var(--ink-500); line-height: 1.7; }

/* ---------- Segment Cards (4 大板块) ---------- */
/* 列数由 --cols 变量驱动。
   注意：模板里必须写 style="--cols:N"，不能写内联 grid-template-columns ——
   内联的 grid-template-columns 优先级高于媒体查询，会让手机端永远保持多列。 */
.segments {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  gap: 28px;
}
.segment {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 44px;
  transition: all .35s var(--ease);
  overflow: hidden;
}
.segment::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.segment:hover::before { transform: scaleX(1); }
.segment:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.segment-tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  background: var(--red-50);
  color: var(--red-500);
  border-radius: 6px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.segment-title { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.segment-desc { color: var(--ink-500); margin-bottom: 24px; line-height: 1.7; }
.segment-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.segment-product {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  background: var(--ink-50);
  color: var(--ink-700);
  border-radius: 6px;
  border: 1px solid var(--ink-200);
}
.segment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-500);
  font-weight: 700;
  font-size: 14px;
}
.segment-link:hover { color: var(--red-700); }
.segment-link .arrow { transition: transform .2s var(--ease); }
.segment-link:hover .arrow { transform: translateX(4px); }

/* ---------- Product Showcase (大产品图) ---------- */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-showcase.reverse { direction: rtl; }
.product-showcase.reverse > * { direction: ltr; }
.product-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--ink-50);
  aspect-ratio: 16/9;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--card);
}
.product-image-frame img { display: block; width: 100%; }
.product-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red-500);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-name::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--red-500);
}
.product-name .badge {
  font-size: 10px;
  padding: 2px 6px;
  background: var(--red-500);
  color: var(--white);
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
}
.product-title { font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.product-tagline { color: var(--red-500); font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.product-desc { color: var(--ink-500); font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.product-features li {
  font-size: 14px;
  color: var(--ink-700);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.product-features li::before {
  content: '✓';
  color: var(--red-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Client Logos ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.client {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-700);
  transition: all .3s var(--ease);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client:hover {
  border-color: var(--red-500);
  color: var(--red-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---------- Stat Counter ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-num .suffix { color: var(--red-500); }
.stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-top: 12px; letter-spacing: 0.05em; }

/* ---------- CTA Strip ---------- */
.cta-strip {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(213, 48, 29, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.cta-strip::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(213, 48, 29, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-strip-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-strip h3 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 800;
}
.cta-strip p { color: rgba(255, 255, 255, 0.7); font-size: 17px; }
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-logo img { display: block; height: 40px; width: auto; }
.footer-logo-mark {
  width: 32px; height: 32px;
  border-radius: 4px;
  background: var(--red-500);
  flex-shrink: 0;
}
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.6); }
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--red-500); }
.footer-contact-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
.footer-contact-row strong { color: var(--white); font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a:hover { color: var(--red-500); }

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 200px 0 100px;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(213, 48, 29, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(213, 48, 29, 0.15) 0%, transparent 60%);
}
.page-header-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.page-header h1 { color: var(--white); margin-bottom: 20px; }
.page-header p { color: rgba(255, 255, 255, 0.75); font-size: 19px; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--red-500); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.3); }

/* ---------- Two-column Layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.two-col-img img { display: block; width: 100%; }

/* ---------- Feature list ---------- */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--red-50);
  color: var(--red-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.feature-title { font-weight: 700; margin-bottom: 4px; }
.feature-desc { font-size: 14px; color: var(--ink-500); line-height: 1.6; }

/* ---------- Form ---------- */
.form-row { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-700);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  transition: all .2s var(--ease);
  background: var(--white);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(213, 48, 29, 0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.checkbox-row:hover { border-color: var(--red-500); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ---------- EN typography tuning ---------- */
/* EN copy runs 2-3x longer than Chinese; at the same size the EN hero overflows the fold.
   Latin glyphs are narrower and have a smaller x-height, so the EN scale sits one step lower.
   文本列固定 580px：EN 标题最长一行 "Intelligent Trading Software" 在 43px 下约 570px，
   留出余量后把右侧产品图列让出来。 */
html[lang="en"] .hero-content { grid-template-columns: 580px 1fr; gap: 40px; }
html[lang="en"] .hero h1 { font-size: clamp(32px, 3.3vw, 43px); letter-spacing: -0.025em; }
html[lang="en"] .hero-tag { font-size: 17px; max-width: 660px; }
html[lang="en"] h2 { font-size: clamp(26px, 3.2vw, 40px); }
html[lang="en"] .section-sub { font-size: 16px; }
html[lang="en"] .product-title { font-size: clamp(26px, 2.6vw, 36px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  /* 移动端：菜单项、语言切换、CTA 全部收进抽屉面板，顶栏只保留 LOGO + 汉堡按钮 */
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  /* html[lang="en"] .hero-content 的优先级高于 .hero-content，
     媒体查询里必须再写一次，否则英文版在移动端仍是两列。 */
  html[lang="en"] .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 360px; }
  .hero-stats, .stat-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .segments, .two-col, .feature-list, .product-showcase { grid-template-columns: 1fr; gap: 40px; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .dropdown { display: none; }
  .cta-strip { padding: 48px 32px; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 70px 0; }
  .product-showcase.reverse { direction: ltr; }
}
@media (max-width: 640px) {
  .hero { padding: 120px 0 60px; }
  .hero-stats, .stat-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .segment { padding: 28px; }
  .page-header { padding: 150px 0 60px; }
  .cta-strip { padding: 40px 24px; border-radius: var(--radius-lg); }
  .product-features { grid-template-columns: 1fr; }
  /* 首页「合作模式」：桌面 4 列，手机端因内联列数改用 --cols 变量已自动变单列；
     这里再收紧卡片内边距与图标尺寸，避免 4 张卡把区块拉得过长。 */
  #coop-modes .segments { gap: 16px; }
  #coop-modes .card { padding: 22px 20px; }
  #coop-modes .card-icon { width: 40px; height: 40px; font-size: 17px; border-radius: 10px; margin-bottom: 14px; }
  #coop-modes .card-title { font-size: 17px; margin-bottom: 6px; }
  #coop-modes .card-desc { font-size: 14px; line-height: 1.65; }
  html[lang="en"] #coop-modes .card-desc { font-size: 13.5px; }
}

/* ---------- Animation utilities ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.fade-in.in {
  opacity: 1;
  transform: translateY(0);
}
/* =================================================================
   LINKSOFT 2026 — v2 extensions
   新增组件：痛点卡 / 牌照 / 主体现构 / 部署模式 / 流程 / 成效 / 新闻 …
   ================================================================= */

/* ---------- Section head variants ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .section-title { margin-bottom: 0; }
.section-head .section-sub {
  margin: 0;
  text-align: left;
  max-width: 560px;
}
.section-head-left { text-align: left; }
.section-head-left .section-sub { text-align: left; margin-left: 0; }
.section-head-center { text-align: center; }
.section-head-center .eyebrow { justify-content: center; }

/* ---------- Pills ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  background: var(--ink-50);
  color: var(--ink-700);
  border: 1px solid var(--ink-200);
  transition: all .25s var(--ease);
  text-decoration: none;   /* .pill 也用作 <a>（頁腳交易所徽標），去掉底線 */
}
.pill:hover { border-color: var(--red-500); color: var(--red-500); }
.pill:focus-visible { outline: 2px solid var(--red-500); outline-offset: 3px; }
.pill-red { background: var(--red-50); color: var(--red-500); border-color: transparent; }
.pill-red:hover { background: var(--red-500); color: var(--white); }
.pill-dark { background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.14); }
.pill-dark:hover { border-color: var(--red-500); color: var(--white); }

/* ---------- Pain point cards ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pain-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  transition: all .35s var(--ease);
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--red-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.pain-card:hover::before { transform: scaleX(1); }
.pain-seg {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px; font-weight: 700;
  background: var(--red-50); color: var(--red-500);
  border-radius: 6px; letter-spacing: .06em;
  margin-bottom: 16px;
}
.pain-title { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.pain-value {
  font-size: 14px; font-weight: 600; color: var(--red-500);
  margin-bottom: 20px; padding-bottom: 18px;
  border-bottom: 1px dashed var(--ink-200);
}
.pain-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px; line-height: 1.7;
  color: var(--ink-500);
  margin-bottom: 9px;
}
.pain-list li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--red-300);
  transform: rotate(45deg);
}
.pain-list li:last-child { margin-bottom: 0; }

/* ---------- Value row ---------- */
.value-row {
  display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: 1px; background: var(--ink-200);
  border: 1px solid var(--ink-200); border-radius: var(--radius-lg);
  overflow: hidden;
}
.value-cell { background: var(--white); padding: 30px 26px; }
.value-cell-t { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.value-cell-t::before {
  content: ''; display: inline-block;
  width: 20px; height: 2px; background: var(--red-500);
  vertical-align: middle; margin-right: 10px;
}
.value-cell-d { font-size: 14px; color: var(--ink-500); line-height: 1.7; }

/* ---------- Arch strip ---------- */
.arch-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.arch-item {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  transition: all .3s var(--ease);
}
.arch-item:hover { background: rgba(213,48,29,.14); border-color: rgba(213,48,29,.45); transform: translateY(-4px); }
.arch-item-t { font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.arch-item-d { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ---------- Qualification cards ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.qual-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s var(--ease);
  display: flex; flex-direction: column;
}
.qual-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.qual-card-img { aspect-ratio: 4/3; background: var(--ink-50); overflow: hidden; }
.qual-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.qual-card-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.qual-card-tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-500); background: var(--red-50);
  padding: 4px 10px; border-radius: 5px; margin-bottom: 12px;
}
.qual-card-t { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.qual-card-d { font-size: 14px; color: var(--ink-500); line-height: 1.7; margin-bottom: 16px; }
.qual-card-h { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--ink-400); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- License (牌照) ---------- */
.license-list { display: grid; gap: 28px; }
.license-card {
  display: grid; grid-template-columns: 320px 1fr;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s var(--ease);
}
.license-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.license-media { background: var(--ink-50); display: flex; align-items: center; justify-content: center; padding: 24px; }
.license-media img { max-width: 100%; max-height: 260px; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow); }
.license-body { padding: 34px 36px; }
.license-code {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--white); background: var(--red-500);
  padding: 5px 12px; border-radius: 5px; margin-bottom: 14px;
}
.license-t { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.license-d { font-size: 15px; color: var(--ink-500); line-height: 1.75; margin-bottom: 20px; }
.kv-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px 18px; font-size: 14px; }
.kv-row dt { font-weight: 700; color: var(--ink-900); }
.kv-row dd { color: var(--ink-500); line-height: 1.7; }

/* ---------- Company entity grid ---------- */
.entity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.entity-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all .3s var(--ease);
}
.entity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red-200); }
.entity-n { font-size: 16px; font-weight: 800; margin-bottom: 8px; line-height: 1.5; }
.entity-r { font-size: 13px; color: var(--red-500); font-weight: 600; }
.entity-card::after {
  content: ''; position: absolute; left: 26px; bottom: 0;
  width: 28px; height: 3px; background: var(--red-500);
  border-radius: 3px 3px 0 0;
}

/* ---------- Deployment modes ---------- */
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deploy-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: all .35s var(--ease);
  position: relative; overflow: hidden;
}
.deploy-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--red-500); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.deploy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.deploy-card:hover::before { transform: scaleX(1); }
.deploy-n { font-size: 13px; font-weight: 800; color: var(--red-500); letter-spacing: .1em; margin-bottom: 10px; }
.deploy-t { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.deploy-fit { font-size: 13px; color: var(--ink-400); margin-bottom: 22px; }
.deploy-sub { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.deploy-sub.pro { color: var(--red-500); }
.deploy-sub.con { color: var(--ink-400); }
.deploy-list li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.7; color: var(--ink-600); margin-bottom: 7px; }
.deploy-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--red-500); font-weight: 800; font-size: 13px;
}
.deploy-list.con li::before { content: '×'; color: var(--ink-300); font-weight: 800; }
.deploy-list + .deploy-list { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--ink-200); }

/* ---------- Flow steps ---------- */
.flow-steps { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.flow-step {
  position: relative;
  padding: 11px 18px;
  font-size: 13.5px; font-weight: 600;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 100px;
  color: var(--ink-700);
  display: inline-flex; align-items: center;
}
.flow-step::after {
  content: '→';
  position: absolute; right: -11px; top: 50%; transform: translateY(-50%);
  color: var(--red-300); font-size: 13px; z-index: 1;
}
.flow-step:last-child::after { display: none; }
.flow-step.hi { background: var(--red-500); color: var(--white); border-color: var(--red-500); }

/* ---------- Numbered feature list ---------- */
.feature-list-num { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-num {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: all .3s var(--ease);
}
.feature-num:hover { border-color: var(--red-200); box-shadow: var(--shadow); }
.feature-num-i {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--red-500); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.feature-num-t { font-size: 15px; font-weight: 700; margin-bottom: 5px; line-height: 1.5; }
.feature-num-d { font-size: 13.5px; color: var(--ink-500); line-height: 1.75; }

/* ---------- Metrics ---------- */
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: all .3s var(--ease);
}
.metric:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.metric-v {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800; color: var(--red-500);
  letter-spacing: -0.02em; line-height: 1;
}
.metric-l { font-size: 14px; color: var(--ink-600); margin-top: 12px; font-weight: 600; }

/* ---------- News ---------- */
.news-list { display: grid; gap: 16px; }
.news-card {
  position: relative;
  display: grid; grid-template-columns: 130px 1fr auto;
  gap: 28px; align-items: center;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  transition: all .3s var(--ease);
}
/* 有落地頁的動態：整張卡片可點（stretched link），與 hover 位移 + 箭頭變紅的視覺暗示一致 */
.news-hit { position: absolute; inset: 0; border-radius: var(--radius-lg); }
.news-hit:focus-visible { outline: 2px solid var(--red-500); outline-offset: 3px; }
.news-card:hover { transform: translateX(4px); border-color: var(--red-200); box-shadow: var(--shadow); }
.news-date { font-size: 14px; font-weight: 700; color: var(--ink-400); letter-spacing: .04em; }
.news-cat { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--red-500); background: var(--red-50); padding: 3px 9px; border-radius: 4px; }
.news-t { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.5; }
.news-d { font-size: 14px; color: var(--ink-500); line-height: 1.7; }
.news-arrow { color: var(--ink-300); font-size: 22px; transition: all .25s var(--ease); }
.news-card:hover .news-arrow { color: var(--red-500); transform: translateX(4px); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.tab {
  padding: 10px 22px;
  font-size: 15px; font-weight: 600;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  color: var(--ink-600);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.tab:hover { border-color: var(--red-500); color: var(--red-500); }
.tab.active { background: var(--red-500); color: var(--white); border-color: var(--red-500); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Culture ---------- */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.culture-card {
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  background: var(--black);
  color: var(--white);
  position: relative; overflow: hidden;
  transition: all .35s var(--ease);
}
.culture-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(213,48,29,.4) 0%, transparent 65%);
  opacity: .8;
}
.culture-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.culture-en { position: relative; font-size: 13px; font-weight: 800; letter-spacing: .3em; color: var(--red-400); margin-bottom: 14px; }
.culture-t { position: relative; font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.culture-d { position: relative; font-size: 14.5px; color: rgba(255,255,255,.7); line-height: 1.8; }

/* ---------- Partner / client wall ---------- */
.partner-wall {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--ink-200);
  border: 1px solid var(--ink-200); border-radius: var(--radius-lg);
  overflow: hidden;
}
.partner-cell {
  background: var(--white); aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
  padding: 22px; transition: all .3s var(--ease);
}
.partner-cell:hover { background: var(--ink-50); }
.partner-cell img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .55; transition: all .35s var(--ease); }
.partner-cell:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }

/* ---------- Client logo marquee (about · 300+ 金融機構) ----------
   來源：舊版《LINKSOFT 簡介 2026》PPT 第 14 頁客戶 LOGO，已裁去中文名、只留圖形。
   直接複用首頁 .marquee 組件（.marquee-track / .marquee-set / .marquee-item），
   三行交叉滑動：第 1、3 行往右、第 2 行往左；整幅出血，不受 .container 寬度限制。
   不做 reduced-motion 靜態降級，與首頁資質條行為一致。 */
.clients-section { overflow: hidden; }
.marquee--logos {
  --marquee-gap: 56px;
  --lg-h: 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  overflow: hidden;
  padding: 34px 0 38px;
  /* logo 是白底合成圖，帶子必須也是白底，否則每個 logo 會露出白色方塊 */
  background: var(--white);
  border-top: 0;
  border-bottom: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-row { width: 100%; overflow: hidden; }
.marquee-row--right .marquee-track { animation-name: marquee-right; }
.marquee-item--logo {
  display: block;
  flex: 0 0 auto;
  height: var(--lg-h);
}
.marquee-item--logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 256px;
  object-fit: contain;
  opacity: .9;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.marquee-item--logo:hover img { opacity: 1; transform: scale(1.08); }
.marquee--logos:hover .marquee-track { animation-play-state: paused; }

.clients-note {
  margin: 26px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-400);
}
@media (max-width: 1024px) {
  .marquee--logos { --marquee-gap: 42px; --lg-h: 52px; }
}
@media (max-width: 640px) {
  .marquee--logos { --marquee-gap: 30px; --lg-h: 40px; gap: 12px; padding: 24px 0 28px; }
  .clients-note { font-size: 12px; }
}

/* ---------- Module cloud ---------- */
.module-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.module-tag {
  font-size: 13px; font-weight: 600;
  padding: 7px 13px; border-radius: 6px;
  background: var(--ink-50); color: var(--ink-700);
  border: 1px solid var(--ink-200);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  transition: all .3s var(--ease);
}
.contact-card:hover { border-color: var(--red-200); box-shadow: var(--shadow); }
.contact-t { font-size: 13px; font-weight: 700; color: var(--ink-400); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.contact-v { font-size: 19px; font-weight: 800; color: var(--ink-900); margin-bottom: 6px; line-height: 1.5; }
.contact-v a:hover { color: var(--red-500); }
.contact-d { font-size: 13.5px; color: var(--ink-500); line-height: 1.75; }

/* ---------- Role cards ---------- */
.role-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.role-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: all .3s var(--ease);
}
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.role-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.role-t { font-size: 17px; font-weight: 700; line-height: 1.5; }
.role-tag { flex-shrink: 0; font-size: 11.5px; font-weight: 700; color: var(--red-500); background: var(--red-50); padding: 4px 10px; border-radius: 5px; white-space: nowrap; }
.role-d { font-size: 14px; color: var(--ink-500); line-height: 1.75; }

/* ---------- Check / cross list ---------- */
.check-list li {
  position: relative; padding-left: 26px;
  font-size: 14.5px; color: var(--ink-600); line-height: 1.75; margin-bottom: 8px;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red-50); color: var(--red-500);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Dark panel ---------- */
.dark-panel {
  background: var(--black); color: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative; overflow: hidden;
}
.dark-panel::before {
  content: ''; position: absolute; top: -60%; right: -15%;
  width: 70%; height: 220%;
  background: radial-gradient(ellipse, rgba(213,48,29,.35) 0%, transparent 62%);
  pointer-events: none;
}
.dark-panel > * { position: relative; z-index: 1; }
.dark-panel h2, .dark-panel h3 { color: var(--white); }
.dark-panel .section-sub { color: rgba(255,255,255,.7); margin-left: 0; margin-right: 0; text-align: left; }

/* ---------- Strength / result ---------- */
.strength-row { display: flex; flex-wrap: wrap; gap: 10px; }
.strength {
  padding: 12px 22px; border-radius: 10px;
  background: rgba(213,48,29,.14);
  border: 1px solid rgba(213,48,29,.38);
  font-size: 16px; font-weight: 800; color: var(--white);
  letter-spacing: .06em;
}
.result-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }
.result {
  padding: 24px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
}
.result-t { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.result-d { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ---------- Service cycle ---------- */
.cycle { display: flex; flex-wrap: wrap; gap: 8px; }
.cycle-step {
  padding: 10px 16px; border-radius: 6px;
  background: var(--white); border: 1px solid var(--ink-200);
  font-size: 13.5px; font-weight: 600; color: var(--ink-700);
  position: relative;
}
.cycle-step::after {
  content: ''; position: absolute; right: -8px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 1px; background: var(--red-300);
}
.cycle-step:last-child::after { display: none; }
.cycle-step.on { background: var(--red-500); color: var(--white); border-color: var(--red-500); }

/* ---------- Channel cards ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.channel {
  padding: 28px 26px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--ink-200);
  transition: all .3s var(--ease);
}
.channel:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.channel-t { font-size: 13px; font-weight: 700; color: var(--ink-400); letter-spacing: .06em; margin-bottom: 10px; }
.channel-v { font-size: 20px; font-weight: 800; color: var(--red-500); word-break: break-all; }
.channel-v a:hover { color: var(--red-600); }

/* ---------- Nav language switch ---------- */
.lang-switch {
  font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: 6px;
  border: 1px solid var(--ink-200); color: var(--ink-600);
  transition: all .2s var(--ease); white-space: nowrap;
}
.lang-switch:hover { border-color: var(--red-500); color: var(--red-500); }
.nav.scrolled .lang-switch { border-color: var(--ink-300); }

/* ---------- Mobile nav ---------- */
/* 注意：.nav-toggle 的显隐由基础规则（桌面隐藏）与 @media (max-width:1024px)
   （移动端显示）分别控制；此处不要再声明 display:none，
   否则会因源顺序靠后而覆盖媒体查询，导致移动端汉堡按钮整个消失。 */
.mobile-panel {
  position: fixed; inset: 0; top: 0;
  background: var(--white);
  z-index: 200;
  padding: 92px 28px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel-close {
  position: absolute; top: 22px; right: 22px;
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--ink-100); color: var(--ink-900);
  font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.mobile-link {
  display: block; padding: 16px 0;
  font-size: 19px; font-weight: 700;
  border-bottom: 1px solid var(--ink-100);
}
.mobile-link:hover { color: var(--red-500); }
.mobile-sub { padding: 6px 0 10px 14px; }
.mobile-sub a {
  display: block; padding: 9px 0; font-size: 15px; color: var(--ink-500);
}
.mobile-sub a:hover { color: var(--red-500); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red-500); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; z-index: 90;
  box-shadow: var(--shadow-red);
  opacity: 0; pointer-events: none;
  transition: all .3s var(--ease);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--red-600); transform: translateY(-3px); }

/* ---------- Sticky section nav (solution pages) ---------- */
.anchor-nav {
  position: sticky; top: 76px; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-200);
  margin-bottom: 64px;
}
.anchor-inner { display: flex; gap: 4px; overflow-x: auto; }
.anchor-link {
  padding: 18px 20px; font-size: 15px; font-weight: 600;
  color: var(--ink-600); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all .2s var(--ease);
}
.anchor-link:hover { color: var(--red-500); }
.anchor-link.active { color: var(--red-500); border-bottom-color: var(--red-500); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pain-grid, .qual-grid, .entity-grid, .deploy-grid, .culture-grid,
  .feature-list-num, .contact-grid, .role-list, .channel-grid { grid-template-columns: 1fr; }
  .value-row, .arch-strip, .metric-row, .result-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-wall { grid-template-columns: repeat(4, 1fr); }
  .license-card { grid-template-columns: 1fr; }
  .license-media { padding: 28px; }
  .news-card { grid-template-columns: 1fr; gap: 12px; }
  .news-arrow { display: none; }
}
@media (max-width: 640px) {
  .value-row, .arch-strip, .metric-row, .result-grid { grid-template-columns: 1fr; }
  .partner-wall { grid-template-columns: repeat(2, 1fr); }
  .dark-panel { padding: 36px 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head .section-sub { max-width: 100%; }
  .flow-step { font-size: 12.5px; padding: 9px 14px; }
}
/* ---------- Footer entities ---------- */
.footer-entities {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 36px;
  margin-bottom: 32px;
}
.footer-entities h4 {
  color: var(--white);
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-entity-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
}
.footer-entity h5 {
  color: rgba(255,255,255,.9);
  font-size: 13.5px; font-weight: 700;
  margin-bottom: 7px;
  line-height: 1.5;
}
.footer-entity p {
  font-size: 12.5px; line-height: 1.8;
  color: rgba(255,255,255,.45);
}
@media (max-width: 1024px) { .footer-entity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .footer-entity-grid { grid-template-columns: 1fr; } }

/* ---------- Pain desc ---------- */
.pain-desc { color: var(--ink-500); font-size: 14.5px; line-height: 1.8; }

/* ---------- Nav: 煥新版正式發布入口 ----------
   放在 nav-cta 裡（English 語言切換之前），不佔 nav-menu 的 6 個主菜單位，
   所以不會擠壓既有導航。≤1024px 時 nav-cta 整塊隱藏，
   移動端改由 .mobile-panel 裡的 .mobile-launch 提供入口。 */
.nav-launch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1.5px solid var(--red-500);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-500);
  white-space: nowrap;
  transition: all .2s var(--ease);
}
.nav-launch:hover {
  background: var(--red-500);
  color: var(--white);
}
.nav-launch-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 3px;
  background: var(--red-500);
  color: var(--white);
}
.nav-launch:hover .nav-launch-tag {
  background: var(--white);
  color: var(--red-500);
}
.mobile-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
/* 產品區的「煥新版」按鈕：與 btn-dark / btn-outline-red 並列 */
.btn-launch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid var(--red-500);
  background: var(--red-50);
  color: var(--red-500);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: all .25s var(--ease);
}
.btn-launch:hover {
  background: var(--red-500);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(213, 48, 29, 0.35);
}
.btn-launch .arrow { transition: transform .2s var(--ease); }
.btn-launch:hover .arrow { transform: translateX(4px); }
.btn-launch .badge-new {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 3px;
  background: var(--red-500);
  color: var(--white);
}
.btn-launch:hover .badge-new { background: var(--white); color: var(--red-500); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   LinkAuth · 安全守護頁（solutions-security）
   ============================================================ */

/* ---------- Hero ---------- */
.page-header--app { padding: 188px 0 88px; }
.page-header--app h1 {
  font-size: clamp(32px, 4.2vw, 54px);
  max-width: 16em; margin-left: auto; margin-right: auto;
}
.page-header--app p { max-width: 660px; margin: 0 auto 32px; }
/* 英文排版獨立檔位：拉丁字元比中文字形窄，首屏標題需降一檔並放寬文字列寬。
   這組規則必須寫在下方 @media (max-width:1024px) 之前，否則會蓋掉移動端規則。 */
html[lang="en"] .page-header--app h1 { font-size: clamp(30px, 3.6vw, 46px); max-width: 18em; }
html[lang="en"] .page-header--app p { font-size: 17px; max-width: 700px; }

/* ---------- 下載按鈕組 ---------- */
.dl-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 24px 12px 16px;
  border-radius: 14px; text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: var(--white); text-align: left;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.dl-btn:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .34); }
.dl-btn:focus-visible { outline: 2px solid var(--red-500); outline-offset: 3px; }
.dl-btn--ios { background: var(--white); color: var(--ink-900); border-color: var(--white); }
.dl-btn--ios:hover { background: var(--white); border-color: var(--white); box-shadow: 0 16px 36px rgba(0, 0, 0, .38); }
.dl-btn--android:hover { background: rgba(213, 48, 29, .18); border-color: var(--red-500); }
.dl-btn-ico { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-btn-ico svg { width: 25px; height: 25px; display: block; }
.dl-btn-txt { display: flex; flex-direction: column; gap: 4px; }
.dl-btn-t { font-size: 15.5px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.dl-btn-s { font-size: 12px; font-weight: 600; line-height: 1.25; color: rgba(255, 255, 255, .6); }
.dl-btn--ios .dl-btn-s { color: var(--ink-500); }
.dl-meta { margin: 22px auto 0; max-width: 640px; font-size: 12.5px; color: rgba(255, 255, 255, .45); text-align: center; }
.dl-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- 功能分欄（左右交替 + 手機截圖） ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 72px;
  align-items: center;
  padding: 44px 0;
}
/* 分隔線只畫在第 2 個之後的分欄之間，第一欄上方不畫 */
.feature-split + .feature-split { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 56px; }
.feature-split--reverse { direction: rtl; }
.feature-split--reverse > * { direction: ltr; }
.feature-split-body { max-width: 540px; }
.feature-split-no {
  font-size: 13px; font-weight: 800; letter-spacing: .14em;
  color: rgba(255, 255, 255, .3); margin-bottom: 10px;
}
.feature-split-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red-500); margin-bottom: 12px;
}
.feature-split-tag::before { content: ''; width: 22px; height: 2px; background: var(--red-500); }
.feature-split-title { font-size: clamp(24px, 2.5vw, 31px); color: var(--white); margin-bottom: 14px; }
.feature-split-desc { font-size: 15px; color: rgba(255, 255, 255, .68); line-height: 1.85; margin-bottom: 22px; }
.feature-split-list { list-style: none; padding: 0; margin: 0; }
.feature-split-list li {
  position: relative; padding-left: 26px;
  font-size: 14.5px; color: rgba(255, 255, 255, .78); line-height: 1.75; margin-bottom: 9px;
}
.feature-split-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--red-500);
}
.feature-split-list li:last-child { margin-bottom: 0; }
.feature-shot { display: flex; justify-content: center; }
.phone-shot {
  position: relative; width: 100%; max-width: 300px;
  border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  background: #0d0d0d;
}
.phone-shot img { display: block; width: 100%; height: auto; }
.phone-shot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 28%);
}

/* ---------- 場景卡 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }
.scene-card {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); padding: 28px 24px 30px;
  transition: all .3s var(--ease);
}
.scene-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.scene-card-no { font-size: 12px; font-weight: 800; color: var(--red-500); letter-spacing: .12em; margin-bottom: 12px; }
.scene-card-t { font-size: 17px; font-weight: 800; margin-bottom: 10px; line-height: 1.45; }
.scene-card-d { font-size: 14px; color: var(--ink-500); line-height: 1.8; margin: 0; }

/* ---------- 響應式 ---------- */
@media (max-width: 1024px) {
  .feature-split { grid-template-columns: 1fr; gap: 36px; }
  .feature-split--reverse { direction: ltr; }
  .feature-split-body { max-width: none; }
  .phone-shot { max-width: 280px; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-header--app { padding: 128px 0 60px; }
  .page-header--app h1,
  html[lang="en"] .page-header--app h1 { font-size: 28px; }
  .page-header--app p,
  html[lang="en"] .page-header--app p { font-size: 15.5px; }
  .dl-btn { width: 100%; max-width: 360px; }
  .dl-meta { font-size: 11.5px; }
  .feature-split { padding: 36px 0; gap: 28px; }
  .feature-split + .feature-split { padding-top: 44px; }
  .phone-shot { max-width: 240px; }
  .scene-grid { grid-template-columns: 1fr; }
}
