/* 交易合约页面样式 */

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.trading-specs {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.spec-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 40px;
}

.spec-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.spec-icon {
    width: 80px;
    height: 80px;
}

.spec-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.spec-title h2 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.spec-title p {
    color: var(--text-gray);
    font-size: 15px;
}

.spec-table-wrapper {
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s;
}

.spec-table tr:hover {
    background-color: var(--light-blue);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 18px 20px;
    font-size: 15px;
}

.spec-table td.label {
    font-weight: 600;
    color: var(--text-dark);
    width: 30%;
}

.spec-table td:last-child {
    color: var(--text-gray);
}

.trading-notes {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.trading-notes h3 {
    font-size: 26px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.note-item {
    padding: 25px;
    border-left: 4px solid var(--primary-blue);
    background-color: var(--light-blue);
    border-radius: 8px;
}

.note-item h4 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.note-item p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 14px;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 30px;
    }

    .spec-card {
        padding: 25px;
    }

    .spec-header {
        flex-direction: column;
        text-align: center;
    }

    .spec-title h2 {
        font-size: 24px;
    }

    .spec-table td {
        padding: 12px 15px;
        font-size: 14px;
        display: block;
        width: 100% !important;
    }

    .spec-table td.label {
        font-weight: bold;
        border-bottom: none;
        padding-bottom: 5px;
    }

    .spec-table tr {
        display: block;
        margin-bottom: 15px;
        padding: 15px 0;
    }

    .notes-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .btn-large {
        width: 100%;
    }
}

