/* ====== 税率表页面独享CSS部分 ====== */

/* 英雄区域 */
.tax-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%), url('/template/giaxi/images/15.jpg') center/cover no-repeat;
    overflow: hidden;
}

.tax-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.tax-hero h1 {
    margin-bottom: 25px;
    line-height: 1.1;
}

.tax-hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--gray-color);
    max-width: 800px;
}

/* 税率导航 */
.tax-nav {
    position: sticky;
    top: 100px;
    z-index: 100;
    background: white;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    padding-top: 80px;
}

.tax-nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

.tax-nav-list a {
    font-weight: 600;
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 50px;
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tax-nav-list a:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.05);
    border-color: rgba(0, 102, 204, 0.1);
}

.tax-nav-list a.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.2);
}

/* 税率部分 */
.tax-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.tax-section:nth-child(odd) {
    background: white;
}

.tax-section:nth-child(even) {
    background: var(--light-bg);
}

.tax-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    gap: 30px;
}

.tax-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.tax-title h2 {
    text-align: left;
    margin-bottom: 15px;
}

.tax-title h2:after {
    left: 0;
    transform: translateX(0);
}

.tax-description {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 800px;
}

/* 税率表 */
.tax-tables {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.tax-table-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.tax-table-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.tax-table-card:hover:before {
    transform: scaleX(1);
}

.tax-table-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.tax-table-card h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.tax-table-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* 表格样式 */
.tax-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tax-table th {
    background: rgba(0, 102, 204, 0.05);
    color: var(--dark-color);
    font-weight: 700;
    text-align: left;
    padding: 18px 20px;
    border-bottom: 2px solid rgba(0, 102, 204, 0.1);
}

.tax-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.05);
    color: var(--gray-color);
}

.tax-table tr:last-child td {
    border-bottom: none;
}

.tax-table tr:hover {
    background: rgba(0, 102, 204, 0.02);
}

.tax-rate {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.tax-highlight {
    background: rgba(0, 160, 233, 0.05) !important;
    font-weight: 600;
}

/* 重要说明 */
.tax-notes {
    background: rgba(0, 102, 204, 0.05);
    border-radius: var(--border-radius);
    padding: 35px;
    margin-top: 50px;
    border-left: 5px solid var(--secondary-color);
}

.tax-notes h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.tax-notes ul {
    list-style: none;
    margin-left: 0;
}

.tax-notes li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.tax-notes li:before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* 税率摘要卡片 */
.tax-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.summary-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition);
}

.summary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

.summary-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 25px;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.summary-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.summary-rate {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin: 15px 0;
}

.summary-description {
    color: var(--gray-color);
    font-size: 1rem;
}

/* 更新时间 */
.tax-update {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    color: var(--gray-color);
    font-style: italic;
}

/* CTA区域 */
.tax-cta {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    padding: 120px 0;
    text-align: center;
}

.tax-cta h2 {
    color: white;
    margin-bottom: 30px;
}

.tax-cta h2:after {
    background: white;
    left: 50%;
    transform: translateX(-50%);
}

.tax-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 50px;
}

.tax-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tax-cta-btn-primary {
    background: white;
    color: var(--primary-color);
}

.tax-cta-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.tax-cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.tax-cta-btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* 响应式调整 - 税率表页面 */
@media (max-width: 1200px) {
    .tax-tables {
        grid-template-columns: 1fr;
    }
    
    .tax-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .tax-nav-list {
        gap: 15px;
    }
    
    .tax-nav-list a {
        padding: 8px 16px;
        font-size: 0.95rem;
    }
    
    .tax-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .tax-title h2 {
        text-align: center;
    }
    
    .tax-title h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .tax-hero {
        height: auto;
        min-height: auto;
        padding: 150px 0 100px;
    }
}

@media (max-width: 768px) {
    .tax-summary {
        grid-template-columns: 1fr;
    }
    
    .tax-table-card {
        padding: 25px;
    }
    
    .tax-table th, .tax-table td {
        padding: 12px 15px;
    }
    
    .tax-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tax-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}