/* ============================================================
   Mosta 達陞電子官網 — 主樣式表 v1.0
   Apple-style 工業極簡 + Mosta 品牌綠
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --mosta-forest: #1F5F3F;
  --mosta-deep: #0D2F1F;
  --mosta-mist: #E8EFEB;
  
  /* CTA */
  --signal-orange: #FF6B35;
  --signal-orange-dark: #E55A2A;
  
  /* Neutral */
  --ink: #0A0A0A;
  --charcoal: #2A2A2A;
  --slate: #6B6B6B;
  --mist: #B0B0B0;
  --bone: #F5F5F4;
  --paper: #FFFFFF;
  
  /* Semantic */
  --success: #2D7A4F;
  --error: #B33A3A;
  
  /* Fonts */
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-zh: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-ja: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  
  /* Sizes */
  --fs-display: 72px;
  --fs-h1: 56px;
  --fs-h2: 40px;
  --fs-h3: 28px;
  --fs-h4: 20px;
  --fs-body-lg: 18px;
  --fs-body: 16px;
  --fs-body-sm: 14px;
  --fs-caption: 12px;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;
  
  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Shadow */
  --shadow-whisper: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-soft: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lifted: 0 12px 32px rgba(0,0,0,0.08);
  
  /* Border */
  --border-hairline: 1px solid #E5E5E5;
  
  /* Container */
  --container-max: 1280px;
  --container-padding: 24px;
  
  /* Easing */
  --ease-apple: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-material: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile 字級調整 */
@media (max-width: 767px) {
  :root {
    --fs-display: 48px;
    --fs-h1: 36px;
    --fs-h2: 28px;
    --fs-h3: 22px;
    --space-4xl: 64px;
    --space-5xl: 80px;
  }
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-en);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-zh-TW {
  font-family: var(--font-zh), var(--font-en);
}

body.lang-ja {
  font-family: var(--font-ja), var(--font-en);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 600; }

.display {
  font-size: var(--fs-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mono {
  font-family: var(--font-mono);
}

.caption {
  font-size: var(--fs-caption);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}

.lead {
  font-size: var(--fs-body-lg);
  color: var(--slate);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-lg {
  padding: var(--space-5xl) 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 32px;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all 200ms var(--ease-apple);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--signal-orange);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--signal-orange-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--mosta-forest);
  color: var(--paper);
}

.btn-secondary:hover {
  background: var(--mosta-deep);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-lg {
  padding: 20px 40px;
  font-size: var(--fs-body-lg);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--mosta-forest);
  font-weight: 500;
  transition: gap 200ms var(--ease-apple);
}

.link-arrow:hover {
  gap: var(--space-sm);
}

.link-arrow::after {
  content: '→';
  transition: transform 200ms var(--ease-apple);
}

/* ---------- Top Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-hairline);
  height: 80px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 32px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: var(--space-2xl);
}

.main-nav a {
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--ink);
  position: relative;
  padding: var(--space-sm) 0;
  transition: color 200ms;
}

.main-nav a:hover {
  color: var(--mosta-forest);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--mosta-forest);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.lang-switcher {
  position: relative;
  padding-bottom: var(--space-md);
  margin-bottom: calc(var(--space-md) * -1);
}

.lang-current {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  background: var(--bone);
  border-radius: var(--radius-sm);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--paper);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lifted);
  min-width: 160px;
  display: none;
  overflow: hidden;
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown {
  display: block;
}

.lang-dropdown a {
  display: block;
  padding: var(--space-md);
  font-size: var(--fs-body-sm);
  transition: background 200ms;
}

.lang-dropdown a:hover {
  background: var(--bone);
}

/* Mobile nav */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--ink);
}

@media (max-width: 1023px) {
  .main-nav, .nav-right .btn { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ---------- Hero (深綠底 + 電路紋路 + Spec Card) ---------- */
.hero {
  position: relative;
  background: var(--mosta-deep);
  color: var(--paper);
  padding: 156px 0 96px;
  overflow: hidden;
  isolation: isolate;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(74, 143, 95, 0.25), transparent 60%);
  z-index: 1;
}

.hero__circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.6;
}

/* 訊號流動光點 (尊重使用者偏好,有設 reduced-motion 就停止) */
@media (prefers-reduced-motion: reduce) {
  .hero__circuit animateMotion {
    display: none;
  }
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-body-sm);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-orange);
  box-shadow: 0 0 12px var(--signal-orange);
}

.hero__eyebrow .pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  color: var(--paper);
}

.hero__title em {
  font-style: normal;
  color: #A4D8B5;
  font-weight: 400;
}

.hero__sub {
  font-size: var(--fs-body-lg);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-2xl);
  max-width: 580px;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.hero .btn--ghost-light {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero .btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.hero__meta-item .num {
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.02em;
}

.hero__meta-item .num .plus {
  font-size: 20px;
  color: #A4D8B5;
  margin-left: 2px;
}

.hero__meta-item .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Hero Spec Card (右側資訊卡) ---------- */
.spec-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.spec-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-card__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.spec-card__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--signal-orange);
  padding: 3px 8px;
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: 4px;
  background: rgba(255, 107, 53, 0.08);
}

.spec-card__rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spec-card__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
}

.spec-card__row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.spec-card__row .v {
  font-size: 14px;
  color: var(--paper);
  font-weight: 500;
}

.spec-card__row .v.mono {
  font-family: var(--font-mono);
}

.spec-card__row .v.green {
  color: #A4D8B5;
}

.spec-card__cert {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.spec-card__cert span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.75);
}

/* Hero RWD */
@media (max-width: 1023px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__title {
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 120px 0 64px;
    min-height: auto;
  }
  .hero__title {
    font-size: 36px;
  }
  .hero__meta {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  .hero__ctas {
    flex-direction: column;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .spec-card {
    padding: 20px;
  }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  padding: var(--space-3xl) 0;
  background: var(--bone);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: var(--fs-display);
  font-weight: 300;
  color: var(--mosta-forest);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: var(--space-md);
  font-size: var(--fs-body-sm);
  color: var(--slate);
  font-weight: 500;
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
}

/* ---------- Product Lines (首頁六大產品線) ---------- */
.product-lines {
  padding: var(--space-5xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--slate);
  font-size: var(--fs-body-lg);
}

.product-lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.product-line-card {
  display: block;
  background: var(--paper);
  transition: transform 300ms var(--ease-apple);
}

.product-line-card:hover {
  transform: translateY(-4px);
}

.product-line-image {
  aspect-ratio: 16 / 10;
  background: var(--bone);
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.product-line-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-apple);
}

.product-line-card:hover .product-line-image img {
  transform: scale(1.05);
}

.product-line-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
}

.product-line-card .count {
  font-size: var(--fs-body-sm);
  color: var(--slate);
}

/* ---------- 特殊 CTA 卡 (OEM / Contact 入口) ---------- */
.product-line-card--cta {
  display: flex;
  flex-direction: column;
}

.product-line-image--gradient-orange,
.product-line-image--gradient-green {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-line-image--gradient-orange {
  background: linear-gradient(135deg, var(--signal-orange) 0%, var(--signal-orange-dark) 100%);
}

.product-line-image--gradient-green {
  background: linear-gradient(135deg, var(--mosta-forest) 0%, var(--mosta-deep) 100%);
}

.product-line-image--gradient-orange svg,
.product-line-image--gradient-green svg {
  width: 80px;
  height: 80px;
  transition: transform 400ms var(--ease-apple);
}

.product-line-card--cta:hover .product-line-image--gradient-orange svg,
.product-line-card--cta:hover .product-line-image--gradient-green svg {
  transform: scale(1.1);
}

/* 副標箭頭顏色強調 */
.product-line-card--cta .count {
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 1023px) {
  .product-lines-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .product-lines-grid { grid-template-columns: 1fr; }
}

/* ---------- Zig-Zag (產品總覽頁) ---------- */
.category-section {
  padding: var(--space-4xl) 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.category-section:nth-child(even) .split {
  direction: rtl;
}

.category-section:nth-child(even) .split > * {
  direction: ltr;
}

.split-image {
  aspect-ratio: 16 / 10;
  background: var(--bone);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.split-text .lead {
  margin-bottom: var(--space-xl);
}

.subcat-list {
  margin-bottom: var(--space-xl);
}

.subcat-list li {
  padding: var(--space-sm) 0;
  border-bottom: var(--border-hairline);
  display: flex;
  justify-content: space-between;
}

.subcat-list li:last-child {
  border-bottom: none;
}

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

/* ---------- Sub-Category Grid (一級分類頁) ---------- */
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.subcat-card {
  display: block;
  text-align: center;
  background: var(--paper);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all 200ms var(--ease-apple);
}

.subcat-card:hover {
  border-color: var(--mosta-forest);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.subcat-image {
  aspect-ratio: 1;
  background: var(--bone);
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.subcat-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-lg);
}

.subcat-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
}

.subcat-card .count {
  font-size: var(--fs-body-sm);
  color: var(--slate);
}

@media (max-width: 1023px) {
  .subcat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .subcat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Product Listing (二級分類產品列表頁) ---------- */
.listing-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
}

.filter-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  height: fit-content;
}

.filter-sidebar h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--ink);
}

.filter-group {
  margin-bottom: var(--space-xl);
}

.filter-group h4 {
  font-size: var(--fs-body-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: var(--fs-body-sm);
  cursor: pointer;
}

.filter-reset {
  font-size: var(--fs-body-sm);
  color: var(--mosta-forest);
  text-decoration: underline;
}

.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: var(--border-hairline);
}

.product-grid {
  width: 100%;
}

.product-grid .grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.product-card {
  display: block;
  background: var(--paper);
  transition: transform 300ms var(--ease-apple);
}

.product-card:hover {
  transform: translateY(-4px);
}

.card-image {
  aspect-ratio: 1;
  background: var(--bone);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
  transition: transform 400ms var(--ease-apple);
}

.product-card:hover .card-image img {
  transform: scale(1.05);
}

.product-card .model {
  font-family: var(--font-mono);
  font-size: var(--fs-body-sm);
  color: var(--slate);
  margin-bottom: var(--space-xs);
}

.product-card h4 {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 1023px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .product-grid .grid-4col { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .product-grid .grid-4col { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Product Detail (產品詳細頁) ---------- */
.breadcrumb {
  padding: var(--space-lg) 0;
  font-size: var(--fs-body-sm);
  color: var(--slate);
}

.breadcrumb a {
  color: var(--slate);
  transition: color 200ms;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb .sep {
  margin: 0 var(--space-sm);
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.product-gallery.sticky {
  position: sticky;
  top: 100px;
  align-self: start;
}

.main-image {
  aspect-ratio: 1;
  background: var(--bone);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-xl);
}

.product-info .model {
  font-family: var(--font-mono);
  font-size: var(--fs-body-sm);
  color: var(--slate);
  margin-bottom: var(--space-md);
}

.product-info h1 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-lg);
}

.product-info .brief {
  font-size: var(--fs-body-lg);
  color: var(--slate);
  margin-bottom: var(--space-xl);
}

.features-bullets {
  margin-bottom: var(--space-2xl);
}

.features-bullets li {
  padding: var(--space-sm) 0;
  font-size: var(--fs-body);
}

.cta-row {
  display: flex;
  gap: var(--space-md);
}

@media (max-width: 1023px) {
  .product-hero { grid-template-columns: 1fr; }
  .product-gallery.sticky { position: static; }
}

/* ---------- Spec Table ---------- */
.spec-section {
  padding: var(--space-3xl) 0;
  border-top: var(--border-hairline);
}

.spec-section h2 {
  margin-bottom: var(--space-xl);
}

.spec-table th,
.spec-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: var(--border-hairline);
}

.spec-table th {
  width: 40%;
  font-weight: 500;
  color: var(--slate);
  background: var(--bone);
}

.spec-table td {
  font-family: var(--font-mono);
  font-size: var(--fs-body-sm);
}

/* ---------- OEM Banner (首頁) ---------- */
.oem-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.oem-banner-image {
  background-size: cover;
  background-position: center;
}

.oem-banner-content {
  background: var(--mosta-deep);
  color: var(--paper);
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oem-banner-content h2 {
  font-size: var(--fs-h1);
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

.oem-banner-content p {
  font-size: var(--fs-body-lg);
  opacity: 0.85;
  margin-bottom: var(--space-2xl);
}

@media (max-width: 1023px) {
  .oem-banner { grid-template-columns: 1fr; }
}

/* ---------- Bottom CTA (深綠底) ---------- */
.bottom-cta {
  background: var(--mosta-deep);
  color: var(--paper);
  padding: var(--space-4xl) 0;
  text-align: center;
}

.bottom-cta h2 {
  font-size: var(--fs-h1);
  font-weight: 400;
  margin-bottom: var(--space-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.bottom-cta .btn-outline {
  border-color: var(--paper);
  color: var(--paper);
}

.bottom-cta .btn-outline:hover {
  background: var(--paper);
  color: var(--mosta-deep);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand img {
  height: 40px;
  margin-bottom: var(--space-md);
}

.tagline {
  color: var(--mist);
  font-size: var(--fs-body-sm);
  letter-spacing: 0.05em;
}

.footer-col h4 {
  font-size: var(--fs-body-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  color: var(--mist);
}

.footer-col ul li,
.footer-col address {
  padding: var(--space-xs) 0;
  font-size: var(--fs-body-sm);
  color: var(--mist);
  font-style: normal;
  line-height: 1.8;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-body-sm);
  color: var(--mist);
}

.footer-bottom ul {
  display: flex;
  gap: var(--space-lg);
}

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: var(--space-md); }
}

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

/* ---------- Form ---------- */
.form-field {
  margin-bottom: var(--space-xl);
}

.form-field label {
  display: block;
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  color: var(--slate);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--mist);
  padding: var(--space-md) 0;
  font-family: inherit;
  font-size: var(--fs-body);
  background: transparent;
  transition: border-color 200ms;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-bottom: 2px solid var(--mosta-forest);
}

.form-field textarea {
  border: 1px solid var(--mist);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  min-height: 120px;
  resize: vertical;
}

/* ---------- Scroll Animation ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-apple), transform 600ms var(--ease-apple);
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-mono { font-family: var(--font-mono); }
.bg-bone { background: var(--bone); }
.hide-mobile { display: block; }
.hide-desktop { display: none; }

@media (max-width: 767px) {
  .hide-mobile { display: none; }
  .hide-desktop { display: block; }
}
