/* ==========================================================================
   1. 全局变量与基础重置
   ========================================================================== */
:root {
    --bg-dark: #0F0F0F;
    --bg-card: #161616;
    --text-main: #E0E0E0;
    --text-muted: #888888;
    --gold-primary: #D4AF37;
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --gold-glow: 0 0 15px rgba(212, 175, 55, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* ==========================================================================
   2. 头部 (Header)
   ========================================================================== */
header {
    position: fixed; top: 0; width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px); z-index: 1000;
    border-bottom: 1px solid #2a2a2a;
}
.nav-box { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 26px; font-weight: 800; font-family: serif; letter-spacing: 1px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--text-main); }
.nav-links a:hover { color: var(--gold-primary); }
.nav-btn {
    background: var(--gold-gradient); color: #000; padding: 8px 24px;
    border-radius: 30px; font-weight: bold; font-size: 14px;
    box-shadow: 0 4px 10px rgba(180, 140, 40, 0.2);
}
@media (max-width: 768px) { .nav-links { display: none; } }

/* ==========================================================================
   3. 首屏 (Hero)
   ========================================================================== */
.hero {
    padding-top: 160px; padding-bottom: 100px;
    text-align: center; position: relative;
    /* 注意图片路径 */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)), 
                url('../images/banner.png') no-repeat center center;
    background-size: cover;
}
.hero h1 { font-size: clamp(2rem, 6vw, 3.8rem); margin-bottom: 20px; font-weight: 800; line-height: 1.2; text-shadow: 0 4px 10px rgba(0,0,0,0.8); }
.hero p { color: #ccc; font-size: 1.1rem; max-width: 640px; margin: 0 auto 50px; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.version-info { font-size: 12px; margin-top: 20px; color: #888; }

.cta-group { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.btn-download {
    width: 220px; height: 60px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-weight: bold; font-size: 17px;
    transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;
}
.btn-ios { background: var(--gold-gradient); color: #111; box-shadow: var(--gold-glow); }
.btn-android { background: rgba(0,0,0,0.6); border: 2px solid var(--gold-primary); color: var(--gold-primary); }
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25); }

/* ==========================================================================
   4. 通用内容
   ========================================================================== */
section { padding: 70px 0; border-bottom: 1px solid #1a1a1a; }
.section-title { font-size: 2.2rem; margin-bottom: 15px; text-align: center; color: #fff; font-weight: bold; }
.title-line { width: 60px; height: 4px; background: var(--gold-primary); margin: 0 auto 50px; border-radius: 2px; }

.content-box { background: var(--bg-card); padding: 50px; border-radius: 16px; border: 1px solid #252525; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.content-box p { margin-bottom: 25px; text-indent: 2em; text-align: justify; color: #ccc; }
.content-box strong { color: var(--gold-primary); font-weight: 600; }

/* ==========================================================================
   5. 视觉模块
   ========================================================================== */
.visual-section { background: #111; }
.concept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.concept-card { background: transparent; border-radius: 12px; overflow: hidden; transition: transform 0.3s ease; }
.concept-card:hover { transform: translateY(-10px); }
.img-wrapper { width: 100%; height: 240px; overflow: hidden; border-radius: 12px; position: relative; background: #1a1a1a; border: 1px solid #333; display: flex; align-items: center; justify-content: center; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; opacity: 0.9; }
.concept-card:hover .img-wrapper img { transform: scale(1.1); opacity: 1; }
.card-text { padding: 25px 10px; text-align: center; }
.card-text h3 { color: #eee; font-size: 1.3rem; margin-bottom: 10px; }
.card-text p { color: #777; font-size: 0.95rem; }

/* ==========================================================================
   6. 策略列表
   ========================================================================== */
.strategy-list { display: flex; flex-direction: column; gap: 15px; max-width: 900px; margin: 0 auto; }
.strategy-item { display: flex; justify-content: space-between; align-items: center; background: #1f1f1f; padding: 18px 25px; border-radius: 8px; border: 1px solid #333; transition: all 0.3s; text-decoration: none; cursor: pointer; }
.strategy-item:hover { border-color: var(--gold-primary); transform: translateX(5px); background: #252525; }
.s-title { color: #e0e0e0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80%; }
.s-date { color: var(--text-muted); font-size: 12px; }
@media (max-width: 768px) { .strategy-item { padding: 15px; } .s-title { font-size: 13px; max-width: 70%; } }

/* ==========================================================================
   7. 教程与FAQ
   ========================================================================== */
.tutorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; }
.step-list { counter-reset: step; margin-top: 20px; }
.step-item { position: relative; padding-left: 50px; margin-bottom: 25px; }
.step-item::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; background: var(--gold-primary); color: #000; border-radius: 50%; text-align: center; line-height: 32px; font-weight: bold; font-size: 14px; }
.step-head { color: #fff; font-weight: bold; margin-bottom: 5px; font-size: 1.05rem; }
.step-body { color: #888; font-size: 0.95rem; }

.faq-box { background: transparent; border: none; box-shadow: none; padding: 0; }
.faq-item { margin-bottom: 30px; border-left: 3px solid #333; padding-left: 20px; transition: 0.3s; }
.faq-item:hover { border-left-color: var(--gold-primary); }
.faq-q { font-weight: bold; color: var(--gold-primary); margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p { text-indent: 0; margin-bottom: 0; font-size: 0.95rem; line-height: 1.6; }

/* ==========================================================================
   8. 联系我们 (Contact - NEW)
   ========================================================================== */
#contact { background: #0a0a0a; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }
.contact-card { background: linear-gradient(145deg, #161616, #111); border: 1px solid #2a2a2a; border-radius: 12px; padding: 30px 20px; display: flex; align-items: center; transition: all 0.3s ease; cursor: pointer; }
.contact-card:hover { border-color: var(--gold-primary); transform: translateY(-5px); box-shadow: 0 5px 20px rgba(212, 175, 55, 0.1); }
.c-icon { font-size: 40px; margin-right: 20px; width: 60px; height: 60px; background: #1f1f1f; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.c-info { flex: 1; }
.c-info h4 { color: #fff; font-size: 16px; margin-bottom: 5px; font-weight: normal; opacity: 0.8; }
.c-detail { font-size: 20px; font-weight: bold; letter-spacing: 1px; font-family: Consolas, Monaco, monospace; color: var(--gold-primary); }
.c-tip { display: block; font-size: 12px; color: #555; margin-top: 5px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 20px; } .contact-card { padding: 20px; } .c-detail { font-size: 18px; word-break: break-all; } }

/* ==========================================================================
   9. 底部与弹窗
   ========================================================================== */
footer { padding: 60px 0 100px; background: #0a0a0a; text-align: center; font-size: 0.9rem; color: #666; border-top: 1px solid #222; }

.sticky-footer { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(20, 20, 20, 0.98); padding: 12px 20px; border-top: 1px solid #333; z-index: 999; justify-content: space-between; align-items: center; backdrop-filter: blur(5px); }
.footer-brand { color: #fff; font-weight: bold; display: flex; align-items: center; }
.brand-name { font-family: serif; margin-right: 10px; color: var(--gold-primary); }
.brand-badge { font-size: 12px; color: #888; }
.sticky-btn { background: var(--gold-gradient); color: #000; padding: 6px 18px; border-radius: 20px; font-size: 14px; font-weight: bold; }
@media (max-width: 768px) { .sticky-footer { display: flex; } .hero h1 { font-size: 2rem; } .content-box { padding: 25px; } .nav-btn { display: none; } }

.modal-overlay { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-box { background: linear-gradient(145deg, #1a1a1a, #0f0f0f); border: 1px solid var(--gold-primary); width: 90%; max-width: 400px; padding: 30px 20px; border-radius: 12px; text-align: center; position: relative; box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); animation: popupFadeIn 0.3s ease-out; }
@keyframes popupFadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.modal-close { position: absolute; top: 10px; right: 15px; color: #888; font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.modal-close:hover { color: var(--gold-primary); }
.modal-icon { font-size: 40px; margin-bottom: 15px; }
.modal-title { color: var(--gold-primary); font-size: 20px; margin-bottom: 15px; }
.modal-text { color: #ccc; font-size: 16px; line-height: 1.6; margin-bottom: 25px; }
.modal-confirm-btn { display: inline-block; background: var(--gold-gradient); color: #000; padding: 10px 40px; border-radius: 25px; font-weight: bold; font-size: 16px; cursor: pointer; transition: 0.3s; width: 80%; }
.modal-confirm-btn:hover { box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); transform: translateY(-2px); }