/* ============================================================
   U7 游戏加速器 - 产品介绍页样式
   暗色游戏风主题
   ============================================================ */

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

:root {
    --bg:          #0b0b14;
    --bg-alt:      #10101c;
    --surface:     #161624;
    --border:      #262638;
    --text:        #e0e0ea;
    --subtext:     #8a8aa0;
    --accent:      #7c8cf8;
    --accent-dark: #5a6cf0;
    --green:       #4ade80;
    --red:         #f87171;
    --yellow:      #fbbf24;
    --gradient:    linear-gradient(135deg, #7c8cf8 0%, #a855f7 50%, #ec4899 100%);
}

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== 按钮 ========== */
.btn {
    display: inline-block; padding: 10px 24px;
    border-radius: 8px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
    border: none; font-family: inherit;
}
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 4px 16px #7c8cf840;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 24px #7c8cf860; }
.btn-outline {
    background: transparent; color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ========== 导航栏 ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #0b0b14cc; backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}
.navbar.scrolled { background: #0b0b14ee; box-shadow: 0 2px 20px #00000080; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; }
.logo-icon { font-size: 24px; }
.logo-accent { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--subtext); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 8px 20px; font-size: 13px; }
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ========== Hero 首屏 ========== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35;
    animation: float 8s ease-in-out infinite;
}
.glow-1 { width: 500px; height: 500px; background: #7c8cf8; top: -100px; left: -100px; }
.glow-2 { width: 400px; height: 400px; background: #a855f7; bottom: -50px; right: -50px; animation-delay: 2s; }
.glow-3 { width: 300px; height: 300px; background: #ec4899; top: 40%; left: 60%; animation-delay: 4s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block; padding: 8px 20px; margin-bottom: 28px;
    background: #7c8cf815; border: 1px solid #7c8cf840;
    border-radius: 100px; font-size: 13px; color: var(--accent);
}
.hero-title {
    font-size: clamp(36px, 6vw, 60px); font-weight: 900; line-height: 1.2;
    margin-bottom: 20px; letter-spacing: 1px;
}
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px); color: var(--subtext);
    margin-bottom: 40px; line-height: 1.8;
}
.hero-subtitle strong { color: var(--green); }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; }

.hero-stats { display: flex; justify-content: center; align-items: center; gap: 40px; }
.stat-item { text-align: center; }
.stat-num {
    font-size: 36px; font-weight: 900; color: var(--text);
    font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 13px; color: var(--subtext); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.scroll-hint {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    color: var(--subtext); font-size: 13px;
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ========== 通用 Section ========== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 12px; }
.section-subtitle { color: var(--subtext); font-size: 16px; }

/* ========== 核心优势 ========== */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 32px 28px;
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: #7c8cf860;
    box-shadow: 0 12px 40px #00000060;
}
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--subtext); line-height: 1.7; }

/* ========== 使用步骤 ========== */
.steps-grid {
    display: flex; align-items: center; justify-content: center;
    gap: 24px;
}
.step-card {
    flex: 1; max-width: 300px; text-align: center;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 36px 28px;
    position: relative; transition: all 0.3s;
}
.step-card:hover { transform: translateY(-6px); border-color: #7c8cf860; }
.step-num {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--gradient); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 15px;
}
.step-icon { font-size: 44px; margin: 8px 0 16px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--subtext); }
.step-arrow { font-size: 28px; color: var(--accent); font-weight: 900; }

/* ========== 玩家评论 ========== */
.reviews-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.review-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px 24px;
    display: flex; flex-direction: column; gap: 14px;
    transition: all 0.3s;
}
.review-card:hover {
    transform: translateY(-6px);
    border-color: #7c8cf860;
    box-shadow: 0 12px 40px #00000060;
}
.review-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; color: #fff;
    flex-shrink: 0;
}
.review-info { display: flex; align-items: center; justify-content: space-between; }
.review-name { font-size: 14px; font-weight: 700; }
.review-stars { font-size: 14px; color: var(--yellow); letter-spacing: 2px; }
.review-text {
    font-size: 14px; color: var(--subtext);
    line-height: 1.8; flex: 1;
}
.review-date { font-size: 12px; color: #555568; }

/* ========== 套餐价格 ========== */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 1000px; margin: 0 auto;
}
.price-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 36px 32px;
    text-align: center; position: relative;
    transition: all 0.3s;
}
.price-card:hover { transform: translateY(-6px); }
.price-popular {
    border-color: var(--accent);
    box-shadow: 0 0 40px #7c8cf830;
    transform: scale(1.05);
}
.price-popular:hover { transform: scale(1.05) translateY(-6px); }
.price-popular-tag {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gradient); color: #fff;
    padding: 4px 20px; border-radius: 100px;
    font-size: 12px; font-weight: 700;
}
.price-badge { font-size: 14px; color: var(--subtext); margin-bottom: 12px; }
.price-amount {
    font-size: 44px; font-weight: 900; margin-bottom: 4px;
}
.price-cny { font-size: 16px; color: var(--subtext); font-weight: 400; }
.price-period { font-size: 13px; color: var(--subtext); margin-bottom: 24px; }
.price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.price-features li { padding: 8px 0; font-size: 14px; color: var(--text); }
.pricing-note {
    text-align: center; color: var(--subtext); font-size: 13px; margin-top: 32px;
}

/* ========== FAQ ========== */
.faq-container { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
}
.faq-question {
    width: 100%; padding: 18px 24px;
    background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 15px; font-weight: 600; color: var(--text);
    font-family: inherit; text-align: left;
}
.faq-icon { font-size: 20px; color: var(--subtext); transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.faq-answer p { padding: 0 24px 18px; font-size: 14px; color: var(--subtext); line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 200px; }

/* ========== CTA ========== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #131330 100%);
    text-align: center;
}
.cta-inner h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; margin-bottom: 12px; }
.cta-inner p { color: var(--subtext); margin-bottom: 32px; font-size: 15px; }

/* ========== 页脚 ========== */
.footer { background: #08080f; border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand .logo-text { font-size: 18px; }
.footer-brand p { color: var(--subtext); font-size: 13px; margin-top: 8px; }
.footer-links { display: flex; gap: 60px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; color: var(--text); }
.footer-col a { display: block; font-size: 13px; color: var(--subtext); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    margin-top: 40px; padding: 20px 0;
    border-top: 1px solid var(--border); text-align: center;
}
.footer-bottom p { font-size: 12px; color: #555568; }

/* ========== 入场动画 ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .price-popular { transform: none; }
    .price-popular:hover { transform: translateY(-6px); }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; gap: 0;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--bg); border-bottom: 1px solid var(--border);
        padding: 16px 24px;
    }
    .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .hero-stats { gap: 20px; }
    .stat-num { font-size: 26px; }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .section { padding: 70px 0; }
}
