/* 
   style.css - Vibe Coding 教練網站樣式
   特色：淺色模式、活潑色彩、高品質排版
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --bg-color: #f8fafc;        /* 淺色背景，保持乾淨活力 */
  --card-bg: rgba(255, 255, 255, 0.9); /* 半透明白色卡片 */
  --text-primary: #0f172a;    /* 科技湛藍 (極深藍) 用於文字 */
  --text-secondary: #475569;  /* 次要文字 */
  --accent-primary: #f97316;  /* 活力橘 (Vibrant Orange) */
  --accent-secondary: #1e3a8a; /* 科技湛藍 (Tech Deep Blue) */
  --accent-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --border-light: rgba(30, 58, 138, 0.1);
  --shadow-warm: 0 10px 25px -5px rgba(249, 115, 22, 0.1), 0 8px 10px -6px rgba(249, 115, 22, 0.1);
  
  /* 語意色彩 */
  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;
}

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

body {
  font-family: 'Noto Sans TC', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.7; /* 提升閱讀舒適度 */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 背景動態氛圍 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(30, 58, 138, 0.08) 0%, transparent 40%);
  z-index: -1;
}

/* 佈局容器 */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Hero 區塊 */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 0;
}

.hero-image-container {
  margin-bottom: 40px;
  max-width: 500px;
  width: 100%;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 4px solid white;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 40px;
}

/* CTA 按鈕 */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--accent-gradient);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px; /* 統一圓角 */
  transition: all 0.2s ease;
  box-shadow: 0 10px 20px rgba(249, 113, 22, 0.2);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(249, 115, 22, 0.3);
}

/* 區塊標題 */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-primary);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* 卡片設計 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: 24px; /* 統一圓角 */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-primary);
}

.card-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--accent-secondary);
}

.card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* 關於我 / 簡介 區塊 */
.about-box {
  background: white;
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: 24px; /* 統一圓角 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  max-width: 900px;
  margin: 0 auto;
}

/* 服務流程 */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.process-item {
  display: flex;
  align-items: flex-start;
  padding: 24px;
  background: white;
  border-left: 6px solid var(--accent-secondary);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease;
}

.process-item:hover {
  transform: translateX(5px);
}

.process-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-secondary);
  opacity: 0.2;
  margin-right: 20px;
  line-height: 1.2;
}

/* 頁尾 */
footer {
  padding: 60px 0;
  text-align: center;
  background: #0b1120;
  border-top: 1px solid var(--border-light);
}

.social-links {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  background: rgba(30, 58, 138, 0.05);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-links a:hover {
  background: var(--accent-secondary);
  color: white;
  transform: translateY(-2px);
}

/* 反應式設計 */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  .section { padding: 48px 0; }
  .about-box { padding: 32px; }
  .process-item { padding: 24px; }
}

/* 動態出現效果 (保持相同) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
