:root {
  --bg: #0b1220;
  --bg-soft: #111a2c;
  --surface: #162033;
  --surface-2: #1c2940;
  --text: #f3f4f6;
  --muted: #aab4c5;
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 24px 60px rgba(0,0,0,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  background: linear-gradient(180deg, #08101d 0%, #0d1727 100%);
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { width: min(760px, 100%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 16, 29, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap,
.hero-grid,
.footer-wrap,
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo,
.nav a,
.site-footer a,
.card a {
  color: var(--text);
  text-decoration: none;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a:hover,
.site-footer a:hover,
.card a:hover {
  color: var(--primary);
}

.hero {
  padding: 110px 0 80px;
}

.hero-grid {
  align-items: stretch;
}

.hero-content,
.hero-panel {
  flex: 1;
}

.section-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  font-weight: 700;
  margin-bottom: 14px;
}

h1,h2,h3,p { margin-top: 0; }

h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.subtitle,
.card p,
.review-card p,
#about p,
#contact p {
  color: var(--muted);
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--primary);
  color: #111827;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.panel-card,
.card,
.review-card,
.cta-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 24px;
}

.panel-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.panel-card strong {
  font-size: 20px;
}

.section {
  padding: 84px 0;
}

.alt {
  background: rgba(255,255,255,0.02);
}

.cards,
.reviews {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reviews {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.review-card {
  padding: 28px;
}

.cta-box {
  padding: 32px;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .cta-box,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards,
  .reviews {
    grid-template-columns: 1fr;
  }
}
