* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif; color: #e8e8ea; background: #0b1020; }
.bg { position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(900px circle at 10% -10%, rgba(115,179,255,0.22) 0%, transparent 45%), radial-gradient(700px circle at 90% 0%, rgba(30,136,229,0.18) 0%, transparent 45%), linear-gradient(180deg, #0b1020 0%, #0f1526 100%); }
a { color: #e8e8ea; text-decoration: none; }

.nav { position: fixed; top: 0; left: 0; transform: none; width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; padding-left: max(20px, calc((100vw - 1200px)/2 + 20px)); padding-right: max(20px, calc((100vw - 1200px)/2 + 20px)); border-radius: 0; z-index: 10000; transition: opacity 240ms linear, transform 240ms linear, background 240ms linear; will-change: opacity, transform; }
.glass { background: rgba(15,17,23,0.45); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 12px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08); }
.nav.scrolled { background: rgba(15,17,23,0.6); }
/* 常驻显示，移除 hide 规则以防误隐藏 */
.logo-slot { display: inline-flex; align-items: center; justify-content: center; width: 140px; height: 40px; border-radius: 12px; border: none; }
.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-links a { opacity: 0.9; }
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); align-items: center; justify-content: center; padding: 8px; }
.burger span { display: block; width: 18px; height: 2px; background: #e8e8ea; margin: 3px 0; border-radius: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease, opacity .12s ease; position: relative; overflow: hidden; }
.btn:active { transform: scale(0.98); }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(90deg, #73B3FF 0%, #1E88E5 100%); color: #0b0c10; box-shadow: 0 10px 24px rgba(115,179,255,0.35); }
.btn.login { background: #0094fc; color: #FFFFFF; box-shadow: 0 10px 24px rgba(0,148,252,0.28); border: 1px solid rgba(255,255,255,0.14); }
.btn.secondary { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: #e8e8ea; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,0.14); color: #e8e8ea; }

main { max-width: 1200px; margin: 0 auto; padding: 120px 20px 40px; }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 24px; min-height: clamp(560px, 70vh, 820px); }
.hero-content { }
.hero-title { font-size: clamp(32px, 6vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; background: linear-gradient(90deg, #e5e7eb 0%, #a5b4fc 50%, #67e8f9 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: #a1a8b3; font-size: clamp(16px, 2.2vw, 20px); margin-top: 12px; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; }
.hero-art { position: relative; height: 420px; border-radius: 24px; overflow: hidden; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.hero-art::after { content: none; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.orb { position: absolute; border-radius: 50%; filter: blur(18px); }
.orb { z-index: 0; }
.orb-1 { width: 160px; height: 160px; left: 18%; top: 18%; background: radial-gradient(circle, rgba(99,102,241,0.8) 0%, rgba(99,102,241,0.0) 70%); }
.orb-2 { width: 220px; height: 220px; right: 10%; top: 10%; background: radial-gradient(circle, rgba(34,211,238,0.8) 0%, rgba(34,211,238,0.0) 70%); }
.orb-3 { width: 120px; height: 120px; right: 25%; bottom: 16%; background: radial-gradient(circle, rgba(244,63,94,0.8) 0%, rgba(244,63,94,0.0) 70%); }
.banner { width: 100%; margin: 48px auto 0; padding-top: 56px; background-image: url('/首页/img/banner背景.png'); background-size: cover; background-position: center; border-radius: 16px; overflow: hidden; }
.banner-inner { padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.banner-img { width: 100%; height: auto; border-radius: 12px; display: block; }
.banner-stats { display: flex; gap: 24px; align-items: center; justify-content: center; }
.banner-stats .stat { display: inline-flex; align-items: baseline; gap: 6px; padding: 0; border-radius: 0; background: transparent; border: none; }
.banner-stats .label { font-weight: 600; font-size: 16px; opacity: 0.85; }
.banner-stats .value { font-weight: 800; font-size: 36px; line-height: 1; }
.banner-extra { width: calc(100% + 32px); height: auto; border-radius: 12px; display: block; margin-left: -16px; margin-right: -16px; }
.circle { width: 100%; margin: 16px auto 0; }
.circle-inner { padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.circle-img { width: 100%; height: auto; border-radius: 12px; display: block; }

.features { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.feature-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.9); border: 1px solid rgba(47,62,86,0.12); box-shadow: 0 18px 40px rgba(47,62,86,0.12); transform: translateY(18px); opacity: 0; transition: transform .6s ease, opacity .6s ease; }
.feature-card.visible { transform: none; opacity: 1; }
.feature-card:hover { transform: translateY(-2px); }
.feature-card .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #1E88E5; background: rgba(115,179,255,0.18); border: 1px solid rgba(115,179,255,0.35); }
.feature-card .icon img { width: 24px; height: 24px; display: block; }
.feature-card h3 { margin: 0; font-size: 16px; font-weight: 700; }
.feature-card p { margin: 0; color: #a1a8b3; font-size: 14px; }

.cta { display: grid; place-items: center; padding: 40px 0 60px; }
.cta-card { width: clamp(320px, 92%, 960px); padding: 24px; border-radius: 20px; text-align: center; background: rgba(255,255,255,0.95); border: 1px solid rgba(47,62,86,0.12); box-shadow: 0 20px 50px rgba(47,62,86,0.12); transform: translateY(18px); opacity: 0; transition: transform .6s ease, opacity .6s ease; }
.cta-card.visible { transform: none; opacity: 1; }
.cta-card h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.cta-card p { color: #a1a8b3; margin: 8px 0 16px; }
.cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.cta-actions .btn { height: 52px; padding: 0 24px; border-radius: 14px; font-size: 16px; font-weight: 700; width: 100%; }
.btn.cta-main { background: #0094fc; color: #FFFFFF; box-shadow: 0 10px 24px rgba(0,148,252,0.28); border: 1px solid rgba(255,255,255,0.14); }
.btn.cta-blue { background: #0bb7f7; color: #FFFFFF; box-shadow: 0 10px 24px rgba(11,183,247,0.26); border: 1px solid rgba(255,255,255,0.14); }
.btn.cta-green { background: #00fbb1; color: #0A1F33; box-shadow: 0 10px 24px rgba(0,251,177,0.24); border: 1px solid rgba(255,255,255,0.14); }
.btn.cta-yellow { background: #ddc871; color: #0A1F33; box-shadow: 0 10px 24px rgba(221,200,113,0.22); border: 1px solid rgba(255,255,255,0.14); }
.cta-actions .btn:hover { transform: translateY(-1px); }
@media (max-width: 640px) { .cta-actions { grid-template-columns: 1fr; } }
.cta-warning { margin-top: 16px; display: flex; justify-content: center; }
.btn.danger { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 14px; font-size: 16px; font-weight: 700; width: clamp(320px, 80%, 720px); background: #ff3b3b; color: #fff; box-shadow: 0 10px 24px rgba(255,59,59,0.28); border: 1px solid rgba(255,255,255,0.14); }
.btn.danger:hover { transform: translateY(-1px); }

.modal { position: fixed; inset: 0; z-index: 10002; display: none; }
.modal.open { display: flex; align-items: center; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,17,23,0.65); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
.modal-box { position: relative; z-index: 1; width: clamp(320px, 92%, 840px); border-radius: 16px; overflow: hidden; background: #fff; color: #0A1F33; border: 1px solid rgba(47,62,86,0.16); box-shadow: 0 20px 50px rgba(47,62,86,0.24); display: grid; }
.modal-img { width: 100%; height: auto; display: block; }
.modal-close { position: absolute; left: 12px; top: 12px; width: 36px; height: 36px; border-radius: 10px; background: rgba(115,179,255,0.18); border: 1px solid rgba(115,179,255,0.35); color: #0A1F33; cursor: pointer; }
.modal-close[disabled] { pointer-events: none; opacity: 0.5; }
.modal-countdown { position: absolute; right: 12px; top: 12px; height: 36px; min-width: 48px; border-radius: 10px; background: rgba(115,179,255,0.18); border: 1px solid rgba(115,179,255,0.35); display: grid; place-items: center; font-weight: 700; color: #0A1F33; }
.confirm-box { position: relative; z-index: 1; width: clamp(280px, 88%, 520px); border-radius: 16px; padding: 20px; background: #fff; color: #0A1F33; border: 1px solid rgba(47,62,86,0.16); box-shadow: 0 20px 50px rgba(47,62,86,0.24); }
.confirm-text { font-size: 16px; }
.confirm-actions { margin-top: 12px; display: flex; justify-content: flex-end; }
body.modal-open { overflow: hidden; }
.modal#geoModal .confirm-text { text-align: center; }
.modal#geoModal .confirm-actions { justify-content: center; }
.verify-banner { position: sticky; top: 0; z-index: 10000; background: #FFF8E1; color: #8E6B00; border-bottom: 1px solid #F3D37A; padding: 10px 16px; display: none; }

.footer { position: relative; overflow: hidden; padding: 20px; color: #0A1F33; background: rgba(115,179,255,0.18); border-top: 1px solid rgba(115,179,255,0.28); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.footer-logo-img { width: 140px; height: 40px; border-radius: 12px; object-fit: contain; display: block; }
.footer-meta { display: flex; align-items: center; gap: 12px; }
.footer-copy { opacity: 0.85; }
.footer-icp a { color: inherit; opacity: 0.85; text-decoration: none; border-bottom: 1px dashed rgba(115,179,255,0.40); }
.footer-icp a:hover { opacity: 1; border-bottom-color: rgba(115,179,255,0.65); }
.footer-effect { position: absolute; left: -30%; top: -50%; width: 160%; height: 300%; background: radial-gradient(240px 240px at 0% 50%, rgba(115,179,255,0.35) 0%, rgba(115,179,255,0.0) 60%); filter: blur(14px); opacity: 0.55; animation: footerGlow 8s linear infinite; pointer-events: none; }
@keyframes footerGlow { 0% { transform: translateX(0%); } 50% { transform: translateX(22%); } 100% { transform: translateX(0%); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { height: 300px; }
  .features { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  .banner { width: 100%; }
}

@media (max-width: 840px) {
  .nav { grid-template-columns: auto auto auto; }
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 64px; left: 50%; transform: translateX(-50%); width: calc(100% - 24px); padding: 12px; border-radius: 16px; flex-direction: column; gap: 8px; background: rgba(15,17,23,0.6); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
}

body.light { color: #0A1F33; background: #EAF4FF; }
body.light .bg { background: radial-gradient(900px circle at 10% -10%, rgba(115,179,255,0.18) 0%, transparent 45%), radial-gradient(700px circle at 90% 0%, rgba(30,136,229,0.12) 0%, transparent 45%), linear-gradient(180deg, #F7FBFF 0%, #EAF4FF 100%); }
body.light .glass { background: rgba(255,255,255,0.65); border: 1px solid rgba(115,179,255,0.22); box-shadow: 0 12px 40px rgba(30,136,229,0.12), inset 0 1px 0 rgba(255,255,255,0.7); }
body.light .btn.secondary { background: rgba(115,179,255,0.10); border: 1px solid rgba(115,179,255,0.28); color: #0A1F33; }
body.light .btn.primary { background: linear-gradient(90deg, #73B3FF 0%, #1E88E5 100%); color: #FFFFFF; box-shadow: 0 10px 24px rgba(115,179,255,0.35); }
body.light .btn.ghost { border: 1px solid rgba(115,179,255,0.28); color: #0A1F33; }
body.light .feature-card { background: rgba(255,255,255,0.92); border: 1px solid rgba(115,179,255,0.25); box-shadow: 0 18px 40px rgba(30,136,229,0.10); }
body.light .feature-card .icon { color: #1E88E5; background: rgba(115,179,255,0.18); border: 1px solid rgba(115,179,255,0.35); }
body.light .hero-title { background: linear-gradient(90deg, #0A1F33 0%, #73B3FF 60%, #1E88E5 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.light .nav.scrolled { background: rgba(255,255,255,0.65); }
body.light .nav-links a { color: #0A1F33; opacity: 0.9; }
body.light .nav-links a:hover { color: #1E88E5; opacity: 1; }
body.light .burger { background: rgba(115,179,255,0.10); border-color: rgba(115,179,255,0.28); }
body.light .burger span { background: #0A1F33; }
.nav::after { content: none; }

.ripple { position: absolute; border-radius: 999px; transform: translate(-50%, -50%); opacity: 0.35; pointer-events: none; background: radial-gradient(circle, rgba(115,179,255,0.25) 0%, rgba(115,179,255,0.15) 40%, rgba(115,179,255,0) 70%); animation: ripple .6s ease-out forwards; }
body.dark .bg { background: radial-gradient(900px circle at 10% -10%, rgba(40,120,255,0.20) 0%, transparent 45%), radial-gradient(700px circle at 90% 0%, rgba(0,180,255,0.16) 0%, transparent 45%), linear-gradient(180deg, #0b1020 0%, #0f1526 100%); }
body.dark .glass { background: rgba(18,22,30,0.55); border: 1px solid rgba(115,179,255,0.18); box-shadow: 0 12px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08); }
body.dark .btn.secondary { background: rgba(255,255,255,0.06); border: 1px solid rgba(115,179,255,0.18); color: #E6EFFF; }
body.dark .btn.primary { background: linear-gradient(90deg, #4F85FF 0%, #1E5CFF 100%); color: #FFFFFF; box-shadow: 0 10px 24px rgba(40,120,255,0.35); }
body.dark .btn.ghost { border: 1px solid rgba(115,179,255,0.18); color: #E6EFFF; }
body.dark .feature-card { background: rgba(16,20,28,0.92); border: 1px solid rgba(115,179,255,0.18); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
body.dark .feature-card .icon { color: #73B3FF; background: rgba(30,136,229,0.18); border: 1px solid rgba(115,179,255,0.28); }
body.dark .cta-card { background: rgba(16,20,28,0.95); border: 1px solid rgba(115,179,255,0.18); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
body.dark .hero-title { background: linear-gradient(90deg, #E6EFFF 0%, #73B3FF 60%, #1E88E5 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.dark .nav.scrolled { background: rgba(18,22,30,0.55); }
body.dark .nav-links a { color: #E6EFFF; opacity: 0.92; }
body.dark .nav-links a:hover { color: #73B3FF; opacity: 1; }
body.dark .footer { color: #E6EFFF; background: rgba(30,136,229,0.12); border-top: 1px solid rgba(115,179,255,0.18); }
body.dark .footer-icp a { border-bottom-color: rgba(115,179,255,0.28); }
@keyframes ripple {
  0% { width: 0; height: 0; opacity: 0.35; }
  100% { width: 240px; height: 240px; opacity: 0; }
}
.theme-smooth, .theme-smooth * { transition: background 320ms linear, background-color 320ms linear, color 320ms linear, border-color 320ms linear, box-shadow 320ms linear, filter 320ms linear, opacity 320ms linear; }
.socials { display: flex; align-items: center; gap: 10px; margin-right: 4px; }
.social { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: transparent; border: none; transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease; }
.social:hover { transform: translateY(-1px); }
.social img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.nav-links img { width: 32px; height: 32px; border-radius: 10px; display: block; }
.logo-img { width: 140px; height: 40px; object-fit: contain; border-radius: 12px; }

body.light .social { background: transparent; }
body.dark .social { background: transparent; }

body.light { --wave-color: #FFFFFF; }
body.dark { --wave-color: #0b1020; }

.theme-veil { position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: var(--veil-bg, radial-gradient(70% 70% at 50% 50%, rgba(234,244,255,0.55) 0%, rgba(234,244,255,0.28) 38%, rgba(234,244,255,0.0) 70%)); clip-path: ellipse(0% 0% at 50% 50%); filter: blur(14px); opacity: 0; }
.theme-veil.expand { animation: veilExpand 560ms linear forwards; }
.theme-veil.shrink { clip-path: ellipse(130% 130% at 50% 50%); opacity: 0.45; animation: veilShrink 560ms linear forwards; }
@keyframes veilExpand { from { clip-path: ellipse(0% 0% at 50% 50%); opacity: 0; } to { clip-path: ellipse(130% 130% at 50% 50%); opacity: 0.45; } }
@keyframes veilShrink { from { clip-path: ellipse(130% 130% at 50% 50%); opacity: 0.45; } to { clip-path: ellipse(0% 0% at 50% 50%); opacity: 0; } }
.qr-pop { position: fixed; width: 160px; padding: 8px; border-radius: 12px; background: rgba(15,17,23,0.65); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 12px 40px rgba(0,0,0,0.35); z-index: 10001; display: none; }
.qr-pop img { width: 100%; height: auto; display: block; border-radius: 8px; }
body.light .qr-pop { background: rgba(255,255,255,0.85); border-color: rgba(115,179,255,0.28); }
