/* 功能页面专用样式 */
.features-page {
    padding-top: 100px;
}

/* 英雄区域 */
.features-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.features-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.features-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.features-hero-description {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 16px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 核心功能区域 */
.core-features {
    padding: 100px 0;
    background: white;
}

.feature-category {
    margin-bottom: 80px;
}

.feature-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #dbeafe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #2563eb;
}

.category-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* 详细功能展示 */
.features-grid.detailed {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.detailed-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.detailed-feature.reverse {
    direction: rtl;
}

.detailed-feature.reverse > * {
    direction: ltr;
}

.feature-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

.feature-details h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.feature-details p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #475569;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.icon-check {
    color: #10b981;
    font-weight: bold;
}

/* 特色功能区域 */
.special-features {
    padding: 100px 0;
    background: #f8fafc;
}

.special-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.special-feature-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.special-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.special-feature-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;
}

.special-feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.special-feature-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.special-feature-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.special-feature-card ul li {
    padding: 8px 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.special-feature-card ul li:last-child {
    border-bottom: none;
}

/* 技术规格区域 */
.tech-specs {
    padding: 100px 0;
    background: white;
}

.specs-tabs {
    margin-top: 50px;
}

.tab-headers {
    display: flex;
    gap: 1px;
    background: #e2e8f0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.tab-header {
    flex: 1;
    padding: 20px;
    background: #f1f5f9;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-header:hover {
    background: #e2e8f0;
}

.tab-header.active {
    background: white;
    color: #2563eb;
    font-weight: 600;
}

.tab-contents {
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 支持的区块链 */
.chains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.chain-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.chain-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.chain-logo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chain-logo img {
    width: 30px;
    height: 30px;
}

.chain-info h4 {
    margin: 0 0 5px 0;
    color: #1e293b;
}

.chain-info p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* 系统要求和技术细节 */
.requirements-grid,
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.requirement-category h4,
.detail-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e293b;
}

.requirement-category ul,
.detail-item ul {
    list-style: none;
    padding: 0;
}

.requirement-category li,
.detail-item li {
    padding: 10px 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.requirement-category li:last-child,
.detail-item li:last-child {
    border-bottom: none;
}

/* 功能对比区域 */
.feature-comparison {
    padding: 100px 0;
    background: #f8fafc;
}

.comparison-table-container {
    margin-top: 50px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
    background: #1e293b;
}

.comparison-table th {
    padding: 20px;
    color: white;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.comparison-table th:first-child {
    width: 200px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 20px;
    color: #475569;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: #1e293b;
}

.icon-check.success {
    color: #10b981;
}

.icon-times.error {
    color: #ef4444;
}

/* CTA区域 */
.features-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 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) {
    .detailed-feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .detailed-feature.reverse {
        direction: ltr;
    }
    
    .hero-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .features-hero-title {
        font-size: 36px;
    }
    
    .features-hero-description {
        font-size: 18px;
    }
    
    .hero-stat-number {
        font-size: 32px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .tab-header {
        width: 100%;
        text-align: center;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .features-hero,
    .core-features,
    .special-features,
    .tech-specs,
    .feature-comparison,
    .features-cta {
        padding: 60px 0;
    }
    
    .features-hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .hero-stat {
        flex: 0 0 calc(50% - 15px);
    }
    
    .special-features-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid,
    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}