/* ============================================================
   FAICOS.AI — 一頁式官網樣式
   配色:深空藍黑 + 青/紫/桃紅 霓虹漸層
   ============================================================ */

:root {
  --bg: #05070f;
  --bg-2: #0a0e1d;
  --text: #eef1fb;
  --muted: #9aa3c0;
  --c-cyan: #00d9ff;
  --c-violet: #7c5cff;
  --c-pink: #ff4ecd;
  --grad: linear-gradient(100deg, var(--c-cyan), var(--c-violet) 50%, var(--c-pink));
  --glass: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.09);
  --radius: 20px;
  --font-en: "Space Grotesk", "Noto Sans TC", sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(124, 92, 255, 0.12), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(0, 217, 255, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

::selection { background: rgba(124, 92, 255, 0.5); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--c-cyan), var(--c-violet), var(--c-pink));
  border-radius: 99px;
}

/* 噪點質感(疊在最上層) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.55'/></svg>");
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }

main, .nav, .footer { position: relative; z-index: 2; }

/* ============ 開場動畫 ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--bg);
  transition: opacity 0.6s ease, visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 3px;
  animation: preloaderPulse 1.4s ease-in-out infinite;
}
.preloader-logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.preloader-bar {
  width: 220px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.preloader-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  animation: loadbar 1.1s ease forwards;
}
@keyframes loadbar { to { width: 100%; } }
@keyframes preloaderPulse { 50% { opacity: 0.55; } }

/* ============ 滾動進度條 ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 80;
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.8);
}

/* ============ 滑鼠光暈 ============ */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.14), rgba(0, 217, 255, 0.06) 40%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  will-change: transform;
}

/* ============ 粒子背景 / 光球 ============ */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}
.orb-a {
  width: 480px; height: 480px;
  background: #1d4ed8;
  top: -140px; left: -120px;
  animation: floatA 22s ease-in-out infinite alternate;
}
.orb-b {
  width: 420px; height: 420px;
  background: #7c3aed;
  bottom: -160px; right: -100px;
  animation: floatB 26s ease-in-out infinite alternate;
}
.orb-c {
  width: 340px; height: 340px;
  background: #0e7490;
  top: 40%; left: 55%;
  opacity: 0.18;
  animation: floatC 30s ease-in-out infinite alternate;
}
@keyframes floatA { to { transform: translate(120px, 90px) scale(1.15); } }
@keyframes floatB { to { transform: translate(-100px, -80px) scale(1.1); } }
@keyframes floatC { to { transform: translate(-140px, 60px) scale(0.9); } }

/* ============ 共用元件 ============ */
.container { max-width: 1180px; margin: 0 auto; }

.gradient-text {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 4s linear infinite;
}
@keyframes gradientFlow { to { background-position: 200% center; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease, border-color 0.3s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--grad);
  background-size: 180% auto;
  color: #fff;
  box-shadow: 0 8px 32px rgba(124, 92, 255, 0.4);
}
.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 12px 44px rgba(124, 92, 255, 0.55);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(0, 217, 255, 0.6);
  box-shadow: 0 0 28px rgba(0, 217, 255, 0.18);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 22px; font-size: 0.9rem; }
.btn-lg { padding: 16px 40px; font-size: 1.08rem; }

.section { padding: 120px 24px; position: relative; }
.section-head { text-align: center; margin-bottom: 64px; }
.eyebrow {
  font-family: var(--font-en);
  letter-spacing: 4px;
  font-size: 0.8rem;
  color: var(--c-cyan);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2, .contact-info h2, .cta-band h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
}
.section-sub {
  color: var(--muted);
  margin: 16px auto 0;
  max-width: 560px;
}

/* 進場動畫 */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ 導覽列 ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 1.5px;
}
.logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  transition: color 0.3s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 60;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.no-scroll { overflow: hidden; }

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 90px;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  color: var(--muted);
}
.hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(0, 217, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 217, 255, 0); }
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 30px 0 22px;
  text-shadow: 0 0 60px rgba(124, 92, 255, 0.3);
}
.hero-typing {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--muted);
  min-height: 2em;
}
.typing {
  color: var(--c-cyan);
  font-weight: 700;
  text-shadow: 0 0 24px rgba(0, 217, 255, 0.5);
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  background: var(--c-cyan);
  margin-left: 3px;
  vertical-align: -0.18em;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-sub {
  max-width: 620px;
  margin: 20px auto 40px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.95;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  opacity: 0.7;
}
.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: var(--c-cyan);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ 數據 ============ */
.stats {
  padding: 72px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(6px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 5s linear infinite;
}
.stat p { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }

/* ============ 服務卡片(Bento)============ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.card {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.15s ease-out;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
}
.card.featured { grid-column: span 4; }
.card:hover {
  --lift: -6px;
  border-color: rgba(0, 217, 255, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(124, 92, 255, 0.12);
}
/* 頂部漸層線 */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover::before { opacity: 1; }
/* 光澤掃過 */
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.card:hover::after { left: 140%; }

.card-num {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--c-cyan);
  opacity: 0.85;
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin: 18px 0 20px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.14), rgba(255, 78, 205, 0.14));
  border: 1px solid var(--line);
}
.card-icon svg, .why-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--c-cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { font-size: 1.32rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.97rem; line-height: 1.85; }
.card ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.card li {
  position: relative;
  padding-left: 24px;
  color: #c9d2ee;
  font-size: 0.94rem;
}
.card li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--c-pink);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  font-family: var(--font-en);
  font-size: 0.74rem;
  letter-spacing: 1.5px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ============ 導入流程 ============ */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
  margin-top: 76px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 217, 255, 0.5), rgba(124, 92, 255, 0.5), rgba(255, 78, 205, 0.5));
}
.t-step { text-align: center; position: relative; }
.t-dot {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--c-cyan);
  background: var(--bg-2);
  border: 1px solid rgba(0, 217, 255, 0.45);
  box-shadow: 0 0 26px rgba(0, 217, 255, 0.25);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.t-step:hover .t-dot {
  transform: scale(1.12);
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.5);
}
.t-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.t-step p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }

/* ============ 為什麼選我們 ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-tile {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.why-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 78, 205, 0.4);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 36px rgba(255, 78, 205, 0.1);
}
.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(0, 217, 255, 0.16));
  border: 1px solid var(--line);
}
.why-tile h3 { font-size: 1.12rem; margin-bottom: 10px; }
.why-tile p { color: var(--muted); font-size: 0.92rem; line-height: 1.8; }

/* ============ 技術跑馬燈 ============ */
.marquee {
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.m-item {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 3px;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
}
.m-item.alt {
  -webkit-text-stroke: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.85;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ CTA ============ */
.cta-band {
  padding: 150px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-band p { color: var(--muted); margin: 18px 0 38px; }

/* ============ 聯絡我們 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact-desc { color: var(--muted); margin-top: 18px; line-height: 1.9; }
.contact-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c9d2ee;
}
.c-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--c-cyan);
  font-size: 1rem;
}
.contact-form {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px 34px;
  backdrop-filter: blur(10px);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(154, 163, 192, 0.55); }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; }

/* ============ 頁尾 ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 24px 44px;
  text-align: center;
}
.footer-slogan { color: var(--muted); margin: 14px 0 26px; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--c-cyan); }
.copyright { margin-top: 30px; font-size: 0.85rem; color: rgba(154, 163, 192, 0.6); }

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: #10162e;
  border: 1px solid rgba(0, 217, 255, 0.35);
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 0.95rem;
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ============ RWD ============ */
@media (max-width: 1024px) {
  .card { grid-column: span 3; }
  .card.featured { grid-column: span 6; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .timeline::before { display: none; }
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .cursor-glow { display: none; }
}

@media (max-width: 760px) {
  .section { padding: 90px 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(5, 7, 15, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-110%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 55;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.btn) { font-size: 1.25rem; color: var(--text); }
  .card { grid-column: span 6; }
  .timeline { grid-template-columns: 1fr; gap: 26px; margin-top: 50px; }
  .t-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
  }
  .t-dot { margin: 0; width: 48px; height: 48px; flex-shrink: 0; }
  .t-step h3 { margin-bottom: 4px; }
  .form-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
  .scroll-hint { display: none; }
}

/* ============ 減少動態效果偏好 ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
