:root {
  --brand-blue: #1e3a5f;
  --brand-orange: #ff6b35;
  --brand-orange-dark: #e55a2b;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-soft: #f6f7f9;
  --bg-warm: #fbfaf7;
  --bg-cool: #f7fafc;
  --section-line: rgba(30, 58, 95, 0.08);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background: var(--white);
}

.section,
.hero {
  scroll-margin-top: 92px;
}

#payments {
  scroll-margin-top: 108px;
}

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

[hidden] {
  display: none !important;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
video:focus-visible {
  outline: 3px solid rgba(255, 107, 53, 0.55);
  outline-offset: 2px;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.56s ease, transform 0.56s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.section {
  position: relative;
  padding: 84px 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1320px, calc(100% - 32px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--section-line), transparent);
  pointer-events: none;
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--brand-blue);
}

.section-subtitle {
  max-width: 700px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.accent-line {
  width: 96px;
  height: 4px;
  margin: 20px auto 0;
  background: var(--brand-orange);
}

.btn {
  display: inline-block;
  border: 2px solid transparent;
  padding: 13px 28px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.btn-primary {
  background: var(--brand-orange);
  color: var(--white);
}

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

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--brand-blue);
}
