/* styles.css - Improved version with alignment fixes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

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

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* 回到顶部按钮 */
.go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.go-top.show {
    opacity: 1;
    transform: translateY(0);
}

.go-top:hover {
    background: #2980b9;
    transform: scale(1.1);
}

/* 加载动画 */
.loading {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 头部导航 */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #2c3e50;
    font-size: 24px;
    transition: color 0.3s;
}

.logo:hover h1 {
    color: #3498db;
}

.logo p {
    color: #7f8c8d;
    font-size: 12px;
}

.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    margin-left: 25px;
}

.navbar a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}

.navbar a:hover {
    color: #3498db;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #34495e;
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页轮播区 */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,100 0,100" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-buttons {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.indicator {
    text-align: center;
}

.indicator .number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    color: #f1c40f;
}

.indicator p {
    margin-top: 5px;
    font-size: 1.1rem;
}

/* 核心服务介绍 */
.services-intro {
    padding: 100px 0;
    background-color: white;
}

.services-intro h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    animation: fadeInUp 0.6s ease;
}

.services-intro p {
    text-align: center;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

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

.service-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.6s ease var(--delay) both;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: white;
}

.service-card .icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.service-card:hover .icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: #7f8c8d;
    margin-top: auto;
    margin-bottom: 20px;
}

.detail-link {
    align-self: center;
    margin-top: auto;
}

/* 服务详情页面样式 */
.service-hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.service-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.service-detail-page {
    padding: 60px 0;
    background-color: white;
}

.service-content {
    max-width: 1000px;
    margin: 0 auto;
}

.service-overview h2,
.service-features h2,
.service-scenarios h2,
.service-process h2,
.service-contact h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.service-overview h2::after,
.service-features h2::after,
.service-scenarios h2::after,
.service-process h2::after,
.service-contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
}

.service-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-card p {
    color: #7f8c8d;
}

.service-scenarios ul {
    list-style: none;
    margin-bottom: 40px;
}

.service-scenarios li {
    padding: 10px 0 10px 30px;
    position: relative;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.service-scenarios li::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 10px;
    color: #3498db;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 30px;
    width: 3px;
    height: calc(100% - 60px);
    background: #3498db;
    z-index: 1;
}

.step {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    min-width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 5px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.contact-item .icon {
    font-size: 1.5rem;
    color: #3498db;
}

.contact-item h3 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.contact-item p {
    margin: 0;
    color: #7f8c8d;
}

/* 详细服务内容 */
.detailed-services {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.detailed-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 70px;
    color: #2c3e50;
    animation: fadeInUp 0.6s ease;
}

.service-detail {
    background: white;
    margin-bottom: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    animation: fadeInUp 0.6s ease var(--delay) both;
    position: relative;
}

.service-detail:hover {
    transform: translateY(-5px);
}

.service-detail h3 {
    background: linear-gradient(to right, #3498db, #2c3e50);
    color: white;
    padding: 25px 30px;
    font-size: 1.8rem;
}

.service-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px;
}

.info-section h4 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.info-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
}

.info-section ul {
    list-style: none;
}

.info-section li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px dashed #eee;
}

.info-section li:last-child {
    border-bottom: none;
}

.info-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    color: #27ae60;
    font-weight: bold;
    background: #e8f6ef;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.info-section p {
    color: #7f8c8d;
    padding-left: 30px;
}

.service-actions {
    padding: 0 30px 30px;
    text-align: center;
}

.service-actions .btn-primary {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 价格套餐 */
.pricing-packages {
    padding: 100px 0;
    background-color: white;
}

.pricing-packages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    animation: fadeInUp 0.6s ease;
}

.pricing-packages p {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 70px;
    font-size: 1.2rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.package-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
    animation: fadeInUp 0.6s ease var(--delay) both;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.package-card.popular {
    border-color: #3498db;
    position: relative;
}

.package-card.popular::before {
    content: '推荐';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #3498db;
    color: white;
    padding: 5px 25px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.package-header {
    background: #ecf0f1;
    padding: 40px 30px;
    text-align: center;
    flex-grow: 1;
}

.package-card.popular .package-header {
    background: linear-gradient(to right, #3498db, #2c3e50);
    color: white;
}

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.package-card.popular .package-header h3 {
    color: white;
}

.package-header .price {
    font-size: 3rem;
    font-weight: bold;
    margin: 15px 0;
    color: #e74c3c;
}

.package-card.popular .package-header .price {
    color: white;
}

.package-header .description {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.package-card.popular .package-header .description {
    color: rgba(255,255,255,0.8);
}

.package-content {
    padding: 40px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-content ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.package-content li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
}

.package-content li:last-child {
    border-bottom: none;
}

.package-content li strong {
    margin-left: auto;
    color: #27ae60;
}

.package-card .btn-primary {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: auto;
}

/* 质量保障 */
.quality-assurance {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.quality-assurance h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 70px;
    animation: fadeInUp 0.6s ease;
}

.assurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.assurance-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s;
    animation: fadeInUp 0.6s ease var(--delay) both;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.assurance-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.assurance-item .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.assurance-item h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.assurance-item p {
    color: #bdc3c7;
    line-height: 1.7;
    margin-top: auto;
}

/* 成功案例 */
.success-stories {
    padding: 100px 0;
    background-color: white;
}

.success-stories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 70px;
    color: #2c3e50;
    animation: fadeInUp 0.6s ease;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.story-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    animation: fadeInUp 0.6s ease var(--delay) both;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.story-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.story-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.story-card .stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 1rem;
    color: #7f8c8d;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 客户评价 */
.testimonials {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 70px;
    color: #2c3e50;
    animation: fadeInUp 0.6s ease;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0 40px;
    scrollbar-width: thin;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    min-width: 380px;
    flex: 0 0 auto;
    transition: transform 0.3s;
    animation: fadeInUp 0.6s ease var(--delay) both;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.rating {
    color: #f39c12;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.testimonial-card p {
    margin-bottom: 25px;
    font-style: italic;
    color: #555;
    line-height: 1.7;
    position: relative;
    flex-grow: 1;
}

.testimonial-card p::before {
    content: """;
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    opacity: 0.1;
    font-family: serif;
}

.author {
    display: flex;
    align-items: center;
}

.author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    border: 3px solid #3498db;
}

.author h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.author p {
    color: #7f8c8d;
    margin: 0;
}

/* 联系方式 */
.contact-section {
    padding: 100px 0;
    background-color: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 70px;
    color: #2c3e50;
    animation: fadeInUp 0.6s ease;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.1rem;
}

.form-group.required label::after {
    content: '*';
    color: #e74c3c;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item .icon {
    font-size: 2rem;
    color: #3498db;
    min-width: 40px;
}

.info-item h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.info-item p {
    color: #7f8c8d;
    margin: 0;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 25px;
    color: #3498db;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

.footer-section a:hover {
    color: #3498db;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background: #34495e;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* 动画延迟 */
.service-card:nth-child(1) { --delay: 0.1s; }
.service-card:nth-child(2) { --delay: 0.2s; }
.service-card:nth-child(3) { --delay: 0.3s; }
.service-card:nth-child(4) { --delay: 0.4s; }
.service-card:nth-child(5) { --delay: 0.5s; }
.service-card:nth-child(6) { --delay: 0.6s; }

.service-detail:nth-child(1) { --delay: 0.1s; }
.service-detail:nth-child(2) { --delay: 0.2s; }
.service-detail:nth-child(3) { --delay: 0.3s; }
.service-detail:nth-child(4) { --delay: 0.4s; }
.service-detail:nth-child(5) { --delay: 0.5s; }
.service-detail:nth-child(6) { --delay: 0.6s; }

.package-card:nth-child(1) { --delay: 0.1s; }
.package-card:nth-child(2) { --delay: 0.2s; }
.package-card:nth-child(3) { --delay: 0.3s; }

.assurance-item:nth-child(1) { --delay: 0.1s; }
.assurance-item:nth-child(2) { --delay: 0.2s; }
.assurance-item:nth-child(3) { --delay: 0.3s; }
.assurance-item:nth-child(4) { --delay: 0.4s; }

.story-card:nth-child(1) { --delay: 0.1s; }
.story-card:nth-child(2) { --delay: 0.2s; }
.story-card:nth-child(3) { --delay: 0.3s; }

.testimonial-card:nth-child(1) { --delay: 0.1s; }
.testimonial-card:nth-child(2) { --delay: 0.2s; }
.testimonial-card:nth-child(3) { --delay: 0.3s; }

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .trust-indicators {
        gap: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
        margin-right: auto;
    }

    .navbar {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar li {
        margin: 5px 10px;
    }

    .mobile-menu-toggle {
        order: 2;
        display: flex;
        margin-left: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        max-width: 300px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .services-grid,
    .package-grid,
    .assurance-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .package-card.popular {
        transform: scale(1);
        position: static;
    }

    .package-card.popular::before {
        top: -10px;
        right: 50%;
        transform: translateX(50%) rotate(45deg);
    }

    .package-grid {
        gap: 25px;
    }

    .go-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .testimonial-slider {
        padding: 20px 0;
        flex-direction: column;
    }

    .testimonial-card {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-intro h2,
    .detailed-services h2,
    .pricing-packages h2,
    .quality-assurance h2,
    .success-stories h2,
    .testimonials h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .service-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .info-item {
        gap: 15px;
    }

    .info-item .icon {
        min-width: 30px;
        font-size: 1.5rem;
    }

    .contact-info {
        padding: 20px;
    }

    .package-header .price {
        font-size: 2.5rem;
    }

    .package-content {
        padding: 30px 20px;
    }

    .story-card {
        padding: 30px 20px;
    }

    .testimonial-card {
        min-width: 100%;
        padding: 30px 20px;
    }

    .author img {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }

    .navbar.active ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar.active li {
        margin: 10px 0;
    }
}