/* ====== 独享CSS部分 - 税率表页面 ====== */
        
/* 浮动形状背景 */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0.05;
    z-index: -1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: -200px;
    animation: float-1 25s infinite ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -150px;
    animation: float-2 30s infinite ease-in-out;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation: float-3 20s infinite ease-in-out;
}

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, 50px) rotate(120deg); }
    66% { transform: translate(-20px, 30px) rotate(240deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-40px, 30px) rotate(120deg); }
    66% { transform: translate(20px, -20px) rotate(240deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -30px) rotate(120deg); }
    66% { transform: translate(-30px, 20px) rotate(240deg); }
}

/* 税率导航 */
.tax-navigation {
    background: white;
    position: sticky;
    top: 120px;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.05);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    margin-bottom: 50px;
}

.tax-nav-container {
    display: flex;
    overflow-x: auto;
    padding: 15px 0;
    gap: 10px;
    scrollbar-width: thin;
}

.tax-nav-item {
    flex: 0 0 auto;
    padding: 12px 25px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 204, 0.1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tax-nav-item:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.tax-nav-item.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.tax-nav-item i {
    font-size: 1.1rem;
}

/* 税率表主体 */
.tax-section {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 60px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition);
}

.tax-section:hover {
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.tax-header {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    position: relative;
}

.tax-header h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tax-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 4rem;
    opacity: 0.2;
}

.tax-content {
    padding: 50px;
}

/* 税率表格样式 */
.tax-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.05);
}

.tax-table th {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
}

.tax-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.tax-table tr:nth-child(even) {
    background: var(--light-bg);
}

.tax-table tr:hover {
    background: rgba(0, 102, 204, 0.05);
}

.tax-rate {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* 税率卡片 */
.tax-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tax-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 35px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tax-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 102, 204, 0.2);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
}

.tax-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.tax-card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tax-card h4 i {
    color: var(--secondary-color);
}

/* 税率比较图表 */
.tax-comparison {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.03) 0%, rgba(0, 160, 233, 0.03) 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.comparison-bars {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 300px;
    margin-top: 40px;
    padding: 0 20px;
}

.comparison-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bar {
    width: 100%;
    background: var(--gradient-primary);
    border-radius: 8px 8px 0 0;
    transition: var(--transition);
    position: relative;
}

.bar:hover {
    opacity: 0.9;
    transform: scaleY(1.05);
}

.bar-label {
    margin-top: 15px;
    font-weight: 600;
    color: var(--dark-color);
    text-align: center;
}

.bar-value {
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* 重要提示 */
.tax-important {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
    border-left: 5px solid var(--accent-color);
    padding: 30px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-top: 50px;
}

.tax-important h4 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 动画效果 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 税率标签 */
.rate-tag {
    display: inline-block;
    padding: 6px 15px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.rate-tag-primary {
    background: var(--gradient-primary);
}

.rate-tag-secondary {
    background: var(--gradient-secondary);
}

/* 税率解释部分 */
.tax-explanation {
    margin-top: 40px;
    padding: 30px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.tax-explanation h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* 税率更新时间 */
.tax-update {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: var(--border-radius);
    font-style: italic;
    color: var(--gray-color);
}

/* 英雄区域特定样式 */
.hero-tax {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(230, 240, 255, 0.9) 100%), url('/template/giaxi/images/15.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-tax h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-tax p {
    font-size: 1.5rem;
    margin-bottom: 50px;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .tax-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .comparison-bars {
        height: 250px;
    }
}

@media (max-width: 992px) {
    .tax-navigation {
        top: 100px;
    }
    
    .tax-header {
        padding: 30px;
    }
    
    .tax-header h3 {
        font-size: 2rem;
    }
    
    .tax-icon {
        font-size: 3rem;
        top: 30px;
        right: 30px;
    }
    
    .tax-content {
        padding: 30px;
    }
    
    .tax-table {
        display: block;
        overflow-x: auto;
    }
    
    .comparison-bars {
        flex-wrap: wrap;
        height: auto;
        gap: 30px;
    }
    
    .comparison-bar {
        flex: 0 0 calc(50% - 20px);
        height: 200px;
    }
    
    .hero-tax {
        padding-top: 180px;
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    .tax-card-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-bar {
        flex: 0 0 100%;
        height: 180px;
    }
    
    .tax-table th, .tax-table td {
        padding: 15px 10px;
    }
    
    .hero-tax h1 {
        font-size: 3rem;
    }
    
    .hero-tax p {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}