@charset "utf-8";
/* ==========================================
   AI 安裝指南 — AI Setup Guide
   設計方向：工業/實用風格
   色調：深灰 + 琥珀強調
   字體：JetBrains Mono (程式碼) + Noto Sans TC
   ========================================== */

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  background: #fafaf8;
  color: #1a1a1a;
  line-height: 1.7;
}

code, pre, .code-inline {
  font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
}

/* ======== 頂部導航 ======== */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e8e4;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 56px;
}
.top-nav .nav-logo {
  font-weight: 700; font-size: 1.1rem;
  color: #1a1a1a; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
}
.top-nav .nav-logo .logo-icon { font-size: 1.25rem; }
.top-nav .nav-links { display: flex; gap: 24px; list-style: none; }
.top-nav .nav-links a {
  color: #666; text-decoration: none; font-size: 0.85rem;
  font-weight: 500; transition: color 150ms;
}
.top-nav .nav-links a:hover { color: #d97706; }
.nav-cta {
  background: #d97706; color: #fff; padding: 7px 18px;
  border-radius: 4px; font-size: 0.85rem; text-decoration: none;
  font-weight: 600; transition: background 150ms;
}
.nav-cta:hover { background: #b45309; }

/* ======== Hero ======== */
.hero {
  text-align: center; padding: 80px 24px 64px;
  background: linear-gradient(180deg, #fefdf8 0%, #fafaf8 100%);
  border-bottom: 1px solid #e8e8e4;
}
.hero .hero-badge {
  display: inline-block; background: #fef3c7; color: #92400e;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 4px 16px; border-radius: 50px; margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.4rem; font-weight: 800; color: #1a1a1a;
  letter-spacing: -0.02em; line-height: 1.25; max-width: 680px;
  margin: 0 auto 16px;
}
.hero h1 .highlight { color: #d97706; }
.hero p {
  font-size: 1.05rem; color: #666; max-width: 540px;
  margin: 0 auto 32px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px; font-size: 0.92rem; font-weight: 600;
  text-decoration: none; border-radius: 4px;
  cursor: pointer; transition: all 150ms; font-family: inherit;
}
.btn-primary { background: #d97706; color: #fff; border: none; }
.btn-primary:hover { background: #b45309; }
.btn-outline { border: 1.5px solid #d4d4cc; color: #1a1a1a; background: transparent; }
.btn-outline:hover { border-color: #d97706; color: #d97706; }

/* ======== 內容區塊 ======== */
.section {
  padding: 72px 24px; max-width: 860px; margin: 0 auto;
}
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-header .section-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  color: #d97706; text-transform: uppercase; margin-bottom: 8px;
}
.section-header h2 {
  font-size: 1.8rem; font-weight: 800; color: #1a1a1a;
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.section-header p { color: #666; font-size: 0.95rem; }

/* ======== 步驟卡片 ======== */
.steps { counter-reset: step; }
.step {
  counter-increment: step;
  display: flex; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e4;
}
.step:last-child { border: none; }
.step-num {
  width: 40px; height: 40px;
  background: #f5f5f0; color: #d97706;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  border-radius: 4px; flex-shrink: 0;
}
.step-content h3 {
  font-size: 1.05rem; font-weight: 700; color: #1a1a1a;
  margin-bottom: 4px;
}
.step-content p { color: #555; font-size: 0.9rem; line-height: 1.75; margin-bottom: 8px; }
.step-content ul { padding-left: 20px; margin: 6px 0; }
.step-content ul li { color: #555; font-size: 0.88rem; line-height: 1.7; }
.code-block {
  background: #1e1e1e; color: #e0e0e0;
  padding: 14px 18px; border-radius: 4px;
  font-size: 0.82rem; line-height: 1.7;
  overflow-x: auto; margin: 8px 0;
  position: relative;
}
.code-block .code-lang {
  position: absolute; top: 6px; right: 12px;
  font-size: 0.65rem; color: #888; text-transform: uppercase;
  letter-spacing: 0.08em;
}
.note-box {
  background: #fef9e7; border-left: 3px solid #d97706;
  padding: 12px 16px; border-radius: 0 4px 4px 0;
  margin: 12px 0; font-size: 0.85rem; color: #92400e;
  line-height: 1.6;
}
.note-box strong { color: #78350f; }

/* ======== 定價表格 ======== */
.pricing-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.88rem; margin-top: 16px;
}
.pricing-table thead th {
  background: #f5f5f0; padding: 12px 14px;
  text-align: left; font-weight: 700; color: #1a1a1a;
  border-bottom: 2px solid #d4d4cc; font-size: 0.82rem;
}
.pricing-table tbody td {
  padding: 12px 14px; border-bottom: 1px solid #e8e8e4;
  color: #444;
}
.pricing-table tbody tr:hover { background: #fdfdfb; }
.pricing-table .price-highlight {
  color: #d97706; font-weight: 700;
}
.pricing-table .tag {
  display: inline-block; padding: 2px 8px; border-radius: 3px;
  font-size: 0.68rem; font-weight: 700;
}
.tag-best { background: #fef3c7; color: #92400e; }
.tag-fast { background: #dbeafe; color: #1e40af; }
.tag-cheap { background: #d1fae5; color: #065f46; }

/* ======== 優惠方案區塊 ======== */
.offer-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 16px;
}
.offer-card {
  background: #fff; border: 1px solid #e8e8e4;
  border-radius: 6px; padding: 28px 24px;
  text-align: center;
}
.offer-card.featured {
  border-color: #d97706; box-shadow: 0 0 0 1px #d97706;
  position: relative;
}
.offer-card .offer-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #d97706; color: #fff; font-size: 0.72rem;
  font-weight: 700; padding: 3px 16px; border-radius: 50px;
  white-space: nowrap;
}
.offer-card .offer-icon { font-size: 2rem; margin-bottom: 8px; }
.offer-card h3 { font-size: 1.15rem; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.offer-card .offer-price {
  font-size: 2rem; font-weight: 800; color: #d97706; margin: 8px 0;
}
.offer-card .offer-price small { font-size: 0.8rem; color: #888; font-weight: 400; }
.offer-card .offer-features {
  list-style: none; text-align: left;
  margin: 16px 0; font-size: 0.85rem; color: #555;
}
.offer-card .offer-features li {
  padding: 5px 0; border-bottom: 1px dotted #eee;
  display: flex; align-items: center; gap: 8px;
}
.offer-card .offer-features li:last-child { border: none; }
.offer-card .offer-features .check { color: #d97706; font-weight: 700; }

/* ======== 聯絡區塊 ======== */
.contact-block {
  background: #1e1e1e; color: #e0e0e0;
  padding: 48px 24px; text-align: center;
  border-radius: 8px; margin-top: 48px;
}
.contact-block h3 {
  font-size: 1.4rem; font-weight: 700; color: #fff;
  margin-bottom: 8px;
}
.contact-block p { color: #aaa; font-size: 0.9rem; margin-bottom: 24px; }
.contact-methods {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap;
}
.contact-method {
  display: flex; align-items: center; gap: 10px;
  background: #2a2a2a; padding: 14px 24px;
  border-radius: 6px; cursor: pointer;
  transition: background 150ms; text-decoration: none;
}
.contact-method:hover { background: #333; }
.contact-method .cm-icon { font-size: 1.5rem; }
.contact-method .cm-label { font-size: 0.72rem; color: #888; }
.contact-method .cm-value { font-size: 0.95rem; color: #fff; font-weight: 600; }

/* ======== Footer ======== */
.site-footer {
  text-align: center; padding: 32px 24px;
  color: #999; font-size: 0.78rem;
  border-top: 1px solid #e8e8e4;
}

/* ======== RWD ======== */
@media (max-width: 700px) {
  .top-nav { padding: 0 16px; }
  .top-nav .nav-links { display: none; }
  .hero { padding: 56px 16px 40px; }
  .hero h1 { font-size: 1.6rem; }
  .section { padding: 48px 16px; }
  .offer-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 10px; }
  .pricing-table { font-size: 0.75rem; }
  .pricing-table thead th,
  .pricing-table tbody td { padding: 8px 10px; }
}
