/**
 * ============================================================
 * style.css - 自定义样式表
 * 页面集 0055: 德扑圈下载丨德扑圈App丨安卓IOS苹果安装
 * 主题色: Slate/Gray Modern (岩灰现代)
 * ============================================================
 */

/* ==================== CSS 变量 ==================== */
:root {
    --brand-50:  #f8fafc;
    --brand-100: #f1f5f9;
    --brand-200: #e2e8f0;
    --brand-300: #cbd5e1;
    --brand-400: #94a3b8;
    --brand-500: #64748b;
    --brand-600: #475569;
    --brand-700: #334155;
    --brand-800: #1e293b;
    --brand-900: #0f172a;

    --gradient-primary: linear-gradient(135deg, #475569 0%, #64748b 50%, #94a3b8 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    --gradient-card: linear-gradient(135deg, rgba(71, 85, 105, 0.05) 0%, rgba(100, 116, 139, 0.1) 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-brand: 0 8px 30px rgba(71, 85, 105, 0.3);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    --transition-fast: 180ms;
    --transition-normal: 280ms;
    --transition-slow: 450ms;
}

/* ==================== 基础 ==================== */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ==================== 导航栏 ==================== */
#navbar {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#navbar.scrolled {
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 70%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(148, 163, 184, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, #f3f4f6 0%, transparent 100%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: linear-gradient(to right, #cbd5e1, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    max-width: 540px;
}

/* ==================== 按钮 ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    background: #fff;
    color: var(--brand-800);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: #f1f5f9;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* ==================== 卡片 ==================== */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all var(--transition-normal);
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-300);
}

.card-feature {
    text-align: left;
}

.card-feature .icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--gradient-card);
    margin-bottom: 18px;
    font-size: 1.5rem;
    color: var(--brand-600);
    transition: all var(--transition-normal);
}

.card-feature:hover .icon-wrap {
    background: var(--brand-800);
    color: #fff;
    transform: scale(1.08);
}

.card-feature h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.card-feature p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
}

/* ==================== 统计区块 ==================== */
.stats-section {
    background: var(--brand-800);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(148, 163, 184, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(203, 213, 225, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--brand-300);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==================== FAQ 手风琴 ==================== */
.faq-item {
    background: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all var(--transition-normal);
}

.faq-item.active {
    border-color: var(--brand-400);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--brand-700);
}

.faq-question .faq-icon {
    font-size: 0.75rem;
    color: var(--brand-500);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow) ease, padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 22px 18px;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.75;
}

/* ==================== 评价卡片 ==================== */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 26px;
    border: 1px solid #e2e8f0;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-300);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.8125rem;
}

.testimonial-text {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.75;
    margin: 14px 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
}

/* ==================== CTA 区块 ==================== */
.cta-section {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -25%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* ==================== 俱乐部页面 - 会员等级卡片 ==================== */
.tier-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.tier-card.featured {
    border-color: var(--brand-500);
    box-shadow: var(--shadow-brand);
    transform: scale(1.04);
    background: var(--brand-800);
    color: #fff;
}

.tier-card.featured .tier-name,
.tier-card.featured .tier-price,
.tier-card.featured .tier-features li {
    color: #fff;
}

.tier-card.featured .tier-features li i {
    color: var(--brand-300);
}

.tier-card.featured::before {
    content: '热门';
    position: absolute;
    top: 14px;
    right: -28px;
    background: var(--brand-400);
    color: var(--brand-900);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 32px;
    transform: rotate(45deg);
}

.tier-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.tier-card.featured:hover {
    transform: scale(1.04) translateY(-6px);
}

.tier-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-700);
    margin: 14px 0;
}

.tier-price span {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 400;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    text-align: left;
}

.tier-features li {
    padding: 7px 0;
    font-size: 0.875rem;
    color: #475569;
}

.tier-features li i {
    color: var(--brand-600);
    margin-right: 8px;
}

/* ==================== 俱乐部卡片 ==================== */
.club-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all var(--transition-normal);
}

.club-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.club-card-image {
    height: 180px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.45);
}

.club-card-body {
    padding: 22px;
}

.club-card-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.club-card-body .location {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.club-card-body .desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* ==================== 步骤列表 ==================== */
.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow-brand);
}

.step-content h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.step-content p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
}

/* ==================== 下载页平台切换 ==================== */
.platform-tabs {
    display: flex;
    gap: 6px;
    background: #e2e8f0;
    padding: 5px;
    border-radius: 50px;
    width: fit-content;
}

.platform-tab {
    padding: 10px 22px;
    border-radius: 50px;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 6px;
}

.platform-tab.active {
    background: #fff;
    color: var(--brand-800);
    box-shadow: var(--shadow-sm);
}

.platform-panel {
    display: none;
}

.platform-panel.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* ==================== 系统要求表格 ==================== */
.sys-req-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.sys-req-table th,
.sys-req-table td {
    padding: 12px 18px;
    font-size: 0.875rem;
    text-align: left;
}

.sys-req-table thead th {
    background: var(--brand-800);
    color: #fff;
    font-weight: 600;
}

.sys-req-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
}

.sys-req-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.sys-req-table tbody td:first-child {
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.sys-req-table tbody td:last-child {
    color: #64748b;
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 70vh;
    }

    .stat-number {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
        font-size: 0.9375rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .tier-card.featured {
        transform: none;
    }

    .tier-card.featured:hover {
        transform: translateY(-6px);
    }

    .card-feature {
        padding: 22px;
    }

    .platform-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .step-item {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.625rem;
    }

    .btn-primary,
    .btn-outline {
        padding: 12px 22px;
        font-size: 0.8125rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .cta-section {
        border-radius: var(--radius-md);
        padding: 28px 18px;
    }
}

/* ==================== 下载步骤 ==================== */
.download-step {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    transition: all var(--transition-normal);
}

.download-step:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-300);
}

.download-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ==================== 二维码 ==================== */
.qr-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.qr-box .qr-placeholder {
    width: 140px;
    height: 140px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--brand-300);
}

/* ==================== 分区标题 ==================== */
.section-label {
    display: inline-block;
    padding: 5px 14px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.section-desc {
    font-size: 1rem;
    color: #64748b;
    max-width: 580px;
    line-height: 1.65;
}

/* ==================== 分割线 ==================== */
.divider {
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ==================== 有益效果卡片 ==================== */
.benefit-card {
    display: flex;
    gap: 14px;
    padding: 22px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-300);
    transform: translateX(3px);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--brand-100);
    color: var(--brand-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}
