:root {
  --bg: #f6f7fb;
  --bg-alt: #eef2f8;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #5f6b7a;
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --border: #dbe3ef;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(219, 227, 239, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

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

.nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.eyebrow,
.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 18px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

.hero-text .lead {
  max-width: 760px;
}

.hero-buttons,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

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

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

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

.btn-secondary {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.quick-points {
  margin: 28px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-card,
.card,
.contact-box,
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-desc {
  color: var(--muted);
  margin: 0;
}

.cards {
  display: grid;
  gap: 20px;
}

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

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

.card {
  padding: 24px;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.video-card {
  padding: 24px;
}

.video-placeholder {
  min-height: 240px;
  border: 2px dashed var(--border);
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: var(--muted);
  background: #fafcff;
}

.video-note {
  font-size: 0.95rem;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin: 10px 0 8px;
}

.note-card {
  margin-top: 20px;
}

.page-hero {
  padding: 72px 0 24px;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.faq-item h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.contact-box {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .three-cols,
  .two-cols,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav-wrap {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 14px;
  }

  .hero {
    padding-top: 48px;
  }

  .section,
  .page-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .card,
  .hero-card,
  .video-card,
  .faq-item,
  .contact-box {
    padding: 20px;
  }
}
