/* ================================================================
   好評五星 — 設計系統
   主色：品牌橙 (取自 LOGO) × 五星金 × 暖白
   字體：Noto Serif TC（顯示） + Noto Sans TC（內文） + Boska（英文襯線）
   ================================================================ */

:root,
[data-theme='light'] {
  /* Surfaces - warm cream */
  --color-bg: #fffaf3;
  --color-surface: #ffffff;
  --color-surface-2: #fffdf8;
  --color-surface-offset: #fff2e0;
  --color-surface-offset-2: #ffe6c8;
  --color-surface-dynamic: #ffdbac;
  --color-divider: #f4e2c8;
  --color-border: #ead2ad;

  /* Text - deep charcoal */
  --color-text: #15110b;
  --color-text-muted: #463a2c;
  --color-text-faint: #8a7b66;
  --color-text-inverse: #fffaf3;

  /* Primary - 品牌橙 (LOGO 主色) */
  --color-primary: #f37b1f;
  --color-primary-hover: #e06710;
  --color-primary-active: #c05307;
  --color-primary-highlight: #ffe1c2;
  --color-primary-deep: #b84a08;

  /* Gold - 五星金 */
  --color-gold: #e0a020;
  --color-gold-hover: #c88815;
  --color-gold-active: #a86e0c;
  --color-gold-highlight: #ffe9b5;
  --color-gold-soft: #fff4d6;

  /* Star */
  --color-star: #f4c430;

  /* Trust ink */
  --color-ink: #1c1610;
  --color-ink-soft: #2d2520;

  /* Success */
  --color-success: #437a22;
  --color-success-highlight: #d4dfcc;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.3 0.05 60 / 0.08);
  --shadow-md: 0 6px 18px oklch(0.3 0.05 60 / 0.10);
  --shadow-lg: 0 18px 48px oklch(0.3 0.05 60 / 0.16);
  --shadow-gold: 0 10px 30px oklch(0.65 0.18 60 / 0.30);

  --content-narrow: 780px;
  --content-default: 1200px;
  --content-wide: 1480px;

  /* Type scale — bumped for better readability on large screens */
  --text-xs: clamp(0.8125rem, 0.75rem + 0.3vw, 0.9375rem);
  --text-sm: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  --text-base: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --text-lg: clamp(1.25rem, 1.05rem + 0.8vw, 1.5625rem);
  --text-xl: clamp(1.625rem, 1.25rem + 1.5vw, 2.5rem);
  --text-2xl: clamp(2.25rem, 1.5rem + 2.6vw, 3.875rem);
  --text-3xl: clamp(2.875rem, 1.6rem + 4vw, 5.5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Fonts */
  --font-display: 'Noto Serif TC', 'Boska', 'Cormorant Garamond', 'PingFang TC', serif;
  --font-body: 'Noto Sans TC', 'Plus Jakarta Sans', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-num: 'Boska', 'Cormorant Garamond', serif;
}

[data-theme='dark'] {
  --color-bg: #14110d;
  --color-surface: #1c1814;
  --color-surface-2: #221d18;
  --color-surface-offset: #2a2218;
  --color-surface-offset-2: #332817;
  --color-surface-dynamic: #3d2f1c;
  --color-divider: #2a2218;
  --color-border: #3a2f20;
  --color-text: #f0e6d2;
  --color-text-muted: #a89880;
  --color-text-faint: #6a5d4d;
  --color-text-inverse: #1c1610;
  --color-primary: #ff924a;
  --color-primary-hover: #ffa66a;
  --color-primary-active: #ffba8a;
  --color-primary-highlight: #3d2415;
  --color-primary-deep: #ff7a20;
  --color-gold: #f4c430;
  --color-gold-hover: #ffd550;
  --color-gold-active: #ffe070;
  --color-gold-highlight: #3d2f12;
  --color-gold-soft: #2a2010;
  --color-star: #ffd33c;
  --color-ink: #f0e6d2;
  --color-ink-soft: #d4c5a8;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 6px 18px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 18px 48px oklch(0 0 0 / 0.6);
  --shadow-gold: 0 10px 30px oklch(0.55 0.18 65 / 0.5);
}

/* ================================================================
   LAYOUT
   ================================================================ */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 3.5vw, var(--space-10));
}

.section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  position: relative;
}

.section--tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.section-title em {
  font-style: italic;
  color: var(--color-primary);
}

.section-lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: 1.7;
}

/* ================================================================
   HEADER
   ================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-interactive);
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-divider);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px oklch(from var(--color-primary) l c h / 0.30);
  border: 2px solid #fff;
  flex-shrink: 0;
}

[data-theme='dark'] .brand__logo {
  border-color: var(--color-surface-offset);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand__tag {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav__links {
  display: none;
  gap: var(--space-8);
  list-style: none;
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
}

.nav__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: var(--space-2) 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width var(--transition-interactive);
}

.nav__links a:hover { color: var(--color-text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  border: 1px solid var(--color-divider);
}

.theme-toggle:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: var(--font-body);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px oklch(from var(--color-primary) l c h / 0.4);
}

.btn--gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-primary) 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

[data-theme='dark'] .btn--gold {
  color: #1c1610;
}

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

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24)) clamp(var(--space-16), 10vw, var(--space-32));
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, oklch(from var(--color-primary) l c h / 0.18) 0%, transparent 50%),
    radial-gradient(circle at 10% 85%, oklch(from var(--color-gold) l c h / 0.15) 0%, transparent 50%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: center;
}

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px oklch(from var(--color-success) l c h / 0.15);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px oklch(from var(--color-success) l c h / 0.15); }
  50% { box-shadow: 0 0 0 8px oklch(from var(--color-success) l c h / 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: italic;
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero__title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 10px;
  background: linear-gradient(90deg, var(--color-gold-highlight), transparent);
  z-index: -1;
  border-radius: 4px;
}

.hero__stars {
  display: inline-flex;
  gap: 3px;
  margin-right: var(--space-3);
  color: var(--color-star);
  vertical-align: -2px;
}

.hero__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero__trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.hero__trust-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.45;
}

.hero__trust-extra {
  color: #d63b3b;
  font-weight: 700;
  font-size: 0.95em;
  letter-spacing: 0.01em;
}

[data-theme='dark'] .hero__trust-extra {
  color: #ff7a7a;
}

.hero__trust-item strong {
  color: var(--color-text);
  font-weight: 700;
}

.hero__trust-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Hero card */
.hero__card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-gold) 100%);
}

.hero__logo-stamp {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 130px;
  height: 130px;
  opacity: 0.09;
  pointer-events: none;
  transform: rotate(10deg);
  border-radius: 50%;
}

.hero__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.hero__card-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
}

.hero__card-rating {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
}

.hero__card-rating-num {
  font-family: var(--font-num);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero__card-rating-max {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

.hero__card-stars {
  display: flex;
  gap: 3px;
  color: var(--color-star);
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}

.hero__card-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.hero__card-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
  position: relative;
  z-index: 1;
}

.hero__card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-display);
}

.hero__card-meta strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 700;
}

.hero__card-meta span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ================================================================
   STATS
   ================================================================ */

.stats {
  background: linear-gradient(135deg, var(--color-primary-deep) 0%, var(--color-primary) 55%, #f6952f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, oklch(from var(--color-gold) l c h / 0.25) 0%, transparent 45%),
    radial-gradient(circle at 15% 90%, oklch(0 0 0 / 0.2) 0%, transparent 45%);
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-10) var(--space-8);
}

@media (min-width: 760px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: left;
  position: relative;
}

.stat__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-num);
  font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stat__unit {
  font-size: var(--text-lg);
  color: var(--color-gold-highlight);
  font-weight: 600;
}

.stat__label {
  font-size: var(--text-sm);
  color: oklch(from #fff l c h / 0.85);
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ================================================================
   ABOUT
   ================================================================ */

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

@media (min-width: 880px) {
  .about__grid { grid-template-columns: 0.9fr 1.1fr; }
}

.about__feature {
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--color-primary);
  background: var(--color-surface);
  margin-bottom: var(--space-4);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transition: all var(--transition-interactive);
}

.about__feature:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.about__feature h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: 0;
}

.about__feature p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ================================================================
   ADVANTAGES
   ================================================================ */

.advantages {
  background: var(--color-surface-offset);
}

.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-12);
}

@media (min-width: 640px) {
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .advantages__grid { grid-template-columns: repeat(3, 1fr); }
}

.advantage {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-interactive);
  position: relative;
  overflow: hidden;
}

.advantage:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.advantage__num {
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-family: var(--font-num);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary-highlight);
  line-height: 1;
  letter-spacing: -0.04em;
}

[data-theme='dark'] .advantage__num {
  color: var(--color-gold-highlight);
}

.advantage__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

.advantage h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.advantage p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ================================================================
   AUDIENCE
   ================================================================ */

.audience__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-12);
}

@media (min-width: 720px) {
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .audience__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-3);
  }
}

.audience-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  transition: all var(--transition-interactive);
}

.audience-card:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-highlight);
  transform: translateY(-3px);
}

.audience-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: var(--space-4);
  display: block;
  filter: saturate(0.95);
  border: 1px solid var(--color-divider);
  transition: filter var(--transition-interactive), transform var(--transition-interactive);
}

.audience-card:hover .audience-card__photo {
  filter: saturate(1.05);
  transform: scale(1.02);
}

.audience-card h4 {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: 0;
}

.audience-card p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.7;
}

/* ================================================================
   FLOW
   ================================================================ */

.flow { background: var(--color-bg); position: relative; }

.flow__rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
}

@media (min-width: 880px) {
  .flow__rail {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }
}

.flow__step {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  transition: all var(--transition-interactive);
}

.flow__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.flow__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-deep));
  color: #fff;
  font-family: var(--font-num);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-5);
  box-shadow: 0 4px 14px oklch(from var(--color-primary) l c h / 0.30);
}

.flow__step h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.flow__step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ================================================================
   REVIEWS — 五星好評核心
   ================================================================ */

.reviews {
  background: linear-gradient(180deg, var(--color-surface-offset) 0%, var(--color-bg) 100%);
  overflow: hidden;
}

.reviews__header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.reviews__rating {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-sm);
}

.reviews__rating-num {
  font-family: var(--font-num);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.reviews__rating-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviews__rating-stars {
  color: var(--color-star);
  display: flex;
  gap: 2px;
}

.reviews__rating-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 720px) {
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
}

.review {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  transition: all var(--transition-interactive);
}

.review::before {
  content: '"';
  position: absolute;
  top: var(--space-3);
  right: var(--space-5);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary-highlight);
  font-style: italic;
}

.review:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.review__stars {
  display: flex;
  gap: 2px;
  color: var(--color-star);
}

.review__quote {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
  flex: 1;
}

.review__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.review__avatar--a { background: linear-gradient(135deg, #f37b1f, #f4c430); }
.review__avatar--b { background: linear-gradient(135deg, #b84a08, #e0a020); }
.review__avatar--c { background: linear-gradient(135deg, #e0a020, #f37b1f); }
.review__avatar--d { background: linear-gradient(135deg, #1c1610, #f37b1f); }
.review__avatar--e { background: linear-gradient(135deg, #c05307, #f4c430); }
.review__avatar--f { background: linear-gradient(135deg, #f4c430, #b84a08); }

.review__author-info strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 700;
}

.review__author-info span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ================================================================
   TRUST BAR
   ================================================================ */

.trust-bar {
  background: var(--color-surface-offset-2);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 720px) {
  .trust-bar__grid {
    grid-template-columns: auto 1fr auto;
    gap: var(--space-10);
  }
}

.trust-bar__seal {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.trust-bar__seal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-deep));
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px oklch(from var(--color-primary) l c h / 0.35);
}

.trust-bar__seal-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-text);
  font-weight: 700;
}

.trust-bar__seal-text span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

.trust-bar__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
}

.trust-bar__items div strong {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
}

/* ================================================================
   FAQ
   ================================================================ */

.faq__list {
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 880px;
  margin-inline: auto;
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-interactive);
}

.faq__item[open] {
  border-color: var(--color-primary);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

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

.faq__item summary::after {
  content: '+';
  font-family: var(--font-num);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--color-primary);
  transition: transform var(--transition-interactive);
  line-height: 1;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item-body {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.85;
}

/* ================================================================
   CTA
   ================================================================ */

.cta { position: relative; overflow: hidden; }

.cta__inner {
  background: linear-gradient(135deg, #1c1610 0%, #2a1f14 50%, #3d2814 100%);
  color: #f0e6d2;
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-12), 6vw, var(--space-20));
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, oklch(from var(--color-primary) l c h / 0.3) 0%, transparent 50%),
    radial-gradient(circle at 10% 100%, oklch(from var(--color-gold) l c h / 0.15) 0%, transparent 50%);
  z-index: -1;
}

.cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 880px) {
  .cta__grid { grid-template-columns: 1.4fr 1fr; }
}

.cta__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.cta__title em {
  font-style: italic;
  color: var(--color-gold);
}

.cta__lead {
  font-size: var(--text-base);
  color: oklch(from #fff l c h / 0.85);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 50ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.cta__qr {
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta__qr-box {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-md);
  background: #ffffff;
  position: relative;
  border: 1px solid var(--color-divider);
  padding: 8px;
  display: grid;
  place-items: center;
}

.cta__qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cta__qr-id {
  display: inline-block;
  margin-top: var(--space-2);
  margin-bottom: var(--space-1);
  padding: 4px 12px;
  border-radius: 999px;
  background: #06c755;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.5px;
}

.cta__qr h5 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
  letter-spacing: 0;
}

.cta__qr p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  background: var(--color-surface-offset-2);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-8);
  margin-top: var(--space-12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.2fr 0.9fr 1.5fr; gap: var(--space-12); align-items: center; }
}

.footer__company { gap: var(--space-2) !important; }

.footer__company li {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: var(--space-3);
  align-items: baseline;
  font-size: var(--text-sm);
  line-height: 1.55;
}

.footer__company-key {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.footer__company-val {
  color: var(--color-text);
  font-weight: 500;
}

.footer__verify {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--color-divider);
}

.footer__verify a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary) !important;
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
}

.footer__verify a:hover { text-decoration: underline; }
.footer__verify svg { color: var(--color-primary); }

.footer__brand { max-width: 360px; }

.footer__brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  line-height: 1.75;
}

.footer__col h5 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col a, .footer__col li {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
}

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

.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--color-text-faint);
}

/* ================================================================
   REVEAL
   ================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ================================================================
   WELFARE / 新人福利
   ================================================================ */

.welfare {
  background: linear-gradient(180deg, #fffaf3 0%, #fff4e3 100%);
  position: relative;
  overflow: hidden;
}

.welfare::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(243, 123, 31, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 95% 90%, rgba(6, 199, 85, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.welfare > .container {
  position: relative;
  z-index: 1;
}

.welfare__header {
  text-align: center;
  max-width: 920px;
  margin: 0 auto var(--space-10);
}

.welfare__eyebrow {
  background: rgba(243, 123, 31, 0.12);
  color: var(--color-primary-deep);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(243, 123, 31, 0.25);
  display: inline-block;
}

.welfare__eyebrow::before {
  display: none;
}

.welfare .section-title em {
  font-style: normal;
  color: var(--color-primary);
  font-weight: 800;
  background: linear-gradient(180deg, transparent 70%, rgba(244, 196, 48, 0.35) 70%);
  padding: 0 4px;
}

.welfare__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

@media (min-width: 720px) {
  .welfare__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.welfare-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: var(--space-8) var(--space-6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(40, 24, 8, 0.06);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.welfare-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--welfare-accent, var(--color-primary));
}

.welfare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(40, 24, 8, 0.10);
}

.welfare-card--01 { --welfare-accent: #f37b1f; }
.welfare-card--02 { --welfare-accent: #06c755; }
.welfare-card--03 { --welfare-accent: #e0a020; }

.welfare-card__stage {
  font-family: var(--font-display, inherit);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--welfare-accent);
  text-transform: uppercase;
}

.welfare-card__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}

.welfare-card__currency {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.welfare-card__value {
  font-size: clamp(2.75rem, 1.8rem + 2.6vw, 3.75rem);
  font-weight: 800;
  color: var(--welfare-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.welfare-card__currency {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.welfare-card__title {
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
}

.welfare-card__desc {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin: 0;
}

.welfare-card__tags {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.welfare-card__tags li {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--welfare-accent);
  background: color-mix(in srgb, var(--welfare-accent) 12%, #ffffff);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--welfare-accent) 22%, transparent);
}

.welfare__footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 1rem;
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.welfare__footnote svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ================================================================
   CTA CHIP — 立即體驗 promo pill
   ================================================================ */

.cta__chip {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffd98a;
  background: rgba(243, 123, 31, 0.18);
  border: 1px solid rgba(243, 123, 31, 0.35);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: var(--space-4);
}

/* ================================================================
   PROOF / 真實對話與會員陣容
   ================================================================ */

.proof {
  background:
    radial-gradient(circle at 20% 10%, rgba(243, 123, 31, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(224, 160, 32, 0.04) 0%, transparent 50%),
    var(--color-bg);
  position: relative;
}

.proof__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
  padding-block: var(--space-10);
}

.proof__row + .proof__row {
  border-top: 1px dashed var(--color-border);
  margin-top: var(--space-6);
}

@media (min-width: 900px) {
  .proof__row {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-12);
    padding-block: var(--space-14);
  }
  .proof__row--reverse {
    grid-template-columns: 0.8fr 1.2fr;
  }
  .proof__row--reverse .proof__text { order: 2; }
  .proof__row--reverse .proof__media { order: 1; }
  .proof__text { position: sticky; top: calc(var(--space-16) + 64px); }
}

.proof__text .section-eyebrow {
  margin-bottom: var(--space-4);
}

.proof__text .section-title {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: var(--space-5);
}

.proof__text .section-title em {
  font-style: normal;
  color: var(--color-primary);
  font-weight: 800;
  background: linear-gradient(180deg, transparent 70%, rgba(244, 196, 48, 0.32) 70%);
  padding: 0 4px;
  margin: 0 4px;
}

.proof__text .section-lead {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  max-width: 48ch;
}

.proof__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.proof__bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.7;
}

.proof__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  background-image:
    linear-gradient(45deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%);
  background-size: 9px 2px, 5px 2px;
  background-position: 4px 11px, 9px 9px;
  background-repeat: no-repeat;
}

.proof__bullets strong {
  color: var(--color-primary-deep);
  font-weight: 700;
}

.proof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  margin-bottom: var(--space-6);
}

.proof__stat-num {
  font-family: var(--font-num);
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.proof__stat-num span {
  font-size: 0.55em;
  color: var(--color-text-muted);
  margin-left: 2px;
  vertical-align: baseline;
}

.proof__stat-label {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.proof__caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  background: rgba(243, 123, 31, 0.06);
  border-left: 3px solid var(--color-primary);
  border-radius: 6px;
}

.proof__caption-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary-deep);
  letter-spacing: 0.08em;
}

.proof__caption-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.proof__media {
  display: flex;
  justify-content: center;
}

.proof__media-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(40, 24, 8, 0.18),
    0 8px 16px rgba(40, 24, 8, 0.08);
  background: #ffffff;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms ease;
}

.proof__media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 1;
}

.proof__media-frame:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow:
    0 32px 60px rgba(40, 24, 8, 0.22),
    0 12px 20px rgba(40, 24, 8, 0.10);
}

.proof__media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================
   Floating LINE FAB
   ============================ */
.line-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.line-fab.is-shown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Collapsed bubble button */
.line-fab__btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #06c755;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 18px 26px;
  box-shadow: 0 16px 40px rgba(6, 199, 85, 0.4), 0 8px 18px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  animation: lineFabPulse 2.6s ease-in-out infinite;
}
.line-fab__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(6, 199, 85, 0.46), 0 8px 16px rgba(0, 0, 0, 0.14);
}
.line-fab__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@keyframes lineFabPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(6, 199, 85, 0.36), 0 6px 14px rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(6, 199, 85, 0.5); }
  50% { box-shadow: 0 12px 32px rgba(6, 199, 85, 0.36), 0 6px 14px rgba(0, 0, 0, 0.12), 0 0 0 14px rgba(6, 199, 85, 0); }
}

.line-fab__teaser {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: right;
  line-height: 1.25;
}
.line-fab__teaser strong {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.line-fab__teaser span {
  font-size: 13px;
  opacity: 0.95;
  color: #f0fff5;
  line-height: 1.3;
}

.line-fab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}
.line-fab__icon svg { width: 38px; height: 38px; }

/* When open: shrink button into corner */
.line-fab.is-open .line-fab__btn {
  display: none;
}

/* Expanded card */
.line-fab__card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 400px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.26), 0 10px 24px rgba(15, 23, 42, 0.1);
  padding: 28px 28px 24px;
  display: none;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.line-fab.is-open .line-fab__card {
  display: block;
  animation: lineFabPop 0.24s ease both;
}

@keyframes lineFabPop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.line-fab__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  border: 0;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}
.line-fab__close:hover { background: rgba(15, 23, 42, 0.12); }

.line-fab__header {
  text-align: center;
  margin-bottom: 14px;
}
.line-fab__badge {
  display: inline-block;
  background: linear-gradient(135deg, #f37b1f, #ffa45c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.line-fab__header h4 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}
.line-fab__header p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.line-fab__qr {
  width: 220px;
  height: 220px;
  margin: 4px auto 14px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.line-fab__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.line-fab__id {
  font-size: 15px;
  color: #475569;
  margin-bottom: 14px;
}
.line-fab__id strong {
  color: #06c755;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.line-fab__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #06c755;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 22px;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.line-fab__cta svg { width: 22px; height: 22px; }
.line-fab__cta:hover {
  background: #05b04b;
  transform: translateY(-1px);
}

.line-fab__hint {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #94a3b8;
}

/* Mobile: full-width bottom bar */
@media (max-width: 640px) {
  .line-fab { right: 14px; bottom: 14px; }
  .line-fab__btn { padding: 14px 18px; gap: 12px; }
  .line-fab__teaser strong { font-size: 15px; }
  .line-fab__teaser span { font-size: 12px; }
  .line-fab__icon { width: 48px; height: 48px; }
  .line-fab__icon svg { width: 30px; height: 30px; }
  .line-fab__card {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    max-width: none;
    padding: 22px 20px 20px;
  }
  .line-fab__qr { width: 180px; height: 180px; }
}

/* Dark mode card */
[data-theme='dark'] .line-fab__card {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme='dark'] .line-fab__header h4 { color: #f8fafc; }
[data-theme='dark'] .line-fab__header p { color: #cbd5e1; }
[data-theme='dark'] .line-fab__close { background: rgba(255,255,255,0.08); color: #cbd5e1; }
[data-theme='dark'] .line-fab__close:hover { background: rgba(255,255,255,0.16); }
[data-theme='dark'] .line-fab__id { color: #cbd5e1; }
[data-theme='dark'] .line-fab__qr { background: #fff; border-color: rgba(255,255,255,0.1); }
