/* ==========================================
   德扑圈网站模板 - template-01-brand
   主色：深墨绿 #0a0e0a，金色强调色 #c8a45a / #d4af37
   ========================================== */

/* 基础重置与变量 */
:root {
    --primary-dark: #0a0e0a;
    --primary-green: #0d1a0d;
    --accent-gold: #c8a45a;
    --accent-gold-light: #d4af37;
    --accent-gold-dark: #a68b3c;
    --text-light: #e8e8e8;
    --text-gray: #a0a0a0;
    --text-dark: #1a1a1a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --border-color: rgba(200, 164, 90, 0.2);
    --shadow-gold: 0 4px 20px rgba(200, 164, 90, 0.15);
    --gradient-hero: linear-gradient(135deg, #0a0e0a 0%, #0d1a0d 50%, #0a0e0a 100%);
    --gradient-gold: linear-gradient(135deg, #c8a45a 0%, #d4af37 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   导航栏
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.nav-logo img {
    width: 40px;
    height: 40px;
}

.nav-logo-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
}

/* ==========================================
   Hero区
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 10, 0.7) 0%, rgba(13, 26, 13, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 60px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: rgba(200, 164, 90, 0.1);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ==========================================
   通用板块样式
   ========================================== */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(200, 164, 90, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   关于我们
   ========================================== */
.about {
    background: var(--primary-green);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 5px;
}

/* ==========================================
   功能特色卡片
   ========================================== */
.features {
    background: var(--primary-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(200, 164, 90, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==========================================
   下载CTA
   ========================================== */
.cta {
    background: var(--gradient-hero);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(200, 164, 90, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   下载页面
   ========================================== */
.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.download-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.download-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ==========================================
   FAQ页面
   ========================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(200, 164, 90, 0.4);
}

.faq-question {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 20px;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ==========================================
   联系页面
   ========================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(200, 164, 90, 0.05);
    border-radius: 12px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(200, 164, 90, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--accent-gold);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-details p {
    color: var(--text-gray);
}

.wechat-id {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: rgba(200, 164, 90, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--accent-gold);
    cursor: pointer;
    font-size: 0.85rem;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(200, 164, 90, 0.2);
}

.contact-qr {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.contact-qr h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: 600;
}

/* ==========================================
   文章页面
   ========================================== */
.article-header {
    padding: 120px 20px 60px;
    background: var(--gradient-hero);
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    color: var(--accent-gold);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.3;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-body p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-body h2 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.article-body h3 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.article-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    border-radius: 12px;
}

/* ==========================================
   页脚
   ========================================== */
.footer {
    background: var(--primary-green);
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.footer-wechat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-gold);
}

/* ==========================================
   悬浮客服按钮
   ========================================== */
.float-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.support-trigger {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(200, 164, 90, 0.4);
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.support-trigger:hover {
    transform: scale(1.1);
}

.support-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: rgba(13, 26, 13, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.support-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.support-panel.auto-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.support-header h4 {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.support-close {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
}

.support-wechat {
    text-align: center;
    padding: 20px;
    background: rgba(200, 164, 90, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
}

.support-wechat-id {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 3px;
    margin: 10px 0;
}

.support-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.support-note {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-align: center;
    margin-top: 15px;
}

/* ==========================================
   响应式设计
   ========================================== */

/* 1024px及以下 */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* 768px及以下 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 10, 0.98);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-platforms {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .support-panel {
        width: 280px;
        right: -10px;
    }
}

/* 480px及以下 */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-image img {
        height: 250px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .float-support {
        bottom: 20px;
        right: 20px;
    }

    .support-trigger {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .support-panel {
        width: 260px;
        right: -5px;
        padding: 20px;
    }

    .support-wechat-id {
        font-size: 1.4rem;
    }
}
