/* ====== Hero Section ====== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 160, 233, 0.03) 100%);
    padding-top: 60px;
}

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

.hero h1 {
    font-size: 5rem;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 50px;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.hero-stat-label {
    font-size: 1.1rem;
    color: var(--gray-color);
    font-weight: 600;
}

.hero-image {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 80%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-dark);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====== Services Section ====== */
.services {
    position: relative;
    overflow: hidden;
    background: white;
}

.services-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

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

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

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

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

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.service-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: var(--gray-color);
}

.service-price {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 25px;
}

/* ====== Tax Rates Section ====== */
.tax-rates {
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.tax-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tax-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-dark);
    position: relative;
}

.tax-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tax-table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}

.tax-table table {
    width: 100%;
    border-collapse: collapse;
}

.tax-table th {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    text-align: right;
    font-weight: 700;
}

.tax-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

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

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

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

/* ====== Knowledge Hub ====== */
.knowledge-hub {
    position: relative;
    overflow: hidden;
    background: white;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

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

.article-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
}

.article-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.article-image:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.article-card:hover .article-image:before {
    opacity: 0.2;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 35px;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.article-content a {
    color: var(--dark-color);
    font-weight: 700;
}

.article-content a:hover {
    color: var(--secondary-color);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 102, 204, 0.05);
}

/* ====== About Us ====== */
.about-us {
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.about-stat {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

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

.about-stat:hover:before {
    transform: scaleX(1);
}

.about-stat:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 102, 204, 0.2);
}

.about-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 15px;
    display: block;
}

.about-stat-label {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.team-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.team-badge {
    background: rgba(0, 160, 233, 0.1);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(0, 160, 233, 0.2);
    transition: var(--transition);
}

.team-badge:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* ====== Process Section ====== */
.process {
    position: relative;
    overflow: hidden;
    background: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
    flex-wrap: wrap;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 102, 204, 0.1);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 20px;
    min-width: 200px;
    margin-bottom: 60px;
}

.step-number {
    width: 120px;
    height: 120px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 auto 35px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
    transition: var(--transition);
    border: 5px solid white;
    animation: pulse-circle 4s infinite ease-in-out;
}

@keyframes pulse-circle {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 20px 50px rgba(0, 102, 204, 0.2);
    }
}

.process-step:hover .step-number {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
    border-color: rgba(0, 102, 204, 0.2);
    animation: none;
}

.step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* ====== Testimonials ====== */
.testimonials {
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.testimonials-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 20px;
        box-sizing: border-box;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--box-shadow-dark);
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
}

.testimonial-quote {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 40px;
    font-style: italic;
    line-height: 1.8;
    position: relative;
    padding-right: 40px;
}

.testimonial-quote:before {
    content: "“";
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 5rem;
    color: rgba(0, 102, 204, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-info p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.author-company {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* ====== CTA Section ====== */
.cta {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta h2:after {
    background: white;
}

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

.cta .btn {
    background: white;
    color: var(--primary-color);
    margin: 0 10px 20px;
}

.cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

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

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

.phone-number {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 30px;
    display: block;
}

/* ====== 独享部分响应式设计 ====== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 4.2rem;
    }
    
    .hero-image {
        width: 40%;
    }
    
    .about-content, .tax-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .process-step {
        flex: 0 0 50%;
    }
}

@media (max-width: 992px) {
    .hero-image {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .services-grid, .knowledge-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 40px 30px;
    }
    
    .testimonial-quote {
        font-size: 1.2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-stat-number {
        font-size: 2.5rem;
    }
    
    .tax-table {
        overflow-x: auto;
    }
    
    .tax-table table {
        min-width: 500px;
    }
}