/* 安全页面专用样式 */
.security-page {
    padding-top: 100px;
}

/* 英雄区域 */
.security-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.security-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/security/pattern.svg') repeat;
    opacity: 0.1;
}

.security-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.security-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.security-hero-description {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.security-certifications {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cert-badge span:first-child {
    font-size: 20px;
    color: #60a5fa;
}

/* 核心安全特性 */
.core-security {
    padding: 100px 0;
    background: white;
}

.security-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.security-feature-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 40px 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.security-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
}

.security-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.security-feature-icon {
    width: 70px;
    height: 70px;
    background: #dbeafe;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    color: #2563eb;
}

.security-feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.security-feature-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.security-feature-list {
    list-style: none;
    padding: 0;
}

.security-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.security-feature-list li:last-child {
    border-bottom: none;
}

.icon-check-circle {
    color: #10b981;
}

/* 加密技术详解 */
.encryption-tech {
    padding: 100px 0;
    background: #f8fafc;
}

.encryption-details {
    margin-top: 50px;
}

.encryption-diagram {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.diagram-container {
    max-width: 600px;
    margin: 0 auto;
}

.diagram-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}

.diagram-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    margin: 0 0 8px 0;
    color: #1e293b;
    font-size: 18px;
}

.step-content p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.step-icon {
    font-size: 32px;
    color: #2563eb;
    flex-shrink: 0;
}

.diagram-arrow {
    text-align: center;
    margin: 10px 0;
    color: #94a3b8;
}

/* 加密技术规格 */
.encryption-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.specs-category h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1e293b;
}

.specs-list {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: #64748b;
    font-weight: 500;
}

.spec-value {
    color: #1e293b;
    font-weight: 600;
}

/* 安全审计区域 */
.security-audit {
    padding: 100px 0;
    background: white;
}

.audit-results {
    margin-top: 50px;
}

.audit-report {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.audit-logo {
    background: white;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audit-logo img {
    max-width: 140px;
    height: auto;
}

.audit-details h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.audit-date {
    color: #64748b;
    margin-bottom: 30px;
}

.audit-score {
    margin-bottom: 30px;
}

.score-item {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.score-item:last-child {
    margin-bottom: 0;
}

.score-label {
    color: #475569;
    font-weight: 500;
}

.score-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 4px;
}

.score-value {
    color: #1e293b;
    font-weight: 600;
    text-align: right;
}

.audit-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* 漏洞赏金计划 */
.vulnerability-program {
    background: #1e293b;
    color: white;
    border-radius: 12px;
    padding: 40px;
}

.vulnerability-program h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.vulnerability-program p {
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.bounty-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.bounty-level {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.bounty-level h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 16px;
}

.bounty-amount {
    color: #fbbf24;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bounty-level ul {
    list-style: none;
    padding: 0;
}

.bounty-level li {
    color: #cbd5e1;
    padding: 5px 0;
    font-size: 14px;
}

/* 硬件钱包支持 */
.hardware-wallets {
    padding: 100px 0;
    background: #f8fafc;
}

.hardware-devices {
    margin-top: 50px;
}

.hardware-device {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hardware-device:last-child {
    margin-bottom: 0;
}

.device-image {
    background: #f8fafc;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-image img {
    max-width: 200px;
    height: auto;
}

.device-details h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.device-support {
    color: #64748b;
    margin-bottom: 20px;
}

.device-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.device-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #475569;
}

.connection-steps {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 20px;
}

.connection-steps h4 {
    margin: 0 0 15px 0;
    color: #1e293b;
}

.connection-steps ol {
    margin: 0;
    padding-left: 20px;
}

.connection-steps li {
    color: #475569;
    margin-bottom: 10px;
    line-height: 1.5;
}

.connection-steps li:last-child {
    margin-bottom: 0;
}

/* 安全最佳实践 */
.security-best-practices {
    padding: 100px 0;
    background: white;
}

.practice-guides {
    margin-top: 50px;
}

.practice-category {
    margin-bottom: 40px;
}

.practice-category:last-child {
    margin-bottom: 0;
}

.practice-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e293b;
}

.practice-list {
    background: #f8fafc;
    border-radius: 8px;
    padding: 30px;
}

.practice-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.practice-item p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.do-dont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.do, .dont {
    padding: 20px;
    border-radius: 8px;
}

.do {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
}

.dont {
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.do strong, .dont strong {
    display: block;
    margin-bottom: 10px;
}

.do ul, .dont ul {
    list-style: none;
    padding: 0;
}

.do li, .dont li {
    padding: 5px 0;
    color: #065f46;
}

.dont li {
    color: #991b1b;
}

.safety-tips {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background: #fef3c7;
    border-radius: 8px;
}

.tip-icon {
    width: 24px;
    height: 24px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.tip p {
    margin: 0;
    color: #92400e;
}

.checklist {
    background: white;
    border-radius: 8px;
    padding: 20px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
}

.check-item:last-child {
    border-bottom: none;
}

.check-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #94a3b8;
    cursor: pointer;
}

.check-item input[type="checkbox"]:checked {
    background: #2563eb;
    border-color: #2563eb;
}

.check-item span {
    color: #475569;
}

/* 隐私保护 */
.privacy-protection {
    padding: 100px 0;
    background: #f8fafc;
}

.privacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.privacy-feature {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.privacy-icon {
    width: 80px;
    height: 80px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: #2563eb;
}

.privacy-feature h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.privacy-feature p {
    color: #64748b;
    line-height: 1.6;
}

.privacy-compliance h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1e293b;
    text-align: center;
}

.compliance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.compliance-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.compliance-card:hover {
    transform: translateY(-5px);
}

.compliance-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.compliance-card p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.compliance-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 安全常见问题 */
.security-faq {
    padding: 100px 0;
    background: white;
}

/* CTA区域 */
.security-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .encryption-diagram {
        padding: 30px 20px;
    }
    
    .diagram-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .audit-report {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hardware-device {
        grid-template-columns: 1fr;
    }
    
    .device-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .security-hero-title {
        font-size: 36px;
    }
    
    .security-hero-description {
        font-size: 18px;
    }
    
    .security-certifications {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .security-features-grid {
        grid-template-columns: 1fr;
    }
    
    .do-dont {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .security-hero,
    .core-security,
    .encryption-tech,
    .security-audit,
    .hardware-wallets,
    .security-best-practices,
    .privacy-protection,
    .security-faq,
    .security-cta {
        padding: 60px 0;
    }
    
    .security-hero-title {
        font-size: 28px;
    }
    
    .bounty-levels {
        grid-template-columns: 1fr;
    }
    
    .privacy-features {
        grid-template-columns: 1fr;
    }
    
    .compliance-cards {
        grid-template-columns: 1fr;
    }
}