/* 使用條款頁面樣式 */
.terms-content {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #e9ecef;
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    /* border-bottom: 1px solid #e9ecef; */
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section h2 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    display: inline-block;
    width: 100%;
}

.terms-section h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    padding-left: 15px;
    border-left: 3px solid var(--primary-color);
}

.terms-section p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-section ul li {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.terms-section p>a {
    color: var(--primary-color);
    font-weight: 600;
}

.terms-section p>a:hover {
    text-decoration: underline;
}

/* 聯絡按鈕樣式 */
.contact-section {
    text-align: center;
    padding-top: 20px;
}

.contact-button-container {
    display: inline-block;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.contact-button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 95, 122, 0.3);
}

.contact-button i {
    margin-right: 8px;
    font-size: 16px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .terms-content {
        padding: 40px 0;
    }

    .terms-container {
        padding: 0 15px;
    }

    .terms-section {
        margin-bottom: 30px;
        padding-bottom: 25px;
    }

    .terms-section h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .terms-section h3 {
        font-size: 16px;
        margin: 20px 0 12px 0;
    }

    .terms-section p {
        font-size: 15px;
    }

    .terms-section ul li {
        font-size: 15px;
    }

    .contact-button {
        padding: 10px 25px;
        font-size: 14px;
    }
}