/* ═══════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════ */
:root {
  --blue-50: #F0F7FF;
  --blue-100: #E0EFFF;
  --blue-200: #B8D9FC;
  --blue-300: #8DC5F0;
  --blue-400: #5BA8E6;
  --blue-500: #3B8DD4;
  --blue-600: #2A6FB0;
  --blue-700: #1E5490;
  --lavender: #9B8FD4;
  --lavender-light: #C4BCEB;
  --lavender-pale: #EEEAFF;

  --white: #FFFFFF;
  --green-400: #34D399;
  --green-500: #10B981;

  /* Semantic — Brand */
  --color-brand-primary: var(--blue-400);
  --color-brand-primary-hover: var(--blue-500);
  --color-brand-secondary: var(--lavender);

  /* Semantic — Surface */
  --color-surface-page: #F8FBFF;
  --color-surface-base: #FFFFFF;
  --color-surface-raised: #FFFFFF;
  --color-surface-overlay: rgba(15,29,47,0.6);
  --color-surface-subtle: #F1F5FB;

  /* Semantic — Surface（品牌藍淺色調，DESIGN-GUIDELINE §2.2）*/
  --color-surface-brand-subtle: var(--blue-50);
  --color-surface-brand-light: var(--blue-100);
  --color-surface-brand-muted: var(--blue-200);
  --color-surface-brand-soft: var(--blue-300);

  /* Semantic — Text */
  --color-text-primary: #0F1D2F;
  --color-text-secondary: #3B4F68;
  --color-text-disabled: #94A3B8;
  --color-text-inverse: #FFFFFF;
  --color-text-placeholder: #94A3B8;

  /* Semantic — Border */
  --color-border-default: rgba(91,168,230,0.12);
  --color-border-strong: rgba(91,168,230,0.20);
  --color-border-focus: var(--blue-400);
  --color-border-subtle: rgba(91,168,230,0.06);

  /* Semantic — Status */
  --color-semantic-error: #ef4444;
  --color-semantic-error-bg: rgba(239,68,68,0.10);
  --color-semantic-error-text: #dc2626;
  --color-semantic-warning: #f59e0b;
  --color-semantic-warning-bg: rgba(245,158,11,0.10);
  --color-semantic-warning-text: #b45309;
  --color-semantic-success: var(--green-500);
  --color-semantic-success-bg: rgba(16,185,129,0.10);
  --color-semantic-success-text: #047857;
  --color-semantic-info: var(--blue-400);
  --color-semantic-info-bg: var(--blue-50);
  --color-semantic-info-text: var(--blue-600);

  /* Font Family */
  --font-sans: 'Outfit', 'Noto Sans TC', -apple-system, sans-serif;
  --font-mono: 'Outfit', ui-monospace, monospace;
  --font-serif: 'Noto Serif TC', Georgia, serif;

  /* Blog Category */
  --blog-a-bg: #E8F2FF;
  --blog-a-text: #4A8EDF;
  --blog-b-bg: #EEFBF4;
  --blog-b-text: #2D9D6E;
  --blog-c-bg: #FFF0F5;
  --blog-c-text: #FF6B9D;


  --shadow-sm: 0 1px 3px rgba(15,29,47,0.04), 0 1px 2px rgba(15,29,47,0.02);
  --shadow-md: 0 4px 16px rgba(15,29,47,0.06), 0 2px 6px rgba(15,29,47,0.03);
  --shadow-lg: 0 12px 40px rgba(15,29,47,0.08), 0 4px 12px rgba(15,29,47,0.04);
  --shadow-xl: 0 24px 64px rgba(15,29,47,0.1), 0 8px 24px rgba(15,29,47,0.05);
  --shadow-blue: 0 8px 32px rgba(91,168,230,0.2);
  --shadow-blue-lg: 0 16px 48px rgba(91,168,230,0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 100px;

  --fs-2xs: 10px;
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-base: 13px;
  --fs-md: 14px;
  --fs-std: 15px;
  --fs-lg: 16px;
  --fs-xl: 17px;
  --fs-2xl: 18px;
  --fs-3xl: 20px;
  --fs-4xl: 22px;
  --fs-5xl: 28px;
  --fs-display: 48px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Focus Ring — 全站統一規格（DESIGN-GUIDELINE §2.2） */
  --focus-ring: 0 0 0 3px rgba(91,168,230,0.4);
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--color-surface-page);
  color: var(--color-text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Noise texture overlay for depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
.font-display {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════
   SHARED COMPONENTS
   ═══════════════════════════════════════ */
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

section {
  padding: 100px 48px;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  background: var(--blue-100);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-lead {
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 48px;
}

/* Primary CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-500) 100%);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: var(--fs-std);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-lg), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91,168,230,0.4);
}
.btn-primary:active { transform: translateY(0); }

/* Secondary CTA Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-500);
  font-size: var(--fs-std);
  font-weight: 500;
  padding: 14px 8px;
  transition: all 0.25s var(--ease-out);
  border-bottom: 1.5px solid transparent;
}
.btn-secondary:hover {
  color: var(--blue-600);
  border-bottom-color: var(--blue-400);
}
.btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91,168,230,0.4);
  border-radius: var(--radius-sm);
}
.btn-secondary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-out);
}
.btn-secondary:hover svg { transform: translateY(2px); }

/* White CTA */
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--blue-500);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: var(--fs-std);
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.btn-white:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91,168,230,0.4);
}

/* Glass Card */
.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
}
.glass-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   NAV
   ═══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(248,251,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 0 var(--color-border-default);
  transition: all 0.3s var(--ease-out);
}
nav.scrolled {
  padding: 12px 48px;
  box-shadow:
    0 1px 0 0 var(--color-border-default),
    var(--shadow-sm);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a:not(.nav-cta) {
  color: var(--color-text-secondary);
  font-size: var(--fs-md);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--color-text-primary); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue-400);
  transition: width 0.25s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--blue-400);
  color: var(--color-text-inverse);
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-base);
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 2px 8px rgba(91,168,230,0.2);
}
.nav-cta:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(91,168,230,0.3);
}
.nav-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91,168,230,0.4);
}

/* Hamburger button (mobile only) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 100px;
  position: relative;
  overflow: hidden;
  background: var(--color-surface-page);
}

/* Gradient mesh background */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg-img {
  position: absolute;
  right: -5%;
  top: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.6) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.6) 0%, transparent 80%);
  filter: saturate(0.4) brightness(1.1);
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -10%; right: -5%;
  background: radial-gradient(circle, rgba(91,168,230,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 20s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  bottom: -15%; left: -5%;
  background: radial-gradient(circle, rgba(155,143,212,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 25s ease-in-out infinite reverse;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  flex: 1;
  animation: hero-enter 1s var(--ease-out) both;
}

.hero-eyebrow {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--blue-400);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--blue-300);
  flex-shrink: 0;
}

/* ── 官方活動公告橫幅（首頁頂部） ── */
.event-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 7px 16px 7px 8px;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--lavender-pale) 100%);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.event-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-400);
}
.event-banner .eb-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  padding: 4px 11px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.event-banner .eb-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-700);
  white-space: nowrap;
}
.event-banner .eb-text b {
  color: var(--blue-500);
  font-weight: 700;
}
.event-banner .eb-arrow {
  display: inline-flex;
  color: var(--blue-500);
  transition: transform 0.3s var(--ease-out);
}
.event-banner:hover .eb-arrow {
  transform: translateX(3px);
}
@media (max-width: 480px) {
  .event-banner {
    gap: 8px;
    padding: 6px 12px 6px 6px;
  }
  .event-banner .eb-text { font-size: 12.5px; white-space: normal; }
  .event-banner .eb-badge { font-size: 10px; padding: 3px 8px; }
}
.event-banner.eb-pulse {
  animation: eb-pulse 0.9s var(--ease-out) 2;
  border-color: var(--blue-400);
}
@keyframes eb-pulse {
  0% { box-shadow: 0 0 0 0 rgba(91,168,230,0.5); transform: scale(1); }
  30% { transform: scale(1.06); }
  100% { box-shadow: 0 0 0 16px rgba(91,168,230,0); transform: scale(1); }
}

/* ── 官方活動開屏卡（首次進站置中顯示，收合時飛回 hero 活動 pill；overlay 不佔版面、無 CLS）── */
.event-splash {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15,29,47,0);
  transition: background 0.6s var(--ease-out);
}
.event-splash.show {
  background: rgba(15,29,47,0.45);
}
.event-splash.collapse {
  background: rgba(15,29,47,0);
  pointer-events: none;
  transition: background 0.5s ease;
}
.event-splash .es-inner {
  position: relative;
  width: min(560px, 100%);
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: transform, opacity;
}
.event-splash.show .es-inner {
  opacity: 1;
  transform: none;
}
/* 收合：卡片保持清晰往上飛向 pill（opacity 延遲到後段才淡出），把使用者視線帶回活動 pill */
.event-splash.collapse .es-inner {
  opacity: 0;
  transform: translate(var(--es-tx, 0px), var(--es-ty, -45vh)) scale(var(--es-scale, 0.1));
  transition: transform 0.75s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.25s ease 0.5s;
}
.event-splash .es-card {
  display: flex;
  align-items: stretch;
  background: var(--color-surface-base);
  border-radius: var(--radius-lg);
  /* Rule 01-A：outer ring 取代 border，與 shadow 並存 */
  box-shadow: 0 0 0 1px var(--color-border-strong), var(--shadow-xl), var(--shadow-blue);
  overflow: hidden;
  text-decoration: none;
}
.event-splash .es-thumb {
  flex-shrink: 0;
  width: 136px;
}
.event-splash .es-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-splash .es-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.event-splash .es-badge {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  padding: 4px 11px;
  border-radius: var(--radius-full);
}
.event-splash .es-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.35;
}
.event-splash .es-sub {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.55;
}
.event-splash .es-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.event-splash .es-card:hover .es-cta {
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}
.event-splash .es-close {
  position: absolute;
  top: -12px;
  right: -8px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-base);
  border: none;
  border-radius: var(--radius-full);
  --es-close-ring: var(--color-border-strong);
  box-shadow: 0 0 0 1px var(--es-close-ring), var(--shadow-md);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.event-splash .es-close:hover {
  color: var(--color-text-primary);
  --es-close-ring: var(--blue-400);
}
@media (max-width: 480px) {
  .event-splash { padding: 16px; }
  .event-splash .es-thumb { width: 104px; }
  .event-splash .es-body { padding: 14px 14px 14px 16px; gap: 5px; }
  .event-splash .es-title { font-size: var(--fs-lg); }
  .event-splash .es-sub { font-size: var(--fs-sm); }
  .event-splash .es-close { top: -10px; right: -4px; }
}
@media (prefers-reduced-motion: reduce) {
  .event-splash .es-inner,
  .event-splash.collapse .es-inner { transition: opacity 0.2s ease; transform: none; }
  .event-banner.eb-pulse { animation: none; }
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-400), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--fs-2xl);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 420px;
}

.hero-slogan {
  font-size: var(--fs-std);
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 420px;
}
.hero-slogan span {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--color-text-disabled);
  letter-spacing: 0.03em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero Visual - App Mockup */
.hero-visual {
  flex-shrink: 0;
  width: min(520px, 45vw);
  animation: hero-visual-enter 1.2s 0.3s var(--ease-out) both;
}

.phone-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 400px;
  /* 手機組比容器寬會左右溢出；視窗越窄右側越容易被切。
     響應式左移：≥1490px 不移，越窄左移越多，最多 110px（避免壓到標題文字） */
  transform: translateX(clamp(-110px, (100vw - 1490px) / 2, 0px));
}

.phone-item {
  flex-shrink: 0;
  width: 90px;
  height: 180px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--blue-50);
  box-shadow:
    0 0 0 2px rgba(91,168,230,0.12),
    var(--shadow-sm);
  cursor: pointer;
  transition: all 0.5s var(--ease-out);
  opacity: 0.4;
  filter: blur(1px) saturate(0.5);
  transform: scale(0.88);
}
.phone-item.near {
  width: 110px;
  height: 230px;
  opacity: 0.65;
  filter: blur(0) saturate(0.7);
  transform: scale(0.94);
  border-radius: 26px;
}
.phone-item.active {
  width: 170px;
  height: 360px;
  opacity: 1;
  filter: blur(0) saturate(1);
  transform: scale(1);
  z-index: 2;
  border-radius: 32px;
  box-shadow:
    0 0 0 2px rgba(91,168,230,0.25),
    0 0 0 6px rgba(91,168,230,0.08),
    var(--shadow-xl);
}
.phone-item:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(91,168,230,0.4);
}
.phone-item:hover:not(.active) {
  opacity: 0.75;
  filter: blur(0) saturate(0.8);
  transform: scale(0.95);
}
.phone-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════
   MECHANISM STRIP
   ═══════════════════════════════════════ */
#mechanism {
  background: var(--color-surface-base);
  border-top: 1px solid var(--color-border-default);
  border-bottom: 1px solid var(--color-border-default);
  padding: 0 48px;
}

.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.mechanism-item {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: background 0.3s;
}
.mechanism-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--color-border-default);
}
.mechanism-item:hover {
  background: var(--blue-50);
}

.mechanism-number {
  font-family: var(--font-sans);
  font-size: var(--fs-5xl);
  font-weight: 700;
  color: var(--blue-400);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.mechanism-label {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   HOW IT WORKS — Carousel
   ═══════════════════════════════════════ */
#how { background: var(--color-surface-page); }

.steps-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.steps-track {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-surface-base);
  box-shadow:
    0 0 0 1px var(--color-border-default),
    var(--shadow-lg);
}

.step-slide {
  min-width: 100%;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  gap: 36px;
  transition: transform 0.5s var(--ease-out);
}

.step-slide-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-100), var(--lavender-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-slide-icon svg {
  width: 36px; height: 36px;
  color: var(--blue-500);
}

.step-slide-content { flex: 1; }

.step-slide-num {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-400);
  margin-bottom: 8px;
}

.step-slide-title {
  font-family: var(--font-sans);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.step-slide-desc {
  font-size: var(--fs-std);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.step-slide-note {
  font-size: var(--fs-sm);
  color: var(--color-text-disabled);
  line-height: 1.7;
  margin-top: 10px;
}

/* Carousel dots + arrows */
.steps-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.steps-dots {
  display: flex;
  gap: 8px;
}

.step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue-200);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  padding: 0;
}
.step-dot.active {
  background: var(--blue-400);
  width: 28px;
  border-radius: var(--radius-full);
}
.step-dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91,168,230,0.4);
}

.step-arrow-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-strong);
  background: var(--color-surface-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all 0.25s var(--ease-out);
}
.step-arrow-btn:hover {
  background: var(--blue-50);
  border-color: var(--blue-300);
  color: var(--blue-500);
}
.step-arrow-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91,168,230,0.4);
}
.step-arrow-btn svg {
  width: 18px; height: 18px;
}

/* Mini step progress bar */
.steps-progress {
  display: flex;
  gap: 4px;
  max-width: 720px;
  margin: 16px auto 0;
}
.steps-progress-item {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--blue-100);
  transition: background 0.3s;
}
.steps-progress-item.done {
  background: var(--blue-400);
}
.steps-progress-item.current {
  background: linear-gradient(90deg, var(--blue-400), var(--blue-200));
}

/* ═══════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════ */
.cta-band {
  padding: 64px 48px;
  text-align: center;
}
.cta-band.subtle {
  background: var(--color-surface-subtle);
}
.cta-band.warm {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-600) 50%, var(--lavender) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-band.warm .cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: saturate(0) brightness(1.2);
}
.cta-band.warm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.05;
}

/* Subtle CTA with photo */
.cta-band.subtle {
  background: var(--color-surface-subtle);
  position: relative;
  overflow: hidden;
}
.cta-band.subtle .cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.5);
}

/* ═══════════════════════════════════════
   ABOUT with side image
   ═══════════════════════════════════════ */
.about-layout {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.about-text { flex: 1; }
.about-image-wrapper {
  flex-shrink: 0;
  width: 280px;
  height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}
.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,168,230,0.1) 0%, transparent 50%);
  border-radius: var(--radius-xl);
}

.cta-band h2 {
  font-family: var(--font-sans);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 28px;
  position: relative;
}
.cta-band.subtle h2 { color: var(--color-text-secondary); }
.cta-band .btn-primary,
.cta-band .btn-white { position: relative; }

/* ═══════════════════════════════════════
   TRUST
   ═══════════════════════════════════════ */
#trust { background: var(--color-surface-page); }

.trust-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.trust-card-top {
  background: var(--color-surface-base);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--color-border-default);
}
.trust-card-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-300), var(--blue-400));
  opacity: 0;
  transition: opacity 0.3s;
}
.trust-card-top:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px var(--color-border-default),
    var(--shadow-lg);
}
.trust-card-top:hover::before { opacity: 1; }

.trust-step-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-400);
  background: var(--blue-50);
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.trust-card-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-100), var(--lavender-pale));
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-card-icon svg {
  width: 22px; height: 22px;
  color: var(--blue-500);
}

.trust-card-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.trust-card-desc {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Trust Bottom Features */
.trust-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.trust-feature {
  background: var(--color-surface-base);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 0 1px var(--color-border-default);
}
.trust-feature:hover {
  box-shadow:
    0 0 0 1px var(--blue-200),
    var(--shadow-sm);
}

.trust-feature-title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-feature-title::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
  flex-shrink: 0;
}

.trust-feature-desc {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Trust Summary */
.trust-summary {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

.trust-summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
}
.trust-summary-item strong {
  color: var(--blue-500);
  font-weight: 700;
}
.trust-summary-icon {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-summary-icon svg {
  width: 18px; height: 18px;
  color: var(--blue-400);
}

/* Profile Cards */
.profile-carousel {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

.profile-card {
  min-width: 240px;
  max-width: 280px;
  background: var(--color-surface-base);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: all 0.45s var(--ease-out);
  opacity: 0.55;
  transform: scale(0.92);
  filter: blur(0.5px);
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--color-border-default);
}
.profile-card.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  box-shadow:
    0 0 0 1px var(--blue-200),
    var(--shadow-lg);
}
.profile-card:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(91,168,230,0.4);
}
.profile-card:hover {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.profile-name {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}
.profile-meta {
  font-size: var(--fs-sm);
  color: var(--color-text-disabled);
}

.profile-rating {
  font-family: var(--font-sans);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--blue-400);
  line-height: 1;
}

.profile-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.profile-tag {
  font-size: var(--fs-sm);
  padding: 4px 12px;
  background: var(--blue-50);
  color: var(--blue-500);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.profile-verified {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.verified-item {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.verified-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-400), var(--green-500));
  color: white;
  font-size: var(--fs-2xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════ */
#testimonials { background: var(--color-surface-base); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: var(--color-surface-page);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  box-shadow: 0 0 0 1px var(--color-border-default);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; left: 20px;
  font-family: var(--font-sans);
  font-size: var(--fs-display);
  line-height: 1;
  color: var(--blue-100);
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow:
    0 0 0 1px var(--blue-200),
    var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-quote {
  font-size: var(--fs-std);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-200), var(--lavender-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-text-primary);
}
.author-meta {
  font-size: var(--fs-sm);
  color: var(--color-text-disabled);
}

/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
#faq { background: var(--color-surface-page); }

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-default);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-size: var(--fs-std);
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  transition: color 0.2s;
  gap: 16px;
}
.faq-question:hover { color: var(--blue-500); }
.faq-question:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91,168,230,0.4);
  border-radius: var(--radius-sm);
}

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  font-size: var(--fs-lg);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue-400);
  color: white;
}

.faq-answer {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  line-height: 1.8;
  padding-bottom: 22px;
  display: none;
  animation: fade-in 0.3s var(--ease-out);
}
.faq-item.open .faq-answer { display: block; }

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */
#about {
  background: var(--color-surface-base);
}

.about-quote {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--blue-500);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 40px;
  position: relative;
}
.about-quote::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--blue-200);
  margin: 0 0 24px;
}

.about-body {
  font-size: var(--fs-std);
  color: var(--color-text-secondary);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 0 24px;
}
.about-signature {
  margin-top: 32px;
  font-size: var(--fs-std);
  color: var(--color-text-secondary);
}
.about-signature em {
  font-style: italic;
  color: var(--color-text-disabled);
  font-size: var(--fs-md);
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  font-size: var(--fs-base);
  color: var(--color-text-disabled);
  margin-top: 48px;
  text-align: center;
}
.about-meta strong {
  color: var(--color-text-secondary);
  font-size: var(--fs-md);
}
.about-meta a {
  color: var(--blue-400);
  transition: color 0.2s;
}
.about-meta a:hover { color: var(--blue-500); }

.about-quote-highlight {
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.8;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 3px solid var(--blue-400);
}
.about-closing-quote {
  font-style: italic;
  color: var(--color-text-primary);
}
.about-company-info {
  margin-top: 64px;
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid var(--color-border-default);
}
.about-company-info p { margin-bottom: 4px; }
.about-company-info p:last-child { margin-bottom: 0; }
.about-company-info strong { color: var(--color-text-primary); }

/* Skip navigation */
.skip-nav {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-nav:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: var(--blue-600);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  font-size: var(--fs-md);
  font-weight: 600;
  text-decoration: none;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
footer {
  background: var(--color-text-primary);
  padding: 40px 48px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-sans);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  display: block;
}

.footer-links {
  margin-bottom: 12px;
  font-size: var(--fs-base);
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-copy {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-visual-enter {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
/* 顯示與 delay 分開定義：子元素數量超過下方列舉時仍會正常顯示，只是共用最後一段 delay */
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.visible > *:nth-child(n+9) { transition-delay: 0.64s; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
/* ═══════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════ */
.about-page {
  padding: 120px 48px 80px;
  max-width: 900px;
  margin: 0 auto;
}
.about-page h1 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.about-page .about-subtitle {
  font-size: var(--fs-std);
  color: var(--color-text-secondary);
  margin-bottom: 48px;
  line-height: 1.7;
}
.about-page .gradient-text {
  background: linear-gradient(135deg, var(--blue-400), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mission banner */
.about-mission {
  background: var(--color-text-primary);
  padding: 32px 36px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}
.about-mission-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: rgba(91,168,230,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-mission h3 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-text-inverse);
  margin-bottom: 4px;
}
.about-mission p {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Story section */
.about-page h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.about-page h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-400), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-page p {
  font-size: var(--fs-std);
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: 14px;
}

/* Founders grid */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.founder-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px var(--color-border-default),
    var(--shadow-sm);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.founder-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px var(--color-border-default),
    var(--shadow-md);
}
.founder-avatar {
  width: 56px; height: 56px;
  min-width: 56px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid rgba(91,168,230,0.2);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-avatar svg { display: block; }
.founder-info { flex: 1; }
.founder-name {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}
.founder-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.linkedin-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue-400);
  transition: color 0.2s;
}
.linkedin-link:hover { color: var(--blue-600); }
.founder-title {
  font-size: var(--fs-sm);
  color: var(--color-text-disabled);
  margin-bottom: 8px;
}
.founder-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--blue-50);
  color: var(--blue-500);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  border: 1px solid rgba(91,168,230,0.2);
}
.resp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.resp-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
}
.resp-list .resp-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--lavender));
  flex-shrink: 0;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.value-card {
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: 0 0 0 1px var(--color-border-default);
}
.value-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px var(--color-border-default),
    var(--shadow-md);
}
.value-icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.value-card h3 {
  font-size: var(--fs-std);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
.value-card p {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════ */
.legal-page { padding: 120px 48px 80px; max-width: 720px; margin: 0 auto; }
.legal-page h1 { font-family: var(--font-sans); font-size: clamp(28px, 4vw, 36px); font-weight: 700; color: var(--color-text-primary); margin-bottom: 8px; }
.legal-page .legal-subtitle { font-size: var(--fs-md); color: var(--color-text-disabled); margin-bottom: 48px; }
.legal-page h2 { font-size: var(--fs-2xl); font-weight: 700; color: var(--color-text-primary); margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--color-border-default); }
.legal-page p { font-size: var(--fs-std); color: var(--color-text-secondary); line-height: 1.9; margin-bottom: 12px; }
.legal-page ul { margin: 8px 0 16px 20px; }
.legal-page li { font-size: var(--fs-std); color: var(--color-text-secondary); line-height: 1.9; margin-bottom: 4px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-md); color: var(--blue-400); margin-bottom: 32px; transition: color 0.2s; }
.legal-back:hover { color: var(--blue-600); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  nav.scrolled { padding: 10px 20px; }
  nav .nav-logo img { height: 38px; }

  nav .nav-hamburger {
    display: flex;
  }

  nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface-base);
    border-radius: var(--radius-md);
    box-shadow:
      0 0 0 1px var(--color-border-default),
      var(--shadow-lg);
    padding: 8px 0;
    z-index: 150;
  }
  nav .nav-links.mobile-open {
    display: flex;
  }
  nav .nav-links a:not(.nav-cta) {
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 10px 24px;
    white-space: nowrap;
  }
  nav .nav-links a:not(.nav-cta):hover {
    background: var(--color-surface-subtle);
    color: var(--color-text-primary);
  }
  nav .nav-links .nav-cta {
    margin: 4px 16px 8px;
    text-align: center;
    padding: 10px 24px;
  }

  section { padding: 72px 20px; }
  .about-page { padding: 100px 20px 60px; }
  .about-mission { flex-direction: column; text-align: center; gap: 16px; }
  .founders-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .legal-page { padding: 100px 20px 60px; }
  #hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-layout { flex-direction: column; gap: 40px; }
  .hero-visual { width: 100%; max-width: 380px; align-self: center; }
  .hero-title { font-size: clamp(30px, 8vw, 42px); }

  #mechanism { padding: 0 20px; }
  .mechanism-grid { grid-template-columns: 1fr; gap: 0; }
  .mechanism-item:not(:last-child)::after {
    right: 15%; left: 15%; top: auto; bottom: 0;
    width: auto; height: 1px;
  }

  .steps-carousel { margin: 0 -20px; }
  .step-slide { padding: 32px 24px; flex-direction: column; gap: 20px; text-align: center; }
  .step-slide-icon { width: 64px; height: 64px; }
  .step-slide-icon svg { width: 28px; height: 28px; }

  /* 手機：安心機制精簡 — 卡片改「圖左文右」、summary 改橫向一排，省垂直空間但信任訊息全可見 */
  .trust-top-grid { grid-template-columns: 1fr; gap: 10px; }
  .trust-card-top {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: start;
    text-align: left;
    padding: 16px 18px;
  }
  .trust-card-top .trust-card-icon { grid-column: 1; grid-row: 1 / span 3; margin: 0; width: 40px; height: 40px; }
  .trust-card-top .trust-step-label { grid-column: 2; margin-bottom: 6px; }
  .trust-card-top .trust-card-title { grid-column: 2; margin-bottom: 4px; }
  .trust-card-top .trust-card-desc { grid-column: 2; }
  .trust-bottom-grid { grid-template-columns: 1fr; gap: 8px; }
  .trust-summary { flex-wrap: wrap; gap: 10px 16px; padding: 16px; margin-bottom: 24px; }

  .profile-carousel {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .profile-card {
    max-width: 300px;
    min-width: auto;
    width: 100%;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .profile-card.active { transform: none; }

  /* 手機：見證卡片改橫向 snap 滑動，省垂直空間 */
  .testimonials-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 4px 20px 10px;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid .testimonial-card {
    flex: 0 0 clamp(260px, 80%, 320px);
    scroll-snap-align: start;
  }



  .about-layout {
    flex-direction: column;
    text-align: center;
  }
  .about-quote { margin-left: auto; margin-right: auto; }
  .about-quote::before { margin-left: auto; margin-right: auto; }
  .about-body { margin-left: auto; margin-right: auto; }
  .about-image-wrapper {
    width: 100%;
    max-width: 300px;
    height: 240px;
    align-self: center;
  }

  .mechanism-number { font-size: var(--fs-4xl); }

  .cta-band { padding: 48px 20px; }
  footer { padding: 32px 20px; }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }

  .phone-carousel { height: 280px; gap: 6px; transform: none; }
  .phone-item { width: 55px; height: 110px; border-radius: 14px; }
  .phone-item.near { width: 70px; height: 150px; border-radius: 18px; }
  .phone-item.active { width: 115px; height: 240px; border-radius: 22px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .phone-carousel { height: 240px; gap: 4px; }
  .phone-item { width: 45px; height: 90px; border-radius: 12px; }
  .phone-item.near { width: 58px; height: 125px; border-radius: 14px; }
  .phone-item.active { width: 100px; height: 210px; border-radius: 20px; }

  .mechanism-number { font-size: var(--fs-2xl); }
  .section-lead { font-size: var(--fs-md); }
  .step-slide-title { font-size: var(--fs-2xl); }
  .step-slide-desc { font-size: var(--fs-md); }

  .about-image-wrapper { height: 200px; }
}

/* ═══════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════ */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.error-code {
  font-family: var(--font-sans);
  font-size: clamp(72px, 15vw, 120px);
  font-weight: 700;
  color: var(--blue-200);
  line-height: 1;
  margin-bottom: 16px;
}
.error-title {
  font-family: var(--font-sans);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}
.error-desc {
  font-size: var(--fs-std);
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 360px;
}

/* ═══════════════════════════════════════
   APP PREVIEW (iOS / Android)
   ═══════════════════════════════════════ */
.app-preview {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}
.app-preview::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -15%; right: -10%;
  background: radial-gradient(circle, rgba(91,168,230,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.app-preview::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  bottom: -10%; left: -5%;
  background: radial-gradient(circle, rgba(155,143,212,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.app-preview-inner {
  max-width: 560px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-inverse);
  background: linear-gradient(135deg, var(--blue-400), var(--lavender));
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}
.app-badge svg { width: 16px; height: 16px; }
.app-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}
.app-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-400), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.app-subtitle {
  font-size: var(--fs-xl);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.app-date {
  font-family: var(--font-sans);
  font-size: var(--fs-std);
  font-weight: 600;
  color: var(--blue-500);
  margin-bottom: 36px;
}
.app-features {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.app-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
}
.app-feature-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-feature-icon svg { width: 16px; height: 16px; color: var(--blue-400); }
.app-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.app-cta-note {
  font-size: var(--fs-base);
  color: var(--color-text-disabled);
}
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-text-primary);
  color: var(--color-text-inverse);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: var(--fs-md);
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-md);
}
.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.app-store-badge svg { width: 24px; height: 24px; }
.app-store-badge .badge-text-small {
  font-size: var(--fs-xs);
  font-weight: 400;
  opacity: 0.8;
  display: block;
  text-align: left;
  line-height: 1;
  margin-bottom: 2px;
}
.app-store-badge .badge-text-large {
  font-size: var(--fs-xl);
  font-weight: 600;
  display: block;
  text-align: left;
  line-height: 1;
}
.app-secondary-link {
  font-size: var(--fs-md);
  color: var(--blue-400);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.app-secondary-link:hover { color: var(--blue-600); }
.app-secondary-link svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════
   BLOG LISTING PAGE
   ═══════════════════════════════════════ */
.blog-hero {
  text-align: center;
  padding: 100px 20px 48px;
  background: linear-gradient(180deg, var(--color-surface-base) 60%, var(--blue-50) 100%);
}
.blog-hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--blue-400);
  margin: 0 0 12px;
}
.blog-hero p {
  font-size: clamp(14px, 2.5vw, 18px);
  color: var(--color-text-secondary);
  margin: 0;
}
.blog-filters {
  display: flex;
  justify-content: center;
  padding: 0 20px 32px;
  background: var(--blue-50);
}
.blog-filters-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-pill {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-size: var(--fs-md);
  font-weight: 600;
  font-family: var(--font-sans);
  transition: all 0.2s;
  background: var(--blue-50);
  color: var(--color-text-primary);
}
.blog-pill.active {
  background: var(--blue-400);
  color: var(--color-text-inverse);
  box-shadow: 0 2px 8px rgba(106,174,255,0.3);
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface-base);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 1px rgba(224,224,224,0.8);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(224,224,224,0.8),
    0 8px 24px rgba(0,0,0,0.1);
}
.blog-card-cover {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, var(--blue-400), #8FC3FF);
  overflow: hidden;
}
.blog-card-cover img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog-card-cover img.cover-top { object-position: top; }
.blog-card-cover-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-text-inverse);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
.blog-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.blog-chip {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.6;
}
.blog-chip-A { background: var(--blog-a-bg); color: var(--blog-a-text); }
.blog-chip-B { background: var(--blog-b-bg); color: var(--blog-b-text); }
.blog-chip-C { background: var(--blog-c-bg); color: var(--blog-c-text); }
.blog-card-title {
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-excerpt {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-date {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-top: 4px;
}
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-secondary);
  padding: 60px 0;
}

/* ═══════════════════════════════════════
   BLOG ARTICLE PAGE
   ═══════════════════════════════════════ */
.article-wrapper { max-width: 720px; margin: 0 auto; padding: 100px 20px 60px; }
.article-header { margin-bottom: 32px; }
.article-chip { display: inline-block; padding: 4px 12px; border-radius: var(--radius-full); font-size: var(--fs-base); font-weight: 600; margin-bottom: 12px; }
.article-chip-A { background: var(--blog-a-bg); color: var(--blog-a-text); }
.article-chip-B { background: var(--blog-b-bg); color: var(--blog-b-text); }
.article-chip-C { background: var(--blog-c-bg); color: var(--blog-c-text); }
.article-header h1 { font-family: var(--font-sans); font-size: clamp(22px, 4vw, 28px); font-weight: 700; color: var(--color-text-primary); line-height: 1.4; margin: 0 0 12px; }
.article-meta { font-size: var(--fs-md); color: var(--color-text-secondary); margin-bottom: 20px; }
.article-cover { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius-md); overflow: hidden; background: linear-gradient(135deg, var(--blue-400), #8FC3FF); margin-bottom: 32px; }
.article-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.article-cover-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--color-text-inverse); font-size: var(--fs-2xl); font-weight: 600; letter-spacing: 0.05em; opacity: 0.85; text-align: center; line-height: 1.6; }
.article-body h2 { font-size: var(--fs-3xl); font-weight: 700; color: var(--color-text-primary); margin-top: 32px; margin-bottom: 12px; line-height: 1.4; }
.article-body h3 { font-size: var(--fs-xl); font-weight: 700; color: var(--color-text-primary); margin-top: 24px; margin-bottom: 8px; line-height: 1.4; }
.article-body p { font-size: var(--fs-lg); line-height: 1.8; color: var(--color-text-secondary); margin-bottom: 16px; }
.article-body blockquote { border-left: 4px solid #6AAEFF; background: var(--blue-50); padding: 12px 16px; margin: 16px 0; border-radius: 0 8px 8px 0; font-style: italic; }
.article-body blockquote p { margin-bottom: 0; color: var(--color-text-secondary); }
.article-body strong { color: var(--color-text-primary); }
.article-body ul, .article-body ol { margin: 12px 0 16px 20px; }
.article-body li { font-size: var(--fs-lg); line-height: 1.8; color: var(--color-text-secondary); margin-bottom: 4px; }
.article-body hr { border: none; border-top: 1px solid var(--color-border-default); margin: 32px 0; }
.testimonial-inline { background: var(--blue-50); border-radius: var(--radius-md); padding: 20px 24px; margin: 16px 0; }
.testimonial-inline p { font-style: italic; margin-bottom: 8px; }
.testimonial-inline .testimonial-author { font-size: var(--fs-md); font-style: normal; color: var(--color-text-disabled); margin-bottom: 0; }
.related-card { background: var(--blue-50); border-radius: var(--radius-md); padding: 20px 24px; margin-top: 40px; text-decoration: none; display: block; transition: transform 0.2s, box-shadow 0.2s; }
.related-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(106,174,255,0.15); }
.related-label { font-size: var(--fs-base); font-weight: 600; color: var(--color-text-secondary); margin-bottom: 6px; }
.related-title { font-size: var(--fs-lg); font-weight: 700; color: var(--color-text-primary); display: flex; align-items: center; gap: 8px; }
.related-title .arrow { color: var(--blue-400); flex-shrink: 0; }
.article-cta { background: linear-gradient(135deg, #6AAEFF, var(--blog-a-text)); border-radius: var(--radius-lg); padding: 40px 24px; text-align: center; margin-top: 40px; color: var(--color-text-inverse); }
.article-cta p { font-size: var(--fs-2xl); font-weight: 700; margin-bottom: 20px; line-height: 1.5; }
.article-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.article-cta-buttons a { display: inline-block; padding: 12px 28px; border-radius: var(--radius-full); background: var(--color-surface-base); color: var(--blog-a-text); font-weight: 700; font-size: var(--fs-std); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.article-cta-buttons a:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.article-nav { position: static; display: flex; justify-content: space-between; border-top: 1px solid var(--color-border-default); margin-top: 40px; padding-top: 24px; gap: 16px; }
.article-nav a { text-decoration: none; color: var(--color-text-primary); font-size: var(--fs-md); line-height: 1.5; max-width: 48%; }
.article-nav a:hover { color: var(--blue-400); }
.article-nav .nav-label { font-size: var(--fs-sm); color: var(--color-text-secondary); display: block; margin-bottom: 4px; }
.article-nav .nav-chip { display: inline-block; padding: 2px 8px; border-radius: var(--radius-full); font-size: var(--fs-xs); font-weight: 600; margin-bottom: 4px; }
.article-nav .nav-right { text-align: right; margin-left: auto; }

/* App preview responsive */
@media (max-width: 900px) {
  .app-preview { padding: 100px 20px 60px; }
  .app-title { font-size: clamp(28px, 7vw, 40px); }
}
@media (max-width: 480px) {
  .app-features { flex-direction: column; align-items: center; }
  .app-store-badge { padding: 12px 24px; }
  .app-subtitle { font-size: var(--fs-std); }
}

/* ═══════════════════════════════════════════════════════════════════════
   APP DOWNLOAD LANDING PAGE (V2 "Bold Gradient")  —  scoped to body.page-app
   Design source: design_handoff_landing_v2 (claude.ai/design).
   Reuses DS tokens + .section-tag / .btn-white / .glass-card / nav / footer.
   All layout rules are prefixed .page-app to avoid clashing with the global
   .top / .hero / .nav / .cta-band / .badges used elsewhere on the site.
   ═══════════════════════════════════════════════════════════════════════ */

/* Glass card on-media variant (DS component — floats over dark photos/gradients) */
.glass-card.on-media {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 18px 36px -16px rgba(0,0,0,0.4);
  color: var(--white);
}
.glass-card.on-media:hover {
  transform: none;
  box-shadow: 0 18px 36px -16px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.34);
}

/* ---- page base ---- */
body.page-app { background: #fff; color: var(--color-text-primary); }
.page-app .wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.page-app h1, .page-app h2, .page-app h3, .page-app h4 { margin: 0; }
.page-app section { padding: 78px 0; }
.page-app .section-tag { margin-bottom: 16px; }
.page-app .sec-h { font-size: 40px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 14px; line-height: 1.1; }
.page-app .sec-p { font-size: 16px; color: var(--color-text-secondary); max-width: 520px; line-height: 1.7; margin: 0; }
.page-app .center { text-align: center; }
.page-app .center .sec-p { margin: 0 auto; }

/* ---- top gradient block (holds hero; fixed site nav overlays it) ---- */
.page-app .top {
  position: relative; color: #fff; overflow: hidden;
  padding-top: 96px; /* clear the fixed site nav */
  background: linear-gradient(155deg,#0F1D2F 0%,var(--blue-700) 42%,var(--blue-600) 78%,var(--blue-500) 100%);
}
.page-app .top::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 84% 6%,rgba(155,143,212,.42),transparent 60%),
              radial-gradient(560px 360px at 6% 96%,rgba(91,168,230,.34),transparent 62%);
}
.page-app .top > * { position: relative; z-index: 2; }

.page-app .hero { padding: 40px 0 0; }
.page-app .hero .wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: end; }
.page-app .soonpill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24);
  padding: 6px 13px; border-radius: 100px; margin-bottom: 14px;
}
.page-app .soonpill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 3px rgba(52,211,153,.25); }
.page-app .hero h1 { font-size: 74px; line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.page-app .hero h1 .hl { background: linear-gradient(100deg,var(--lavender-light),var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-app .hero p.lead { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.82); max-width: 480px; margin: 26px 0 34px; }
.page-app .heronote { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); padding-bottom: 64px; }

/* ---- download badges + QR ---- */
.page-app .badges { display: flex; gap: 12px; flex-wrap: wrap; }
.page-app .badge {
  --b-bg:#0F1D2F; --b-fg:#fff; --b-line:rgba(255,255,255,.16);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px 11px 16px; border-radius: 14px;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-line);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  white-space: nowrap;
}
.page-app .badge:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(15,29,47,.4); }
.page-app .badge .glyph { width: 26px; height: 26px; flex: none; display: flex; align-items: center; justify-content: center; }
.page-app .badge .glyph svg { width: 100%; height: 100%; }
.page-app .badge .txt { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.page-app .badge .txt small { font-size: 9.5px; letter-spacing: .06em; opacity: .7; font-weight: 500; margin-bottom: 3px; }
.page-app .badge .txt b { font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.page-app .badge.light { --b-bg:#fff; --b-fg:#0F1D2F; --b-line:rgba(15,29,47,.10); box-shadow: 0 2px 10px rgba(15,29,47,.06); }
.page-app #download { gap: 72px; align-items: flex-start; }
.page-app #download .dlcol { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.page-app #download .dlcol .badge { width: 100%; justify-content: flex-start; }
.page-app .qr { width: 168px; height: 168px; display: block; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 8px 24px -12px rgba(15,29,47,.5); }
@media (max-width: 980px), (pointer: coarse) {
  .page-app .qr { display: none; }
  .page-app #download { flex-direction: row; gap: 36px; } /* 桌機 72px 在小手機(≤360px)會把第二顆商店按鈕擠出螢幕，手機收窄至 36px */
}

/* ---- hero art (single phone + floating stats) ---- */
.page-app .heroart { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.page-app .solo { position: relative; width: 100%; max-width: 256px; margin: 0 auto; }
.page-app .solo .scr { position: relative; width: 100%; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -30px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.08); }
.page-app .solo .scr img { width: 100%; display: block; }
.page-app .stat { position: absolute; padding: 12px 16px; z-index: 5; }
.page-app .stat b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.page-app .stat small { font-size: 10.5px; color: rgba(255,255,255,.8); font-weight: 500; white-space: nowrap; }
.page-app .stat.s1 { left: -30%; top: 70px; }
.page-app .stat.s2 { right: -32%; top: 140px; }

/* ---- engines (image + copy, alternating) ---- */
.page-app .show { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 56px; }
.page-app .show + .show { margin-top: 40px; }
.page-app .show.reverse .show__media { order: 2; }
.page-app .show__media { border-radius: 28px; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; position: relative; min-height: 380px; padding: 0 36px; }
.page-app .show__media.m-blue { background: linear-gradient(160deg,var(--blue-100),var(--blue-50)); }
.page-app .show__media.m-lav { background: linear-gradient(160deg,var(--lavender-pale),var(--blue-50)); }
.page-app .show__media img { max-width: 300px; width: 100%; }
.page-app .show__media.frameless img { border-radius: 22px; box-shadow: 0 34px 60px -20px rgba(15,29,47,.32); margin-bottom: 44px; }
.page-app .show__media.evt { align-items: center; padding: 44px 36px; min-height: 380px; }
.page-app .evtframe { position: relative; width: 300px; height: 432px; overflow: hidden; border-radius: 30px; background: #fff; box-shadow: 0 34px 60px -20px rgba(15,29,47,.32); }
.page-app .show__media.evt img { max-width: none; width: 100%; display: block; object-fit: cover; object-position: top; }
.page-app .evtframe::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(to top,#fff,transparent); pointer-events: none; }
.page-app .show__copy .section-tag { margin-bottom: 18px; }
.page-app .show__copy h3 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; margin-bottom: 14px; color: var(--color-text-primary); }
.page-app .show__copy p { font-size: 16px; line-height: 1.8; color: var(--color-text-secondary); margin: 0 0 22px; }
.page-app .ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.page-app .ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--color-text-primary); line-height: 1.5; }
.page-app .ticks li::before { content: ""; flex: none; width: 21px; height: 21px; border-radius: 50%; margin-top: 1px; background: var(--blue-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---- activity polaroids (grid on desktop / marquee on mobile) ---- */
.page-app .acts { background: var(--blue-50); }
.page-app .polas { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 40px; }
.page-app .polastrack { display: contents; }
.page-app .pola.clone { display: none; }
.page-app .pola { margin: 0; background: #fff; padding: 10px 10px 0; border-radius: 3px; box-shadow: 0 14px 30px -14px rgba(15,29,47,.34),0 0 0 1px rgba(15,29,47,.04); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.page-app .pola img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 18%; border-radius: 1px; box-shadow: none; }
.page-app .pola figcaption { padding: 14px 6px 18px; text-align: center; font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--color-text-primary); }
.page-app .pola figcaption small { display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-500); font-weight: 700; margin-top: 3px; }
.page-app .polas .pola:nth-child(odd) { transform: rotate(-0.8deg); }
.page-app .polas .pola:nth-child(even) { transform: rotate(0.6deg); }
.page-app .polas .pola:hover { transform: translateY(-6px) rotate(0deg); box-shadow: 0 24px 44px -16px rgba(15,29,47,.4),0 0 0 1px rgba(15,29,47,.04); }

/* ---- features ---- */
.page-app .feats { background: #fff; }
.page-app .fgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 48px; }
.page-app .feat { background: #fff; border-radius: 16px; padding: 34px 30px; box-shadow: var(--shadow-md); text-align: left; }
.page-app .feat h4 { font-size: 23px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 12px; color: var(--color-text-primary); line-height: 1.25; }
.page-app .feat p { font-size: 16px; line-height: 1.7; color: var(--color-text-secondary); margin: 0; }
.page-app .feat .soon { display: inline-block; margin-top: 13px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #fff; background: var(--lavender); padding: 3px 10px; border-radius: 100px; }

/* ---- CTA band (full-bleed dark; overrides global .cta-band on this page) ---- */
.page-app .cta { padding: 0; }
.page-app .cta-band { padding: 84px 40px; border-radius: 0; text-align: center; color: #fff; position: relative; overflow: hidden; background: linear-gradient(135deg,#0F1D2F,var(--blue-600) 70%,var(--blue-500)); }
.page-app .cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 320px at 50% -30%,rgba(155,143,212,.45),transparent 60%); }
.page-app .cta-band > * { position: relative; }
.page-app .cta-band h2 { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; color: #fff; }
.page-app .cta-band p { font-size: 17px; opacity: .85; margin: 0 0 32px; }
.page-app .cta-band .badges { justify-content: center; }

/* ---- app FAQ (reuses global .faq-* component) ---- */
.page-app .app-faq { background: var(--blue-50); }
.page-app .app-faq .faq-list { max-width: 760px; margin: 40px auto 0; }

/* ---- marquee keyframes ---- */
@keyframes polaMarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- responsive (design breakpoints 840 / 480, scoped to page-app) ---- */
@media (max-width: 840px) {
  .page-app .wrap { padding: 0 24px; }
  .page-app section { padding: 60px 0; }
  .page-app .hero { padding: 24px 0 0; }
  .page-app .hero .wrap { grid-template-columns: 1fr; gap: 6px; align-items: start; }
  .page-app .hero h1 { font-size: 48px; }
  .page-app .heroart { margin-top: 6px; min-height: auto; align-items: center; }
  .page-app .solo { max-width: 256px; margin: 0 auto; }
  .page-app .stat.s1 { left: -11%; top: 92px; }
  .page-app .stat.s2 { right: -11%; top: 222px; }
  .page-app .sec-h { font-size: 30px; }
  .page-app .show { grid-template-columns: 1fr; gap: 28px; }
  .page-app .show.reverse .show__media { order: 0; }
  .page-app .fgrid { grid-template-columns: 1fr 1fr; }
  .page-app .cta-band { padding: 56px 24px; }
  .page-app .cta-band h2 { font-size: 32px; }
  .page-app .acts .wrap { padding: 0 16px; }
  .page-app .polas { display: block; overflow: hidden; margin-top: 32px; -webkit-mask: linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%); mask: linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%); }
  .page-app .polastrack { display: flex; width: max-content; animation: polaMarq 42s linear infinite; }
  .page-app .polas .pola { flex: 0 0 auto; width: 186px; margin: 0 8px; }
  .page-app .polas .pola.clone { display: block; }
  .page-app .pola figcaption { padding: 12px 4px 14px; font-size: 17px; }
  .page-app .polas .pola:nth-child(odd),
  .page-app .polas .pola:nth-child(even),
  .page-app .polas .pola:hover { transform: none; }
}
@media (max-width: 840px) and (prefers-reduced-motion: reduce) {
  .page-app .polas { overflow-x: auto; }
  .page-app .polastrack { animation: none; }
  .page-app .polas .pola.clone { display: none; }
}
@media (max-width: 480px) {
  .page-app .hero h1 { font-size: 40px; }
  .page-app .fgrid { grid-template-columns: 1fr; }
}
/* ═══════════════════════════════════════════════════════════════════════
   PARTNER PAGE (活動合作提案 / To B)  —  scoped to body.page-partner
   站標準版型（沿用 nav / footer / .section-tag / .btn-primary / .faq-*），
   刻意不使用 events/ 的深色獨立版型，維持「這是 Right One 官網的一頁」。
   .pf-* 為站上第一個表單元件實作；若日後出現第二個表單頁，再抽為通用 .form-*。
   ═══════════════════════════════════════════════════════════════════════ */

.page-partner h1, .page-partner h2, .page-partner h3 { margin: 0; }
.pt-wrap { max-width: 1080px; margin: 0 auto; padding: 0 48px; }
.pt-wrap-narrow { max-width: 720px; }

/* ---- hero ---- */
.pt-hero { padding: 148px 0 72px; }
.pt-hero h1 {
  font-size: clamp(30px, 5.6vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}
.pt-lead {
  font-size: var(--fs-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 620px;
}
.pt-hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 32px 0 24px; }
.pt-note {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--color-text-disabled);
  background: var(--color-surface-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  max-width: 620px;
}
.pt-note a { color: var(--color-brand-primary-hover); font-weight: 600; }

/* ---- sections ---- */
.pt-section { padding: 72px 0; }
.pt-section-alt { background: var(--color-surface-subtle); }
.pt-section h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.pt-section-lead {
  font-size: var(--fs-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin: 16px 0 40px;
  max-width: 680px;
}

/* ---- why cards ---- */
.pt-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pt-card {
  background: var(--color-surface-base);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 0 0 1px var(--color-border-default), var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.pt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--color-border-strong), var(--shadow-md);
}
.pt-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-surface-brand-light);
  color: var(--color-brand-primary-hover);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pt-card h3 { font-size: var(--fs-xl); font-weight: 600; margin-bottom: 8px; }
.pt-card p { font-size: var(--fs-md); line-height: 1.75; color: var(--color-text-secondary); }

/* ---- showcase（App 活動列表截圖 + 說明）---- */
.pt-showcase { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.pt-showcase-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--color-border-default), var(--shadow-xl);
}
.pt-showcase-body .pt-section-lead { margin-bottom: 28px; }
.pt-showcase-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.pt-showcase-list li { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; position: relative; }
.pt-showcase-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: var(--radius-full);
  background: var(--color-brand-primary);
}
.pt-showcase-list strong { font-size: var(--fs-lg); font-weight: 600; color: var(--color-text-primary); }
.pt-showcase-list span { font-size: var(--fs-md); line-height: 1.75; color: var(--color-text-secondary); }

/* ---- activity types ---- */
.pt-types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pt-type {
  background: var(--color-surface-base);
  border-radius: var(--radius-md);
  overflow: hidden;                       /* 圖片貼齊卡片頂部並共用圓角 */
  box-shadow: 0 0 0 1px var(--color-border-default);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.pt-type:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--color-border-strong), var(--shadow-md);
}
.pt-type img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pt-type-body { padding: 14px 16px 18px; }
.pt-type h3 { font-size: var(--fs-lg); font-weight: 600; margin-bottom: 6px; }
.pt-type p { font-size: var(--fs-base); line-height: 1.65; color: var(--color-text-disabled); }
.pt-types-note {
  font-size: var(--fs-std);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-top: 32px;
}

/* ---- steps ---- */
.pt-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pt-step { display: flex; flex-direction: column; gap: 14px; }
.pt-step-num {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: var(--color-text-inverse);
  font-size: var(--fs-std); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pt-step h3 { font-size: var(--fs-lg); font-weight: 600; margin-bottom: 6px; }
.pt-step p { font-size: var(--fs-md); line-height: 1.7; color: var(--color-text-secondary); }

/* ---- FAQ tail ---- */
.pt-contact-fallback {
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--color-text-disabled);
  margin-top: 28px;
}
.pt-contact-fallback a { color: var(--color-brand-primary-hover); font-weight: 600; }

/* ═══════════ FORM COMPONENT (.pf-*) ═══════════ */
.pf-form {
  background: var(--color-surface-base);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 0 0 1px var(--color-border-default), var(--shadow-md);
}
.pf-field { margin-bottom: 22px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pf-field label {
  display: block;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.pf-req { color: var(--color-semantic-error); font-weight: 700; }

.pf-field input[type="text"],
.pf-field input[type="email"],
.pf-field select,
.pf-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: var(--fs-std);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-surface-page);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.pf-field textarea { resize: vertical; min-height: 88px; }
.pf-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233B4F68' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.pf-field input::placeholder,
.pf-field textarea::placeholder { color: var(--color-text-placeholder); }
.pf-field input:focus,
.pf-field select:focus,
.pf-field textarea:focus {
  outline: none;
  background: var(--color-surface-base);
  border-color: var(--color-border-focus);
  box-shadow: var(--focus-ring);
}

/* 錯誤狀態 */
.pf-field.has-error input,
.pf-field.has-error select,
.pf-field.has-error textarea {
  border-color: var(--color-semantic-error);
  background: var(--color-semantic-error-bg);
}
.pf-error {
  display: none;
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--color-semantic-error-text);
  margin-top: 6px;
}
.pf-field.has-error .pf-error { display: block; }

/* 同意條款 checkbox */
.pf-check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.pf-check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 3px;
  accent-color: var(--color-brand-primary);
  cursor: pointer;
}
.pf-check label {
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 0;
  cursor: pointer;
}
.pf-check label a { color: var(--color-brand-primary-hover); font-weight: 600; text-decoration: underline; }
.pf-check .pf-error { grid-column: 1 / -1; }
.pf-check input[type="checkbox"]:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }

/* honeypot：視覺與螢幕閱讀器皆隱藏，但仍在 DOM 中供機器人填寫 */
.pf-hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.pf-submit { margin-top: 8px; width: 100%; }
.pf-submit[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* 送出狀態訊息 */
.pf-status {
  display: none;
  font-size: var(--fs-md);
  line-height: 1.7;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 16px;
}
.pf-status.is-visible { display: block; }
.pf-status.is-success {
  background: var(--color-semantic-success-bg);
  color: var(--color-semantic-success-text);
}
.pf-status.is-error {
  background: var(--color-semantic-error-bg);
  color: var(--color-semantic-error-text);
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .pt-wrap { padding: 0 20px; }
  .pt-hero { padding: 120px 0 56px; }
  .pt-br { display: none; }
  .pt-section { padding: 56px 0; }
  .pt-why-grid { grid-template-columns: 1fr; }
  .pt-showcase { grid-template-columns: 1fr; gap: 36px; }
  .pt-showcase-media { max-width: 320px; margin: 0 auto; }
  .pt-types-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-steps { grid-template-columns: repeat(2, 1fr); }
  .pf-form { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .pt-hero-actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .pt-hero-actions .btn-primary { width: 100%; }
  .pt-types-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pt-type-body { padding: 12px 12px 14px; }
  .pt-type h3 { font-size: var(--fs-md); }
  .pt-type p { font-size: var(--fs-sm); }
  .pt-steps { grid-template-columns: 1fr; }
  .pt-step { flex-direction: row; align-items: flex-start; gap: 16px; }
  .pf-row { grid-template-columns: 1fr; gap: 0; }
  .pf-form { padding: 24px 18px; }
}
