:root {
  --azs-ink: #111827;
  --azs-muted: #5f6b7a;
  --azs-soft: #eef3f8;
  --azs-line: #dce4ee;
  --azs-paper: #ffffff;
  --azs-warm: #b56b2c;
  --azs-blue: #2458d8;
  --azs-blue-soft: #edf3ff;
  --azs-font: "Inter", "Noto Sans TC", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f4f7fa;
}

.azs-page {
  min-height: 100vh;
  color: var(--azs-ink);
  font-family: var(--azs-font);
  letter-spacing: 0;
  background: #f4f7fa;
}

.azs-page a {
  color: inherit;
}

/* ── Nav ─────────────────────────────────────── */

.azs-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 0 6%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--azs-line);
  backdrop-filter: blur(18px);
}

.azs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.azs-brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--azs-ink);
  border-radius: 9px;
  font-size: 13px;
  letter-spacing: 0;
}

.azs-nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.azs-nav-links a,
.azs-login {
  color: var(--azs-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.azs-nav-links a:hover,
.azs-login:hover {
  color: var(--azs-ink);
}

.azs-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* ── Buttons ─────────────────────────────────── */

.azs-primary,
.azs-secondary {
  min-height: 48px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s, color 0.15s;
  letter-spacing: -0.01em;
}

.azs-primary {
  background: #1e3a5f;
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.22);
}

.azs-primary:hover {
  background: #162d4a;
  box-shadow: 0 12px 28px rgba(30, 58, 95, 0.3);
}

/* 修正 .azs-page a { color: inherit } 優先權吃掉按鈕白字的問題 */
.azs-page .azs-primary {
  color: #fff;
}

.azs-page .azs-primary:hover {
  color: #fff;
}

.azs-primary-small {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
}

.azs-secondary {
  color: var(--azs-ink);
  background: var(--azs-paper);
  border-color: var(--azs-line);
}

.azs-secondary:hover {
  border-color: #aebdcc;
  background: #fafbfc;
}

.azs-secondary-inv {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.azs-secondary-inv:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.38);
}

/* ── Hero — editorial split ──────────────────── */

.azs-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: #fff;
}

.azs-hero-copy {
  padding: 80px 56px 80px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.azs-hero-img {
  position: relative;
  overflow: hidden;
  background: #f0ebe3;
}

/* ★ 換成真圖後自動填滿 */
.azs-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 圖片佔位框 */
.azs-img-slot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px 40px;
  background: linear-gradient(150deg, #f5f0e8 0%, #ebe4d8 100%);
  text-align: center;
}

.azs-img-slot-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d8cfbf;
  color: #7a6a55;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.azs-img-slot-body {
  max-width: 380px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px dashed #c8baa8;
  border-radius: 14px;
  padding: 22px 24px;
  text-align: left;
}

.azs-img-slot-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #5a4a36;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.azs-img-slot-en {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #6a5a44;
  line-height: 1.7;
  font-style: italic;
}

.azs-img-slot-zh {
  margin: 0;
  font-size: 12px;
  color: #8a7a64;
  line-height: 1.6;
  padding-top: 10px;
  border-top: 1px solid #d8cfbf;
}

/* ── Eyebrow / headings ──────────────────────── */

.azs-eyebrow {
  margin: 0 0 16px;
  color: var(--azs-warm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.azs-hero h1,
.azs-section h2,
.azs-split-section h2,
.azs-faq h2,
.azs-final h2 {
  margin: 0;
  color: var(--azs-ink);
  font-weight: 800;
  line-height: 1.1;
}

.azs-hero h1 {
  font-size: 74px;
  letter-spacing: -0.025em;
}

.azs-lead {
  margin: 22px 0 0;
  color: var(--azs-muted);
  font-size: 17px;
  line-height: 1.85;
}

.azs-hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.azs-hero-note {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.azs-hero-note span,
.azs-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #3a5272;
  background: #fff;
  border: 1px solid var(--azs-line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.06);
}

/* ── Trust strip (buyer reassurance) ────────── */

.azs-trust-strip {
  background: #16130f;
  padding: 18px 6%;
}

.azs-trust-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.azs-trust-inner svg {
  flex-shrink: 0;
  color: #c9a35e;
}

.azs-trust-inner p {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.azs-trust-inner a {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: #c9a35e;
  text-decoration: none;
  transition: color 0.15s;
}

.azs-trust-inner a:hover {
  color: #e0be80;
}

/* ── Sections ────────────────────────────────── */

.azs-section,
.azs-split-section,
.azs-faq {
  margin: 0 6%;
  padding: 80px 0;
  border-top: 1px solid var(--azs-line);
}

.azs-section-head {
  max-width: 800px;
  margin-bottom: 36px;
}

.azs-section h2,
.azs-split-section h2,
.azs-faq h2 {
  font-size: 40px;
  letter-spacing: -0.02em;
}

.azs-section-head p,
.azs-process-card p {
  margin: 14px 0 0;
  color: var(--azs-muted);
  line-height: 1.8;
  font-size: 16px;
}

/* ── Feature grid ────────────────────────────── */

.azs-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.azs-feature-card,
.azs-process-card,
.azs-steps,
.azs-faq details {
  background: var(--azs-paper);
  border: 1px solid var(--azs-line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.05);
}

.azs-feature-card {
  min-height: 260px;
  padding: 26px;
  transition: box-shadow 0.22s, transform 0.22s;
}

.azs-feature-card:hover {
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.1);
  transform: translateY(-3px);
}

.azs-icon-wrap {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #8a5a2a;
  background: #fdf0e2;
  box-shadow: 0 0 0 6px rgba(181, 107, 44, 0.07);
}

.azs-feature-card h3 {
  margin: 26px 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.azs-feature-card p,
.azs-step p,
.azs-faq p {
  color: var(--azs-muted);
  line-height: 1.75;
  font-size: 15px;
}

/* ── Seller split section ────────────────────── */

.azs-split-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
}

.azs-process-card {
  padding: 36px;
}

.azs-process-card h2 {
  letter-spacing: -0.02em;
}

.azs-process-card .azs-primary {
  margin-top: 24px;
}

.azs-steps {
  padding: 8px 28px;
}

.azs-step {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--azs-line);
}

.azs-step:last-child {
  border-bottom: 0;
}

.azs-step span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--azs-ink);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.azs-step h3 {
  margin: 0 0 6px;
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── FAQ ─────────────────────────────────────── */

.azs-faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

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

.azs-faq details {
  padding: 20px 22px;
  transition: box-shadow 0.2s;
}

.azs-faq details[open] {
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07);
}

.azs-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  letter-spacing: -0.01em;
}

.azs-faq summary::-webkit-details-marker {
  display: none;
}

.azs-faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background:
    var(--azs-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f6b7a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    center / 14px no-repeat;
  transition: transform 0.25s ease, background-color 0.15s;
}

.azs-faq details[open] summary::after {
  transform: rotate(180deg);
  background-color: var(--azs-blue-soft);
}

.azs-faq p {
  margin: 14px 0 0;
  font-size: 15px;
}

/* ── Final CTA — dark card ───────────────────── */

.azs-final {
  margin: 0 6% 80px;
  padding: 80px 8%;
  border-top: none;
  border-radius: 24px;
  background: var(--azs-ink);
  text-align: center;
}

.azs-final .azs-eyebrow {
  color: rgba(255, 255, 255, 0.38);
}

.azs-final h2 {
  color: #fff;
  font-size: 40px;
  letter-spacing: -0.025em;
}

.azs-final-sub {
  margin: 16px auto 0;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  font-size: 16px;
}

.azs-final-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.azs-page .azs-final .azs-primary {
  background: #fff;
  color: var(--azs-ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.azs-page .azs-final .azs-primary:hover {
  background: #f0f4ff;
  color: #1e3a5f;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

/* ── Scroll reveal ───────────────────────────── */

.azs-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Responsive ──────────────────────────────── */

@media (max-width: 1180px) {
  .azs-nav {
    grid-template-columns: auto auto;
  }

  .azs-nav-links {
    display: none;
  }

  .azs-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .azs-hero-img {
    height: 60vw;
    min-height: 320px;
    max-height: 520px;
    order: -1;
  }

  .azs-hero-copy {
    padding: 60px 6% 72px;
  }

  .azs-split-section,
  .azs-faq {
    grid-template-columns: 1fr;
  }

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

  .azs-trust-inner {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .azs-nav {
    min-height: auto;
    padding: 14px 18px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .azs-nav-actions {
    justify-content: space-between;
  }

  .azs-hero-img {
    height: 72vw;
    min-height: 260px;
    max-height: 420px;
  }

  .azs-hero-copy {
    padding: 48px 18px 56px;
  }

  .azs-hero h1 {
    font-size: 44px;
  }

  .azs-trust-strip {
    padding: 16px 18px;
  }

  .azs-trust-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .azs-section,
  .azs-split-section,
  .azs-faq {
    margin: 0 18px;
    padding: 56px 0;
  }

  .azs-section h2,
  .azs-split-section h2,
  .azs-faq h2 {
    font-size: 30px;
  }

  .azs-feature-grid {
    grid-template-columns: 1fr;
  }

  .azs-feature-card {
    min-height: auto;
  }

  .azs-final {
    margin: 0 12px 60px;
    padding: 60px 22px;
    border-radius: 20px;
  }

  .azs-final h2 {
    font-size: 30px;
  }

  .azs-final-actions {
    flex-direction: column;
    align-items: center;
  }
}
