/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:    #ffffff;
  --gray-50:  #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-400: #adb5bd;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* 主色：珊瑚橙 + 玫瑰紅漸層，全站統一 */
  --orange:   #ff6b35;
  --orange-d: #e85a22;
  --rose:     #e8445a;
  --gradient: linear-gradient(135deg, var(--orange) 0%, var(--rose) 100%);
  --gradient-soft: linear-gradient(135deg, #fff4f0 0%, #fff0f3 100%);

  --font:      'DM Sans', 'Noto Sans TC', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;

  --nav-h:    66px;
  --radius:   18px;
  --radius-sm:12px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.11);
  --shadow-color: 0 8px 32px rgba(255,107,53,.28);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; color: var(--orange); }

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-color);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,107,53,.38); }

.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-200);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* Logo: image only */
.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; object-fit: contain; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--gray-100); color: var(--gray-900); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all .25s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Section Commons ── */
.section { padding: 100px 0; }
.section-tinted { background: var(--gray-50); }

.section-head { text-align: center; max-width: 620px; margin-inline: auto; margin-bottom: 64px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.section-head p { font-size: 17px; color: var(--gray-600); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,107,53,.1);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.eyebrow-light { background: rgba(255,255,255,.2); color: var(--white); }

/* ── Hero ── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.blob-1 { width: 640px; height: 640px; background: var(--orange); opacity: .09; top: -220px; right: -120px; }
.blob-2 { width: 440px; height: 440px; background: var(--rose);   opacity: .08; bottom: -100px; left: -80px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--orange);
  background: rgba(255,107,53,.08);
  border: 1px solid rgba(255,107,53,.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.tag-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.4; transform:scale(.8); }
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-metrics {
  display: flex;
  align-items: center;
  padding: 20px 28px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  gap: 0;
}
.metric { display: flex; flex-direction: column; align-items: center; flex: 1; }
.metric strong { font-size: 22px; font-weight: 800; color: var(--gray-900); letter-spacing: -.5px; }
.metric span { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.metric-sep { width: 1px; height: 38px; background: var(--gray-200); }

/* Hero Badge Stack */
.hero-badge-stack { position: relative; height: 320px; }
.hbs-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 32px;
  text-align: center;
}
.hbs-main { position: absolute; inset: 20px 0 0; }
.hbs-logo { height: 70px; width: auto; object-fit: contain; margin: 0 auto 20px; }
.hbs-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,107,53,.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.hbs-brands { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

.hbs-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-color);
}
.hbs-float-1 { bottom: 56px; right: -20px; animation: float 3.2s ease-in-out infinite; }
.hbs-float-2 { bottom: 12px; left: -10px; animation: float 3.2s ease-in-out infinite .8s; }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

/* ── SLIDESHOW ── */
.slideshow-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Main stage */
.slideshow-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 16/9;
  max-height: 560px;
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: pan-y;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 100%);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
}

/* Arrows */
.ss-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  cursor: pointer;
  color: var(--gray-800);
  transition: background .2s, transform .2s, box-shadow .2s;
  z-index: 5;
  box-shadow: var(--shadow-md);
}
.ss-btn:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%) scale(1.06);
}
.ss-prev { left: 16px; }
.ss-next { right: 16px; }

/* Progress bar */
.ss-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.25);
  z-index: 5;
}
.ss-progress-bar {
  height: 100%;
  background: var(--gradient);
  width: 0%;
  transition: width linear;
}

/* Thumbnails */
.thumb-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.thumb-strip::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 100px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s, opacity .2s;
  opacity: .6;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--orange); opacity: 1; }
.thumb:hover { opacity: .9; transform: translateY(-2px); }

/* Dot indicators */
.ss-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 4px 0;
}
.ss-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.ss-dot.active { background: var(--orange); transform: scale(1.3); }

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar {
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pillar-icon {
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-soft);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--orange);
}
.pillar h3 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.pillar p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }

/* ── CTA Banner ── */
.cta-banner { background: var(--gradient); padding: 96px 0; }
.cta-content { text-align: center; max-width: 560px; margin-inline: auto; }
.cta-content h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-content p { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.cta-id {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.15);
  padding: 8px 22px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(255,107,53,.4); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arr { flex-shrink: 0; font-size: 20px; color: var(--orange); transition: transform .25s; line-height: 1; }
.faq-item[open] .faq-arr { transform: rotate(180deg); }
.faq-body { padding: 0 24px 20px; }
.faq-body p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* ── Contact ── */
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin-inline: auto; }
.contact-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: box-shadow .2s, transform .2s;
}
.contact-block:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-block--line  { border-left: 4px solid #06c755; }
.contact-block--tg    { border-left: 4px solid #0088cc; }
.contact-block--shop  { border-left: 4px solid var(--orange); }
.contact-block--line .cb-icon { color: #06c755; }
.contact-block--tg   .cb-icon { color: #0088cc; }
.contact-block--shop .cb-icon { color: var(--orange); }
.cb-icon { flex-shrink: 0; }
.cb-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cb-text strong { font-size: 15px; color: var(--gray-900); }
.cb-text span { font-size: 13px; color: var(--gray-400); }
.cb-arrow { color: var(--gray-400); font-size: 18px; flex-shrink: 0; }

/* ── Footer ── */
.footer { background: var(--gray-900); color: var(--white); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; margin-bottom: 48px; }
.footer-logo-img { height: 50px; width: auto; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-domain { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.3) !important; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.62); transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-direction: column; gap: 6px; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.32); }

/* ── Back to top ── */
.to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-900);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0; transform: translateY(16px);
  transition: opacity .25s, transform .25s, background .2s;
  box-shadow: var(--shadow-md);
  z-index: 90;
}
.to-top.visible { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--orange); }

/* ── Social Float Widget ── */
.social-float {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Toggle button */
.sf-toggle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--gradient);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-color);
  transition: transform .25s ease, box-shadow .25s;
  position: relative;
  z-index: 2;
}
.sf-toggle:hover { transform: scale(1.08); box-shadow: 0 10px 36px rgba(255,107,53,.45); }

.sf-toggle-icon {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .2s, transform .25s;
}
.sf-toggle-close { opacity: 0; transform: rotate(-90deg); }
.sf-toggle-open  { opacity: 1; transform: rotate(0deg); }

.social-float.open .sf-toggle-open  { opacity: 0; transform: rotate(90deg); }
.social-float.open .sf-toggle-close { opacity: 1; transform: rotate(0deg); }

/* Items container */
.sf-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .35s ease, opacity .3s ease;
  pointer-events: none;
}
.social-float.open .sf-items {
  max-height: 220px;
  opacity: 1;
  pointer-events: auto;
}

/* Each social item */
.sf-item {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s;
  transform: scale(.8);
  opacity: 0;
}
.social-float.open .sf-item {
  transform: scale(1);
  opacity: 1;
}
.social-float.open .sf-item:nth-child(1) { transition-delay: .05s; }
.social-float.open .sf-item:nth-child(2) { transition-delay: .1s; }
.social-float.open .sf-item:nth-child(3) { transition-delay: .15s; }

.sf-item:hover { transform: scale(1.12); box-shadow: var(--shadow-lg); }

.sf-line  { background: #06c755; }
.sf-tg    { background: #0088cc; }
.sf-shop  { background: var(--gradient); }

/* Tooltip label */
.sf-label {
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  background: var(--gray-900);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .18s, transform .18s;
}
.sf-label::after {
  content: '';
  position: absolute;
  top: 50%; right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: var(--gray-900);
}
.sf-item:hover .sf-label { opacity: 1; transform: translateX(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 360px; gap: 48px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .thumb { flex: 0 0 80px; height: 56px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    padding: 32px 24px 48px;
    gap: 8px;
    z-index: 99;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    align-items: stretch;
  }
  .nav-links.open a { font-size: 20px; font-weight: 600; padding: 14px 16px; border-radius: var(--radius-sm); color: var(--gray-900); text-align: left; }
  .nav-links.open a:hover { background: var(--gray-100); }

  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-badge-stack { height: 260px; }

  .hero-metrics { flex-wrap: wrap; gap: 16px; padding: 16px; }
  .metric-sep { display: none; }
  .metric { flex: 1 0 40%; }

  .section { padding: 64px 0; }
  .pillars { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }

  .thumb { flex: 0 0 72px; height: 50px; }
  .slideshow-stage { aspect-ratio: 4/3; }
  .ss-btn { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: -1.5px; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-nav { grid-template-columns: 1fr; }
  .thumb { flex: 0 0 60px; height: 44px; }
}
