/* ===== 富瑞海通 - 全局樣式 ===== */
:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --accent: #c53030;
  --accent-light: #e53e3e;
  --gold: #b7791f;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 導航 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img { height: 44px; width: auto; }

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}

.logo-text small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

/* ===== 按鈕 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-white {
  background: white;
  color: var(--primary);
}
.btn-white:hover { background: var(--bg-alt); }

/* ===== 區塊標題 ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .en {
  font-size: 13px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
  font-weight: 500;
}

/* ===== 頁腳 ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .logo-footer img { height: 50px; }

.footer-brand h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-links h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.8;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  color: white;
  transform: translateX(4px);
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact .icon {
  font-size: 16px;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* ===== 關於我們 ===== */
.about { padding: 100px 0; background: var(--bg); }

.about-header {
  text-align: center;
  margin-bottom: 48px;
}

.about-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.about-header p {
  font-size: 16px;
  color: var(--text-light);
}

.about-quote {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
  border-left: 4px solid var(--accent);
  padding: 28px 32px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 48px;
}

.about-quote .en-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.6;
}

.about-quote .zh-quote {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.about-quote .author {
  font-size: 13px;
  color: var(--text-light);
  text-align: right;
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-article p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-article p:first-child {
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 20px;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== 數據牆 ===== */
.stats-bar {
  background: var(--primary);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  color: white;
}

.stat-item .icon {
  font-size: 36px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.stat-item .num {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-item .num small { font-size: 20px; font-weight: 400; opacity: 0.7; }

.stat-item .label {
  font-size: 14px;
  opacity: 0.7;
}
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .logo-footer img { height: 50px; }

.footer-brand h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-links h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.8;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  color: white;
  transform: translateX(4px);
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact .icon {
  font-size: 16px;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* ===== 響應式 ===== */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header h2 { font-size: 28px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 24px; }
  .container { padding: 0 16px; }
}
