/* ================= 基础重置 & 变量 ================= */
:root {
  --primary: #8A2BE2;
  --primary-gradient: linear-gradient(135deg, #7C3AED 0%, #D946EF 100%);
  --bg-light: #F8F9FA;
  --text-dark: #111827;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --radius: 12px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--text-dark); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

/* 全局标准容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* 首页宽屏容器 */
.container-wide { max-width: 1560px; margin: 0 auto; padding: 0 40px; }

/* ================= 头部导航 (修复对齐错位) ================= */
.header { 
    height: 80px; 
    background: linear-gradient(90deg, #635cff 0%, #c360f5 100%);
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 60px; 
    position: sticky; 
    top: 0; 
    z-index: 1000;
}

/* 左侧 Logo */
.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 26px; 
    font-weight: 800; 
    letter-spacing: 1px; 
    color: #fff;
}
.logo svg { width: 40px; height: 40px; }

/* 右侧导航菜单容器：强制垂直居中 */
.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 50px; 
    height: 100%;
}

/* 导航链接文字基础样式 */
.nav-links > a, 
.nav-item-dropdown > a { 
    color: rgba(255, 255, 255, 0.8); 
    font-size: 18px; 
    font-weight: 500; 
    transition: 0.3s; 
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%; /* 让整个高度都可以触发 hover */
}

.nav-links > a:hover, 
.nav-item-dropdown > a:hover { 
    color: #fff; 
    text-shadow: 0 0 10px rgba(255,255,255,0.5); 
}

/* 扫码下载下拉容器 */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 80px; /* 固定在导航栏高度 */
}

/* 登录按钮 (毛玻璃半透明) */
.btn-login { 
    display: none;
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(5px); 
    color: #fff; 
    padding: 10px 28px; 
    border-radius: 20px; 
    font-weight: bold; 
    font-size: 15px; 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    transition: 0.3s; 
}
.btn-login:hover { background: #fff; color: #635cff; }

/* ================= 导航栏扫码弹窗 (修复定位) ================= */
.dropdown-content {
    position: absolute;
    top: 80px; /* 刚好紧贴 Header 底部 */
    right: 50%;
    transform: translateX(50%);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
    padding: 20px;
    width: 200px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    pointer-events: none;
    /* 添加一个透明的上边框，防止鼠标移动到弹窗时产生空隙导致闪烁 */
    border-top: 2px solid transparent; 
    background-clip: padding-box;
}

/* 顶部小三角 */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px; /* 调整三角位置 */
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

/* hover 触发状态 */
.nav-item-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    top: 80px; /* 保持位置，取消之前向下滑动的动画以防错位 */
    pointer-events: auto;
}

/* 二维码占位框 */
.qr-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 13px;
}
.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* 弹窗文字 */
.qr-text-main {
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
    font-weight: 500;
}

.qr-text-sub {
    color: #9CA3AF;
    font-size: 12px;
    padding-top: 12px;
    border-top: 1px dashed #E5E7EB;
}

/* ================= 首页 Hero 区 ================= */
.hero { background: var(--primary-gradient); color: #fff; padding: 120px 0 180px; position: relative; overflow: hidden; clip-path: ellipse(150% 100% at 50% 0%); }
.hero-content { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.hero-text { flex: 1; max-width: 600px; }
.hero-text h1 { font-size: 64px; font-weight: 900; margin-bottom: 24px; line-height: 1.1; letter-spacing: -1px; }
.hero-badge { background: rgba(255,255,255,0.2); display: inline-flex; align-items: center; padding: 8px 20px; border-radius: 20px; font-size: 15px; margin-bottom: 40px; backdrop-filter: blur(5px); }
.hero-stats { display: flex; gap: 30px; margin-bottom: 40px; }
.stat-circle { border: 2px solid rgba(255,255,255,0.4); border-radius: 50%; width: 120px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); }
.stat-circle strong { font-size: 28px; line-height: 1.2; font-weight: 800; }
.stat-circle span { font-size: 13px; opacity: 0.9; }
.hero-btns { display: flex; gap: 20px; }
.btn-white { background: #fff; color: var(--primary); padding: 16px 40px; border-radius: 30px; font-weight: bold; font-size: 17px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 15px 25px rgba(0,0,0,0.15); }
.hero-img { flex: 1; display: flex; justify-content: flex-end; }
.device-mockup { width: 100%; max-width: 600px; height: 350px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; color: rgba(255,255,255,0.7); backdrop-filter: blur(10px); overflow: hidden; }
.device-mockup img { width: 100%; height: 100%; object-fit: contain; }

/* ================= 全球应用区 ================= */
.apps-section { padding: 100px 0 120px; text-align: center; position: relative; background: #fff; overflow: hidden; }
.apps-section h2 { font-size: 42px; margin-bottom: 80px; font-weight: 800; letter-spacing: -1px; color: #111; }
.apps-orbit-container { position: relative; width: 1000px; height: 700px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(138,43,226,0.08); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ring-1 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(138,43,226,0.02) 0%, transparent 70%); }
.ring-2 { width: 640px; height: 640px; }
.ring-3 { width: 960px; height: 960px; border: 1px dashed rgba(138,43,226,0.05); }
.orbit-center { position: relative; width: 160px; height: 160px; background: linear-gradient(135deg, #6C5CE7 0%, #D946EF 100%); border-radius: 36px; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 50px rgba(138,43,226,0.3), inset 0 2px 10px rgba(255,255,255,0.4); z-index: 10; border: 1px solid rgba(255,255,255,0.2); }
.orbit-center img { width: 100%; height: 100%; object-fit: contain; border-radius: 36px; }
.app-icon { position: absolute; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 15px 35px rgba(0,0,0,0.08); background: #fff; transition: 0.3s; z-index: 5; animation: float 6s ease-in-out infinite; }
.app-icon:hover { transform: scale(1.1) translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); z-index: 20; }
.icon-chatgpt { width: 80px; height: 80px; top: 10%; left: 60%; animation-delay: 0s; background: #74AA9C; padding: 15px; }
.icon-youtube { width: 70px; height: 50px; top: 25%; left: 18%; animation-delay: 0.5s; background: #FF0000; border-radius: 16px; }
.icon-instagram { width: 75px; height: 75px; top: 35%; right: 22%; animation-delay: 1s; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); padding: 15px; }
.icon-facebook { width: 70px; height: 70px; top: 45%; left: 28%; animation-delay: 1.5s; background: #1877F2; padding: 12px; }
.icon-netflix { width: 70px; height: 70px; bottom: 20%; left: 12%; animation-delay: 2s; background: #141414; color: #E50914; font-size: 32px; font-weight: 900; }
.icon-google { width: 65px; height: 65px; top: 25%; right: 15%; animation-delay: 2.5s; padding: 12px; }
.icon-behance { width: 80px; height: 80px; top: 50%; right: 5%; animation-delay: 3s; background: #000; color: #fff; font-size: 24px; font-weight: 900; }
.icon-hbo { width: 50px; height: 50px; top: 15%; left: 38%; animation-delay: 1.2s; background: #000; color: #fff; font-size: 10px; font-weight: bold; }
.icon-discord { width: 60px; height: 60px; bottom: 15%; right: 35%; animation-delay: 1.8s; background: #5865F2; padding: 12px; }
.icon-bard { width: 50px; height: 50px; bottom: 10%; right: 20%; animation-delay: 2.2s; padding: 10px; font-size: 12px; font-weight: bold; color: #4285F4; }
.icon-dribbble { width: 60px; height: 60px; bottom: 12%; left: 25%; animation-delay: 0.8s; background: #EA4C89; padding: 14px; }
.dot { position: absolute; border-radius: 50%; z-index: 1; }
.dot-1 { width: 12px; height: 12px; background: #FF9F43; top: 60%; left: 35%; }
.dot-2 { width: 8px; height: 8px; background: #0ABDE3; top: 30%; left: 15%; }
.dot-3 { width: 10px; height: 10px; background: #EE5253; top: 25%; right: 38%; }
.dot-4 { width: 14px; height: 14px; background: #1877F2; bottom: 30%; right: 28%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ================= 功能 Z 字型区 ================= */
.features-section { padding: 60px 0 120px; }
.feature-item { display: flex; align-items: center; gap: 100px; margin-bottom: 140px; }
.feature-item:nth-child(even) { flex-direction: row-reverse; }
.feature-text { flex: 1; max-width: 600px; }
.feature-tag { background: #F3E8FF; color: var(--primary); padding: 8px 20px; border-radius: 20px; font-size: 15px; font-weight: bold; display: inline-block; margin-bottom: 24px; }
.feature-text h2 { font-size: 46px; margin-bottom: 24px; font-weight: 800; color: var(--text-dark); letter-spacing: -1px; line-height: 1.2; }
.feature-text p { color: var(--text-muted); font-size: 18px; line-height: 1.8; }
.feature-img { flex: 1; max-width: 700px; height: 450px; background: var(--bg-light); border-radius: 32px; display: flex; align-items: center; justify-content: center; color: #9CA3AF; font-size: 22px; font-weight: bold; border: 1px dashed #E5E7EB; transition: 0.3s; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: contain; }
.feature-item:hover .feature-img { background: #F3E8FF; border-color: #D8B4FE; }

/* ================= 用户评价区 ================= */
.testimonials-section { padding: 120px 0; background: var(--bg-light); overflow: hidden; }
.testimonials-section h2 { font-size: 42px; text-align: center; margin-bottom: 60px; font-weight: 800; letter-spacing: -1px; }
.reviews-container { position: relative; }
.reviews-scroll { display: flex; gap: 24px; overflow-x: auto; padding: 20px 40px; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.reviews-scroll::-webkit-scrollbar { display: none; }
.review-card { min-width: 380px; max-width: 380px; background: #fff; border-radius: 20px; padding: 32px; border: 1px solid #E5E7EB; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; transition: 0.3s; }
.review-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.05); background: #fff; border-color: #D8B4FE; transform: translateY(-5px); }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.review-stars { color: #8A2BE2; font-size: 24px; letter-spacing: 2px; line-height: 1; }
.review-date { font-size: 14px; color: #9CA3AF; font-family: monospace; }
.review-content { flex: 1; margin-bottom: 28px; }
.review-content p { font-size: 15px; color: #4B5563; line-height: 1.8; }
.review-footer { display: flex; align-items: center; gap: 16px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #F3F4F6; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-user-info { display: flex; flex-direction: column; }
.review-name { font-size: 16px; font-weight: bold; color: #111827; margin-bottom: 4px; }
.review-from { font-size: 13px; color: #9CA3AF; }
.reviews-controls { display: flex; justify-content: center; gap: 20px; margin-top: 50px; }
.control-btn { width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid #D1D5DB; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; color: #6B7280; }
.control-btn:hover { border-color: #8A2BE2; color: #8A2BE2; background: #F3E8FF; transform: translateY(-2px); }
.control-btn:active { transform: scale(0.95); }
.control-btn svg { width: 24px; height: 24px; }

/* ================= 下载区 ================= */
.download-section { padding: 140px 0; text-align: center; }
.download-section h2 { font-size: 42px; margin-bottom: 80px; font-weight: 800; letter-spacing: -1px; }
.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.download-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 30px 20px; display: flex; flex-direction: column; align-items: center; transition: 0.3s; }
.download-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: #D8B4FE; }
.device-placeholder { width: 100%; height: 240px; background: #F8F9FA; border-radius: 16px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; color: #9CA3AF; font-size: 16px; overflow: hidden; }
.device-placeholder img { width: 100%; height: 100%; object-fit: contain; }

/* 统一渐变胶囊按钮 */
.btn-download { 
    width: 100%; 
    padding: 14px 0; 
    border-radius: 50px; 
    color: #fff; 
    font-weight: bold; 
    font-size: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    background: linear-gradient(90deg, #6C5CE7 0%, #D946EF 100%);
    transition: 0.3s;
}
.btn-download:hover {
    opacity: 0.9;
    box-shadow: 0 10px 20px rgba(138,43,226,0.2);
}

/* ================= 博客列表页 ================= */
.blog-header { padding: 80px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 50px; }
.blog-header h1 { font-size: 44px; font-weight: 800; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 100px; }
.blog-card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: 0.3s; background: #fff; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.05); transform: translateY(-5px); }
.blog-card-img { width: 100%; height: 220px; background: #F3E8FF; object-fit: cover; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-title { font-size: 20px; font-weight: bold; margin-bottom: 16px; line-height: 1.4; }
.blog-card-meta { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 14px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: auto; }

/* ================= 文章详情页 ================= */
.article-container { max-width: 860px; margin: 80px auto; padding: 0 20px; }
.article-title { font-size: 42px; font-weight: bold; margin-bottom: 20px; line-height: 1.3; color: #111827; }
.article-meta { color: var(--text-muted); font-size: 15px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-cover { width: 100%; border-radius: 16px; margin-bottom: 40px; }
.article-content { font-size: 17px; line-height: 1.9; color: #000; word-wrap: break-word; }
.article-content * { color: #000 !important; }
.article-content h2 { font-size: 28px; margin: 40px 0 20px; font-weight: bold; }
.article-content h3 { font-size: 24px; margin: 30px 0 16px; font-weight: bold; }
.article-content p { margin-bottom: 24px; }
.article-content img, .article-content video { max-width: 100%; border-radius: 12px; margin: 24px 0; height: auto; }
.article-content ul, .article-content ol { margin-bottom: 24px; padding-left: 24px; }
.article-content li { margin-bottom: 12px; }
.article-content blockquote { border-left: 4px solid var(--primary); background: #F3E8FF; padding: 16px 24px; margin: 24px 0; color: #000 !important; border-radius: 0 8px 8px 0; }
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 14px; }

/* ================= 政策/条款双栏页 ================= */
.terms-layout { display: flex; gap: 60px; max-width: 1200px; margin: 80px auto; padding: 0 24px; }
.terms-content { flex: 1; max-width: 800px; }
.terms-content h1 { font-size: 36px; margin-bottom: 30px; }
.terms-content h2 { font-size: 26px; margin: 40px 0 16px; }
.terms-content p { margin-bottom: 20px; color: #4B5563; line-height: 1.8; }
.terms-sidebar { width: 280px; position: sticky; top: 120px; height: fit-content; border-left: 1px solid var(--border); padding-left: 30px; }
.terms-sidebar ul { list-style: none; }
.terms-sidebar li { margin-bottom: 16px; color: var(--text-muted); font-size: 15px; cursor: pointer; }
.terms-sidebar li.active { color: var(--primary); font-weight: bold; }

/* ================= 页脚 ================= */
.footer { background: #fff; border-top: 1px solid var(--border); padding: 80px 0 40px; margin-top: 80px; }
.footer-inner { display: flex; justify-content: space-between; }
.footer-brand { width: 350px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 20px; }
.footer-links { display: flex; gap: 120px; }
.footer-col h4 { font-size: 16px; margin-bottom: 24px; font-weight: bold; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; color: var(--text-muted); font-size: 14px; cursor: pointer; }
.footer-col li a:hover { color: var(--primary); }

/* ================= 响应式 ================= */
@media (max-width: 1400px) {
  .container-wide { padding: 0 24px; }
}
@media (max-width: 1200px) {
  .hero h1 { font-size: 50px; }
  .apps-orbit-container { transform: scale(0.8); }
  .feature-item { gap: 60px; }
}
@media (max-width: 992px) {
  .header { padding: 0 24px; }
  .nav-links { gap: 24px; }
  .hero-content { flex-direction: column; text-align: center; gap: 40px; }
  .hero-stats, .hero-btns { justify-content: center; }
  .feature-item, .feature-item:nth-child(even) { flex-direction: column; gap: 40px; text-align: center; }
  .feature-img { width: 100%; max-width: 100%; height: 350px; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 60px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .terms-layout { flex-direction: column; }
  .terms-sidebar { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .apps-orbit-container { transform: scale(0.5); height: 400px; margin-top: -50px; margin-bottom: -50px; }
  .download-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 40px; }
  .review-card { min-width: 300px; max-width: 300px; padding: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 32px; }
}

/* ================= 导航栏扫码弹窗 ================= */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 80px; /* 匹配 header 高度，让 hover 区域无缝衔接 */
}

/* 弹窗主体 */
.dropdown-content {
    position: absolute;
    top: 90px; /* 距离顶部导航条的间距 */
    right: 50%;
    transform: translateX(50%);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
    padding: 20px;
    width: 200px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    pointer-events: none;
}

/* 顶部小三角 */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

/* hover 触发状态 */
.nav-item-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    top: 80px; /* 往下滑出的小动画 */
    pointer-events: auto;
}

/* 二维码占位框 */
.qr-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 13px;
}
.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* 弹窗文字 */
.qr-text-main {
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
    font-weight: 500;
}

.qr-text-sub {
    color: #9CA3AF;
    font-size: 12px;
    padding-top: 12px;
    border-top: 1px dashed #E5E7EB;
}