:root {
  --default-font: "Noto Sans TC", "Roboto", system-ui, sans-serif;
  --heading-font: "Noto Sans TC", "Raleway", sans-serif;
  --nav-font: "Noto Sans TC", "Poppins", sans-serif;
}

.header .logo img {
  max-height: 48px;
  width: auto;
  display: block;
}

.header .logo img[hidden] {
  display: none;
}

.header .logo .sitename {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.header .logo .sitename[hidden] {
  display: none;
}

.hero h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
}

.hero .hero-lead {
  max-width: 42rem;
  margin: 0.75rem auto 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-color);
  border: 0;
}

.btn-cta:hover {
  color: #fff;
  background: color-mix(in srgb, var(--accent-color), #000 12%);
}

.btn-cta-ghost {
  background: transparent;
  border: 1px solid color-mix(in srgb, #fff, transparent 40%);
}

.btn-cta-line {
  background: #06c755;
}

.btn-cta-line:hover {
  background: #05b04c;
}

.split-feature {
  position: relative;
  overflow: hidden;
}

.split-feature .split-img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  min-height: 240px;
  max-height: 380px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-feature .split-img:hover {
  transform: translateY(-6px) scale(1.018);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
}

.split-feature-text {
  padding: 0.5rem 0.75rem;
}

.split-feature .feature-kicker {
  color: var(--accent-color);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.split-feature h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.35;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.split-feature p {
  line-height: 1.9;
  margin-bottom: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  font-size: 1.02rem;
}

.split-feature .icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 82%) 0%, color-mix(in srgb, var(--accent-color), transparent 92%) 100%);
  color: var(--accent-color);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 85%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.split-feature:hover .icon-badge {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
  padding: 40px 32px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 4px solid var(--accent-color);
  height: 100%;
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.services .service-item .icon {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
  margin: 0 0 22px 0;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent-color), transparent 70%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.services .service-item:hover .icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent-color), transparent 55%);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 0 0 15px 0;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.services .service-item:hover h3 {
  color: var(--accent-color);
}

.services .service-item p {
  line-height: 1.85;
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 0.75rem;
}

.feature-card {
  height: 100%;
  padding: 1.75rem;
  border-radius: 16px;
  background: var(--surface-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.feature-card .icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.line-official {
  text-align: center;
}

.line-official .line-qr {
  width: min(100%, 260px);
  height: auto;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}

.line-official .line-id {
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 0.75rem;
}

.chrome-ext-shot {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

/* ==============================================================
   Pricing Section (費用說明)
   ============================================================== */
.pricing-section {
  background: var(--surface-color);
}

.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.pricing-plan-card {
  --card-ink: #fff;
  --card-ink-soft: rgba(255, 255, 255, 0.88);
  --section-bg: rgba(255, 255, 255, 0.16);
  --section-border: rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.85rem 0.75rem;
  border-radius: 1rem;
  color: var(--card-ink);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.pricing-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
}

.pricing-plan-card--orange {
  background: linear-gradient(160deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
}

.pricing-plan-card--blue {
  background: linear-gradient(160deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
}

.pricing-plan-card--popular {
  border: 2px solid #fbbf24;
}

.pricing-plan-badge {
  position: absolute;
  top: -12px;
  right: 12px;
  background: #fbbf24;
  color: #78350f;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pricing-card-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: 0.65rem;
  background: var(--section-bg);
  border: 1px solid var(--section-border);
}

.pricing-card-section--name {
  min-height: 3.25rem;
  padding: 0.35rem 0.25rem;
  border: none;
  background: transparent;
}

.pricing-card-section--name h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.pricing-card-section--original {
  min-height: 3.25rem;
}

.pricing-card-section--special {
  min-height: 4.5rem;
  margin-top: auto;
}

.pricing-daily-note {
  margin: 0;
  padding: 0.15rem 0.25rem 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.pricing-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--card-ink-soft);
  margin-bottom: 0.1rem;
}

.pricing-amount--struck {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--card-ink-soft);
  text-decoration: line-through;
}

.pricing-discount {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
}

.pricing-amount--special {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.pricing-shared-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.pricing-shared-title {
  margin: 0;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-shared-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-shared-features li {
  position: relative;
  padding: 0.9rem 1.25rem 0.9rem 2.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}

.pricing-shared-features li:nth-child(3n) {
  border-right: none;
}

.pricing-shared-features li:nth-last-child(-n + 3) {
  border-bottom: none;
}

.pricing-shared-features li i {
  position: absolute;
  left: 0.9rem;
  top: 0.95rem;
  color: #16a34a;
  font-size: 1.05rem;
}

.pricing-cta-wrap {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 1199.98px) {
  .pricing-plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .pricing-shared-features li:nth-child(3n) {
    border-right: 1px solid #e2e8f0;
  }

  .pricing-shared-features li:nth-child(2n) {
    border-right: none;
  }

  .pricing-shared-features li:nth-last-child(-n + 3) {
    border-bottom: 1px solid #e2e8f0;
  }

  .pricing-shared-features li:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 767.98px) {
  .pricing-plans-grid {
    grid-template-columns: 1fr;
  }

  .pricing-shared-features {
    grid-template-columns: 1fr;
  }

  .pricing-shared-features li {
    border-right: none;
  }

  .pricing-shared-features li:nth-last-child(-n + 2) {
    border-bottom: 1px solid #e2e8f0;
  }

  .pricing-shared-features li:last-child {
    border-bottom: none;
  }
}

@media (max-width: 991px) {
  .split-feature .split-img {
    max-height: 260px;
    margin-bottom: 1rem;
  }
}
