@charset "utf-8";

/* =========================================================
   Proxyman 繁體中文官網 · 公共樣式 common.css
   主題色 Brand: #2563EB · 深色主題 Dark Theme
   字型不使用 Google Fonts，僅使用系統字型
   ========================================================= */

:root {
  --brand: #2563EB;
  --brand-light: #3B82F6;
  --brand-dark: #1D4ED8;
  --brand-soft: rgba(37, 99, 235, 0.12);
  --brand-glow: rgba(37, 99, 235, 0.35);

  --bg: #000000;
  --bg-2: #07090D;
  --bg-3: #0D0F14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #EAEEF6;
  --text-2: #A8B2C5;
  --text-3: #6B7488;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-brand: 0 18px 40px -16px var(--brand-glow);

  --container: 1200px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "微軟雅黑", "Source Han Sans SC",
    "Noto Sans CJK SC", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0; }

/* 通用容器 */
.cmn-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 區塊通用間距 */
.cmn-section { padding: 96px 0; position: relative; }

/* 區塊小標籤 eyebrow */
.cmn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.cmn-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* 區塊標題 */
.cmn-title {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
}
.cmn-subtitle {
  margin-top: 16px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-2);
  max-width: 680px;
}
.cmn-center { text-align: center; }
.cmn-center .cmn-subtitle { margin-left: auto; margin-right: auto; }

/* 漸變高亮文字 */
.cmn-grad {
  background: linear-gradient(120deg, #fff 0%, var(--brand-light) 60%, #60A5FA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===================== 按鈕 ===================== */
.cmn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease,
    background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.cmn-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.cmn-btn:hover { transform: translateY(-2px); }

/* 主按鈕 · 立即購買（突出） */
.cmn-btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.cmn-btn-primary:hover { box-shadow: 0 24px 50px -16px var(--brand-glow); }

/* 次按鈕 · 下載試用（弱化） */
.cmn-btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.cmn-btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); }

.cmn-btn-lg { padding: 16px 30px; font-size: 16px; }

/* 連結箭頭 */
.cmn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-light);
  font-weight: 600;
  font-size: 15px;
}
.cmn-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.cmn-link:hover svg { transform: translateX(4px); }

/* 卡片通用 */
.cmn-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.cmn-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

/* 滾動進入動畫 */
.cmn-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.cmn-reveal.is-visible { opacity: 1; transform: translateY(0); }

::selection { background: var(--brand); color: #fff; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #2a3450; border-radius: 6px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #3a4560; }

@media (max-width: 768px) {
  .cmn-section { padding: 64px 0; }
  .cmn-container { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
