/* =========================================================
   心動時分 HeartbeatMomen — 全站共用樣式
   適用：index.html 與所有二級頁面
   ========================================================= */

:root {
    --pink-light: #FF70E5;
    --pink: #FF2ED2;
    --pink-dark: #D800AA;
    --purple-light: #A170FF;
    --purple: #8A2EFF;
    --purple-dark: #6300E0;
    --teal: #00EEFF;
    --yellow: #FFDD00;
    --green: #4ade80;
    --bg-0: #0E0220;
    --bg-1: #1A0536;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.72);
    --text-faint: rgba(255, 255, 255, 0.5);
    --card: rgba(26, 5, 54, 0.55);
    --card-border: rgba(255, 46, 210, 0.18);
    --radius: 20px;
    --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    background: linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 55%, #16032e 100%);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ---------- 背景光暈 ---------- */
.bg-orb { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.orb-1 { width: 480px; height: 480px; background: rgba(255, 46, 210, 0.22); top: -120px; left: -100px; }
.orb-2 { width: 520px; height: 520px; background: rgba(138, 46, 255, 0.22); top: 40%; right: -160px; }
.orb-3 { width: 420px; height: 420px; background: rgba(0, 238, 255, 0.10); bottom: -120px; left: 20%; }

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 960px; }

/* =========================================================
   導覽列
   ========================================================= */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(14, 2, 32, 0.74);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 46, 210, 0.14);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 13px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    display: grid; place-items: center; font-size: 20px;
    box-shadow: 0 0 22px rgba(255, 46, 210, 0.55);
    animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 16px rgba(255, 46, 210, 0.45); }
    50% { box-shadow: 0 0 30px rgba(138, 46, 255, 0.7); }
}
.brand-name { font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 20px; letter-spacing: 2px; }
.brand-sub { font-size: 10px; letter-spacing: 2.5px; color: var(--text-faint); text-transform: uppercase; margin-top: -3px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--text-dim); transition: color .25s; position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--pink-light); }
.nav-links a.active { color: #fff; font-weight: 700; }
.nav-links a.active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    border-radius: 2px; background: linear-gradient(90deg, var(--pink), var(--purple));
}
.nav-cta { display: inline-flex; flex-shrink: 0; }

/* 手機漢堡選單 */
.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 46, 210, 0.3);
    color: #fff; font-size: 18px; place-items: center;
}
.nav-drawer {
    display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
    background: rgba(14, 2, 32, 0.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 46, 210, 0.2); padding: 10px 24px 22px;
}
.nav-drawer a {
    display: block; padding: 14px 4px; font-size: 16px; color: var(--text-dim);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-drawer a:hover, .nav-drawer a.active { color: var(--pink-light); }
.nav-drawer .drawer-cta { margin-top: 16px; width: 100%; justify-content: center; }
.nav-drawer.open { display: block; }

/* =========================================================
   按鈕
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 16px;
    border: none; color: #fff; transition: transform .3s, box-shadow .3s, background .3s;
    position: relative; overflow: hidden; line-height: 1.3;
}
.btn-primary {
    background: linear-gradient(90deg, var(--pink), var(--purple));
    box-shadow: 0 10px 30px rgba(255, 46, 210, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(138, 46, 255, 0.5); }
.btn-primary::after {
    content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--purple), var(--teal));
    opacity: 0; transition: opacity .3s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-ghost {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 46, 210, 0.4); color: #fff;
}
.btn-ghost:hover { border-color: var(--pink); background: rgba(255, 46, 210, 0.1); transform: translateY(-3px); }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-lg { padding: 17px 40px; font-size: 17px; }
.btn-block { width: 100%; }

/* =========================================================
   首頁：頁首 Hero
   ========================================================= */
.hero { padding: 72px 0 56px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 16px;
    background: rgba(255, 46, 210, 0.1); border: 1px solid rgba(255, 46, 210, 0.35);
    text-align: left; margin-bottom: 24px;
}
.hero-badge > i { font-size: 24px; color: var(--pink-light); animation: heartbeat 1.4s ease-in-out infinite; }
.hb-line1 { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; }
.hb-line2 { font-size: 12.5px; color: var(--pink-light); line-height: 1.4; }
@keyframes heartbeat { 0%,100%{transform:scale(1);} 25%{transform:scale(1.18);} 40%{transform:scale(1);} 60%{transform:scale(1.14);} 75%{transform:scale(1);} }
.hero h1 { font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.18; letter-spacing: 1px; margin-bottom: 22px; }
.grad-text { background: linear-gradient(100deg, var(--pink-light), var(--purple-light), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--text-dim); font-size: 17.5px; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--yellow); font-weight: 600; margin-bottom: 24px; }
.hero-note i { animation: heartbeat 1.4s ease-in-out infinite; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); }
.trust-item i { color: var(--teal); }

/* 手機版會員大頭貼 */
.hero-carousel { display: none; overflow: hidden; }
.stickers { display: flex; width: max-content; animation: sticker-scroll 40s linear infinite; will-change: transform; }
.sticker { flex: 0 0 82px; margin-right: 12px; cursor: pointer; }
.st-photo { position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,46,210,0.3); background: var(--bg-1); box-shadow: 0 6px 16px rgba(0,0,0,0.35), 0 0 14px rgba(255,46,210,0.18); }
.st-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-check { position: absolute; right: 5px; bottom: 5px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), #00c4d8); color: #04202a; font-size: 10px; display: grid; place-items: center; }
.st-name { text-align: center; font-size: 14px; font-weight: 700; margin-top: 6px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-name span { font-size: 11px; color: var(--text-faint); font-weight: 400; margin-left: 2px; }
@keyframes sticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 手機效能優化：關閉重模糊光暈與毛玻璃，避免跑馬燈滑動卡頓 */
@media (max-width: 768px) {
    .bg-orb { display: none; }
    .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 2, 32, 0.97); }
    .st-photo { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35); }
}

/* 使用者偏好減少動態時，暫停跑馬燈 */
@media (prefers-reduced-motion: reduce) {
    .stickers { animation: none; }
}

.hero-visual { position: relative; min-height: 460px; }
.photo-card {
    position: absolute; border-radius: 18px; overflow: hidden;
    border: 1px solid rgba(255, 46, 210, 0.3);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 28px rgba(255, 46, 210, 0.22);
    background: var(--bg-1);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.pc-1 { width: 54%; aspect-ratio: 3/4; left: 0; top: 6%; animation: float 5s ease-in-out infinite; }
.pc-2 { width: 40%; aspect-ratio: 3/4; right: 0; top: 0; animation: float 6s ease-in-out infinite 0.6s; }
.pc-3 { width: 36%; aspect-ratio: 3/4; right: 12%; bottom: 0; animation: float 7s ease-in-out infinite 1.2s; }
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);} }
.float-chip {
    position: absolute; left: 0; bottom: 14%; z-index: 3;
    background: rgba(26, 5, 54, 0.82); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 46, 210, 0.35); border-radius: 14px; padding: 13px 18px;
    display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.float-chip .ic { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--purple)); display: grid; place-items: center; font-size: 16px; }
.float-chip b { font-size: 16px; display: block; }
.float-chip small { color: var(--text-faint); font-size: 12px; }

/* =========================================================
   跑馬燈
   ========================================================= */
.marquee { overflow: hidden; border-top: 1px solid rgba(255,46,210,0.14); border-bottom: 1px solid rgba(255,46,210,0.14); background: rgba(26,5,54,0.42); padding: 12px 0; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { white-space: nowrap; color: var(--text-dim); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.marquee-track i { color: var(--pink-light); }
.marquee-track b { color: var(--pink-light); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   數據橫幅
   ========================================================= */
.stats { padding: 40px 0 56px; }
.stats-box {
    background: var(--card); backdrop-filter: blur(12px); border: 1px solid var(--card-border);
    border-radius: var(--radius); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.stat { text-align: center; padding: 34px 16px; border-right: 1px solid rgba(255,255,255,0.07); }
.stat:last-child { border-right: none; }
.stat-num { font-family: 'Noto Serif TC', serif; font-size: 40px; font-weight: 900; background: linear-gradient(90deg, var(--pink-light), var(--purple-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-ic { font-size: 34px; background: linear-gradient(90deg, var(--pink-light), var(--purple-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--text-faint); font-size: 14px; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.stat-sub { color: var(--text-faint); font-size: 12.5px; margin-top: 2px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.25;} }

/* =========================================================
   標題
   ========================================================= */
.sec { padding: 64px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-tag { display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--teal); font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }
.sec-head h2 { font-family: 'Noto Serif TC', serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: 1px; margin-bottom: 14px; }
.sec-head p { color: var(--text-dim); font-size: 16px; }
.accent-line { width: 64px; height: 4px; margin: 18px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--pink), var(--purple)); }

/* =========================================================
   特色（首頁 + 創新速配頁）
   ========================================================= */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
    background: var(--card); backdrop-filter: blur(10px); border: 1px solid var(--card-border);
    border-radius: var(--radius); padding: 32px 26px; transition: transform .35s, border-color .35s, box-shadow .35s;
    position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-8px); border-color: rgba(255, 46, 210, 0.5); box-shadow: 0 20px 45px rgba(138, 46, 255, 0.28); }
.feature .fic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; margin-bottom: 20px; background: linear-gradient(135deg, rgba(255,46,210,0.18), rgba(138,46,255,0.18)); color: var(--pink-light); }
.feature:nth-child(2) .fic { color: var(--purple-light); }
.feature:nth-child(3) .fic { color: var(--teal); }
.feature:nth-child(4) .fic { color: var(--yellow); }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--text-dim); font-size: 14.5px; }
.feature ul { margin-top: 12px; }
.feature ul li { color: var(--text-dim); font-size: 13.5px; margin-bottom: 6px; padding-left: 18px; position: relative; }
.feature ul li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* =========================================================
   精選會員
   ========================================================= */
.members { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.member { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; transition: transform .35s, box-shadow .35s; }
.member:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(138, 46, 255, 0.3); }
.member-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.member:hover .member-photo img { transform: scale(1.08); }
.member-verify {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
    background: rgba(14,2,32,0.7); backdrop-filter: blur(6px); color: var(--teal); border: 1px solid rgba(0,238,255,0.4);
    display: inline-flex; align-items: center; gap: 5px;
}
.member-tag { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.tag-hot { background: linear-gradient(90deg, rgba(255,46,210,0.95), rgba(138,46,255,0.95)); color: #fff; }
.tag-online { background: rgba(14,2,32,0.75); backdrop-filter: blur(6px); color: var(--green); border: 1px solid rgba(74,222,128,0.5); }
.tag-new { background: rgba(14,2,32,0.75); backdrop-filter: blur(6px); color: var(--teal); border: 1px solid rgba(0,238,255,0.5); }
.tag-online .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.4s infinite; }
.member-info { padding: 14px 16px 16px; }
.member-info h3 { font-size: 16.5px; font-weight: 700; }
.member-info h3 span { font-size: 13px; color: var(--text-faint); font-weight: 400; margin-left: 5px; }
.member-hobby { color: var(--text-faint); font-size: 13px; margin: 5px 0 12px; line-height: 1.5; }
.member-hobby i { color: var(--pink-light); margin-right: 5px; }
.member-btn {
    width: 100%; padding: 9px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #fff;
    background: linear-gradient(90deg, var(--pink), var(--purple)); border: none; transition: transform .25s, box-shadow .25s;
}
.member-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 46, 210, 0.4); }

/* =========================================================
   流程
   ========================================================= */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 36px 26px 30px; }
.step-num {
    position: absolute; top: -20px; left: 26px; width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--purple)); display: grid; place-items: center;
    font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 18px; box-shadow: 0 0 20px rgba(255,46,210,0.5);
}
.step h3 { font-size: 18px; font-weight: 700; margin: 10px 0 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* =========================================================
   成功案例 / 見證
   ========================================================= */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.story .stars { color: var(--yellow); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.story blockquote { color: var(--text-dim); font-size: 15px; margin-bottom: 22px; }
.story .who { display: flex; align-items: center; gap: 12px; }
.story .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--teal)); display: grid; place-items: center; font-weight: 700; }
.story .who b { display: block; font-size: 15px; }
.story .who small { color: var(--text-faint); font-size: 12.5px; }

/* 精選故事（成功案例頁） */
.featured-story { padding: 44px 46px; margin-bottom: 24px; }
.featured-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 2px; color: var(--yellow); font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.featured-story h3 { font-family: 'Noto Serif TC', serif; font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin-bottom: 16px; }
.featured-story p { color: var(--text-dim); font-size: 15px; margin-bottom: 12px; }
.featured-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-faint); margin-top: 10px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 46, 210, 0.08); border: 1px solid rgba(255, 46, 210, 0.2); }

/* =========================================================
   保障
   ========================================================= */
.guarantee { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g-item { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 20px 22px; }
.g-item .g-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; background: linear-gradient(135deg, rgba(255,46,210,0.18), rgba(138,46,255,0.18)); color: var(--pink-light); }
.g-item:nth-child(2) .g-ic { color: var(--purple-light); }
.g-item:nth-child(3) .g-ic { color: var(--teal); }
.g-item:nth-child(4) .g-ic { color: var(--yellow); }
.g-item b { display: block; font-size: 15px; }
.g-item small { color: var(--text-faint); font-size: 12.5px; }

/* =========================================================
   大行動呼籲
   ========================================================= */
.cta-band { position: relative; border-radius: 26px; overflow: hidden; padding: 64px 40px; text-align: center; background: linear-gradient(120deg, rgba(255,46,210,0.16), rgba(138,46,255,0.16)); border: 1px solid rgba(255,46,210,0.3); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% -20%, rgba(255,46,210,0.25), transparent 60%); }
.cta-band h2 { font-family: 'Noto Serif TC', serif; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; position: relative; margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); position: relative; margin-bottom: 30px; font-size: 16px; }
.cta-btns { position: relative; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta-urgency { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); margin-top: 22px; font-weight: 500; }

/* =========================================================
   二級頁面：頁首
   ========================================================= */
.page-hero { padding: 72px 0 12px; text-align: center; }
.page-hero .page-tag {
    display: inline-block; font-size: 13px; letter-spacing: 3px;
    color: var(--teal); font-weight: 700; margin-bottom: 14px; text-transform: uppercase;
}
.page-hero h1 {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(32px, 4.6vw, 48px);
    font-weight: 900; letter-spacing: 1px; margin-bottom: 16px;
}
.page-hero p { color: var(--text-dim); font-size: 16.5px; max-width: 620px; margin: 0 auto; }
.page-hero .accent-line { margin-top: 20px; }

/* 通用卡片區塊 */
.page-body { padding: 30px 0 80px; }
.glass-card {
    background: var(--card); backdrop-filter: blur(12px);
    border: 1px solid var(--card-border); border-radius: var(--radius);
    padding: 40px 42px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* 長文（條款 / 隱私 / 關於） */
.prose { max-width: 860px; margin: 0 auto; }
.prose .updated {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-faint);
    padding: 6px 14px; border-radius: 999px; background: rgba(255, 46, 210, 0.08);
    border: 1px solid rgba(255, 46, 210, 0.2); margin-bottom: 26px;
}
.prose .updated i { color: var(--teal); }
.prose h2 {
    font-size: 19px; font-weight: 800; color: #fff; margin: 34px 0 12px;
    padding-left: 14px; border-left: 4px solid var(--pink); line-height: 1.4;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 16.5px; font-weight: 700; color: #fff; margin: 22px 0 8px; }
.prose p { color: var(--text-dim); font-size: 15px; margin-bottom: 12px; }
.prose ul { margin: 0 0 14px 4px; padding: 0; }
.prose ul li { color: var(--text-dim); font-size: 15px; margin-bottom: 8px; padding-left: 22px; position: relative; }
.prose ul li::before { content: '•'; position: absolute; left: 6px; color: var(--pink-light); }
.prose ol { margin: 0 0 14px 0; padding-left: 22px; }
.prose ol li { color: var(--text-dim); font-size: 15px; margin-bottom: 8px; }
.prose strong { color: #fff; font-weight: 700; }
.prose a { color: var(--pink-light); text-decoration: underline; }
.prose-note {
    margin-top: 30px; padding: 18px 20px; border-radius: 14px;
    background: rgba(255, 46, 210, 0.08); border: 1px solid rgba(255, 46, 210, 0.24);
    color: var(--text-faint); font-size: 13.5px; line-height: 1.8;
}
.prose-note i { color: var(--yellow); margin-right: 6px; }

/* =========================================================
   常見問題 FAQ
   ========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: var(--card); backdrop-filter: blur(10px);
    border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden;
    transition: border-color .3s;
}
.faq-item[open] { border-color: rgba(255, 46, 210, 0.5); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 20px 24px; display: flex;
    align-items: center; justify-content: space-between; gap: 16px;
    font-size: 16px; font-weight: 700; color: #fff; transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--pink-light); }
.faq-item summary .faq-icon {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; font-size: 13px;
    background: rgba(255, 46, 210, 0.14); color: var(--pink-light);
    transition: transform .3s, background .3s;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: rgba(255, 46, 210, 0.3); }
.faq-body { padding: 0 24px 22px; color: var(--text-dim); font-size: 14.5px; line-height: 1.8; }
.faq-body p { margin-bottom: 10px; }
.faq-body ul { margin: 0 0 10px 2px; }
.faq-body ul li { margin-bottom: 6px; padding-left: 18px; position: relative; }
.faq-body ul li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* =========================================================
   聯繫我們
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card {
    background: var(--card); backdrop-filter: blur(10px); border: 1px solid var(--card-border);
    border-radius: var(--radius); padding: 30px 28px; display: flex; gap: 18px; align-items: flex-start;
    transition: border-color .3s, transform .3s;
}
.contact-card:hover { border-color: rgba(255, 46, 210, 0.5); transform: translateY(-4px); }
.contact-ic {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
    font-size: 22px; background: linear-gradient(135deg, rgba(255,46,210,0.18), rgba(138,46,255,0.18)); color: var(--pink-light);
}
.contact-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }
.contact-card a:hover { color: var(--pink-light); }

/* ---------- 聯絡表單 ---------- */
.contact-form { max-width: 640px; margin: 0 auto; padding: 40px 42px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14.5px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.form-group label .req { color: var(--pink-light); margin-left: 3px; }
.form-input, .form-textarea {
    width: 100%; padding: 13px 16px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 46, 210, 0.28);
    color: #fff; font-family: inherit; font-size: 15px; line-height: 1.5;
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-faint); }
.form-input:focus, .form-textarea:focus {
    outline: none; border-color: var(--pink); background: rgba(255, 46, 210, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 46, 210, 0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-actions { margin-top: 8px; }
.form-hint { font-size: 12.5px; color: var(--text-faint); margin-top: 16px; text-align: center; }
.form-hint a { color: var(--pink-light); text-decoration: underline; }

/* ---------- 通知 Toast ---------- */
.toast {
    position: fixed; top: 90px; left: 50%; z-index: 500;
    transform: translate(-50%, -16px);
    width: max-content; max-width: min(440px, calc(100vw - 32px));
    display: flex; align-items: flex-start; gap: 12px;
    background: linear-gradient(160deg, rgba(32, 9, 64, 0.98), rgba(16, 3, 36, 0.98));
    border: 1px solid rgba(0, 238, 255, 0.35); border-radius: 14px; padding: 15px 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 26px rgba(138, 46, 255, 0.22);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    font-size: 14.5px; color: var(--text-dim); line-height: 1.6;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast i { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.toast div { flex: 1; }
.toast b { color: #fff; display: block; margin-bottom: 2px; }
.toast.success i { color: var(--green); }
.toast.success { border-color: rgba(74, 222, 128, 0.4); }
.toast.error i { color: #f87171; }
.toast.error { border-color: rgba(248, 113, 113, 0.4); }

/* =========================================================
   關於我們
   ========================================================= */
.about-photo {
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card-border);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 30px rgba(255,46,210,0.15);
    margin-bottom: 30px;
}
.about-photo img { width: 100%; height: 380px; object-fit: cover; }
.about-photo figcaption { padding: 12px 18px; color: var(--text-faint); font-size: 12.5px; background: rgba(14,2,32,0.5); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: start; }
.value-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.value-ic {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    font-size: 19px; background: linear-gradient(135deg, rgba(255,46,210,0.18), rgba(138,46,255,0.18)); color: var(--pink-light);
}
.value-row h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.value-row p { color: var(--text-dim); font-size: 14px; }

/* =========================================================
   Cookie 同意橫幅（桌面：左下角）
   ========================================================= */
.cookie-banner {
    position: fixed; left: 24px; bottom: 24px; z-index: 400;
    width: 380px; max-width: calc(100vw - 32px);
    background: linear-gradient(160deg, rgba(32, 9, 64, 0.98), rgba(16, 3, 36, 0.98));
    border: 1px solid rgba(255, 46, 210, 0.32); border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(138, 46, 255, 0.2);
    padding: 22px 22px 20px; transform: translateY(20px); opacity: 0; visibility: hidden;
    transition: transform .4s ease, opacity .4s ease, visibility .4s ease;
}
.cookie-banner.show { transform: none; opacity: 1; visibility: visible; }
.cookie-banner .cookie-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cookie-banner .cookie-head i { font-size: 20px; color: var(--teal); }
.cookie-banner .cookie-head h3 { font-size: 16px; font-weight: 800; letter-spacing: 0.5px; }
.cookie-banner p { color: var(--text-dim); font-size: 13px; line-height: 1.65; margin-bottom: 16px; }
.cookie-banner p a { color: var(--pink-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 16px; font-size: 13.5px; flex: 1; }

/* =========================================================
   頁尾
   ========================================================= */
footer { position: relative; z-index: 1; margin-top: 40px; border-top: 1px solid rgba(255, 46, 210, 0.14); background: rgba(10, 1, 24, 0.6); }
.footer-inner { padding: 56px 24px 44px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-brand { max-width: 380px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand > p { color: var(--text-faint); font-size: 14px; margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact .fc-item { display: flex; align-items: center; gap: 11px; color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }
.footer-contact .fc-item i { width: 18px; text-align: center; color: var(--pink-light); flex-shrink: 0; }
.footer-contact .fc-item a:hover { color: var(--pink-light); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 15px; margin-bottom: 16px; color: #fff; }
.footer-col a { display: block; color: var(--text-faint); font-size: 14px; margin-bottom: 11px; transition: color .25s; }
.footer-col a:hover { color: var(--pink-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; text-align: center; color: var(--text-faint); font-size: 13px; line-height: 2; }
.footer-bottom .fb-brand { color: #fff; font-weight: 700; font-family: 'Noto Serif TC', serif; letter-spacing: 1px; }

/* =========================================================
   手機底部懸浮按鈕（首頁）
   ========================================================= */
@keyframes breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 46, 210, 0.55); }
    50% { transform: scale(1.07); box-shadow: 0 0 26px rgba(138, 46, 255, 0.9); }
}
.mobile-bar { display: none; }
@media (max-width: 768px) {
    .mobile-bar {
        display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: linear-gradient(to top, rgba(14,2,32,0.98), rgba(14,2,32,0.84));
        backdrop-filter: blur(14px); border-top: 1px solid rgba(255,46,210,0.3);
    }
    .mb-info { flex: 1; min-width: 0; }
    .mb-title { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.35; }
    .mb-title i { color: var(--yellow); margin-right: 3px; }
    .mb-sub { font-size: 12px; color: var(--yellow); font-weight: 600; line-height: 1.4; margin-top: 2px; }
    .mb-btn { flex-shrink: 0; padding: 14px 18px; font-size: 14px; animation: breathe 2s ease-in-out infinite; }
    body { padding-bottom: 84px; }
}

/* =========================================================
   滾動進場
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   隱私政策彈窗（首頁）
   ========================================================= */
.modal-overlay {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(5, 0, 14, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
    width: 100%; max-width: 700px; max-height: 82vh; display: flex; flex-direction: column;
    background: linear-gradient(160deg, rgba(32, 9, 64, 0.98), rgba(16, 3, 36, 0.98));
    border: 1px solid rgba(255, 46, 210, 0.35); border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(138, 46, 255, 0.25);
    transform: translateY(18px) scale(0.98); transition: transform .3s ease; overflow: hidden;
}
.modal-overlay.show .modal { transform: none; }
.modal-head {
    display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 46, 210, 0.18); background: rgba(255, 46, 210, 0.06); flex-shrink: 0;
}
.modal-head h3 { font-family: 'Noto Serif TC', serif; font-size: 20px; font-weight: 900; letter-spacing: 1px; }
.modal-close {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 46, 210, 0.35);
    background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 22px; line-height: 1;
    display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s;
}
.modal-close:hover { background: rgba(255, 46, 210, 0.22); border-color: var(--pink); transform: rotate(90deg); }
.modal-body { padding: 22px 24px 28px; overflow-y: auto; color: var(--text-dim); font-size: 14.5px; line-height: 1.85; }
.modal-body h4 { font-size: 15px; color: #fff; margin: 20px 0 8px; font-weight: 700; }
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 10px; }
.modal-body ul { margin: 0 0 10px 20px; padding: 0; }
.modal-body li { margin-bottom: 6px; }
.modal-body .modal-note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 46, 210, 0.08); border: 1px solid rgba(255, 46, 210, 0.22); color: var(--text-faint); font-size: 13px; }
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(255, 46, 210, 0.4); border-radius: 3px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }

/* =========================================================
   RWD
   ========================================================= */
@media (max-width: 1080px) {
    .nav-links { gap: 20px; }
}

@media (max-width: 1024px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .members { grid-template-columns: repeat(3, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; }
    .guarantee { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
    .hero-visual { min-height: 420px; max-width: 480px; }
    .stats-box { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.07); }
    .stories { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: grid; }
    .nav-cta { display: none; }
    .hero-actions, .hero-note { display: none; }
    .hero-carousel { display: block; margin-top: 36px; }
    .members { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
    .guarantee { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .sec { padding: 48px 0; }
    .footer-cols { gap: 24px; }
    .footer-cols { grid-template-columns: repeat(3, 1fr); }
    .cookie-banner { left: 16px; bottom: 16px; width: calc(100vw - 32px); }
    .modal-overlay { padding: 14px; align-items: flex-end; }
    .modal { max-height: 86vh; border-radius: 20px 20px 16px 16px; }
    .modal-head { padding: 16px 18px; }
    .modal-head h3 { font-size: 17px; }
    .modal-body { padding: 18px 18px 24px; font-size: 13.5px; line-height: 1.8; }
    .page-hero { padding: 44px 0 8px; }
    .page-body { padding: 20px 0 60px; }
    .glass-card { padding: 26px 20px; }
}

/* 手機版精修：緊緻排版 */
@media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero { display: block; padding: 32px 0 18px; }
    .hero-copy { text-align: center; }
    .hero h1 { font-size: 28px; line-height: 1.2; letter-spacing: 0; }
    .hero p.lead { font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }
    .hero-badge { padding: 8px 14px; margin-bottom: 14px; border-radius: 14px; gap: 8px; }
    .hero-badge > i { font-size: 20px; }
    .hb-line1 { font-size: 13.5px; }
    .hb-line2 { font-size: 11.5px; }
    .hero-trust { gap: 12px; justify-content: center; }
    .trust-item { font-size: 12.5px; }
    .hero-visual { display: none; }
    .hero-carousel { margin-top: 20px; }
    .st-name { font-size: 13.5px; }
    .st-name span { font-size: 11px; }
    .stats { padding: 24px 0 34px; }
    .stat { padding: 22px 8px; }
    .stat-num { font-size: 28px; }
    .stat-label { font-size: 12px; }
    .sec { padding: 28px 0; }
    .sec-head { margin-bottom: 20px; }
    .sec-head h2 { font-size: 22px; letter-spacing: 0; }
    .sec-head p { font-size: 13.5px; }
    .sec-tag { font-size: 11px; letter-spacing: 2px; }
    .features { gap: 12px; }
    .feature { padding: 18px 14px; }
    .feature h3 { font-size: 15px; }
    .feature p { font-size: 12px; }
    .feature .fic { width: 40px; height: 40px; font-size: 18px; margin-bottom: 10px; }
    .members { gap: 12px; }
    .member-info { padding: 10px 12px 12px; }
    .member-info h3 { font-size: 14.5px; }
    .member-hobby { font-size: 11.5px; margin: 3px 0 10px; }
    .member-btn { font-size: 12px; padding: 7px; }
    .step { padding: 28px 18px 22px; }
    .step h3 { font-size: 15px; }
    .step p { font-size: 12.5px; }
    .stories { gap: 14px; }
    .story { padding: 22px 18px; }
    .story blockquote { font-size: 13.5px; }
    .story .stars { font-size: 12.5px; }
    .guarantee { gap: 12px; }
    .g-item { padding: 14px 14px; }
    .g-item b { font-size: 13.5px; }
    .g-item small { font-size: 11px; }
    .cta-band { padding: 40px 18px; }
    .cta-band h2 { font-size: 22px; }
    .cta-band p { font-size: 13.5px; }
    .btn { font-size: 14px; }
    .marquee-track span { font-size: 13px; }
    .footer-top { gap: 28px; }
    .footer-brand { max-width: none; text-align: center; }
    .footer-brand .brand { justify-content: center; }
    .footer-contact { align-items: center; text-align: left; }
    .footer-cols { width: 100%; gap: 18px; grid-template-columns: repeat(3, 1fr); }
    .footer-col a { font-size: 13px; margin-bottom: 10px; }
    .footer-bottom { font-size: 12px; }
    .prose h2 { font-size: 16.5px; margin: 26px 0 10px; padding-left: 11px; border-left-width: 3px; }
    .prose p, .prose ul li, .prose ol li { font-size: 14px; }
    .faq-item summary { padding: 17px 18px; font-size: 15px; }
    .faq-body { padding: 0 18px 18px; font-size: 13.5px; }
    .about-photo img { height: 240px; }
}
