/* ==========================================================================
   口袋暗棋 (Dark Chess) 官方宣傳網站樣式表
   設計風格：東方奢華黑金沉香木 · 現代毛玻璃微光 · 極致擬物與動效
   ========================================================================== */

:root {
  /* 核心調色盤 */
  --bg-dark-1: #150E0A;
  --bg-dark-2: #0B0604;
  --bg-card: rgba(36, 23, 17, 0.85);
  --bg-card-hover: rgba(50, 32, 24, 0.95);
  
  --gold-1: #FDF0CD;
  --gold-2: #F3CA68;
  --gold-3: #D49B35;
  --gold-dark: #8C5B16;
  
  --red-piece: #B82828;
  --black-piece: #222933;
  --piece-bg-red: radial-gradient(circle at 35% 35%, #FFF7EC, #EBD7B8 60%, #C4A171 100%);
  --piece-bg-black: radial-gradient(circle at 35% 35%, #FFFFFF, #E3E5E8 60%, #B4B9BF 100%);
  --piece-bg-unrevealed: radial-gradient(circle at 35% 35%, #442918, #2A170D 60%, #150A05 100%);

  --text-primary: #FBF4E6;
  --text-secondary: rgba(251, 244, 230, 0.75);
  --text-muted: rgba(251, 244, 230, 0.5);

  --border-gold: rgba(232, 189, 113, 0.35);
  --border-gold-bright: rgba(243, 202, 104, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);

  --shadow-gold: 0 10px 30px rgba(212, 155, 53, 0.25);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-piece: 0 8px 20px rgba(0, 0, 0, 0.5);

  --font-serif: 'Noto Serif TC', 'Songti TC', 'STSong', serif;
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 基礎重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark-2);
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(140, 91, 22, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 80% 40%, rgba(85, 34, 15, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-dark-1) 0%, var(--bg-dark-2) 100%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 滾動條美化 */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-2);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 5px;
  border: 1px solid var(--border-gold);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* 容器與版面 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* ==========================================================================
   導航列 (Navbar)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(18, 11, 7, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(14, 9, 6, 0.92);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-gold);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold-1);
  letter-spacing: 1px;
}

.nav-logo-sub {
  font-size: 0.75rem;
  color: var(--gold-3);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-2);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #110B08;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(212, 155, 53, 0.35);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 155, 53, 0.55);
  color: #000;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-1);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero 英雄區塊
   ========================================================================== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 155, 53, 0.18) 0%, rgba(140, 91, 22, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(243, 202, 104, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-tag i {
  font-size: 0.9rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 1.5px;
  color: var(--gold-1);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title span {
  background: linear-gradient(135deg, #FFF6D6 0%, #F5CE71 50%, #C8902A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 28px;
  background: linear-gradient(180deg, #241A14 0%, #150E0A 100%);
  border: 1.5px solid var(--border-gold-bright);
  border-radius: 16px;
  color: var(--gold-1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-appstore:hover {
  transform: translateY(-4px);
  border-color: #FFF;
  box-shadow: 0 14px 40px rgba(212, 155, 53, 0.35);
  background: linear-gradient(180deg, #32231A 0%, #1D130E 100%);
}

.btn-appstore-icon {
  font-size: 2rem;
  color: var(--gold-2);
}

.btn-appstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-appstore-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--gold-3);
  letter-spacing: 0.8px;
}

.btn-appstore-main {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  color: var(--text-primary);
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.stat-item h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-2);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Hero 右側 iPhone 展示框 & 互動暗棋盤
   ========================================================================== */
.hero-device-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(135deg, #2D1E16, #120A06);
  border: 3px solid var(--border-gold-bright);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(212, 155, 53, 0.2);
}

.mockup-inner {
  background: #0D0805;
  border-radius: 24px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gold-2);
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.interactive-board-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gold-3);
  margin-bottom: 4px;
  animation: pulseHint 2s infinite ease-in-out;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* 網頁 4x8 擬真暗棋盤 */
.mini-board-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  background: linear-gradient(135deg, #2A1A11, #160D08);
  padding: 10px;
  border-radius: 16px;
  border: 2px solid #4A3020;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.8);
}

.chess-slot {
  aspect-ratio: 1;
  background: radial-gradient(circle, #1E120B, #0E0704);
  border-radius: 50%;
  border: 1px dashed rgba(232, 189, 113, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  perspective: 600px;
}

.chess-piece {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-piece);
}

.chess-piece.revealed {
  transform: rotateY(180deg);
}

.chess-piece-back, .chess-piece-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 900;
  user-select: none;
}

.chess-piece-back {
  background: var(--piece-bg-unrevealed);
  border: 2px solid #5A3922;
  color: var(--gold-3);
  font-size: 0.95rem;
}

.chess-piece-back::after {
  content: '';
  position: absolute;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  border: 1px dashed rgba(243, 202, 104, 0.4);
}

.chess-piece-front {
  transform: rotateY(180deg);
  font-size: 1.15rem;
}

.chess-piece-front.red {
  background: var(--piece-bg-red);
  border: 2px solid var(--red-piece);
  color: var(--red-piece);
}

.chess-piece-front.black {
  background: var(--piece-bg-black);
  border: 2px solid var(--black-piece);
  color: var(--black-piece);
}

/* ==========================================================================
   章節標題共用元件
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-1);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   特色亮點卡片 (Features Grid)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-card);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-gold-bright);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 155, 53, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.icon-single {
  background: linear-gradient(135deg, #F5CE71, #C8902A);
  color: #1A100B;
}

.icon-double {
  background: linear-gradient(135deg, #5AB6F5, #2062C8);
  color: #0A1626;
}

.icon-puzzle {
  background: linear-gradient(135deg, #F56B5A, #C82620);
  color: #240806;
}

.icon-rules {
  background: linear-gradient(135deg, #B5B5C0, #5C5C68);
  color: #121216;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold-1);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-list li {
  font-size: 0.85rem;
  color: var(--gold-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li i {
  font-size: 0.8rem;
  color: var(--gold-3);
}

/* ==========================================================================
   規則與階級圖解區 (Rules Showcase)
   ========================================================================== */
.rules-section {
  background: linear-gradient(180deg, rgba(21, 14, 10, 0.6) 0%, rgba(11, 6, 4, 0.9) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.rank-hierarchy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  padding: 24px;
  background: rgba(30, 18, 13, 0.6);
  border-radius: 20px;
  border: 1px solid var(--border-gold);
}

.rank-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  font-weight: 700;
}

.rank-badge .piece-tag-red {
  color: #FF5A5A;
}

.rank-badge .piece-tag-black {
  color: #A0B4C8;
}

.rank-arrow {
  color: var(--gold-3);
  font-weight: 900;
  font-size: 1.1rem;
}

.special-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.rule-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  gap: 20px;
}

.rule-box-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(243, 202, 104, 0.15);
  color: var(--gold-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
}

.rule-box-content h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-1);
  margin-bottom: 8px;
}

.rule-box-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   常見問題 (FAQ)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-1);
}

.faq-question i {
  font-size: 1rem;
  color: var(--gold-2);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CTA 底部呼籲下載區
   ========================================================================== */
.cta-section {
  padding: 80px 0 120px;
}

.cta-card {
  background: linear-gradient(135deg, #321F16 0%, #170E09 100%);
  border: 2px solid var(--border-gold-bright);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold), 0 20px 50px rgba(0, 0, 0, 0.8);
}

.cta-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 50% 0%, rgba(243, 202, 104, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold-1);
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   頁尾 (Footer)
   ========================================================================== */
.footer {
  background: #080403;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-1);
  margin-bottom: 12px;
}

.footer-brand p {
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-2);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a:hover {
  color: var(--gold-1);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   子頁面專用樣式 (Privacy / Terms / Support)
   ========================================================================== */
.page-hero {
  padding: 150px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-dark-1) 0%, transparent 100%);
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--gold-1);
  margin-bottom: 12px;
}

.page-subtitle {
  color: var(--gold-3);
  font-size: 0.95rem;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 80px;
  box-shadow: var(--shadow-card);
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-1);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-gold);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.2rem;
  color: var(--gold-2);
  margin: 24px 0 10px;
}

.legal-content p, .legal-content li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.support-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-2);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-control:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 12px rgba(243, 202, 104, 0.35);
  background: rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   響應式設計 (RWD)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-desc {
    margin: 0 auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .support-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero {
    padding: 120px 0 60px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .cta-card {
    padding: 40px 20px;
  }
  .cta-card h2 {
    font-size: 2rem;
  }
  .legal-content {
    padding: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
