:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --surface-strong: #f8fafc;
  --glass: rgba(241, 245, 249, 0.8);
  --glass-border: #e2e8f0;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text: #334155;
  --text-strong: #0f172a;
  --muted: #64748b;
  --accent: #4f46e5;
  --accent-light: #6366f1;
  --accent-soft: #eef2ff;
  --accent-glow: rgba(79, 70, 229, 0.15);
  --cyan: #0891b2;
  --emerald: #059669;
  --rose: #e11d48;
  --amber: #d97706;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.04);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes qrPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.animate-fade-in-up { animation: fadeInUp 0.7s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }

html { scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.container {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ====== Ambient BG ====== */
.page-ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.06; }
.ambient-orb-one { width: 600px; height: 600px; top: -200px; right: -100px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); }
.ambient-orb-two { width: 500px; height: 500px; bottom: -150px; left: -100px; background: radial-gradient(circle, var(--cyan) 0%, transparent 70%); opacity: 0.04; }

/* ====== Header ====== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; transition: transform 0.3s; box-shadow: 0 2px 8px rgba(79,70,229,0.1); }
.brand:hover img { transform: scale(1.05); }
.brand strong { display: block; font-size: 18px; font-weight: 700; color: var(--text-strong); }
.brand span { display: block; margin-top: 2px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: all 0.2s; }
.site-nav a:hover, .site-nav a.is-active { color: var(--text-strong); background: var(--bg-alt); }

.header-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px; border: 0; border-radius: 10px;
  cursor: pointer; font-weight: 600; font-size: 14px; transition: all 0.3s;
}
.header-cta, .btn-primary {
  background: var(--accent);
  color: #fff; box-shadow: 0 4px 14px var(--accent-glow);
  position: relative; overflow: hidden;
}
.header-cta::before, .btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.header-cta:hover::before, .btn-primary:hover::before { left: 100%; }
.header-cta:hover, .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-secondary { color: var(--text); background: var(--bg-alt); border: 1px solid var(--glass-border); }
.btn-secondary:hover { background: var(--glass-border); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ====== Section ====== */
.section-shell { padding: 80px 0; }
.section-shell-alt { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ====== Hero ====== */
.hero {
  position: relative; padding: 100px 0 70px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.hero::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.15; pointer-events: none;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(79,70,229,0.12);
  color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 28px;
}
.hero__badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px rgba(5,150,105,0.4); animation: float 2s ease-in-out infinite; }
.hero h1 { margin: 0; font-size: clamp(34px, 5.5vw, 58px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: var(--text-strong); }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientShift 4s ease infinite;
}
.hero__desc { margin: 24px auto 0; max-width: 600px; font-size: 17px; color: var(--muted); line-height: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.hero__stats { display: flex; justify-content: center; gap: 56px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--glass-border); }
.hero__stat-value { display: block; font-size: 36px; font-weight: 800; color: var(--text-strong); }
.hero__stat-label { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ====== Trust Points ====== */
.trust-strip { padding: 28px 0; background: var(--bg-soft); border-bottom: 1px solid var(--glass-border); }
.trust-points { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust-points span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--glass-border);
  font-size: 13px; font-weight: 500; color: var(--text);
  box-shadow: var(--shadow-soft);
}
.trust-points span::before { content: '✓'; font-weight: 700; color: var(--emerald); }

/* ====== Section Head ====== */
.section-head { margin-bottom: 48px; }
.section-head-center { text-align: center; margin-bottom: 52px; }
.section-head h2 { margin: 14px 0 0; font-size: clamp(26px, 3.8vw, 40px); color: var(--text-strong); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
.section-head p { margin: 16px 0 0; max-width: 540px; font-size: 15px; color: var(--muted); line-height: 1.75; }
.section-head-center p { margin-left: auto; margin-right: auto; }

/* ====== Features ====== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft); transition: all 0.35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.08); border-color: var(--line-strong); }
.feature-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid rgba(79,70,229,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.feature-card h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--text-strong); }
.feature-card p { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ====== Tool Categories ====== */
.tools-category { margin-bottom: 48px; }
.tools-category:last-child { margin-bottom: 0; }
.tools-category__header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--glass-border);
}
.tools-category__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  background: var(--accent-soft);
}
.tools-category__title { font-size: 20px; font-weight: 700; color: var(--text-strong); margin: 0; }
.tools-category__desc { margin-left: auto; font-size: 13px; color: var(--muted); }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

.tool-card {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--glass-border);
  transition: all 0.25s ease; cursor: pointer; position: relative;
  box-shadow: var(--shadow-soft);
}
.tool-card:hover {
  border-color: var(--accent-light); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(79,70,229,0.1); background: var(--accent-soft);
}
.tool-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  background: var(--bg-alt);
}
.tool-card__body { flex: 1; min-width: 0; }
.tool-card__name { font-size: 14px; font-weight: 600; color: var(--text-strong); line-height: 1.3; margin: 0; }
.tool-card__desc { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 4px 0 0; }
.tool-card__arrow { margin-left: auto; color: var(--muted); font-size: 14px; opacity: 0; transition: all 0.25s; }
.tool-card:hover .tool-card__arrow { opacity: 1; transform: translateX(2px); color: var(--accent); }
.tool-card__tag {
  position: absolute; top: 8px; right: 8px;
  padding: 2px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700;
}
.tool-card__tag--hot { background: rgba(225,29,72,0.08); color: var(--rose); }
.tool-card__tag--recommend { background: var(--accent-soft); color: var(--accent); }
.tool-card__tag--fun { background: rgba(217,119,6,0.08); color: var(--amber); }

.tool-card--offline {
  opacity: 0.6;
  cursor: default;
  position: relative;
  background: var(--bg-soft);
  border-style: dashed;
}
.tool-card--offline:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
  border-color: var(--glass-border);
  background: var(--bg-soft);
}
.tool-card__offline {
  position: absolute;
  bottom: 6px; right: 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(79,70,229,0.1);
}

/* ====== Process ====== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-card {
  text-align: center; padding: 36px 20px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--glass-border);
  position: relative; transition: all 0.35s ease;
  box-shadow: var(--shadow-soft);
}
.process-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.08); }
.process-card__step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent);
  color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 18px;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.process-card h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--text-strong); }
.process-card p { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ====== QR CTA ====== */
.qr-cta-card {
  display: flex; align-items: center; gap: 48px; padding: 60px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent-soft), rgba(8,145,178,0.04));
  border: 1px solid rgba(79,70,229,0.1);
  position: relative; overflow: hidden;
}
.qr-cta-card::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.15; pointer-events: none;
}
.qr-cta-content { flex: 1; position: relative; z-index: 1; }
.qr-cta-content h2 { margin: 14px 0 0; font-size: clamp(26px, 3vw, 34px); color: var(--text-strong); font-weight: 700; line-height: 1.25; }
.qr-cta-content p { margin: 14px 0 0; font-size: 15px; color: var(--muted); line-height: 1.8; }
.qr-cta-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.qr-cta-feature {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--glass-border);
  font-size: 13px; color: var(--text);
  box-shadow: var(--shadow-soft);
}
.qr-cta-feature__check { color: var(--emerald); font-weight: 700; }
.qr-cta-images { display: flex; gap: 24px; flex-shrink: 0; position: relative; z-index: 1; }
.qr-cta-image { flex-shrink: 0; }
.qr-cta-image__wrap {
  width: 160px; height: 160px; border-radius: var(--radius-lg);
  overflow: hidden; border: 2px solid var(--glass-border);
  box-shadow: var(--shadow); background: #fff;
}
.qr-cta-image__wrap img { width: 100%; height: 100%; object-fit: cover; }
.qr-cta-image__label { text-align: center; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--text); }

/* ====== Contact ====== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-info-card {
  padding: 36px; border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--glass-border);
  display: flex; flex-direction: column; gap: 24px;
  box-shadow: var(--shadow);
}
.contact-info-item { display: flex; align-items: center; gap: 16px; }
.contact-info-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.contact-info-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; letter-spacing: 0.04em; }
.contact-info-item strong { font-size: 16px; color: var(--text-strong); font-weight: 600; }
.contact-qr-card { padding: 36px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.contact-qr-card h3 { margin: 0; font-size: 20px; color: var(--text-strong); font-weight: 700; }
.contact-qr-card p { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.contact-qr-grid { display: flex; gap: 20px; margin-top: 24px; }
.contact-qr-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.contact-qr-item__img {
  width: 110px; height: 110px; border-radius: var(--radius-md);
  overflow: hidden; border: 2px solid var(--glass-border); background: #fff;
}
.contact-qr-item__img img { width: 100%; height: 100%; object-fit: cover; }
.contact-qr-item__label { font-size: 12px; font-weight: 600; color: var(--text); }

/* ====== FAQ ====== */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  background: var(--surface); margin-bottom: 12px; overflow: hidden; transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}
.faq-item.is-open { border-color: var(--accent-light); box-shadow: 0 4px 20px rgba(79,70,229,0.08); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--text-strong); transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-toggle {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent); flex-shrink: 0; transition: transform 0.3s;
}
.faq-item.is-open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.is-open .faq-answer { max-height: 300px; }
.faq-answer p { margin: 0; padding: 0 28px 24px; font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ====== SEO Content ====== */
.seo-content { max-width: 840px; margin: 0 auto; }
.seo-content h2 { text-align: center; font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--text-strong); margin: 0 0 28px; letter-spacing: -0.02em; }
.seo-content p { font-size: 15px; color: var(--muted); line-height: 1.9; margin: 0 0 18px; }
.seo-content p:last-child { margin-bottom: 0; }

/* ====== Footer ====== */
.site-footer { padding: 40px 0 36px; border-top: 1px solid var(--glass-border); background: var(--bg-soft); }
.footer-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--glass-border); }
.footer-brand img { width: 42px; height: 42px; border-radius: 12px; }
.footer-brand strong { font-size: 16px; color: var(--text-strong); display: block; margin-bottom: 2px; }
.footer-brand p { margin: 0; font-size: 12px; color: var(--muted); }
.footer-bottom { padding-top: 20px; }
.footer-bottom p { font-size: 12px; color: var(--muted); margin: 0; text-align: center; }

/* ====== Floating QR ====== */
.floating-qr-wrap { position: fixed; top: 50%; right: 24px; transform: translateY(-50%); z-index: 100; }
.floating-qr-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent);
  border: 0; cursor: pointer; box-shadow: 0 8px 28px var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; position: relative;
}
.floating-qr-btn:hover { transform: scale(1.1); box-shadow: 0 12px 36px var(--accent-glow); }
.floating-qr-btn svg { width: 24px; height: 24px; fill: #fff; }
.floating-qr-btn .qr-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(79,70,229,0.2); animation: qrPulse 2s ease-out infinite; }
.floating-qr-panel {
  position: absolute; right: 0; bottom: 68px;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1px var(--glass-border);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.95);
  transition: all 0.3s; min-width: 180px;
}
.floating-qr-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.floating-qr-panel .qr-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.floating-qr-panel img { width: 148px; height: 148px; border-radius: 12px; object-fit: cover; border: 1px solid var(--glass-border); }
.floating-qr-panel .qr-label { font-size: 12px; font-weight: 600; color: var(--text); }
.floating-qr-panel .qr-close {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px;
  border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 16px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s;
}
.floating-qr-panel .qr-close:hover { background: var(--bg-alt); color: var(--text); }

/* ====== Responsive ====== */
@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-cta-card { flex-direction: column; padding: 40px; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 820px) {
  .site-nav { display: none; }
  .hero { padding: 80px 0 48px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .features-grid, .process-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .qr-cta-card { padding: 28px; }
}
@media (max-width: 560px) {
  .container { width: min(100%, calc(100% - 24px)); }
  .section-shell { padding: 48px 0; }
  .hero h1 { font-size: 28px; }
  .hero__desc { font-size: 15px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tool-card { padding: 12px 14px; gap: 8px; }
  .tool-card__icon { width: 34px; height: 34px; font-size: 16px; }
  .tool-card__name { font-size: 13px; }
  .tool-card__arrow { display: none; }
  .qr-cta-images { flex-wrap: wrap; justify-content: center; }
  .qr-cta-image__wrap { width: 130px; height: 130px; }
  .contact-qr-grid { flex-wrap: wrap; }
  .floating-qr-wrap { right: 14px; }
  .floating-qr-btn { width: 48px; height: 48px; }
}
