/* ===== VARIABLES ===== */
:root {
  --bg: #09090f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --pink: #ff2a6d;
  --purple: #9b30e0;
  --pink-light: #ff6fa3;
  --purple-light: #c278ff;
  --grad: linear-gradient(135deg, #ff2a6d 0%, #9b30e0 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,42,109,0.12) 0%, rgba(155,48,224,0.12) 100%);
  --text: #f2f2f8;
  --text-muted: #6b6b8a;
  --text-dim: #9999b8;
  --max-w: 1100px;
  --radius: 20px;
  --radius-sm: 12px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--pink-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--purple-light); }
img { max-width: 100%; height: auto; }

/* ===== UTILITIES ===== */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,42,109,0.12); border: 1px solid rgba(255,42,109,0.25);
  color: var(--pink-light); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; padding: 4px 14px; border-radius: 100px;
}
.section-label {
  text-align: center; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 16px;
}
.section-desc {
  text-align: center; font-size: 1rem; color: var(--text-dim);
  max-width: 600px; margin: 0 auto 60px;
}

/* ===== NAV ===== */
body > nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(9, 9, 15, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-card-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 36px; height: 36px; border-radius: 9px; }
.nav-logo span { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-dim); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--grad); color: #fff !important; padding: 8px 20px;
  border-radius: 100px; font-weight: 600 !important; font-size: 0.85rem !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--text); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 120px 24px 80px; position: relative; overflow: hidden;
}
.hero-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-glow::before {
  content: ''; position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,42,109,0.14) 0%, transparent 70%);
  top: -150px; left: 50%; transform: translateX(-50%);
}
.hero-glow::after {
  content: ''; position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(155,48,224,0.1) 0%, transparent 70%);
  bottom: 0; right: 10%;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

/* Brand name color splits */
.brand-en-line {
  display: block;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.0;
}
.brand-zh-line {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-top: 8px;
  line-height: 1.3;
}
.brand-me { color: var(--text); }
.brand-et { color: var(--pink); }
.brand-zh-main { color: var(--text); }
.brand-yu { color: var(--pink); }

.hero-icon {
  width: 100px; height: 100px; border-radius: 24px;
  box-shadow: 0 20px 60px rgba(255,42,109,0.35), 0 8px 30px rgba(0,0,0,0.5);
  margin: 0 auto 32px; display: block;
}
.hero-age-badge { margin: 0 auto 24px; }
.hero-title { margin-bottom: 20px; }
.hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; color: var(--text-dim); margin-bottom: 12px; }
.hero-desc { font-size: clamp(0.95rem, 1.8vw, 1.05rem); color: var(--text-muted); max-width: 500px; margin: 0 auto 48px; line-height: 1.75; }
.hero-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== STORE BADGES ===== */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.store-badge-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.coming-soon-chip {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--pink-light);
  background: rgba(255,42,109,0.12); border: 1px solid rgba(255,42,109,0.28);
  padding: 3px 10px; border-radius: 100px;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-radius: 13px; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.store-badge:hover { opacity: 0.85; transform: translateY(-1px); }
.apple-badge {
  background: #000; border: 1px solid rgba(255,255,255,0.1); color: #fff;
}
.google-badge {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--text);
}
.badge-logo { width: 24px; height: 24px; flex-shrink: 0; }
.badge-label {
  display: flex; flex-direction: column; text-align: left; line-height: 1.25;
}
.badge-label small { font-size: 0.62rem; opacity: 0.7; letter-spacing: 0.03em; }
.badge-label strong { font-size: 0.95rem; font-weight: 700; }

/* ===== FEATURES ===== */
#features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: var(--radius); padding: 36px 32px; position: relative;
  overflow: hidden; transition: transform 0.25s, border-color 0.25s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255,42,109,0.25); }
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity 0.25s;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--grad-soft); border: 1px solid rgba(255,42,109,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--pink-light);
}
.feature-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; padding: 3px 10px; border-radius: 100px; margin-bottom: 12px;
}
.feature-tag.available { background: rgba(255,42,109,0.15); color: var(--pink-light); border: 1px solid rgba(255,42,109,0.25); }
.feature-tag.soon { background: rgba(107,107,138,0.2); color: var(--text-muted); border: 1px solid rgba(107,107,138,0.2); }
.feature-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; }
.feature-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem; color: var(--text-dim); }
.feature-list li::before { content: '✦'; color: var(--pink); flex-shrink: 0; margin-top: 2px; font-size: 0.65rem; }

/* ===== HOW IT WORKS ===== */
#how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,42,109,0.03) 50%, transparent 100%);
}
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.step { text-align: center; padding: 24px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; font-weight: 800;
  color: #fff; margin: 0 auto 20px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-dim); }

/* ===== FAQ ===== */
#faq { padding: 100px 0; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(255,42,109,0.2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; background: none; border: none; cursor: pointer;
  text-align: left; font-size: 1rem; font-weight: 600; color: var(--text);
  font-family: inherit; transition: color 0.2s;
}
.faq-q:hover { color: var(--pink-light); }
.faq-q svg { flex-shrink: 0; transition: transform 0.3s; color: var(--text-muted); }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--pink); }
.faq-item.open .faq-q { color: var(--pink-light); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 24px 20px; font-size: 0.95rem; color: var(--text-dim); line-height: 1.8; }

/* ===== DOWNLOAD ===== */
#download { padding: 100px 0; }
.download-box {
  background: var(--grad-soft); border: 1px solid rgba(255,42,109,0.2);
  border-radius: 32px; padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.download-box::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad); opacity: 0.04; pointer-events: none;
}
.download-box h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.download-box > p { color: var(--text-dim); margin-bottom: 40px; font-size: 1.05rem; }
.download-btns { display: flex; align-items: flex-start; justify-content: center; gap: 16px; flex-wrap: wrap; }
.download-note { margin-top: 28px; font-size: 0.8rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--bg-card-border); padding: 48px 0 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { max-width: 280px; }
.footer-brand .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; }
.footer-brand .name { font-size: 1rem; font-weight: 700; color: var(--text); }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--pink-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--bg-card-border); }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.age-notice {
  display: inline-flex; align-items: center;
  background: rgba(255,42,109,0.1); border: 1px solid rgba(255,42,109,0.2);
  color: var(--pink-light); font-size: 0.75rem; font-weight: 700;
  padding: 4px 12px; border-radius: 6px;
}

/* ===== INNER PAGES ===== */
.page-header { padding: 120px 24px 60px; text-align: center; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.page-header p { color: var(--text-dim); font-size: 0.95rem; }
.legal-content { max-width: 780px; margin: 0 auto; padding: 0 24px 100px; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 48px 0 16px; color: var(--text); padding-bottom: 8px; border-bottom: 1px solid var(--bg-card-border); }
.legal-content h3 { font-size: 1.05rem; font-weight: 600; margin: 28px 0 10px; color: var(--pink-light); }
.legal-content p { color: var(--text-dim); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.legal-content ul, .legal-content ol { margin: 0 0 16px 20px; color: var(--text-dim); line-height: 1.8; font-size: 0.95rem; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--text); }
.legal-content .highlight-box {
  background: rgba(255,42,109,0.08); border: 1px solid rgba(255,42,109,0.2);
  border-left: 3px solid var(--pink); border-radius: 8px; padding: 16px 20px; margin: 24px 0;
}
.legal-content .highlight-box p { margin: 0; color: var(--text); font-weight: 500; }
.legal-toc { background: var(--bg-card); border: 1px solid var(--bg-card-border); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 40px; }
.legal-toc h3 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.legal-toc ol { margin: 0 0 0 16px; }
.legal-toc li { margin-bottom: 4px; }
.legal-toc a { font-size: 0.9rem; color: var(--text-dim); }
.legal-toc a:hover { color: var(--pink-light); }

/* Support page */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 60px; }
.support-card { background: var(--bg-card); border: 1px solid var(--bg-card-border); border-radius: var(--radius); padding: 28px 24px; transition: border-color 0.2s; }
.support-card:hover { border-color: rgba(255,42,109,0.2); }
.support-card .s-icon { font-size: 2rem; margin-bottom: 16px; }
.support-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.support-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.support-card a { color: var(--pink-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 69px; left: 0; right: 0;
    background: rgba(9, 9, 15, 0.97); flex-direction: column;
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--bg-card-border);
    backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .download-box { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .store-badges { flex-direction: column; align-items: center; }
  .download-btns { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 220px; justify-content: center; }
}
