/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:target, section[id] { scroll-margin-top: 76px; }
body {
  margin: 0;
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: #1a1f2e;
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #e8264e; }
ul { list-style: none; padding: 0; margin: 0; }
h1,h2,h3,h4 { margin: 0; line-height: 1.3; font-weight: 900; letter-spacing: -0.01em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #ff3b5e 0%, #e8264e 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232, 38, 78, .35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(232, 38, 78, .45);
  color: #fff;
}
.btn-ghost {
  background: #f3f4f8;
  color: #4a5168;
}
.btn-ghost:hover { background: #e6e8ef; }
.btn-block { width: 100%; padding: 16px; font-size: 17px; }
.btn-cta { padding: 16px; font-size: 17px; flex: 1; }
.btn-cta-big {
  padding: 20px 48px;
  font-size: 19px;
  border-radius: 14px;
}

/* ============ Utility bar ============ */
.utility-bar {
  background: #1a1f2e;
  color: #cbd0dc;
  font-size: 13px;
  padding: 8px 0;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.utility-text strong { color: #fff; }
.utility-tel {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,.4);
}
.utility-tel:hover { color: #ffd0d8; border-bottom-color: #ffd0d8; }
.desktop-only { display: none; }
@media (min-width: 768px) { .desktop-only { display: inline; } }

/* ============ Header ============ */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eef0f5;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.95);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff3b5e, #e8264e);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
}
.main-nav {
  display: none;
  gap: 28px;
  font-weight: 500;
  font-size: 15px;
}
.main-nav a { color: #4a5168; }
.main-nav a:hover { color: #1a1f2e; }
.header-cta { padding: 10px 18px; font-size: 14px; }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* Hamburger toggle (手機) */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  margin-left: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1f2e;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  margin: 0 auto;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer (手機選單抽屜) */
@media (max-width: 899px) {
  .header-cta { display: none; }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eef0f5;
    padding: 16px 20px 20px;
    gap: 0;
    box-shadow: 0 12px 30px -12px rgba(26, 31, 46, .18);
    animation: drawerDown .25s ease;
  }
  .main-nav.is-open a {
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #f3f4f8;
  }
  .main-nav.is-open a:last-child { border-bottom: none; }
}
@keyframes drawerDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ============ Hero ============ */
.hero {
  background: #e8264e;
  background: linear-gradient(180deg, #ff3b5e 0%, #e8264e 100%);
  padding: 24px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
  position: relative;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: stretch; }
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 1.5px solid #ffd0d8;
  color: #e8264e;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 18px;
}
.hero-title .hi {
  background: linear-gradient(120deg, #ff3b5e, #e8264e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: #4a5168;
  margin: 0 0 22px;
}
.hero-points {
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
}
.hero-points li {
  font-size: 15px;
  font-weight: 500;
  color: #2a3042;
}
/* Hero Copy 左欄：flex column，讓 banner 撐滿高度 */
.hero-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Hero Banner (主視覺) — 撐滿左欄、寬高都吃滿 */
.hero-banner {
  margin: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 1000px) {
  .hero-banner { min-height: 520px; }
  /* 桌機把 banner 往左拉到視窗邊緣，做出 MOTA 滿版氣勢 */
  .hero-banner img {
    width: calc(100% + max(0px, (100vw - 1180px) / 2));
    margin-left: calc(-1 * max(0px, (100vw - 1180px) / 2));
    object-position: left center;
  }
}

/* 右側欄：促銷卡 + 表單 */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* MOTA 風格促銷小卡 */
.hero-promo {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff8d6;
  border: 2px solid #ffd84d;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 6px 18px -6px rgba(255, 184, 0, .35);
}
.hero-promo .promo-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1a1f2e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.hero-promo .promo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.hero-promo .promo-text strong {
  font-size: 16px;
  font-weight: 900;
  color: #1a1f2e;
  letter-spacing: -0.01em;
}
.hero-promo .promo-text span {
  font-size: 13px;
  color: #4a5168;
  font-weight: 500;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.hero-banner:hover img { transform: scale(1.02); }

.hero-sub-mini {
  font-size: 15px;
  color: #4a5168;
  margin: 0 0 22px;
  line-height: 1.6;
}
.hero-sub-mini strong {
  color: #e8264e;
  font-weight: 800;
}

/* SEO: visually-hidden but accessible to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 22px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.trust-item {
  display: flex;
  flex-direction: column;
}
.trust-item .num {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  color: #fff;
}
.trust-item .lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, .85);
}

/* ============================================================
   WIZARD — autoc-one.jp 風格多步驟詢價
============================================================ */
.wizard {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .04);
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Wizard header (深色) */
.wizard-head {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
  padding: 20px 22px 18px;
}
.wizard-tag {
  display: inline-block;
  background: #ffd600;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.wizard-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 4px;
}
.wizard-subtitle {
  font-size: 13px;
  color: #cbd0dc;
  font-weight: 500;
}

/* Wizard body */
.wizard-body { padding: 22px 20px 26px; }
.wizard-step { display: none; animation: stepFadeIn .25s ease; }
.wizard-step[hidden] { display: none; }
.wizard-step.is-active { display: block; }
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.wizard-question {
  font-size: 18px;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.wizard-q-pill {
  display: inline-block;
  background: #fff5f6;
  color: #e60012;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 6px;
  border: 1.5px solid #ffd0d8;
  margin-right: 4px;
}

/* ── Picker stack（4 個欄位選擇器） */
.picker-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.picker-row {
  display: grid;
  grid-template-columns: 110px 1fr 16px;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #e0e3eb;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.picker-row:hover {
  border-color: #e60012;
  background: #fff9f9;
}
.picker-row.is-filled {
  border-color: #00c300;
  background: #f4fff7;
}
.picker-row.is-disabled {
  background: #f7f7f7;
  border-color: #e8e8e8;
  cursor: not-allowed;
}
.picker-row.is-disabled:hover {
  border-color: #e8e8e8;
  background: #f7f7f7;
}
.picker-label {
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.picker-label em {
  font-size: 10px;
  color: #999;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.picker-value {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.picker-row .picker-value:has(+ .picker-chevron) {
  /* 預設值用淺色 */
}
.picker-row:not(.is-filled) .picker-value {
  color: #aaa;
  font-weight: 500;
}
.picker-row.is-disabled .picker-value {
  color: #ccc;
}
.picker-chevron {
  color: #999;
  font-size: 14px;
  transition: transform .2s;
}
.picker-row:hover .picker-chevron {
  transform: translateY(2px);
  color: #e60012;
}

/* ── Picker Modal */
.picker-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) {
  .picker-modal { align-items: center; }
}
.picker-modal[hidden] { display: none; }
.picker-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(2px);
  animation: fadeIn .2s ease;
}
.picker-modal-sheet {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp .25s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 -16px 50px -8px rgba(0, 0, 0, .2);
}
@media (min-width: 768px) {
  .picker-modal-sheet {
    border-radius: 18px;
    max-height: 80vh;
    animation: zoomIn .2s cubic-bezier(.2, .8, .2, 1);
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: none; }
}
@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.picker-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eef0f5;
  flex: 0 0 auto;
}
.picker-modal-title {
  font-size: 17px;
  font-weight: 900;
  color: #1a1a1a;
}
.picker-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f3f3;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #4a4a4a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.picker-modal-close:hover { background: #e8e8e8; }
.picker-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 20px 24px;
}

/* Modal 內的選項 */
.opt-grid {
  display: grid;
  gap: 8px;
}
.opt-grid-2 { grid-template-columns: repeat(2, 1fr); }
.opt-grid-3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid-4 { grid-template-columns: repeat(4, 1fr); }
.opt-card {
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  padding: 14px 8px;
  cursor: pointer;
  transition: all .12s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: inherit;
  color: #1a1a1a;
  min-height: 60px;
}
.opt-card:hover {
  border-color: #e60012;
  background: #fff5f6;
}
.opt-card:active {
  transform: scale(0.97);
  background: #ffe8eb;
}
.opt-card.opt-card-text { padding: 16px 8px; }
.opt-card.opt-other {
  background: #fafafa;
  border-style: dashed;
  color: #666;
}
.opt-main { font-size: 14px; font-weight: 800; line-height: 1.2; }
.opt-sub { font-size: 11px; color: #888; font-weight: 500; }

.opt-card-text .opt-main { font-size: 15px; }

/* 區塊標題 */
.opt-section-label {
  font-size: 12px;
  font-weight: 800;
  color: #666;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

/* 展開/收合按鈕（其他廠牌） */
.opt-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  background: #f7f7f7;
  border: 1.5px dashed #d0d0d0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #4a4a4a;
  cursor: pointer;
  transition: all .15s;
}
.opt-toggle:hover {
  background: #fff5f6;
  border-color: #e60012;
  color: #e60012;
}
.opt-toggle-chev {
  font-size: 14px;
  transition: transform .2s ease;
}
.opt-toggle.is-open {
  background: #fff5f6;
  border-color: #e60012;
  color: #e60012;
}
.opt-toggle.is-open .opt-toggle-chev {
  transform: rotate(180deg);
}
.opt-collapsible {
  margin-top: 10px;
  animation: collapsibleIn .25s cubic-bezier(.2, .8, .2, 1);
}
@keyframes collapsibleIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.opt-other-input {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  background: #f7f7f7;
  border-radius: 10px;
}
.opt-other-input input {
  flex: 1;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
}
.opt-other-input input:focus {
  outline: none;
  border-color: #e60012;
  box-shadow: 0 0 0 3px rgba(230, 0, 18, .12);
}
.opt-confirm {
  background: #e60012;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  white-space: nowrap;
}
.opt-confirm:hover { background: #c80010; }

/* 同意條款 */
.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #4a4a4a;
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 8px;
}
.agree-row input { margin-top: 3px; flex: 0 0 auto; }

/* Wizard 動作列 */
.wizard-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.wizard-actions-single .btn-submit { flex: 1 1 100%; }
.wizard-actions .btn-back {
  background: #f3f3f3;
  color: #4a4a4a;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: background .15s;
}
.wizard-actions .btn-back:hover:not(:disabled) { background: #e8e8e8; }
.wizard-actions .btn-back:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.wizard-actions .btn-submit {
  flex: 1;
  background: linear-gradient(135deg, #e60012 0%, #c80010 100%);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  transition: all .15s;
  box-shadow: 0 6px 20px -6px rgba(230, 0, 18, .45);
}
.wizard-actions .btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -6px rgba(230, 0, 18, .55);
}
.wizard-actions .btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Success state */
.wizard-success {
  text-align: center;
  padding: 12px 4px 8px;
}
.wizard-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #00c300;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 14px;
}
.wizard-success h3 {
  font-size: 22px;
  margin: 0 0 6px;
  color: #1a1a1a;
}
.wizard-success .success-sub {
  font-size: 13px;
  color: #888;
  margin: 0 0 16px;
}
.wizard-success .success-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  background: #fff8e7;
  border: 2px dashed #ffd600;
  border-radius: 12px;
  padding: 18px 16px;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #1a1a1a;
  cursor: pointer;
  margin-bottom: 14px;
  transition: background .15s, transform .1s;
}
.wizard-success .success-code:hover { background: #fff3c8; }
.wizard-success .success-code:active { transform: scale(0.98); }
.wizard-success .success-code .code-copy { font-size: 18px; letter-spacing: 0; }

.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #06c755 0%, #04a943 100%);
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 22px -6px rgba(6, 199, 85, .45);
  transition: all .15s;
  margin-bottom: 12px;
}
.btn-line:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -6px rgba(6, 199, 85, .55);
  color: #fff;
}
.btn-line .line-icon { font-size: 20px; }
.success-note {
  font-size: 12px;
  color: #888;
  margin: 8px 0 0;
  line-height: 1.6;
}


/* ============ Logo strip ============ */
.logo-strip {
  background: #f8f9fb;
  padding: 36px 0;
  border-top: 1px solid #eef0f5;
  border-bottom: 1px solid #eef0f5;
}
.logo-strip-title {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 18px;
  font-weight: 500;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) { .logo-row { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .logo-row { grid-template-columns: repeat(8, 1fr); } }
.logo-cell {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 8px;
  color: #4a5168;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ============ Sections ============ */
.section { padding: 70px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #e8264e;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  margin-bottom: 12px;
}
.section-head p {
  color: #4a5168;
  font-size: 16px;
  margin: 0;
}

/* ============ Steps ============ */
.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 800px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -12px rgba(26, 31, 46, .15);
}
.step-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f8;
}
.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.step-card:hover .step-photo img { transform: scale(1.06); }
.step-card > .step-num,
.step-card > .step-icon,
.step-card > h3,
.step-card > p { padding-left: 26px; padding-right: 26px; }
.step-card > h3 { padding-top: 22px; }
.step-card > p { padding-bottom: 28px; }
.step-num {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  line-height: 1;
  z-index: 2;
}
.step-icon {
  font-size: 32px;
  margin-top: 18px;
  margin-bottom: 10px;
}

.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { color: #4a5168; font-size: 14px; margin: 0; }

/* ============ Why ============ */
.why { background: #f8f9fb; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid #eef0f5;
  transition: border-color .2s, transform .2s;
}
.why-card:hover {
  border-color: #ffd0d8;
  transform: translateY(-2px);
}
.why-ic { font-size: 32px; margin-bottom: 12px; }
.why-card h3 { font-size: 17px; margin-bottom: 6px; }
.why-card p { color: #4a5168; font-size: 14px; margin: 0; line-height: 1.6; }

/* ============ Compare ============ */
.compare-table {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eef0f5;
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eef0f5;
  font-size: 14px;
}
@media (min-width: 700px) {
  .compare-row { grid-template-columns: 1.2fr 1.5fr 1.5fr; padding: 18px 28px; font-size: 15px; }
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div:first-child { font-weight: 700; color: #2a3042; }
.compare-row .bad {
  color: #6b7280;
}
.compare-row .good {
  color: #1a7d4a;
  font-weight: 600;
}
.compare-head {
  background: #fafbfd;
  font-weight: 700;
}
.compare-head .bad {
  color: #6b7280;
  font-weight: 700;
}
.compare-head .good {
  color: #e8264e;
  font-weight: 800;
}

/* ============ Voices ============ */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 800px) { .voice-grid { grid-template-columns: repeat(3, 1fr); } }
.voice-card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 16px;
  padding: 26px;
  transition: transform .2s, box-shadow .2s;
}
.voice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -10px rgba(26, 31, 46, .12);
}
.rating { color: #ffb800; font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.voice-card p {
  color: #2a3042;
  font-size: 15px;
  margin: 0 0 18px;
  line-height: 1.7;
}
.voice-card p strong { color: #e8264e; }
.voice-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #eef0f5;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3b5e, #e8264e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.voice-meta .name { font-size: 14px; font-weight: 700; }
.voice-meta .car { font-size: 12px; color: #6b7280; margin-top: 2px; }

/* ============ FAQ ============ */
.faq { background: #f8f9fb; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-list details {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  padding: 18px 24px;
  transition: border-color .2s;
}
.faq-list details[open] { border-color: #ffd0d8; }
.faq-list summary {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
  color: #1a1f2e;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #e8264e;
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list p {
  color: #4a5168;
  font-size: 14px;
  margin: 14px 0 0;
  line-height: 1.7;
}

/* ============ Bottom CTA ============ */
.bottom-cta {
  color: #fff;
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bottom-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,59,94,.22), transparent 60%);
  pointer-events: none;
}
.bottom-cta-inner { position: relative; }
.bottom-cta h2 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 12px;
}
.bottom-cta p {
  color: #cbd0dc;
  font-size: 16px;
  margin: 0 0 28px;
}
.bottom-trust {
  font-size: 13px;
  color: #8a92a6;
  margin-top: 20px;
}
.bottom-trust strong { color: #fff; }

/* ============ Footer ============ */
.site-footer {
  background: #0f1320;
  color: #cbd0dc;
  padding: 50px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid #1f2536;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-about {
  color: #8a92a6;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 360px;
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  font-weight: 700;
}
.site-footer ul li {
  margin-bottom: 8px;
  font-size: 13px;
  color: #8a92a6;
}
.site-footer ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: #6b7280;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: #8a92a6; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Scroll Effects — Desktop only (>= 1024px)
   尊重 prefers-reduced-motion
============================================================ */
@media (min-width: 1024px) {
  @media (prefers-reduced-motion: no-preference) {

    /* Reveal-on-scroll base */
    .reveal {
      opacity: 0;
      transform: translateY(34px);
      transition:
        opacity .8s cubic-bezier(.2,.7,.2,1),
        transform .8s cubic-bezier(.2,.7,.2,1);
      will-change: opacity, transform;
    }
    .reveal.is-revealed {
      opacity: 1;
      transform: none;
    }

    /* Stagger variants — 進場時錯開 */
    .reveal.delay-1 { transition-delay: 80ms; }
    .reveal.delay-2 { transition-delay: 160ms; }
    .reveal.delay-3 { transition-delay: 240ms; }
    .reveal.delay-4 { transition-delay: 320ms; }
    .reveal.delay-5 { transition-delay: 400ms; }

    /* 從左/右滑入版本 */
    .reveal-left  { transform: translateX(-40px); }
    .reveal-right { transform: translateX(40px);  }
    .reveal-left.is-revealed,
    .reveal-right.is-revealed { transform: none; }

    /* Header 滾動後加陰影 + 縮高 */
    .site-header {
      transition:
        box-shadow .3s ease,
        padding .3s ease,
        background-color .3s ease;
    }
    .site-header.is-scrolled {
      box-shadow: 0 6px 24px -8px rgba(26, 31, 46, .12);
    }
    .site-header.is-scrolled .header-inner {
      padding-top: 10px;
      padding-bottom: 10px;
      transition: padding .3s ease;
    }

    /* Step photo hover 動效強化 */
    .step-photo img {
      transition: transform .8s cubic-bezier(.2,.7,.2,1);
    }

    /* 滾動進度指示條（頁首） */
    .scroll-progress {
      position: fixed;
      top: 0; left: 0;
      height: 3px;
      width: 0;
      background: linear-gradient(90deg, #ff3b5e, #e8264e);
      z-index: 200;
      transition: width .1s linear;
      pointer-events: none;
      box-shadow: 0 0 12px rgba(232, 38, 78, .5);
    }

    /* 數字計數器期間禁用 user-select 避免閃爍 */
    .trust-item .num.counting {
      user-select: none;
    }

    /* FAQ 展開時微微上浮 */
    .faq-list details[open] {
      transform: translateY(-2px);
      transition: transform .3s ease, border-color .2s;
    }

    /* Voice card 進場 + hover 強化 */
    .voice-card {
      transition:
        transform .3s cubic-bezier(.2,.7,.2,1),
        box-shadow .3s ease,
        opacity .8s,
        translate .8s;
    }

  } /* end prefers-reduced-motion */
}

/* ============ Sticky mobile CTA ============ */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ff3b5e 0%, #e8264e 100%);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 32px -8px rgba(232, 38, 78, .55), 0 0 0 1px rgba(0,0,0,.04);
  font-size: 14px;
  transform: translateY(120%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta:hover { color: #fff; }
.mobile-cta-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.mobile-cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.mobile-cta-text strong { font-size: 15px; font-weight: 800; }
.mobile-cta-text span { font-size: 12px; color: rgba(255,255,255,.85); }
.mobile-cta-go {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 700;
  margin-right: 4px;
}
@media (max-width: 768px) {
  .mobile-cta { display: flex; }
  /* 避免 footer 內容被遮 */
  .site-footer { padding-bottom: 90px; }
}

/* ============ 新版（無圖）5 步驟卡片 + 倒數計時 + Dashboard 補強 ============ */

/* 5 欄 step grid（桌面） */
@media (min-width: 1100px) {
  .step-grid.step-grid-5 { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 800px) and (max-width: 1099px) {
  .step-grid.step-grid-5 { grid-template-columns: repeat(3, 1fr); }
}

/* 無圖 step card 的編號改成左上小 chip，文字置頂留空間 */
.step-grid.step-grid-5 .step-card { padding: 26px 22px 24px; }
.step-grid.step-grid-5 .step-card > .step-num,
.step-grid.step-grid-5 .step-card > h3,
.step-grid.step-grid-5 .step-card > p { padding-left: 0; padding-right: 0; }
.step-grid.step-grid-5 .step-card .step-num {
  position: static;
  display: inline-block;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #ff3b5e 0%, #e8264e 100%);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
  margin-bottom: 14px;
  text-shadow: none;
}
.step-grid.step-grid-5 .step-card .step-money {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 22px;
  color: #ffd84d;
  text-shadow: 0 1px 2px rgba(232,184,0,.3);
}
.step-grid.step-grid-5 .step-card h3 { padding-top: 0; }
.step-grid.step-grid-5 .step-card p { padding-bottom: 0; }

/* 倒數計時 banner（my-quotes 用） */
.countdown-banner {
  background: linear-gradient(135deg, #1a1f2e 0%, #2a3042 100%);
  color: #fff;
  padding: 22px 24px;
  border-radius: 14px;
  margin-bottom: 18px;
  text-align: center;
}
.countdown-banner .label {
  font-size: 12px;
  color: #cbd0dc;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.countdown-banner .timer {
  font-size: 32px;
  font-weight: 900;
  color: #ffd84d;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  line-height: 1.1;
}
.countdown-banner .hint {
  font-size: 13px;
  color: #cbd0dc;
  margin-top: 8px;
}

/* Admin dashboard 卡片 */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0 24px;
}
@media (min-width: 700px) { .dash-grid { grid-template-columns: repeat(3, 1fr); } }
.dash-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 6px 18px -8px rgba(26,31,46,.12);
  border: 1px solid #eef0f5;
}
.dash-card h3 {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dash-card .big-num {
  font-size: 40px;
  font-weight: 900;
  color: #1a1f2e;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.dash-card .big-num .unit {
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  margin-left: 4px;
}
.dash-card .row-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dash-card .row-split .col { text-align: left; }
.dash-card .row-split .col .num {
  font-size: 26px;
  font-weight: 900;
  color: #1a1f2e;
  font-variant-numeric: tabular-nums;
}
.dash-card .row-split .col .lbl {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.dash-refresh-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

/* ===== Step 4: 照片上傳 ===== */
.photo-progress {
  margin: 12px 0 16px;
  font-size: 13px;
  color: #4a5168;
  font-weight: 600;
}
.photo-progress-bar {
  height: 8px;
  background: #eef0f5;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}
.photo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e8264e 0%, #ff5577 100%);
  width: 0%;
  transition: width .35s ease;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
@media (min-width: 720px) {
  .photo-grid { grid-template-columns: repeat(6, 1fr); }
}
.photo-slot {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f8f9fb;
  border: 2px dashed #cbd0dc;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s;
  padding: 4px;
  font-family: inherit;
  overflow: hidden;
}
.photo-slot:hover { border-color: #e8264e; background: #fff5f7; }
.photo-slot-icon { font-size: 24px; }
.photo-slot-label {
  font-size: 11px;
  color: #4a5168;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}
.photo-slot.is-uploading {
  border-style: solid;
  border-color: #ffd84d;
  background: #fffbe8;
  cursor: wait;
}
.photo-slot.is-uploaded {
  border-style: solid;
  border-color: #1a7d4a;
  background: #fff;
  cursor: default;
}
.photo-slot-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.photo-slot-check {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: rgba(26, 125, 74, .92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 4px;
  border-radius: 6px;
  text-align: center;
}

/* ===== Success step roadmap & actions ===== */
.success-roadmap {
  background: #f8f9fb;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
  text-align: left;
}
.success-roadmap-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 10px;
}
.success-roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.success-roadmap-list li {
  font-size: 13px;
  color: #4a5168;
  line-height: 1.7;
}
.success-actions-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1f2e;
  margin: 16px 0 10px;
  text-align: left;
}
.success-actions {
  display: grid;
  gap: 10px;
}
.btn-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1a1f2e;
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: background .2s;
}
.btn-status:hover { background: #2a3042; }
.success-photo-cta {
  background: #fffbe8;
  border: 1px solid #ffd84d;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 16px;
  text-align: left;
}
.success-photo-cta-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 4px;
}
.success-photo-cta p {
  font-size: 13px;
  color: #4a5168;
  margin: 0 0 10px;
}
.btn-photo-supplement {
  background: #e8264e;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}
.btn-photo-supplement:hover { background: #d31f44; }

/* ===== Status page ===== */
.status-page { padding: 40px 0 60px; min-height: 70vh; background: #f8f9fb; }
.status-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}
@media (min-width: 700px) {
  .status-grid { grid-template-columns: repeat(2, 1fr); }
}
.status-card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 6px 18px -10px rgba(26,31,46,.08);
}
.status-card .ic { font-size: 28px; line-height: 1; margin-bottom: 8px; }
.status-card .lbl {
  font-size: 12px;
  color: #6b7280;
  font-weight: 700;
  letter-spacing: .04em;
}
.status-card .big {
  font-size: 26px;
  font-weight: 900;
  color: #1a1f2e;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.status-card .sub { font-size: 13px; color: #4a5168; margin-top: 4px; }
.status-hint {
  background: linear-gradient(135deg, #1a1f2e 0%, #2a3042 100%);
  color: #fff;
  padding: 20px 22px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.status-actions {
  display: grid;
  gap: 10px;
}
@media (min-width: 700px) {
  .status-actions { grid-template-columns: repeat(2, 1fr); }
}
.status-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.status-btn-primary { background: #e8264e; color: #fff; }
.status-btn-primary:hover { background: #d31f44; }
.status-btn-secondary { background: #fff; color: #1a1f2e; border: 1.5px solid #cbd0dc; }
.status-btn-secondary:hover { border-color: #1a1f2e; }
.status-btn-line { background: #06c755; color: #fff; }
.status-btn-line:hover { background: #05b04c; }
.status-summary {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 20px;
}
.status-summary .code-label { font-size: 12px; color: #6b7280; font-weight: 700; }
.status-summary .code-val {
  font-size: 22px;
  font-weight: 900;
  color: #e8264e;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.status-refresh-tag {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  margin-top: 14px;
}

/* ===== Rate dealer modal ===== */
.rate-btn {
  background: #fff;
  color: #1a1f2e;
  border: 1.5px solid #cbd0dc;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  margin-top: 10px;
}
.rate-btn:hover { border-color: #e8264e; color: #e8264e; }
.rate-done {
  display: inline-block;
  background: #e8f7ee;
  color: #1a7d4a;
  border: 1px solid #b6dfc4;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  margin-top: 10px;
}
.rate-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 19, 32, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.rate-modal-overlay[hidden] { display: none; }
.rate-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.rate-modal h3 { margin: 0 0 4px; font-size: 20px; color: #1a1f2e; }
.rate-modal .why {
  background: #fffbe8;
  border-left: 3px solid #ffd84d;
  padding: 10px 12px;
  font-size: 13px;
  color: #4a5168;
  border-radius: 6px;
  margin: 12px 0 18px;
  line-height: 1.5;
}
.rate-stars {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 14px 0;
}
.rate-star {
  font-size: 36px;
  cursor: pointer;
  color: #cbd0dc;
  transition: color .15s, transform .15s;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}
.rate-star.active, .rate-star:hover { color: #ffb800; transform: scale(1.08); }
.rate-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  font-size: 14px;
  color: #1a1f2e;
  cursor: pointer;
}
.rate-check-row input { margin-top: 3px; width: 18px; height: 18px; }
.rate-textarea {
  width: 100%;
  min-height: 80px;
  border: 1.5px solid #cbd0dc;
  border-radius: 8px;
  padding: 10px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  margin-top: 8px;
}
.rate-textarea:focus { outline: none; border-color: #e8264e; }
.rate-count {
  font-size: 12px;
  color: #6b7280;
  text-align: right;
  margin-top: 4px;
}
.rate-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.rate-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  border: none;
}
.rate-cancel { background: #f1f3f8; color: #4a5168; }
.rate-submit { background: #e8264e; color: #fff; }
.rate-submit:disabled { background: #cbd0dc; cursor: not-allowed; }
