/* ===== FitBiz Design System ===== */
:root {
  --navy: #1E3A5F;
  --navy-dark: #152B47;
  --navy-light: #2D5282;
  --orange: #F97316;
  --orange-dark: #EA6A0A;
  --orange-light: #FED7AA;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --font: 'Noto Sans TC', 'PingFang TC', 'Helvetica Neue', sans-serif;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(30,58,95,0.10);
  --shadow-sm: 0 2px 8px rgba(30,58,95,0.07);
}

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

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(30,58,95,0.97);
  backdrop-filter: blur(8px);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 1.4rem; font-weight: 800;
  letter-spacing: -0.5px;
}
.navbar-logo span { color: var(--orange); }
.navbar-logo small {
  font-size: 0.65rem; font-weight: 400; color: var(--gray-400);
  letter-spacing: 0.5px; display: block; margin-top: -4px;
}
.navbar-nav {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.navbar-nav a {
  color: rgba(255,255,255,0.85); font-size: 0.88rem;
  padding: 6px 12px; border-radius: 6px;
  transition: all 0.2s;
}
.navbar-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar-nav .cta {
  background: var(--orange); color: var(--white);
  padding: 8px 18px; border-radius: 6px; font-weight: 600;
}
.navbar-nav .cta:hover { background: var(--orange-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-left { max-width: 580px; }
.hero-right { display: flex; justify-content: flex-end; }
/* Data card */
.hero-data-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(8px);
}
.hero-data-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.8px; text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-data-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-data-rows { display: flex; flex-direction: column; gap: 14px; }
.hero-data-row {
  display: flex; align-items: center; gap: 10px;
}
.hero-data-icon { font-size: 1.1rem; width: 24px; flex-shrink: 0; }
.hero-data-label {
  flex: 1;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.hero-data-value {
  font-size: 1rem; font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.hero-data-value.warn { color: #fb923c; }
.hero-data-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-data-link {
  font-size: 0.8rem; font-weight: 700;
  color: var(--orange-light);
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.hero-data-link:hover { color: var(--orange); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.3);
  color: var(--orange-light); font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
  color: var(--white); line-height: 1.25; margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 .highlight { color: var(--orange); }
.hero p {
  color: rgba(255,255,255,0.75); font-size: 1.05rem;
  margin-bottom: 36px; max-width: 560px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem;
  transition: all 0.2s; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,0.35); }
.btn-secondary {
  background: rgba(255,255,255,0.1); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.2s; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); }

/* ===== PAIN POINTS ===== */
.pain-section {
  background: var(--gray-50);
  padding: 80px 5%;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  color: var(--orange); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  color: var(--navy); line-height: 1.3;
}
.section-header p {
  color: var(--gray-600); margin-top: 12px; font-size: 1rem; max-width: 560px; margin-inline: auto;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.pain-card {
  background: var(--white); border-radius: 12px;
  padding: 32px 28px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  position: relative; overflow: hidden;
}
.pain-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--orange);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-icon {
  font-size: 2rem; margin-bottom: 16px;
}
.pain-card h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--navy);
  margin-bottom: 10px;
}
.pain-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; }

/* ===== STATS ===== */
.stats-section {
  background: var(--navy);
  padding: 60px 5%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px; max-width: 900px; margin: 0 auto;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-size: 2.6rem; font-weight: 900;
  color: var(--orange); line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* ===== SECTIONS OVERVIEW ===== */
.sections-overview { padding: 80px 5%; }
.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.section-card {
  border-radius: 12px; padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.25s; cursor: pointer;
  position: relative;
}
.section-card:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-3px); }
.section-card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.section-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.section-card p { font-size: 0.87rem; color: var(--gray-600); line-height: 1.65; }
.section-card .arrow {
  position: absolute; top: 32px; right: 28px;
  color: var(--gray-400); font-size: 1.1rem;
  transition: all 0.2s;
}
.section-card:hover .arrow { color: var(--orange); transform: translateX(4px); }

/* ===== ARTICLES LIST ===== */
.articles-section { padding: 80px 5%; background: var(--gray-50); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.article-card {
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden; transition: all 0.25s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card-body { padding: 24px; }
.article-tag {
  display: inline-block;
  background: rgba(249,115,22,0.1); color: var(--orange);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.article-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  line-height: 1.45; margin-bottom: 8px;
}
.article-card .en-title {
  font-size: 0.78rem; color: var(--gray-400); margin-bottom: 12px;
  font-style: italic;
}
.article-card p { font-size: 0.87rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 16px; }
.article-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--gray-100);
}
.article-meta span { font-size: 0.78rem; color: var(--gray-400); }
.read-more {
  font-size: 0.82rem; font-weight: 600; color: var(--orange);
  display: flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.article-card:hover .read-more { gap: 8px; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 120px 5% 60px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900;
  color: var(--white); margin-bottom: 12px;
}
.page-hero .en { color: var(--gray-400); font-size: 0.95rem; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin-inline: auto; }

/* ===== ARTICLE PAGE ===== */
.article-page { padding: 60px 5%; max-width: 800px; margin: 0 auto; }
.article-header { margin-bottom: 40px; }
.article-header .tag-row { display: flex; gap: 8px; margin-bottom: 16px; }
.article-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900;
  color: var(--navy); line-height: 1.3; margin-bottom: 8px;
}
.article-header .en-h1 {
  font-size: 1rem; color: var(--gray-400); font-style: italic; margin-bottom: 12px;
}
.article-author {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--navy-light);
  background: rgba(30,58,95,0.06); border-radius: 20px;
  padding: 4px 14px; margin-bottom: 4px;
}
.article-author::before { content: "✍️"; font-size: 0.8rem; }
.article-date {
  font-size: 0.78rem; color: var(--gray-400); margin-top: 6px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 6px;
}
.article-date::before { content: "📅"; font-size: 0.75rem; }
.en-summary-box {
  background: var(--gray-50); border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin-bottom: 36px;
}
.en-summary-box .label {
  font-size: 0.72rem; font-weight: 700; color: var(--orange);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px;
}
.en-summary-box p { font-size: 0.9rem; color: var(--gray-600); font-style: italic; line-height: 1.7; }
.article-body h2 {
  font-size: 1.25rem; font-weight: 800; color: var(--navy);
  margin: 36px 0 14px;
}
.article-body h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--navy-light);
  margin: 24px 0 10px;
}
.article-body p { margin-bottom: 16px; color: var(--gray-800); line-height: 1.8; }
.article-body ul, .article-body ol {
  padding-left: 20px; margin-bottom: 16px;
}
.article-body li { margin-bottom: 8px; line-height: 1.75; color: var(--gray-800); }
.callout {
  background: rgba(249,115,22,0.07); border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius); padding: 20px 24px; margin: 28px 0;
}
.callout strong { color: var(--orange); }
.data-box {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 24px;
  margin: 28px 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px; text-align: center;
}
.data-box .num { font-size: 2rem; font-weight: 900; color: var(--orange); }
.data-box .lbl { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 64px 5%; text-align: center;
}
.cta-band h2 { font-size: 1.8rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 28px; max-width: 500px; margin-inline: auto; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  padding: 48px 5% 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1100px; margin: 0 auto 40px;
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-top: 12px; line-height: 1.7; }
footer h4 { color: var(--white); font-size: 0.88rem; font-weight: 700; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul a { color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: color 0.2s; }
footer ul a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; text-align: center;
  color: rgba(255,255,255,0.35); font-size: 0.8rem;
  max-width: 1100px; margin: 0 auto;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 16px 5%; background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb a { color: var(--gray-600); font-size: 0.85rem; }
.breadcrumb span { color: var(--gray-400); font-size: 0.85rem; margin: 0 8px; }
.breadcrumb .current { color: var(--navy); font-size: 0.85rem; font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .navbar-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--navy-dark); padding: 16px;
    gap: 4px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 100px 5% 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .hero-data-card { max-width: 100%; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
}
