/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #B22222;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --gray-100: #f8f9fa;
    --gray-600: #6c757d;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* 统一容器系统 - 确保所有页面尺寸一致 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 确保所有使用container的section都统一 */
section .container,
.container {
    max-width: 1200px !important;
}

/* 统一的section padding */
section {
    padding-left: 0;
    padding-right: 0;
}

section > .container {
    padding-left: 20px;
    padding-right: 20px;
}

/* 导航栏 */
.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    min-height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.logo-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    flex: 1;
    justify-content: center;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emergency-btn {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: pulse-warning 2s infinite;
}

.emergency-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.emergency-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.5);
    background: linear-gradient(135deg, #ff6666 0%, #ff4444 100%);
}

.emergency-btn:hover::before {
    left: 100%;
}

.emergency-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 68, 68, 0.6);
    }
}

.contact-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.mobile-contact {
    display: none;
}

.mobile-emergency {
    display: none;
}

.emergency-link {
    color: #ff4444 !important;
    font-weight: 700;
}

.emergency-link:hover {
    color: #cc0000 !important;
}

.emergency-link.active {
    color: #ff6666 !important;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 5px;
    padding: 5px 10px;
}

/* 应急中心按钮active状态 */
.nav-contact .emergency-btn.active,
.emergency-btn.active {
    background: linear-gradient(135deg, #ff6666 0%, #ff4444 100%);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.6);
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 12px 20px;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    touch-action: manipulation;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* 可访问性和移动端优化 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 12px; /* 增加触摸区域到至少44px */
    margin: -12px;
    min-width: 44px; /* 确保触摸区域足够大 */
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border: none;
    background: transparent;
    outline: none;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    pointer-events: none;
}

/* 轮播图 */
.hero-carousel {
    position: relative;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    margin-top: 80px;
    margin-bottom: 0;
    padding: 0 !important;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.carousel-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.carousel-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

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

/* 轮播图上的按钮样式 - 白色背景、红色文字 */
.carousel-overlay .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 600;
}

.carousel-overlay .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.carousel-overlay .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 600;
}

.carousel-overlay .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

/* 主标语区域 */
/* 关于我们区域 - 参考墨鱼社区设计 */
.about-hero-section {
    background: #ffffff;
    background-image: 
        linear-gradient(rgba(178, 34, 34, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(178, 34, 34, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    padding: 100px 0 120px;
    position: relative;
}

.about-hero-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.breadcrumb-label {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.about-hero-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左侧：我们的故事卡片 */
.about-story-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-story-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.story-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.story-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.story-icon {
    color: var(--primary-color);
    margin-left: auto;
}

.story-content {
    margin-bottom: 30px;
}

.story-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.story-content p:last-child {
    margin-bottom: 0;
}

.story-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.story-btn:hover {
    background: #8b0000;
    transform: translateX(5px);
}

/* 右侧列 */
.about-right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 数据区域 */
.about-data-section {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.data-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.data-icon {
    color: var(--text-dark);
}

.data-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.data-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.data-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.data-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.1);
    transform: translateY(-3px);
}

.data-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.data-label {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
}

/* 使命区域 */
.about-mission-section {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mission-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.mission-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* 网站导航 - 实用资源部分 */
.resources-navigation-section {
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.resources-navigation-section .section-header {
    text-align: center;
    margin-bottom: 35px;
}

.resources-navigation-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.resources-navigation-section .section-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.resources-navigation-section .section-description {
    font-size: 1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 推荐卡片 */
.featured-resource-card {
    background: white;
    border: 2px solid #ff9500;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.1);
    transition: all 0.3s ease;
}

.featured-resource-card:hover {
    box-shadow: 0 8px 30px rgba(255, 149, 0, 0.25);
    transform: translateY(-3px);
}

.featured-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.featured-content {
    flex: 1;
}

.featured-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.featured-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.featured-link {
    color: #ff9500;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.featured-link:hover {
    color: #e6850e;
    transform: translateX(5px);
}

/* 分类标签 */
.resource-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.resource-category-btn {
    padding: 10px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resource-category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.resource-category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* 资源卡片网格 - 紧凑横向多列布局，每行3个 */
.resources-navigation-section .resources-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.resources-navigation-section .resource-card {
    background: white !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: none !important;
    opacity: 0 !important;
    transform: translateY(10px) !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    border: 1.5px solid #f0f0f0 !important;
    min-height: auto !important;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
}

.resources-navigation-section .resource-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 3px !important;
    height: 100% !important;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(178, 34, 34, 0.3) 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.resources-navigation-section .resource-card.active {
    display: flex !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.resources-navigation-section .resource-card:hover {
    box-shadow: 0 8px 24px rgba(178, 34, 34, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(178, 34, 34, 0.3) !important;
    transform: translateY(-3px) !important;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%) !important;
}

.resources-navigation-section .resource-card:hover::before {
    opacity: 1 !important;
}

.resources-navigation-section .resource-icon-small {
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin-top: 0 !important;
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.08) 0%, rgba(178, 34, 34, 0.04) 100%) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.resources-navigation-section .resource-card:hover .resource-icon-small {
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.15) 0%, rgba(178, 34, 34, 0.08) 100%) !important;
    transform: scale(1.05) !important;
}

.resources-navigation-section .resource-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    justify-content: center !important;
}

.resources-navigation-section .resource-card h3 {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em !important;
    transition: color 0.2s ease !important;
    text-align: left !important;
}

.resources-navigation-section .resource-card:hover h3 {
    color: var(--primary-color) !important;
}

.resources-navigation-section .resource-german {
    font-size: 0.725rem !important;
    color: #6b7280 !important;
    line-height: 1.3 !important;
    margin: 0 0 4px 0 !important;
    font-style: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-weight: 400 !important;
    text-align: left !important;
}

.resources-navigation-section .resource-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #8b8b8b !important;
    text-decoration: none !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
    pointer-events: none !important;
    text-align: left !important;
}

.resources-navigation-section .resource-link span {
    pointer-events: none !important;
}

.resources-navigation-section .resource-card:hover .resource-link {
    color: var(--primary-color) !important;
    gap: 5px !important;
}

.resources-navigation-section .resource-link > span {
    word-break: break-all !important;
    display: inline-block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.resources-navigation-section .resource-link svg {
    flex-shrink: 0 !important;
    opacity: 0.5 !important;
    width: 11px !important;
    height: 11px !important;
    transition: all 0.25s ease !important;
}

.resources-navigation-section .resource-card:hover .resource-link svg {
    opacity: 1 !important;
    transform: translate(2px, -2px) !important;
}

@media (max-width: 1024px) {
    .resources-navigation-section .resources-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .resources-navigation-section .resource-card {
        padding: 12px 14px !important;
    }
    
    .resources-navigation-section .resource-icon-small {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }
    
    .resources-navigation-section .resource-card h3 {
        font-size: 0.8rem !important;
    }
    
    .resources-navigation-section .resource-german {
        font-size: 0.7rem !important;
    }
    
    .resources-navigation-section .resource-link {
        font-size: 0.65rem !important;
    }
}

@media (max-width: 768px) {
    .resources-navigation-section .resources-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .resources-navigation-section .resource-card {
        padding: 12px !important;
        border-radius: 8px !important;
    }
    
    .resources-navigation-section .resource-icon-small {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.95rem !important;
        border-radius: 6px !important;
    }
    
    .resources-navigation-section .resource-card h3 {
        font-size: 0.8rem !important;
    }
    
    .resources-navigation-section .resource-german {
        font-size: 0.68rem !important;
    }
    
    .resources-navigation-section .resource-link {
        font-size: 0.65rem !important;
    }
}

/* 奥地利城市介绍部分 */
.cities-section {
    background: white;
    padding: 100px 0;
    position: relative;
}

.cities-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* 城市导航 */
.cities-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
}

.city-nav-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.city-nav-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.city-nav-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* 城市内容 */
.cities-content {
    position: relative;
    min-height: 500px;
}

.city-content {
    display: none;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.city-content.active {
    display: grid;
    animation: fadeInUp 0.5s ease;
}

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

/* 城市图片区域 */
.city-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.city-image {
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: white;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #667eea;
}

.city-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.city-image > * {
    position: relative;
    z-index: 2;
}

.city-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.city-name-overlay {
    width: 100%;
}

.city-name-overlay h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.city-name-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* 城市信息 */
.city-info {
    padding: 20px 0;
}

.city-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.city-description {
    margin-bottom: 30px;
}

.city-description p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.city-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.highlight-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content {
    flex: 1;
}

.highlight-content strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.highlight-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.city-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .data-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .city-content {
        grid-template-columns: 1fr;
    }
    
    .city-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 60px 0 80px;
        background-size: 30px 30px;
    }
    
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-intro {
        font-size: 1rem;
    }
    
    .data-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-story-card,
    .about-data-section,
    .about-mission-section {
        padding: 25px;
    }
    
    .resources-navigation-section,
    .cities-section {
        padding: 60px 0;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-resource-card {
        flex-direction: column;
        text-align: center;
    }
    
    .city-highlights {
        grid-template-columns: 1fr;
    }
    
    .city-image {
        height: 300px;
    }
}

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(178, 34, 34, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #dc143c 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(178, 34, 34, 0.2);
    border-color: rgba(178, 34, 34, 0.3);
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(178, 34, 34, 0.2);
    position: relative;
    line-height: 1;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    border-radius: 2px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #8b0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.3);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 服务项目 */
.services-section {
    background: var(--white);
}

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

.service-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(178, 34, 34, 0.1);
}

.service-content {
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(178, 34, 34, 0.2);
    border-color: rgba(178, 34, 34, 0.3);
}

.service-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, rgba(220, 20, 60, 0.05) 100%);
    z-index: 1;
}

.service-card:hover .service-content {
    position: relative;
    z-index: 2;
}
.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #8b0000;
}

/* 为什么选择我们 */
.why-choose-section {
    background: var(--bg-light);
}

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

.feature-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(178, 34, 34, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(178, 34, 34, 0.15);
    border-color: rgba(178, 34, 34, 0.3);
}

.feature-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.03) 0%, rgba(220, 20, 60, 0.03) 100%);
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.3) rotate(15deg);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(178, 34, 34, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: iconBounce 2s ease-in-out infinite;
}

.feature-icon:hover {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(178, 34, 34, 0.4));
    animation: none;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 成功案例 */
.cases-preview-section {
    background: var(--white);
}

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

.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(178, 34, 34, 0.1);
    position: relative;
}

.case-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(178, 34, 34, 0.15);
    border-color: rgba(178, 34, 34, 0.3);
}

.case-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, rgba(220, 20, 60, 0.05) 100%);
    z-index: 1;
}

.case-card:hover .case-content {
    position: relative;
    z-index: 2;
}

.case-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover img {
    transform: scale(1.05);
}

.case-content {
    padding: 35px;
    position: relative;
    z-index: 2;
}

.case-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.case-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(178, 34, 34, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.4);
}

.cases-cta {
    text-align: center;
    margin-top: 50px;
}

/* 联系我们CTA */
.contact-cta-section {
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

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

/* 页脚 */
.footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    color: #b0b0b0;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

/* 页脚顶部装饰线 */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #dc143c 50%, var(--primary-color) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

.footer-section {
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    opacity: 0.6;
}

.footer-section h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.footer-section p {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #b0b0b0;
    transition: color 0.3s ease;
}

.footer-section p:hover {
    color: #d0d0d0;
}

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

.footer-section ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.footer-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-section ul li:hover::before {
    opacity: 1;
    transform: translateX(3px);
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links a {
    color: #999;
    text-decoration: none;
    margin: 0 15px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a::before {
    content: '|';
    position: absolute;
    left: -15px;
    color: #555;
}

.footer-links a:first-child::before {
    display: none;
}

/* 小而精简的紧急求助按钮样式（页脚上方） */
.emergency-banner-compact {
    background: #f8f9fa;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
}

.emergency-banner-compact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(178, 34, 34, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.emergency-icon-small {
    font-size: 1.2rem;
    min-width: 24px;
}

.emergency-content-compact {
    flex: 1;
}

.emergency-content-compact h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0 0 3px 0;
    font-weight: 600;
}

.emergency-content-compact p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.btn-emergency-compact {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-emergency-compact:hover {
    background: #8b0000;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .emergency-banner-compact-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 12px;
    }
    
    .emergency-content-compact h3 {
        font-size: 1rem;
    }
    
    .emergency-content-compact p {
        font-size: 0.8rem;
    }
    
    .btn-emergency-compact {
        width: 100%;
    }
}

/* 紧急咨询服务样式 */
.urgent-consult-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 60px 0;
    position: relative;
}

.urgent-consult-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #ff6b6b 50%, var(--primary-color) 100%);
}

.urgent-consult-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(178, 34, 34, 0.15);
    border: 2px solid rgba(178, 34, 34, 0.1);
    position: relative;
}

.urgent-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(178, 34, 34, 0.1);
}

.urgent-icon-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.urgent-icon {
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.urgent-title-section h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.urgent-title-section p {
    color: var(--text-light);
    margin: 0;
    font-size: 1.1rem;
}

/* 紧急电话 */
.emergency-contacts {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, rgba(220, 20, 60, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(178, 34, 34, 0.1);
}

.emergency-contacts h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.emergency-phone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.emergency-phone-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(178, 34, 34, 0.1);
    transition: all 0.3s ease;
}

.emergency-phone-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(178, 34, 34, 0.2);
    border-color: var(--primary-color);
}

.phone-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.emergency-phone-item .phone-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.emergency-phone-item .phone-number:hover {
    color: #8b0000;
}

.our-emergency-contact {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(178, 34, 34, 0.1);
}

.our-emergency-contact strong {
    color: var(--text-dark);
    margin-right: 10px;
}

.emergency-hotline {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.emergency-hotline:hover {
    color: #8b0000;
    text-decoration: underline;
}

/* 紧急情况分类 */
.urgent-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.urgent-category {
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, rgba(220, 20, 60, 0.05) 100%);
    padding: 25px 20px;
    border-radius: 15px;
    border: 1px solid rgba(178, 34, 34, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.urgent-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(178, 34, 34, 0.2);
    border-color: rgba(178, 34, 34, 0.3);
}

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

.category-content {
    flex: 1;
    margin-bottom: 15px;
}

.category-content strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.category-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: #8b0000;
    transform: translateX(3px);
}

/* 重要联系方式 */
.important-contacts {
    margin-bottom: 40px;
}

.important-contacts h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.03) 0%, rgba(220, 20, 60, 0.03) 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(178, 34, 34, 0.1);
}

.contact-info-card h5 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.detail-label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 100px;
}

.detail-value {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-value:hover {
    color: var(--primary-color);
}
.detail-value.emergency {
    color: var(--primary-color);
    font-weight: 700;
}

/* 立即行动 */
.urgent-action {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(178, 34, 34, 0.1);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.urgent-note {
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.urgent-note a {
    color: var(--primary-color);
    text-decoration: none;
}

.urgent-note a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .urgent-consult-card {
        padding: 40px 25px;
    }
    
    .urgent-header {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-phone-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .urgent-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-details-grid {
        grid-template-columns: 1fr;
    }
    
    .urgent-title-section h3 {
        font-size: 1.6rem;
    }
}

/* 紧急求助链接卡片样式 */
.emergency-link-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.emergency-link-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(178, 34, 34, 0.15);
    border: 2px solid rgba(178, 34, 34, 0.1);
}

.emergency-link-icon {
    font-size: 3rem;
    min-width: 60px;
}

.emergency-link-content {
    flex: 1;
}

.emergency-link-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.emergency-link-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .emergency-link-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

/* 紧急求助页面新样式 - 模仿墨鱼社区 */
.emergency-header-new {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0 50px;
    border-bottom: 1px solid #e0e0e0;
    margin-top: 60px;
    position: relative;
}

.emergency-header-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #dc143c 100%);
}

.header-content-new {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.emergency-header-new h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.time-display-new {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.time-item-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.time-label-new {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.time-value-new {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* 紧急电话区域 - 新样式 */
.emergency-phones-section-new {
    padding: 40px 0;
    background: white;
}

.section-title-new {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.section-title-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.emergency-phones-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.emergency-phone-item-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    text-align: center;
}

.emergency-phone-item-new:hover {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.15);
}

.phone-number-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.phone-number-new:hover {
    color: #8b0000;
    transform: scale(1.05);
}

.phone-label-new {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* 紧急情况处理 - 新样式 */
.emergency-handling-section-new {
    padding: 40px 0;
    background: #f8f9fa;
}

.emergency-handling-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 30px auto 0;
}

.emergency-handling-item {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    text-align: center;
}

.emergency-handling-item:hover {
    box-shadow: 0 8px 24px rgba(178, 34, 34, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.handling-icon-small {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.handling-content {
    flex: 1;
}

.handling-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.handling-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.handling-link-new {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    margin-top: auto;
}

.handling-link-new:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.3);
}

/* 重要联系方式 - 新样式 */
.important-contacts-section-new {
    padding: 40px 0;
    background: white;
}

.contact-info-card-new {
    max-width: 900px;
    margin: 30px auto 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-title-new {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(178, 34, 34, 0.1);
}

.contact-details-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-detail-item-new {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.contact-detail-item-new:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(178, 34, 34, 0.1);
}

.contact-detail-item-new.emergency-highlight {
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, rgba(220, 20, 60, 0.05) 100%);
    border: 2px solid var(--primary-color);
    grid-column: 1 / -1;
}

.detail-label-new {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 90px;
    font-size: 0.95rem;
}

.detail-value-new {
    color: var(--text-dark);
    font-size: 0.95rem;
    flex: 1;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.detail-value-new:hover {
    color: var(--primary-color);
}

.emergency-phone-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.emergency-phone-link:hover {
    text-decoration: underline;
}

/* 紧急情况指南 - 新样式 */
.emergency-guide-section-new {
    padding: 30px 0;
    background: #f8f9fa;
}

.guide-content-new {
    max-width: 1200px;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.guide-item-new {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.guide-title-new {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.guide-list {
    padding-left: 20px;
    margin: 0;
}

.guide-list li {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* 紧急情况准备 - 新样式 */
.emergency-prep-section-new {
    padding: 30px 0;
    background: white;
}

.section-subtitle-new {
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.prep-checklist-new {
    max-width: 700px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.prep-item-new {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.prep-icon-new {
    color: var(--primary-color);
    font-weight: 700;
    min-width: 20px;
}

.prep-note-new {
    margin-top: 25px;
    padding: 20px;
    background: rgba(178, 34, 34, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.prep-note-new p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.prep-note-new strong {
    color: var(--primary-color);
}

/* 实用资源部分样式 */
.emergency-resources-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 600px;
    margin: 30px auto 0;
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(178, 34, 34, 0.2);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.resource-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.resource-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.resource-btn:hover {
    background: #8b0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.3);
}

/* 翻译卡片样式 */
.translation-card-section {
    padding: 40px 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.translation-card-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.translation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, rgba(220, 20, 60, 0.05) 100%);
    border-bottom: 1px solid #e0e0e0;
}

.translation-card-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(178, 34, 34, 0.1);
    color: var(--primary-color);
}

.translation-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(178, 34, 34, 0.05);
    color: var(--text-dark);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: white;
}

.translation-content {
    padding: 30px;
    max-height: 600px;
    overflow-y: auto;
}

/* 优化滚动条样式 */
.translation-content::-webkit-scrollbar {
    width: 8px;
}

.translation-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.translation-content::-webkit-scrollbar-thumb {
    background: rgba(178, 34, 34, 0.3);
    border-radius: 10px;
}

.translation-content::-webkit-scrollbar-thumb:hover {
    background: rgba(178, 34, 34, 0.5);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.translation-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.translation-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.translation-lang {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
}

.translation-lang:last-child {
    margin-bottom: 0;
}

.lang-label {
    min-width: 80px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    padding-top: 2px;
}

.lang-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 准备分类卡片样式 */
.prep-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 30px auto 0;
}

.prep-category-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.prep-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(178, 34, 34, 0.2);
}

.prep-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, rgba(220, 20, 60, 0.05) 100%);
    border-bottom: 1px solid #e0e0e0;
}

.prep-category-icon {
    font-size: 2rem;
    min-width: 40px;
}

.prep-category-header h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

.prep-category-content {
    padding: 20px 25px;
}

.prep-list-detailed {
    list-style: none;
    padding: 0;
    margin: 0;
}
.prep-list-detailed li {
    padding: 10px 0;
    padding-left: 25px;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
}
.prep-list-detailed li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.prep-list-detailed li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .emergency-header-new {
        padding: 90px 0 40px;
        margin-top: 60px;
    }
    
    .emergency-header-new h1 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .time-display-new {
        flex-direction: row;
        gap: 30px;
        padding: 20px;
    }
    
    .time-value-new {
        font-size: 1.5rem;
    }
    
    .emergency-phones-list {
        grid-template-columns: 1fr;
    }
    
    .emergency-handling-list {
        grid-template-columns: 1fr;
    }
    
    .emergency-handling-item {
        padding: 25px;
    }
    
    .handling-link-new {
        width: 100%;
        text-align: center;
    }
    
    .contact-details-list {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .prep-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .translation-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        min-width: 50%;
        font-size: 0.85rem;
        padding: 12px 10px;
    }
    
    .translation-content {
        padding: 20px;
        max-height: 500px;
    }
    
    .translation-lang {
        flex-direction: column;
        gap: 5px;
    }
    
    .lang-label {
        min-width: auto;
    }
}

/* 紧急子页面样式 */
.emergency-subpage-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0 40px;
    border-bottom: 1px solid #e0e0e0;
    margin-top: 60px;
    position: relative;
}

.emergency-subpage-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #dc143c 100%);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 25px;
    text-align: center;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #8b0000;
}

.emergency-subpage-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
    letter-spacing: -0.5px;
}

.guide-note {
    margin-top: 15px;
    padding: 15px;
    background: rgba(178, 34, 34, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.guide-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.guide-link:hover {
    color: #8b0000;
    transform: translateX(5px);
}

/* 医疗情况样式 */
.medical-conditions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.medical-condition {
    padding: 18px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.medical-condition:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.medical-condition h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.condition-symptoms {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.condition-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 12px;
}

.condition-list li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.4;
}

.condition-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.condition-action {
    padding: 10px 12px;
    background: rgba(178, 34, 34, 0.1);
    border-radius: 6px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

/* 紧急情况分类样式 */
.emergency-classification-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.classification-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto 0;
}

.classification-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.classification-card.urgent {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.03) 0%, rgba(220, 20, 60, 0.03) 100%);
}

.classification-header h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.classification-header p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.classification-phone {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid rgba(178, 34, 34, 0.2);
}

.classification-phone strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.classification-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 5px;
}

.classification-phone span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.classification-card p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 12px;
}

.classification-examples {
    font-weight: 600;
    margin-top: 20px;
}

.classification-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.classification-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.classification-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.classification-btn {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.classification-btn:hover {
    background: #8b0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.3);
}

/* 医院卡片样式 */
.hospitals-section {
    padding: 30px 0;
    background: white;
}

.hospitals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto 0;
}

.hospital-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.hospital-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(178, 34, 34, 0.2);
}

.hospital-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.hospital-info p {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.5;
}

.hospital-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.hospital-info a:hover {
    text-decoration: underline;
}

.hospital-note {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(178, 34, 34, 0.05);
    border-radius: 8px;
}

.hospital-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.hospital-note a:hover {
    text-decoration: underline;
}

/* 证件处理流程样式 */
.documents-process-section,
.safety-process-section {
    padding: 30px 0;
    background: white;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 20px auto 0;
}

.process-step-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(178, 34, 34, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.process-step-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.process-step-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* 证件类型样式 */
.documents-types-section,
.safety-events-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.documents-grid,
.safety-events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto 0;
}

.document-type-card,
.safety-event-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.document-type-card:hover,
.safety-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(178, 34, 34, 0.2);
}

.document-header,
.event-header {
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, rgba(220, 20, 60, 0.05) 100%);
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.document-header h3,
.event-header h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.document-content,
.event-content {
    padding: 20px;
}

.document-step,
.event-step {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.document-step:last-child,
.event-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.document-step strong,
.event-step strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.document-step p,
.event-step p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 5px 0;
    line-height: 1.6;
}

.document-step ul,
.event-step ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0;
}

.document-step li,
.event-step li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.document-step li::before,
.event-step li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.document-step a {
    color: var(--primary-color);
    text-decoration: none;
}

.document-step a:hover {
    text-decoration: underline;
}

/* 重要提示样式 */
.documents-important-section {
    padding: 30px 0;
    background: white;
}

.important-tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto 0;
}

.tip-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(178, 34, 34, 0.2);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.tip-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.tip-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* 证据收集样式 */
.evidence-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto 0;
}

.evidence-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.evidence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(178, 34, 34, 0.2);
}

.evidence-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.evidence-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.evidence-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.evidence-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* 领事保护样式 */
.consular-protection-section {
    padding: 30px 0;
    background: white;
}

.consular-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto 0;
}

.consular-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.consular-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.consular-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.consular-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.consular-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.consular-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.consular-card a:hover {
    text-decoration: underline;
}

/* 药房部分样式 */
.pharmacy-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.pharmacy-info {
    max-width: 800px;
    margin: 0 auto;
}

.pharmacy-info > p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.pharmacy-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}
.pharmacy-option {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.pharmacy-option h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}
.pharmacy-option p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.pharmacy-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pharmacy-link:hover {
    background: #8b0000;
    transform: translateY(-2px);
}

.pharmacy-note {
    padding: 20px;
    background: rgba(178, 34, 34, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.pharmacy-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 保险部分样式 */
.insurance-section {
    padding: 30px 0;
    background: white;
}

.insurance-info {
    max-width: 800px;
    margin: 0 auto;
}

.insurance-info > h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 600;
}

.insurance-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.insurance-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.insurance-card p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.insurance-note {
    margin-top: 25px;
    padding: 20px;
    background: rgba(178, 34, 34, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.insurance-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 医疗德语表格样式 */
.medical-german-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.german-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.german-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.german-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    color: white;
}

.german-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.german-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.german-table tbody tr:hover {
    background: rgba(178, 34, 34, 0.05);
}

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

.translation-link {
    text-align: center;
    margin-top: 25px;
}

/* 返回按钮样式 */
.back-section {
    padding: 30px 0;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.back-btn {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: #8b0000;
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .emergency-subpage-header h1 {
        font-size: 2rem;
    }
    
    .guide-content-new {
        grid-template-columns: 1fr;
    }
    
    .classification-grid {
        grid-template-columns: 1fr;
    }
    
    .hospitals-grid {
        grid-template-columns: 1fr;
    }
    
    .pharmacy-options {
        grid-template-columns: 1fr;
    }
    
    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .documents-grid,
    .safety-events-grid {
        grid-template-columns: 1fr;
    }
    
    .important-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .evidence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .consular-info {
        grid-template-columns: 1fr;
    }
    
    .german-table-wrapper {
        overflow-x: scroll;
    }
    
    .german-table {
        font-size: 0.85rem;
    }
    
    .german-table th,
    .german-table td {
        padding: 10px;
    }
    
    .medical-conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 隐私政策和使用条款页面样式 */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--white);
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 30px;
}

.policy-section li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-dark);
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.content-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.header-stats .stat-item {
    text-align: center;
}

.header-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700 !important;
    margin-bottom: 5px;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffd700 !important;
    background-clip: unset !important;
}

.header-stats .stat-number::after {
    display: none !important;
}

.header-stats .stat-label {
    font-size: 1rem;
    color: white;
}

/* 德语培训页面样式 */
.partnership-intro {
    background: var(--white);
}

.partnership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.partnership-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.partnership-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.teachers-section {
    background: var(--bg-light);
}

.teacher-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.teacher-avatar {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.teacher-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.credential-item {
    display: flex;
    margin-bottom: 15px;
}

.credential-title {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 100px;
}

.credential-desc {
    color: var(--text-light);
}

.courses-section {
    background: var(--white);
}

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

.course-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-level {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.course-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.course-hours {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.course-features {
    list-style: none;
    margin-bottom: 25px;
}

.course-features li {
    padding: 5px 0;
    color: var(--text-light);
}

.course-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.course-link:hover {
    color: #8b0000;
}

.pricing-section {
    background: var(--bg-light);
}

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

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-level {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-hours {
    color: var(--text-light);
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-light);
}

.pricing-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.pricing-btn:hover {
    background: #8b0000;
}

.contact-section {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ 样式 */
.faq-section {
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}
/* 响应式设计 - 统一容器宽度和padding */
@media (max-width: 768px) {
    /* 统一移动端容器padding */
    .container {
        padding: 0 15px !important;
    }
    
    section > .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* 页脚移动端优化 */
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-section::before {
        display: none;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .footer-section h3::after {
        width: 30px;
    }
    
    /* 统计数据移动端优化 */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 30px 0;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .hero-carousel,
    .page-header,
    .study-header,
    .immigration-header,
    .cases-header,
    .contact-header,
    .about-header,
    .cases-categories,
    .faq-header,
    .quota-header {
        height: auto;
        min-height: 350px;
        max-height: none;
        padding: 100px 0 40px;
        position: relative;
        overflow: hidden;
    }
    
    /* 确保所有header类型的主图都能正确显示 */
    .page-header .header-background-image,
    .study-header .header-background-image,
    .immigration-header .header-background-image,
    .cases-header .header-background-image,
    .contact-header .header-background-image,
    .about-header .header-background-image,
    .faq-header .header-background-image,
    .quota-header .header-background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .faq-header {
        padding: 100px 0 40px;
    }
    
    .faq-header .category-tabs {
        margin-top: 30px;
        gap: 10px;
    }
    
    .hero-carousel {
        margin-top: 70px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        justify-content: flex-start;
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-contact {
        display: none;
    }
    
    .mobile-contact {
        display: block;
    }
    
    .mobile-emergency {
        display: block;
    }

    .nav-menu.active {
        left: 0;
    }
    
    /* 移动端菜单遮罩层 */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .nav-menu .mobile-contact {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .nav-menu .mobile-contact .nav-link {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
        color: var(--primary-color);
        padding: 12px 24px;
        border-radius: 25px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
        margin-top: 10px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    /* 移动端菜单项优化 */
    .nav-menu .nav-item {
        width: 100%;
    }
    
    .nav-menu .nav-link {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    
    /* 移动端下拉菜单优化 */
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        margin: 5px 0;
        border-radius: 0;
        min-width: auto;
        width: 100%;
    }
    
    .nav-menu .dropdown-link {
        color: white;
        padding: 12px 40px;
    }
    
    .nav-menu .dropdown-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffd700;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .carousel-title {
        font-size: 2rem;
    }

    .carousel-subtitle {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-stats {
        gap: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .partnership-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .teacher-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header-stats {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    /* 统一小屏移动端容器padding */
    .container {
        padding: 0 15px !important;
    }
    
    /* 小屏幕主图优化 */
    .page-header,
    .study-header,
    .immigration-header,
    .cases-header,
    .contact-header,
    .about-header,
    .faq-header,
    .quota-header {
        min-height: 280px !important;
        padding: 80px 0 30px;
    }
    
    .header-background-image {
        background-size: cover;
        background-position: center center;
        opacity: 0.2;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .page-header p {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .container {
        max-width: 100% !important;
    }
    
    section > .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .header-stats {
        flex-direction: row;
        gap: 30px;
        flex-wrap: wrap;
    }

    .carousel-buttons {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

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

/* ===== 留学页面专用样式 ===== */
.universities-section {
    background: var(--bg-light);
}

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

.university-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.university-card:hover {
    transform: translateY(-5px);
}

.university-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.university-content {
    padding: 30px;
}

.university-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.university-type {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.university-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.university-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.majors-section {
    background: var(--white);
}

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

.major-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.major-card:hover {
    transform: translateY(-5px);
}

.major-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.major-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.major-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.major-features {
    list-style: none;
    text-align: center;
}

.major-features li {
    padding: 5px 0;
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.major-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.process-section {
    background: var(--bg-light);
}

.process-timeline {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.process-step::after {
    display: none;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.step-duration {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.costs-section {
    background: var(--white);
}

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

.cost-category {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cost-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-label {
    color: var(--text-dark);
    font-weight: 500;
}

.cost-amount {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .universities-grid,
    .majors-grid,
    .costs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step {
        flex-direction: row;
        text-align: left;
        gap: 20px;
        align-items: flex-start;
    }
    
    .process-step::after {
        display: none;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}


/* ===== 留学页面优化样式 - 参考海马社设计 ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-section {
    background: var(--white);
    padding: 80px 0;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    text-align: center;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.advantages-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

.process-section {
    background: var(--white);
    padding: 80px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.step-content {
    flex: 1;
    width: 100%;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.cases-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.4;
}

.case-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cases-cta {
    text-align: center;
    margin-top: 50px;
}

.faq-section {
    background: var(--white);
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(178, 34, 34, 0.1);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    background: var(--primary-color);
    color: white;
}

.toggle-icon {
    transition: transform 0.3s ease;
    transform-origin: center;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-in 0.1s;
    background: var(--bg-light);
    opacity: 0;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    opacity: 1;
    padding-top: 0;
}

.answer-content {
    padding: 20px 30px 25px;
    opacity: 1;
}

.answer-content p {
    margin: 0 0 15px 0;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.answer-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.answer-tags .tag {
    background: rgba(178, 34, 34, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
    white-space: nowrap;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .services-grid,
    .advantages-grid,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step {
        flex-direction: row;
        text-align: left;
        gap: 20px;
        padding: 25px;
        align-items: flex-start;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        white-space: normal;
        max-width: 100%;
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .advantage-card,
    .case-card {
        padding: 25px;
    }
    
    .process-step {
        padding: 25px;
    }
}


/* ===== 居留签证页面专用样式 ===== */
.visa-types-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.visa-type-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.visa-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
}

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

.visa-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.visa-type-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.visa-duration {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.visa-type-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 20px 0 10px 0;
}

.visa-type-content h4:first-child {
    margin-top: 0;
}

.visa-type-content ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.visa-type-content ul li {
    padding: 6px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.visa-type-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
}

.costs-section {
    background: var(--white);
    padding: 80px 0;
}

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

.cost-category {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.cost-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.cost-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-dark);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.cost-category h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #8b0000;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
    transition: all 0.3s ease;
}

.cost-item:hover {
    background: var(--bg-light);
    margin: 0 -15px;
    padding: 15px;
    border-radius: 8px;
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-label {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.cost-amount {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* 居留签证页面特殊样式 */
.residence-visa-page .service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.residence-visa-page .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
}

.residence-visa-page .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.residence-visa-page .service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.residence-visa-page .service-content {
    text-align: center;
}

.residence-visa-page .service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.residence-visa-page .service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.residence-visa-page .service-features {
    list-style: none;
    text-align: center;
    margin-top: 20px;
}

.residence-visa-page .service-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.residence-visa-page .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .visa-types-grid,
    .costs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .visa-type-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .visa-duration {
        align-self: flex-end;
    }
    
    .cost-item:hover {
        margin: 0 -10px;
        padding: 15px 10px;
    }
}

@media (max-width: 480px) {
    .visa-type-card,
    .cost-category {
        padding: 25px;
    }
    
    .visa-type-header h3 {
        font-size: 1.2rem;
    }
    
    .cost-category h3 {
        font-size: 1.3rem;
    }
}


/* ===== 德语培训页面专用样式 ===== */
.partnership-intro {
    background: var(--white);
    padding: 80px 0;
}

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

.partnership-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.partnership-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.teachers-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.teacher-card {
    display: flex;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
    align-items: center;
    transition: all 0.3s ease;
}

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

.teacher-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--primary-color);
}

.teacher-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.teacher-credentials {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.credential-title {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 120px;
    font-size: 1rem;
}

.credential-desc {
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.courses-section {
    background: var(--white);
    padding: 80px 0;
}

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

.course-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.course-level {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.course-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}
.course-hours {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.course-features {
    list-style: none;
    text-align: center;
    margin-bottom: 25px;
}

.course-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.course-link {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.course-link:hover {
    background: #8b0000;
    transform: translateY(-2px);
}

.pricing-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-level {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-hours {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.pricing-features {
    list-style: none;
    text-align: center;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-btn {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.pricing-btn:hover {
    background: #8b0000;
    transform: translateY(-2px);
}

.past-courses-section {
    background: var(--white);
    padding: 80px 0;
}

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

.past-course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.course-image {
    position: relative;
    overflow: hidden;
}

.course-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.past-course-card:hover .course-thumbnail {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.past-course-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.course-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.course-duration,
.course-level {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.platform-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.platform-text h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.platform-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1rem;
}

.platform-features {
    list-style: none;
    margin-bottom: 30px;
}

.platform-features li {
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.platform-link {
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.platform-link:hover {
    background: #8b0000;
    transform: translateY(-2px);
}

.platform-screenshot {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-section {
    background: var(--white);
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.contact-item a,
.contact-item span {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-form form {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #8b0000;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .partnership-content,
    .teacher-card,
    .platform-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .teacher-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .teacher-avatar {
        width: 150px;
        height: 150px;
    }
    
    .courses-grid,
    .pricing-grid,
    .past-courses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .teacher-card,
    .pricing-card,
    .past-course-card {
        padding: 25px;
    }
    
    .teacher-avatar {
        width: 120px;
        height: 120px;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
}


/* ===== 德语培训价格表样式更新 ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-level {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pricing-hours {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 1rem;
}

.pricing-rmb {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.9rem;
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 12px;
    display: inline-block;
}

.pricing-features {
    list-style: none;
    text-align: center;
    margin-bottom: 25px;
}

.pricing-features li {
    padding: 6px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 18px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.8rem;
}

.pricing-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
}

.pricing-btn:hover {
    background: #8b0000;
    transform: translateY(-2px);
}

.pricing-note {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.pricing-note p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.pricing-note strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
    
    .pricing-price {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 20px 15px;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    .pricing-level {
        font-size: 1.1rem;
    }
}


/* ===== 德语培训报价表样式 ===== */
.pricing-table-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 40px;
    border: 1px solid #f0f0f0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.pricing-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    color: white;
}

.pricing-table th {
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.pricing-table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.pricing-table tbody tr.featured-row {
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, rgba(139, 0, 0, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
}

.pricing-table td {
    padding: 18px 15px;
    vertical-align: middle;
}

.course-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.featured-badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 8px;
}

.course-hours {
    color: var(--text-light);
    font-weight: 500;
}

.course-euro {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.course-rmb {
    color: var(--text-light);
    font-size: 0.9rem;
}

.course-action {
    text-align: center;
}

.table-btn {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.table-btn:hover {
    background: #8b0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.3);
}

.table-btn.featured-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    box-shadow: 0 4px 12px rgba(178, 34, 34, 0.2);
}

.pricing-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.note-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.note-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.note-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.note-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .pricing-table-container {
        overflow-x: auto;
    }
    
    .pricing-table {
        min-width: 600px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
    
    .pricing-table th {
        font-size: 0.9rem;
    }
    
    .course-name {
        font-size: 0.9rem;
    }
    
    .course-euro {
        font-size: 1rem;
    }
    
    .table-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .pricing-notes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .note-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .pricing-table {
        min-width: 500px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 10px 6px;
        font-size: 0.8rem;
    }
    
    .featured-badge {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .table-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .note-item h4 {
        font-size: 1rem;
    }
    
    .note-item p {
        font-size: 0.85rem;
    }
}


/* ===== FAQ弹出动画样式 ===== */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
    padding-right: 20px;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(178, 34, 34, 0.1);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 30px 25px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    padding-top: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 15px;
    }
    
    .faq-toggle {
        width: 25px;
        height: 25px;
        font-size: 1.2rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
        padding-right: 10px;
    }
    
    .faq-toggle {
        width: 22px;
        height: 22px;
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
}


/* ===== 德语培训主图区域样式 ===== */
.german-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.german-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-text p:last-child {
    margin-bottom: 0;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partnership-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: white;
    padding: 20px;
}

.partnership-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .german-hero-section {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .partnership-logo {
        max-width: 250px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .german-hero-section {
        padding: 40px 0;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .partnership-logo {
        max-width: 200px;
        padding: 10px;
    }
}


/* ===== 家庭团聚移民页面样式 ===== */
.immigration-guide {
    background: var(--white);
    padding: 80px 0;
}

.guide-steps {
    margin-top: 60px;
}

.guide-step {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.guide-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.3);
}

.step-content {
    flex: 1;
}

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

.step-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.condition-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.condition-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.condition-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.condition-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.condition-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.process-timeline {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.process-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.process-text h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.process-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.timeline-info {
    margin-top: 30px;
}

.time-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.time-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.time-item:last-child {
    margin-bottom: 0;
}

.time-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.time-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.time-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

.cost-breakdown {
    margin-top: 30px;
}

.cost-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.cost-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cost-item:last-child {
    margin-bottom: 0;
}

.cost-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.cost-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.cost-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

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

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

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

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.benefit-card strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .guide-step {
        flex-direction: row;
        gap: 25px;
        margin-bottom: 60px;
        align-items: flex-start;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        align-self: center;
    }
    
    .step-content h3 {
        font-size: 1.6rem;
        text-align: left;
    }
    
    .condition-cards,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-item {
        flex-direction: row;
        text-align: left;
        gap: 15px;
        align-items: flex-start;
    }
    
    .process-icon {
        flex-shrink: 0;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    .immigration-guide {
        padding: 60px 0;
    }
    
    .guide-step {
        margin-bottom: 50px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1.4rem;
    }
    
    .condition-card,
    .time-item,
    .cost-item,
    .benefit-card {
        padding: 20px;
    }
    
    .process-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}


/* ===== 技术移民页面样式 ===== */
.process-options {
    margin-top: 30px;
}

.process-option {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.process-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.process-option:last-child {
    margin-bottom: 0;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.option-letter {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.option-header h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.process-option p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    padding-left: 55px;
}

/* 技术移民特殊样式 */
.technical-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.technical-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #8b0000 100%);
}

.technical-highlight h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.technical-highlight p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.technical-highlight strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* 打分制度特殊样式 */
.scoring-system {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.scoring-system h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.scoring-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.criteria-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.criteria-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.criteria-item .criteria-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.criteria-item h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.criteria-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* 红白红卡特殊样式 */
.rwr-card-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    color: white;
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rwr-card-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.rwr-card-info h4 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.rwr-card-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .process-option p {
        padding-left: 0;
        margin-top: 15px;
    }
    
    .option-header {
        flex-direction: row;
        text-align: left;
        gap: 10px;
        align-items: flex-start;
    }
    
    .scoring-criteria {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .technical-highlight,
    .scoring-system,
    .rwr-card-info {
        padding: 20px;
        margin: 15px 0;
    }
    
    .rwr-card-info h4 {
        font-size: 1.4rem;
    }
    
    .rwr-card-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .process-option {
        padding: 20px;
    }
    
    .option-letter {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .option-header h4 {
        font-size: 1.1rem;
    }
    
    .criteria-item {
        padding: 15px;
    }
    
    .criteria-item .criteria-icon {
        font-size: 2rem;
    }
    
    .criteria-item h5 {
        font-size: 1rem;
    }
    
    .criteria-item p {
        font-size: 0.85rem;
    }
}


/* ===== 投资移民页面样式 ===== */
.investment-highlight {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.investment-highlight::before {
    content: '💰';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.investment-highlight h4 {
    color: #e65100;
    font-weight: 700;
}

.investment-highlight strong {
    color: #d84315;
    font-weight: 800;
    font-size: 1.1em;
}

.special-case {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border: 2px solid #9c27b0;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.special-case::before {
    content: '👑';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.special-case h4 {
    color: #7b1fa2;
    font-weight: 700;
}

.investment-cost {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.investment-cost::before {
    content: '💎';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.investment-cost h4 {
    color: #2e7d32;
    font-weight: 700;
}

.investment-cost strong {
    color: #1b5e20;
    font-weight: 800;
}

/* 投资金额突出显示 */
.investment-amount {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.investment-amount::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="money" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23money)"/></svg>');
    opacity: 0.3;
}

.investment-amount h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.investment-amount .amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.investment-amount p {
    font-size: 1.1rem;
    margin: 0;
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

/* 商业计划特殊样式 */
.business-plan-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.business-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #8b0000 100%);
}

.business-plan-card h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.business-plan-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* 投资优势展示 */
.investment-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.advantage-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.advantage-item .advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.advantage-item h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* 费用明细特殊样式 */
.cost-details {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.cost-details h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.cost-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cost-list-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cost-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cost-list-item .cost-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.cost-list-item h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.cost-list-item .cost-amount {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cost-list-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .investment-advantages {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cost-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .investment-amount {
        padding: 15px;
    }
    
    .investment-amount .amount {
        font-size: 2rem;
    }
    
    .business-plan-card,
    .cost-details {
        padding: 20px;
        margin: 15px 0;
    }
    
    .advantage-item {
        padding: 20px;
    }
    
    .cost-list-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .investment-amount .amount {
        font-size: 1.8rem;
    }
    
    .investment-amount h3 {
        font-size: 1.5rem;
    }
    
    .investment-amount p {
        font-size: 1rem;
    }
    
    .advantage-item .advantage-icon {
        font-size: 2.5rem;
    }
    
    .cost-list-item .cost-icon {
        font-size: 2rem;
    }
}


/* ===== 配额移民页面样式 ===== */
.quota-highlight {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.quota-highlight::before {
    content: '💵';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.quota-highlight h4 {
    color: #1565c0;
    font-weight: 700;
}

.quota-highlight strong {
    color: #0d47a1;
    font-weight: 800;
    font-size: 1.1em;
}

.language-requirement {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border: 2px solid #9c27b0;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.language-requirement::before {
    content: '🗣️';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.language-requirement h4 {
    color: #7b1fa2;
    font-weight: 700;
}

.quota-limit {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.quota-limit::before {
    content: '⚠️';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.quota-limit h4 {
    color: #e65100;
    font-weight: 700;
}

.quota-limit strong {
    color: #d84315;
    font-weight: 800;
}

.quota-notice {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.quota-notice::before {
    content: '🚨';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.quota-notice h4 {
    color: #c62828;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.quota-notice p {
    color: #d32f2f;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.quota-notice strong {
    color: #b71c1c;
    font-weight: 800;
}

.economic-threshold {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.economic-threshold::before {
    content: '💰';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.economic-threshold h4 {
    color: #2e7d32;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.economic-threshold p {
    color: #1b5e20;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.economic-threshold strong {
    color: #0d4f0d;
    font-weight: 800;
}

.quota-summary {
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    border: 2px solid #8bc34a;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.quota-summary::before {
    content: '🌟';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.quota-summary h4 {
    color: #558b2f;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.quota-summary p {
    color: #33691e;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* 配额时间线特殊样式 */
.quota-timeline {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.quota-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #8b0000 100%);
}

.quota-timeline h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.quota-timeline .timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quota-timeline .timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quota-timeline .timeline-item:last-child {
    margin-bottom: 0;
}

.quota-timeline .timeline-icon {
    font-size: 2rem;
    margin-right: 15px;
    color: var(--primary-color);
}

.quota-timeline .timeline-content h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.quota-timeline .timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* 配额申请时间提醒 */
.quota-deadline {
    background: linear-gradient(135deg, #ff5722 0%, #d84315 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.quota-deadline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="urgent" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23urgent)"/></svg>');
    opacity: 0.3;
}

.quota-deadline h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.quota-deadline .deadline-date {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.quota-deadline p {
    font-size: 1.2rem;
    margin: 0;
    position: relative;
    z-index: 2;
    opacity: 0.95;
    font-weight: 500;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .quota-notice,
    .economic-threshold,
    .quota-summary {
        padding: 20px;
        margin: 20px 0;
    }
    
    .quota-deadline {
        padding: 25px;
    }
    
    .quota-deadline h3 {
        font-size: 1.6rem;
    }
    
    .quota-deadline .deadline-date {
        font-size: 2.5rem;
    }
    
    .quota-deadline p {
        font-size: 1.1rem;
    }
    
    .quota-timeline {
        padding: 20px;
    }
    
    .quota-timeline .timeline-item {
        flex-direction: row;
        text-align: left;
        gap: 10px;
        align-items: flex-start;
    }
    
    .quota-timeline .timeline-icon {
        margin-right: 15px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .quota-deadline h3 {
        font-size: 1.4rem;
    }
    
    .quota-deadline .deadline-date {
        font-size: 2rem;
    }
    
    .quota-deadline p {
        font-size: 1rem;
    }
    
    .quota-notice h4,
    .economic-threshold h4,
    .quota-summary h4 {
        font-size: 1.2rem;
    }
    
    .quota-timeline h4 {
        font-size: 1.2rem;
    }
}


/* ===== 成功案例分类样式 ===== */
.cases-categories {
    background: var(--white);
    padding: 60px 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

/* 案例卡片分类过滤 */
.case-card {
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.case-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* 案例卡片增强样式 */
.case-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

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

.case-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image {
    transform: scale(1.05);
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.case-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.case-time {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.case-type {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 加载更多按钮 */
.load-more-section {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.3);
}

/* 案例网格布局优化 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 居留签证页面新增样式 */
.residence-section, .visa-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.residence-details, .visa-details {
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.detail-item {
    margin: 1rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.residence-types, .visa-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.residence-type-card, .visa-type {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.visa-notes {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.visa-notes h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.visa-notes ul {
    margin-left: 1.5rem;
}

.visa-notes li {
    margin: 0.5rem 0;
    color: #856404;
}

.materials-section {
    padding: 4rem 0;
    background-color: var(--gray-100);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.material-category {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.material-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.material-category ul {
    list-style: none;
    padding: 0;
}

.material-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.material-category li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.material-category li:last-child {
    border-bottom: none;
}

/* 关于我们页面样式 - 海马社风格 */
.about-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(178,34,34,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.about-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.about-header p {
    font-size: 1.3rem;
    color: white;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.header-image {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.team-hero-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.who-we-are-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 600;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
}

.team-section {
    padding: 6rem 0;
    background: var(--gray-100);
}

.team-expertise {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.expertise-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.expertise-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: #6c757d;
    line-height: 1.6;
}

.philosophy-section {
    padding: 6rem 0;
    background: var(--white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
}

.philosophy-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.philosophy-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.philosophy-item p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1.1rem;
}

.why-choose-section {
    padding: 6rem 0;
    background: var(--gray-100);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.highlight-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.highlight-card p {
    color: #6c757d;
    line-height: 1.6;
}

.confidence-section {
    padding: 6rem 0;
    background: var(--white);
}

.confidence-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

.confidence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.confidence-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.confidence-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.confidence-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.confidence-content p {
    color: #6c757d;
    line-height: 1.6;
}

.future-section {
    padding: 6rem 0;
    background: var(--gray-100);
}

.future-timeline {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.future-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

@media (min-width: 1200px) {
    .future-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .future-timeline {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.future-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.future-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.future-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.future-content p {
    color: #6c757d;
    line-height: 1.6;
}

.future-vision {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.future-vision p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #6c757d;
    font-style: italic;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2.5rem;
    }
    
    .about-header p {
        font-size: 1.1rem;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-expertise,
    .philosophy-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .confidence-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .confidence-item,
    .future-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .confidence-number,
    .future-number {
        flex-shrink: 0;
        margin-right: 15px;
    }
}

/* FAQ页面样式 */
.faq-categories {
    background-color: var(--gray-100);
    padding: 2rem 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.tab-btn {
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-category {
    margin: 3rem 0;
}

.category-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.faq-item {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.faq-item.active::before {
    opacity: 1;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--gray-100);
}

.faq-question h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.faq-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.faq-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.faq-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.faq-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg) scale(1.1);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

.faq-answer {
    padding: 0 1.5rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-answer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
}

.faq-answer.active {
    max-height: 1000px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    position: relative;
    padding-left: 1.5rem;
}

.faq-answer p::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.6;
    font-size: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .faq-categories {
        padding: 2rem 0;
    }
    
    .category-tabs {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .category-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .faq-item {
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .faq-question {
        padding: 1.2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0.5rem;
    }
    
    .faq-toggle {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.2rem;
    }
    
    .faq-answer.active {
        padding: 1.2rem;
    }
    
    .faq-answer p {
        padding-left: 1.2rem;
    }
    
    .faq-answer p::before {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-toggle {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-answer.active {
        padding: 1rem;
    }
    
    .faq-answer p {
        padding-left: 1rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-tabs {
        gap: 10px;
        margin-top: 30px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .case-content h3 {
        font-size: 1.2rem;
    }
    
    .case-meta {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .category-tabs {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .tab-btn {
        width: 200px;
        text-align: center;
    }
    
    .case-image {
        height: 200px;
    }
    
    .case-content h3 {
        font-size: 1.1rem;
    }
    
    .case-content p {
        font-size: 0.9rem;
    }
}


/* ===== 联系我们页面样式 ===== */
.service-guarantee {
    background: var(--white);
    padding: 60px 0;
}

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

.guarantee-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.guarantee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.guarantee-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.guarantee-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.contact-methods {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.contact-desc {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-id {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.phone-numbers {
    text-align: center;
}

.phone-item {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.phone-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.phone-item:last-child {
    margin-bottom: 0;
}

.phone-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.phone-number {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.phone-time {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.email-address {
    margin-top: 20px;
}

.email-address a {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.email-address a:hover {
    color: var(--accent-color);
}

.qr-code {
    margin: 20px 0;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: var(--bg-light);
    border: 2px dashed #ccc;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.qr-placeholder:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

.qr-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.qr-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.social-media {
    background: var(--white);
    padding: 80px 0;
}

/* 合并的社交媒体和表单区域 */
.social-form-combined {
    background: var(--bg-light);
    padding: 80px 0;
}

.combined-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.social-media-column {
    width: 100%;
}

.social-media-column .social-header {
    margin-bottom: 30px;
    text-align: left;
}

.social-media-column .social-header .section-title {
    text-align: left;
    display: inline-block;
    margin-bottom: 10px;
}

.social-media-column .social-header .section-subtitle {
    text-align: left;
    margin-top: 10px;
}

.contact-form-column {
    width: 100%;
}

.contact-form-column .form-header {
    margin-bottom: 30px;
    text-align: left;
}

.contact-form-column .form-header .section-title {
    text-align: left;
    display: inline-block;
    margin-bottom: 10px;
}

.contact-form-column .form-header .section-subtitle {
    text-align: left;
    margin-top: 10px;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 0;
}

.social-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.social-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.social-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.social-info h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.social-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.contact-form-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-progress {
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 合并布局中的表单容器 */
.contact-form-column .form-container {
    max-width: 100%;
    margin: 0;
}

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

.form-group label {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans SC', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.1);
}
.contact-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
}

.radio-option input[type='radio'] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type='radio']:checked + .radio-custom {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.radio-option input[type='radio']:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.faq-link-section {
    background: var(--white);
    padding: 60px 0;
}

.faq-link-card {
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, rgba(220, 20, 60, 0.05) 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(178, 34, 34, 0.1);
    box-shadow: 0 5px 20px rgba(178, 34, 34, 0.08);
}

.faq-link-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-link-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 响应式：合并布局在小屏幕上改为上下排列 */
    .combined-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-column .form-header,
    .social-media-column .social-header {
        text-align: center;
    }
    
    .contact-form-column .form-header .section-title,
    .social-media-column .social-header .section-title {
        text-align: center;
        display: block;
    }
    
    .contact-form-column .form-header .section-subtitle,
    .social-media-column .social-header .section-subtitle {
        text-align: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-options {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .phone-numbers {
        text-align: center;
    }
    
    .phone-item {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .service-guarantee,
    .contact-methods,
    .social-media,
    .contact-form-section {
        padding: 40px 0;
    }
    
    .guarantee-item,
    .contact-card,
    .social-card {
        padding: 25px 15px;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    .qr-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .qr-icon {
        font-size: 2.5rem;
    }
    
    .phone-number {
        font-size: 1.1rem;
    }
    
    .email-address a {
        font-size: 1rem;
    }
}


/* ===== SVG图标样式 ===== */
.icon {
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    transition: all 0.3s ease;
}

.icon-large {
    width: 2.5em;
    height: 2.5em;
}

.icon-small {
    width: 1em;
    height: 1em;
}

.icon-primary {
    color: var(--primary-color);
}

.icon-secondary {
    color: var(--secondary-color);
}

.icon-white {
    color: white;
}

.icon-accent {
    color: var(--accent-color);
}

/* 导航栏图标 */
.nav-icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 8px;
    vertical-align: middle;
}

/* 服务卡片图标 */
.service-icon {
    width: 3em;
    height: 3em;
    margin: 0 auto 20px;
    display: block;
    color: var(--primary-color);
}

.service-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* 联系卡片图标 */
.contact-icon {
    width: 2.5em;
    height: 2.5em;
    color: var(--primary-color);
}

.contact-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* 保障图标 */
.guarantee-icon {
    width: 3em;
    height: 3em;
    margin: 0 auto 20px;
    display: block;
    color: var(--primary-color);
}

.guarantee-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* 社交媒体图标 */
.social-icon {
    width: 2.5em;
    height: 2.5em;
    color: var(--primary-color);
}

.social-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* 案例标签图标 */
.case-icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 5px;
    vertical-align: middle;
}

/* 步骤图标 */
.step-icon {
    width: 2em;
    height: 2em;
    margin: 0 auto 15px;
    display: block;
    color: var(--primary-color);
}

/* 流程图标 */
.process-icon {
    width: 2.5em;
    height: 2.5em;
    color: var(--primary-color);
    flex-shrink: 0;
}

.process-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* 福利图标 */
.benefit-icon {
    width: 3em;
    height: 3em;
    margin: 0 auto 20px;
    display: block;
    color: var(--primary-color);
}

.benefit-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* 特色图标 */
.feature-icon {
    width: 2.5em;
    height: 2.5em;
    margin: 0 auto 15px;
    display: block;
    color: var(--primary-color);
}

.feature-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* 统计图标 */
.stat-icon {
    width: 2em;
    height: 2em;
    margin: 0 auto 10px;
    display: block;
    color: var(--primary-color);
}

/* 按钮图标 */
.btn-icon {
    width: 1em;
    height: 1em;
    margin-right: 8px;
    vertical-align: middle;
}

/* 页脚图标 */
.footer-icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 8px;
    vertical-align: middle;
}

/* 图标动画效果 */
.icon-bounce:hover {
    animation: bounce 0.6s ease-in-out;
}

.icon-rotate:hover {
    animation: rotate 0.6s ease-in-out;
}

.icon-pulse:hover {
    animation: pulse 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 响应式图标 */
@media (max-width: 768px) {
    .service-icon,
    .guarantee-icon,
    .benefit-icon {
        width: 2.5em;
        height: 2.5em;
    }
    
    .contact-icon,
    .social-icon {
        width: 2em;
        height: 2em;
    }
    
    .process-icon {
        width: 2em;
        height: 2em;
    }
}

@media (max-width: 480px) {
    .service-icon,
    .guarantee-icon,
    .benefit-icon {
        width: 2em;
        height: 2em;
    }
    
    .contact-icon,
    .social-icon {
        width: 1.8em;
        height: 1.8em;
    }
    
    .process-icon {
        width: 1.8em;
        height: 1.8em;
    }
}


/* ===== 海马社风格图标系统 ===== */
.icon {
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.icon-large {
    width: 3em;
    height: 3em;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.icon-medium {
    width: 2.5em;
    height: 2.5em;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

.icon-small {
    width: 1.2em;
    height: 1.2em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.icon-xs {
    width: 1em;
    height: 1em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
}

/* 图标颜色主题 */
.icon-primary {
    color: var(--primary-color);
    fill: var(--primary-color);
}

.icon-secondary {
    color: var(--secondary-color);
    fill: var(--secondary-color);
}

.icon-accent {
    color: var(--accent-color);
    fill: var(--accent-color);
}

.icon-white {
    color: white;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.icon-success {
    color: #28a745;
    fill: #28a745;
}

.icon-warning {
    color: #ffc107;
    fill: #ffc107;
}

.icon-info {
    color: #17a2b8;
    fill: #17a2b8;
}

.icon-danger {
    color: #dc3545;
    fill: #dc3545;
}

/* 服务卡片图标 - 优化版本 */
.service-icon {
    width: 5em;
    height: 5em;
    margin: 0 auto 25px;
    display: block;
    color: white;
    fill: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    border-radius: 50%;
    padding: 1em;
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-icon:hover {
    transform: translateY(-12px) scale(1.15);
    box-shadow: 0 20px 40px rgba(178, 34, 34, 0.4);
    background: linear-gradient(135deg, #dc143c 0%, var(--primary-color) 100%);
}

.service-icon:hover::before {
    opacity: 1;
}

.service-icon:active {
    transform: translateY(-8px) scale(1.1);
    transition: all 0.1s ease;
}

/* 联系卡片图标 */
.contact-icon {
    width: 3em;
    height: 3em;
    color: var(--primary-color);
    fill: var(--primary-color);
    filter: drop-shadow(0 4px 8px rgba(178, 34, 34, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-icon:hover {
    transform: scale(1.15) rotate(5deg);
    color: var(--accent-color);
    fill: var(--accent-color);
    filter: drop-shadow(0 8px 16px rgba(178, 34, 34, 0.3));
}

/* 保障图标 */
.guarantee-icon {
    width: 4em;
    height: 4em;
    margin: 0 auto 25px;
    display: block;
    color: var(--primary-color);
    fill: var(--primary-color);
    filter: drop-shadow(0 6px 12px rgba(178, 34, 34, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.guarantee-icon:hover {
    transform: translateY(-6px) scale(1.08);
    color: var(--accent-color);
    fill: var(--accent-color);
    filter: drop-shadow(0 12px 24px rgba(178, 34, 34, 0.3));
}

/* 社交媒体图标 */
.social-icon {
    width: 3em;
    height: 3em;
    color: var(--primary-color);
    fill: var(--primary-color);
    filter: drop-shadow(0 4px 8px rgba(178, 34, 34, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    transform: scale(1.12) rotate(-3deg);
    color: var(--accent-color);
    fill: var(--accent-color);
    filter: drop-shadow(0 8px 16px rgba(178, 34, 34, 0.3));
}

/* 案例标签图标 */
.case-icon {
    width: 1.5em;
    height: 1.5em;
    margin-right: 8px;
    vertical-align: middle;
    color: var(--primary-color);
    fill: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* 步骤图标 */
.step-icon {
    width: 3em;
    height: 3em;
    margin: 0 auto 20px;
    display: block;
    color: var(--primary-color);
    fill: var(--primary-color);
    filter: drop-shadow(0 6px 12px rgba(178, 34, 34, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
    fill: var(--accent-color);
    filter: drop-shadow(0 8px 16px rgba(178, 34, 34, 0.3));
}

/* 流程图标 */
.process-icon {
    width: 3em;
    height: 3em;
    color: var(--primary-color);
    fill: var(--primary-color);
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(178, 34, 34, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-icon:hover {
    transform: scale(1.1) translateY(-2px);
    color: var(--accent-color);
    fill: var(--accent-color);
    filter: drop-shadow(0 8px 16px rgba(178, 34, 34, 0.3));
}

/* 福利图标 */
.benefit-icon {
    width: 4em;
    height: 4em;
    margin: 0 auto 25px;
    display: block;
    color: var(--primary-color);
    fill: var(--primary-color);
    filter: drop-shadow(0 6px 12px rgba(178, 34, 34, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-icon:hover {
    transform: translateY(-8px) scale(1.1);
    color: var(--accent-color);
    fill: var(--accent-color);
    filter: drop-shadow(0 12px 24px rgba(178, 34, 34, 0.3));
}

/* 特色图标 */
.feature-icon {
    width: 3em;
    height: 3em;
    margin: 0 auto 20px;
    display: block;
    color: var(--primary-color);
    fill: var(--primary-color);
    filter: drop-shadow(0 4px 8px rgba(178, 34, 34, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
    fill: var(--accent-color);
    filter: drop-shadow(0 8px 16px rgba(178, 34, 34, 0.3));
}

/* 统计图标 */
.stat-icon {
    width: 2.5em;
    height: 2.5em;
    margin: 0 auto 15px;
    display: block;
    color: var(--primary-color);
    fill: var(--primary-color);
    filter: drop-shadow(0 4px 8px rgba(178, 34, 34, 0.2));
}

/* 按钮图标 */
.btn-icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 8px;
    vertical-align: middle;
    color: currentColor;
    fill: currentColor;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* 页脚图标 */
.footer-icon {
    width: 1.5em;
    height: 1.5em;
    margin-right: 10px;
    vertical-align: middle;
    color: #ccc;
    fill: #ccc;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.footer-icon:hover {
    color: var(--primary-color);
    fill: var(--primary-color);
    transform: scale(1.1);
}

/* 导航图标 */
.nav-icon {
    width: 1.3em;
    height: 1.3em;
    margin-right: 8px;
    vertical-align: middle;
    color: currentColor;
    fill: currentColor;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.nav-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
/* 图标动画效果 */
.icon-bounce:hover {
    animation: iconBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-rotate:hover {
    animation: iconRotate 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-pulse:hover {
    animation: iconPulse 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-float:hover {
    animation: iconFloat 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes iconBounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    80% {
        transform: translateY(-6px);
    }
}

@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 渐变图标效果 */
.icon-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
}

/* 发光效果 */
.icon-glow {
    filter: drop-shadow(0 0 8px rgba(178, 34, 34, 0.4));
}

.icon-glow:hover {
    filter: drop-shadow(0 0 16px rgba(178, 34, 34, 0.6));
}

/* 响应式图标 */
@media (max-width: 768px) {
    .service-icon,
    .guarantee-icon,
    .benefit-icon {
        width: 3em;
        height: 3em;
    }
    
    .contact-icon,
    .social-icon,
    .feature-icon {
        width: 2.5em;
        height: 2.5em;
    }
    
    .process-icon {
        width: 2.5em;
        height: 2.5em;
    }
    
    .step-icon {
        width: 2.5em;
        height: 2.5em;
    }
}

@media (max-width: 480px) {
    .service-icon,
    .guarantee-icon,
    .benefit-icon {
        width: 2.5em;
        height: 2.5em;
    }
    
    .contact-icon,
    .social-icon,
    .feature-icon {
        width: 2em;
        height: 2em;
    }
    
    .process-icon {
        width: 2em;
        height: 2em;
    }
    
    .step-icon {
        width: 2em;
        height: 2em;
    }
    
    .icon-large {
        width: 2.5em;
        height: 2.5em;
    }
    
    .icon-medium {
        width: 2em;
        height: 2em;
    }
}


/* 关于我们页面图标样式 */
.expertise-icon,
.philosophy-icon,
.highlight-icon {
    width: 3em;
    height: 3em;
    margin: 0 auto 20px;
    display: block;
    color: var(--primary-color);
    fill: var(--primary-color);
    filter: drop-shadow(0 4px 8px rgba(178, 34, 34, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-icon:hover,
.philosophy-icon:hover,
.highlight-icon:hover {
    transform: translateY(-6px) scale(1.1);
    color: var(--accent-color);
    fill: var(--accent-color);
    filter: drop-shadow(0 8px 16px rgba(178, 34, 34, 0.3));
}

/* 响应式调整 */
@media (max-width: 768px) {
    .expertise-icon,
    .philosophy-icon,
    .highlight-icon {
        width: 2.5em;
        height: 2.5em;
    }
}

@media (max-width: 480px) {
    .expertise-icon,
    .philosophy-icon,
    .highlight-icon {
        width: 2em;
        height: 2em;
    }
}


/* ===== 高级图标动画优化 ===== */
/* 图标悬停时的3D效果 */
.service-icon:hover,
.guarantee-icon:hover,
.contact-icon:hover,
.social-icon:hover,
.benefit-icon:hover,
.feature-icon:hover,
.highlight-icon:hover,
.expertise-icon:hover,
.philosophy-icon:hover {
    transform: translateY(-8px) scale(1.1) rotateY(5deg);
    filter: drop-shadow(0 15px 30px rgba(178, 34, 34, 0.4));
    animation: iconFloat 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 图标点击效果 */
.service-icon:active,
.guarantee-icon:active,
.contact-icon:active,
.social-icon:active {
    transform: translateY(-4px) scale(1.05);
    transition: all 0.1s ease;
}

/* 图标加载动画 */
@keyframes iconLoad {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(-90deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* 图标渐入效果 */
.service-icon,
.guarantee-icon,
.contact-icon,
.social-icon,
.benefit-icon,
.feature-icon,
.highlight-icon,
.expertise-icon,
.philosophy-icon {
    animation: iconLoad 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 延迟加载效果 */
.service-card:nth-child(1) .service-icon { animation-delay: 0.1s; }
.service-card:nth-child(2) .service-icon { animation-delay: 0.2s; }
.service-card:nth-child(3) .service-icon { animation-delay: 0.3s; }
.service-card:nth-child(4) .service-icon { animation-delay: 0.4s; }

.guarantee-item:nth-child(1) .guarantee-icon { animation-delay: 0.1s; }
.guarantee-item:nth-child(2) .guarantee-icon { animation-delay: 0.2s; }
.guarantee-item:nth-child(3) .guarantee-icon { animation-delay: 0.3s; }

/* 图标呼吸效果 */
@keyframes iconBreathe {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(178, 34, 34, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 6px 12px rgba(178, 34, 34, 0.3));
    }
}

/* 主页优化动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 页面加载动画 */
.hero-section {
    animation: fadeInUp 0.8s ease-out;
}

.services-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.why-choose-section {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cases-preview-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.contact-cta-section {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* 服务卡片动画 */
.service-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* 特色卡片动画 */
.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* 案例卡片动画 */
.case-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* 统计数字动画 */
.stat-number {
    animation: pulse 2s ease-in-out infinite;
}

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

/* 为重要图标添加呼吸效果 */
.service-icon {
    animation: iconLoad 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards, 
               iconBreathe 3s ease-in-out infinite 1s;
}

/* 图标脉冲效果增强 */
@keyframes iconPulseEnhanced {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(178, 34, 34, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(178, 34, 34, 0.1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(178, 34, 34, 0);
    }
}

.contact-icon.icon-pulse:hover {
    animation: iconPulseEnhanced 0.6s ease-out;
}

/* 图标旋转效果增强 */
@keyframes iconRotateEnhanced {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.contact-icon.icon-rotate:hover {
    animation: iconRotateEnhanced 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 图标弹跳效果增强 */
@keyframes iconBounceEnhanced {
    0%, 20%, 60%, 100% {
        transform: translateY(0) scale(1);
    }
    10% {
        transform: translateY(-15px) scale(1.1);
    }
    30% {
        transform: translateY(-8px) scale(1.05);
    }
    40% {
        transform: translateY(-12px) scale(1.08);
    }
    50% {
        transform: translateY(-6px) scale(1.03);
    }
    70% {
        transform: translateY(-10px) scale(1.06);
    }
    80% {
        transform: translateY(-4px) scale(1.02);
    }
}

.service-icon.icon-bounce:hover,
.social-icon.icon-bounce:hover {
    animation: iconBounceEnhanced 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 图标发光效果增强 */
@keyframes iconGlowEnhanced {
    0% {
        filter: drop-shadow(0 4px 8px rgba(178, 34, 34, 0.2));
        box-shadow: 0 0 5px rgba(178, 34, 34, 0.3);
    }
    50% {
        filter: drop-shadow(0 8px 16px rgba(178, 34, 34, 0.4));
        box-shadow: 0 0 20px rgba(178, 34, 34, 0.6);
    }
    100% {
        filter: drop-shadow(0 4px 8px rgba(178, 34, 34, 0.2));
        box-shadow: 0 0 5px rgba(178, 34, 34, 0.3);
    }
}

.guarantee-icon.icon-glow:hover,
.philosophy-icon.icon-glow:hover {
    animation: iconGlowEnhanced 1s ease-in-out infinite;
}

/* 图标浮动效果增强 */
@keyframes iconFloatEnhanced {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(2deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

.contact-icon.icon-float:hover {
    animation: iconFloatEnhanced 1.2s ease-in-out infinite;
}

/* 图标渐变背景效果 */
.icon-gradient-bg {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 50%, 
        #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 图标阴影效果增强 */
.icon-shadow-strong {
    filter: drop-shadow(0 8px 16px rgba(178, 34, 34, 0.3)) 
            drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.icon-shadow-soft {
    filter: drop-shadow(0 2px 4px rgba(178, 34, 34, 0.1)) 
            drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* 图标边框效果 */
.icon-border {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--accent-color)) border-box;
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
}

.icon-border:hover {
    border-color: var(--accent-color);
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--accent-color), var(--primary-color)) border-box;
}

/* 图标文字组合效果 */
.icon-text-combo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.icon-text-combo:hover {
    transform: translateY(-5px);
}

.icon-text-combo .icon {
    transition: all 0.3s ease;
}

.icon-text-combo:hover .icon {
    transform: scale(1.2);
}

/* 图标加载状态 */
.icon-loading {
    animation: iconLoad 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

/* 图标错误状态 */
.icon-error {
    color: #dc3545;
    filter: drop-shadow(0 2px 4px rgba(220, 53, 69, 0.3));
}

/* 图标成功状态 */
.icon-success {
    color: #28a745;
    filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.3));
}

/* 图标警告状态 */
.icon-warning {
    color: #ffc107;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

/* 图标信息状态 */
.icon-info {
    color: #17a2b8;
    filter: drop-shadow(0 2px 4px rgba(23, 162, 184, 0.3));
}


/* 图标标签样式 */
.icon-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
}

.icon-text-combo:hover .icon-label {
    opacity: 1;
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* 图标容器优化 */
.icon-text-combo {
    margin-bottom: 20px;
}

/* 服务卡片悬停时图标标签效果 */
.service-card:hover .icon-label {
    animation: labelGlow 0.6s ease-out;
}

@keyframes labelGlow {
    0% {
        text-shadow: 0 0 5px rgba(178, 34, 34, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(178, 34, 34, 0.6);
    }
    100% {
        text-shadow: 0 0 5px rgba(178, 34, 34, 0.3);
    }
}


/* ===== 图标主题切换功能 ===== */
/* 深色主题图标 */
.theme-dark .icon-primary {
    color: #ff6b6b;
    fill: #ff6b6b;
}

.theme-dark .icon-secondary {
    color: #4ecdc4;
    fill: #4ecdc4;
}

.theme-dark .icon-accent {
    color: #ffe66d;
    fill: #ffe66d;
}

/* 彩色主题图标 */
.theme-colorful .service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
}

.theme-colorful .guarantee-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
}

.theme-colorful .contact-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
}

/* 霓虹主题图标 */
.theme-neon .icon-primary {
    color: #00ffff;
    fill: #00ffff;
    filter: drop-shadow(0 0 10px #00ffff) drop-shadow(0 0 20px #00ffff);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        filter: drop-shadow(0 0 10px #00ffff) drop-shadow(0 0 20px #00ffff);
    }
    to {
        filter: drop-shadow(0 0 20px #00ffff) drop-shadow(0 0 30px #00ffff);
    }
}

/* 图标主题切换按钮 */
.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.theme-switcher:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 图标性能优化 */
.icon {
    will-change: transform, filter;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* 减少动画在低性能设备上的影响 */
@media (prefers-reduced-motion: reduce) {
    .icon,
    .service-icon,
    .guarantee-icon,
    .contact-icon,
    .social-icon {
        animation: none !important;
        transition: none !important;
    }
    
    .icon:hover {
        transform: none !important;
    }
}

/* 图标加载状态指示器 */
.icon-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 图标错误状态 */
.icon-error::after {
    content: '⚠';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 图标成功状态 */
.icon-success::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 联系我们页面原创设计样式 ===== */
/* 服务保障部分 */
.guarantee-header {
    text-align: center;
    margin-bottom: 50px;
}
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.guarantee-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.guarantee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(178, 34, 34, 0.15);
}

.guarantee-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-icon {
    width: 40px;
    height: 40px;
    color: white;
}

.guarantee-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.guarantee-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
}

/* 联系方式部分 */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #dc143c);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(178, 34, 34, 0.15);
}

.contact-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon {
    width: 35px;
    height: 35px;
    color: white;
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-desc {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-id {
    background: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.qr-code {
    margin: 20px 0;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #666;
}

.qr-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.phone-numbers {
    text-align: center;
}

.phone-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.phone-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1rem;
}

.phone-number {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.phone-number:hover {
    color: var(--primary-color);
}

.phone-time {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.email-address a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.email-address a:hover {
    text-decoration: underline;
}

.response-time {
    margin-top: 15px;
}

.time-badge {
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 社交媒体部分 */
.social-header {
    text-align: center;
    margin-bottom: 50px;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(178, 34, 34, 0.15);
}

.social-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    width: 35px;
    height: 35px;
    color: white;
}

.social-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.social-desc {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-info {
    margin-top: 20px;
}

.social-id {
    background: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* 表单部分 */
.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 合并布局中的表单容器 */
.contact-form-column .form-container {
    max-width: 100%;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: row;
    gap: 25px;
    flex-wrap: wrap;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.1);
}

/* 表单验证错误样式 */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 提交按钮禁用状态 */
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.form-actions {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(178, 34, 34, 0.3);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

.form-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 15px;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .guarantee-grid,
    .contact-grid,
    .social-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .guarantee-card,
    .contact-card,
    .social-card {
        padding: 30px 20px;
    }
}

/* ===== FAQ页面优化样式 ===== */
/* 页面标题部分 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    color: white;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 确保在所有设备上都能正确显示 */
    width: 100%;
    box-sizing: border-box;
}

.header-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0.3;
    z-index: 0;
    /* 确保图片在所有设备上都能显示 */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.page-header .header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 搜索框样式 */
.search-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-box {
    position: relative;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.search-icon {
    color: #666;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 0;
    font-size: 1rem;
    background: transparent;
    color: var(--text-dark);
}

.search-input::placeholder {
    color: #999;
}

.search-clear {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-clear:hover {
    background: #f0f0f0;
    color: #666;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-result-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-question {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.search-result-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    background: rgba(178, 34, 34, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

/* 分类标签样式 */
.faq-categories {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 80px;
    z-index: 50;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(178, 34, 34, 0.2);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(178, 34, 34, 0.3);
}

.tab-icon {
    flex-shrink: 0;
}

/* FAQ部分样式 */
.faq-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.faq-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #dc143c);
    border-radius: 2px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.question-content {
    flex: 1;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.question-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.question-category {
    background: rgba(178, 34, 34, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.question-difficulty {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}
.faq-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item:hover .faq-toggle {
    background: var(--primary-color);
    color: white;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.answer-content {
    padding: 0 30px 25px;
}

.answer-content p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.answer-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 联系我们CTA部分 */
.contact-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cta-content p {
        white-space: normal;
        max-width: 100%;
        font-size: 1.1rem;
    }
}

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

.cta-buttons .btn {
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 600;
}

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.cta-buttons .btn-outline {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 600;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .header-background-image {
        opacity: 0.25;
        background-size: cover;
        background-position: center center;
        /* 确保移动端图片正确显示 */
        min-height: 100%;
        width: 100%;
        height: 100%;
    }
    
    /* 确保page-header在移动端有足够高度显示背景图 */
    .page-header {
        position: relative;
        overflow: hidden;
        min-height: 300px !important;
    }
    
    .page-header .header-background-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .search-box {
        padding: 0 15px;
    }
    
    .search-input {
        padding: 12px 0;
        font-size: 0.9rem;
    }
    
    .category-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .answer-content {
        padding: 0 20px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        white-space: normal;
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
}

/* ===== 关于我们页面优化样式 ===== */
/* 页面标题部分 */
.about-header {
    position: relative;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.header-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.fallback-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.about-header .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: white;
}

.about-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: white !important;
}

.header-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 12px;
    opacity: 0.95;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.header-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    opacity: 0.9;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.header-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.header-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.header-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.header-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700 !important;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffd700 !important;
    background-clip: unset !important;
}

.header-stats .stat-number::after {
    display: none !important;
}

.header-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.header-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.team-hero-image,
.team-hero-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.team-hero-video {
    background: #000;
    cursor: pointer;
}

.team-hero-video:hover {
    opacity: 0.9;
}

.video-fallback {
    width: 100%;
    height: 100%;
}

.header-image:hover .team-hero-image,
.header-image:hover .team-hero-video {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    color: white !important;
}

.overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white !important;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    color: white !important;
}

/* 确保覆盖层中所有文字都是白色 */
.image-overlay * {
    color: white !important;
}

/* 部分标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #dc143c);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 团队介绍部分 */
.team-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.team-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #dc143c);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card-header {
    margin-bottom: 25px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.expertise-icon {
    width: 40px;
    height: 40px;
    color: white;
}

.card-badge {
    background: rgba(178, 34, 34, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-features {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 理念部分 */
.philosophy-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.philosophy-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 我们是谁部分 */
.who-we-are-section {
    background: white;
    padding: 80px 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 60px;
}

.intro-content {
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: justify;
}

.intro-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.brand-slogan {
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.brand-slogan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="slogan-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23slogan-grain)"/></svg>');
    opacity: 0.3;
}

.brand-slogan h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.team-stats .stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.team-stats .stat-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--primary-color) !important;
    background-clip: unset !important;
}

.team-stats .stat-number::after {
    display: none !important;
}

.team-stats .stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    opacity: 0.8;
}

/* 特色亮点部分 */
.why-choose-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #dc143c);
}

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

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon {
    width: 30px;
    height: 30px;
    color: white;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-content p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.card-stats {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.card-stats .stat {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .about-header {
        height: 50vh;
        min-height: 400px;
        max-height: 500px;
    }
    
    .about-header h1 {
        font-size: 2rem;
    }
    
    .header-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .header-stats .stat-number {
        font-size: 2rem;
    }
    
    .header-background-video {
        height: 150px;
        object-position: center;
    }
    
    .intro-content p {
        font-size: 1rem;
        text-align: center;
    }
    
    .brand-slogan h3 {
        font-size: 1.2rem;
    }
    
    .team-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-stats .stat-number {
        font-size: 2rem;
    }
    
    .team-expertise,
    .philosophy-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .expertise-card,
    .philosophy-item,
    .highlight-card {
        padding: 30px 20px;
    }
    
    .team-hero-video {
        height: 150px;
    }
}

/* ===== 成功案例页面优化样式 ===== */
/* 页面标题部分 */
.cases-header,
.quota-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    color: white;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cases-header::before,
.quota-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cases-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23cases-grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.cases-header .header-content,
.quota-header .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cases-header h1,
.quota-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.cases-header .header-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.95;
    color: white;
}

.cases-header .header-description,
.quota-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 家庭团聚移民页面优化样式 ===== */

/* 家庭团聚概述部分 */
.family-overview-section {
    background: var(--white);
    padding: 80px 0;
}

.family-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.family-intro .intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* 申请条件部分 */
.family-conditions-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 申请流程部分 */
.family-process-section {
    background: var(--white);
    padding: 80px 0;
}

/* 办理时长部分 */
.family-timeline-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 申请费用部分 */
.family-costs-section {
    background: var(--white);
    padding: 80px 0;
}

/* 移民后福利部分 */
.family-benefits-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .family-overview-section,
    .family-conditions-section,
    .family-process-section,
    .family-timeline-section,
    .family-costs-section,
    .family-benefits-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .family-overview-section,
    .family-conditions-section,
    .family-process-section,
    .family-timeline-section,
    .family-costs-section,
    .family-benefits-section {
        padding: 40px 0;
    }
}

/* ===== 技术移民页面优化样式 ===== */

/* 技术移民概述部分 */
.technical-overview-section {
    background: var(--white);
    padding: 80px 0;
}

.technical-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.technical-intro .intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* 申请条件部分 */
.technical-conditions-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 申请流程部分 */
.technical-process-section {
    background: var(--white);
    padding: 80px 0;
}

/* 办理时长部分 */
.technical-timeline-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 申请费用部分 */
.technical-costs-section {
    background: var(--white);
    padding: 80px 0;
}

/* 移民后福利部分 */
.technical-benefits-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .technical-overview-section,
    .technical-conditions-section,
    .technical-process-section,
    .technical-timeline-section,
    .technical-costs-section,
    .technical-benefits-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .technical-overview-section,
    .technical-conditions-section,
    .technical-process-section,
    .technical-timeline-section,
    .technical-costs-section,
    .technical-benefits-section {
        padding: 40px 0;
    }
}

/* ===== 投资移民页面优化样式 ===== */

/* 投资移民概述部分 */
.investment-overview-section {
    background: var(--white);
    padding: 80px 0;
}

.investment-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.investment-intro .intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* 申请条件部分 */
.investment-conditions-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 申请流程部分 */
.investment-process-section {
    background: var(--white);
    padding: 80px 0;
}

/* 办理时长部分 */
.investment-timeline-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 申请费用部分 */
.investment-costs-section {
    background: var(--white);
    padding: 80px 0;
}

/* 移民后福利部分 */
.investment-benefits-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 投资移民特殊样式 */
.investment-highlight {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.investment-highlight .card-header {
    background: var(--primary-color);
    color: white;
}

.investment-highlight .card-badge {
    background: white;
    color: var(--primary-color);
}

.investment-cost {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(135deg, #fff9e6 0%, #fff2cc 100%);
}

.investment-cost .card-header {
    background: var(--secondary-color);
    color: white;
}

.investment-cost .card-badge {
    background: white;
    color: var(--secondary-color);
}

.special-case {
    border: 2px solid #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffe6 100%);
}

.special-case .card-header {
    background: #28a745;
    color: white;
}

.special-case .card-badge {
    background: white;
    color: #28a745;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .investment-overview-section,
    .investment-conditions-section,
    .investment-process-section,
    .investment-timeline-section,
    .investment-costs-section,
    .investment-benefits-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .investment-overview-section,
    .investment-conditions-section,
    .investment-process-section,
    .investment-timeline-section,
    .investment-costs-section,
    .investment-benefits-section {
        padding: 40px 0;
    }
}

/* ===== 移民主页面优化样式 ===== */

/* 移民服务概述部分 */
.immigration-overview-section {
    background: var(--white);
    padding: 80px 0;
}

.immigration-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.immigration-intro .intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* 移民服务项目部分 */
.immigration-services-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 移民服务项目横向布局 */
.services-expertise {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

@media (min-width: 1200px) {
    .services-expertise {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .services-expertise {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* 移民服务流程部分 */
.immigration-process-section {
    background: var(--white);
    padding: 80px 0;
}

/* 成功案例部分 */
.immigration-cases-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 常见问题部分 */
.immigration-faq-section {
    background: var(--white);
    padding: 80px 0;
}

/* 服务链接样式 */
.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* 案例CTA按钮 */
.cases-cta {
    text-align: center;
    margin-top: 40px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .immigration-overview-section,
    .immigration-services-section,
    .immigration-process-section,
    .immigration-cases-section,
    .immigration-faq-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .immigration-overview-section,
    .immigration-services-section,
    .immigration-process-section,
    .immigration-cases-section,
    .immigration-faq-section {
        padding: 40px 0;
    }
}

/* ===== 居留签证页面优化样式 ===== */

/* 居留签证概述部分 */
.residence-overview-section {
    background: var(--white);
    padding: 80px 0;
}

.residence-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.residence-intro .intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* 居留服务部分 */
.residence-services-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 居留详情卡片 */
.residence-details-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 签证服务部分 */
.visa-services-section {
    background: var(--white);
    padding: 80px 0;
}

/* 材料准备部分 */
.materials-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 申请流程部分 */
.process-section {
    background: var(--white);
    padding: 80px 0;
}

/* 成功案例部分 */
.cases-section {
    background: var(--bg-light);
    padding: 80px 0;
}

/* 常见问题部分 */
.faq-section {
    background: var(--white);
    padding: 80px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .residence-overview-section,
    .residence-services-section,
    .visa-services-section,
    .materials-section,
    .process-section,
    .cases-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .residence-details-expertise {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .residence-overview-section,
    .residence-services-section,
    .visa-services-section,
    .materials-section,
    .process-section,
    .cases-section,
    .faq-section {
        padding: 40px 0;
    }
}

/* ===== 配额移民页面优化样式 ===== */

/* 配额移民概述部分 */
.quota-overview-section {
    background: var(--white);
    padding: 80px 0;
}

.quota-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quota-intro .intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* 申请条件部分 */
.quota-conditions-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

/* 申请流程部分 */
.quota-process-section {
    background: var(--white);
    padding: 80px 0;
}

.process-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

/* 办理时长部分 */
.quota-timeline-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.timeline-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

/* 申请费用部分 */
.quota-costs-section {
    background: var(--white);
    padding: 80px 0;
}

.costs-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

/* 移民后福利部分 */
.quota-benefits-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.benefits-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

/* 重要提醒样式 */
.quota-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.quota-notice h3 {
    color: #856404;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quota-notice p {
    color: #856404;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 经济门槛说明 */
.economic-threshold {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #2196f3;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.economic-threshold h3 {
    color: #0d47a1;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.economic-threshold p {
    color: #0d47a1;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 配额移民优势总结 */
.quota-summary {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border: 1px solid #4caf50;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.quota-summary h3 {
    color: #1b5e20;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quota-summary p {
    color: #1b5e20;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .quota-overview-section,
    .quota-conditions-section,
    .quota-process-section,
    .quota-timeline-section,
    .quota-costs-section,
    .quota-benefits-section {
        padding: 60px 0;
    }
    
    .condition-expertise,
    .process-expertise,
    .timeline-expertise,
    .costs-expertise,
    .benefits-expertise {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .quota-notice,
    .economic-threshold,
    .quota-summary {
        padding: 20px;
        margin-top: 30px;
    }
    
    .quota-notice h3,
    .economic-threshold h3,
    .quota-summary h3 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .quota-overview-section,
    .quota-conditions-section,
    .quota-process-section,
    .quota-timeline-section,
    .quota-costs-section,
    .quota-benefits-section {
        padding: 40px 0;
    }
    
    .condition-expertise,
    .process-expertise,
    .timeline-expertise,
    .costs-expertise,
    .benefits-expertise {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    
    .quota-notice,
    .economic-threshold,
    .quota-summary {
        padding: 15px;
        margin-top: 20px;
    }
}
/* 配额移民特殊样式 */
.quota-highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.quota-limit {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    border: 2px solid #ff6b6b;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.language-requirement {
    background: linear-gradient(135deg, #4ecdc4 0%, #7fdbda 100%);
    border: 2px solid #4ecdc4;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.quota-notice {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border: 2px solid #fdcb6e;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
}

.quota-notice h4 {
    color: #d63031;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.quota-summary {
    background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
    border: 2px solid #a8e6cf;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(168, 230, 207, 0.3);
}

.quota-summary h4 {
    color: #00b894;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.economic-threshold {
    background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
    border: 2px solid #fd79a8;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(253, 121, 168, 0.3);
}

.economic-threshold h4 {
    color: #e84393;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* 分类导航部分 */
.cases-categories {
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    color: white;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cases-categories .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cases-categories h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.cases-categories p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #dc143c);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

/* FAQ header样式 - 与成功案例页面保持一致 */
.faq-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    color: white;
    height: auto;
    min-height: 500px;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-header .header-content {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.faq-header .category-tabs {
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.category-tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-tabs-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.category-tabs-row-2 {
    margin-top: 10px;
    justify-content: center;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 在红色背景上的active状态 - 更高优先级 */
.faq-header .tab-btn.active,
.cases-categories .tab-btn.active {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: white !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3) !important;
}

/* 在白色背景上的active状态 */
.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(178, 34, 34, 0.3);
}

.tab-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.tab-btn:hover .tab-icon {
    transform: scale(1.1);
}

/* 案例展示部分 */
.cases-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
}

.case-content {
    padding: 25px;
}

.case-category {
    background: rgba(178, 34, 34, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.case-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.case-description {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.case-date {
    font-weight: 500;
}

.case-status {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
}

/* 加载更多按钮 */
.load-more-section {
    text-align: center;
    margin-top: 60px;
}

.load-more-btn {
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(178, 34, 34, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cases-header h1,
    .cases-categories h1,
    .quota-header h1 {
        font-size: 2.5rem;
    }
    
    .cases-header .header-subtitle {
        font-size: 1.2rem;
    }
    
    .cases-header .header-description,
    .cases-categories p,
    .quota-header p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-tabs {
        gap: 15px;
    }
    
    .category-tabs-row {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-card {
        margin: 0 10px;
    }
}

/* ===== 留学资讯页面优化样式 ===== */
/* 页面标题部分 */
.study-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    color: white;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.study-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="study-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23study-grain)"/></svg>');
    opacity: 0.3;
}

.study-header .header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.study-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.study-header .header-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.95;
    color: white;
}

.study-header .header-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 服务项目部分 */
.services-section {
    background: white;
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #dc143c);
}

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

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon {
    width: 40px;
    height: 40px;
    color: white;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: center;
}

.service-features li {
    color: var(--text-dark);
    opacity: 0.8;
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 优势部分 */
.advantages-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.advantage-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon {
    width: 30px;
    height: 30px;
    color: white;
}

.advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
}

/* 流程部分 */
.process-section {
    background: white;
    padding: 60px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.process-timeline::before {
    display: none;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.process-step:nth-child(odd),
.process-step:nth-child(even) {
    flex-direction: column;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.step-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    flex: 1;
    width: 100%;
    max-width: none;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    opacity: 1;
}

/* 成功案例部分 */
.cases-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}
.case-content p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 15px;
}
.case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(178, 34, 34, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cases-cta {
    text-align: center;
    margin-top: 50px;
}

/* FAQ部分 */
.faq-section {
    background: white;
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 20px 25px;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .study-header h1 {
        font-size: 2.5rem;
    }
    
    .study-header .header-subtitle {
        font-size: 1.2rem;
    }
    
    .study-header .header-description {
        font-size: 1rem;
    }
    
    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card,
    .advantage-card {
        padding: 30px 20px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: row !important;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .step-content {
        margin: 0;
        max-width: none;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== 移民落地页面优化样式 ===== */
/* 页面标题部分 */
.immigration-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    color: white;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.immigration-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="immigration-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23immigration-grain)"/></svg>');
    opacity: 0.3;
}

.immigration-header .header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.immigration-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.immigration-header .header-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.95;
    color: white;
}

.immigration-header .header-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 服务链接样式 */
.service-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.service-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(178, 34, 34, 0.3);
    color: white;
    text-decoration: none;
}

/* 移民优势部分 */
.immigration-advantages {
    background: #f8f9fa;
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #dc143c);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.advantage-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon {
    width: 30px;
    height: 30px;
    color: white;
}

.advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
}

/* 移民流程部分 */
.immigration-process {
    background: white;
    padding: 80px 0;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    display: none;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.process-step:nth-child(odd) {
    flex-direction: row;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #dc143c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.step-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 0 30px;
    flex: 1;
    max-width: 300px;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
}

/* 成功案例部分 */
.immigration-cases {
    background: #f8f9fa;
    padding: 80px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.case-content p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(178, 34, 34, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cases-cta {
    text-align: center;
    margin-top: 50px;
}

/* FAQ部分 */
.immigration-faq {
    background: white;
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 20px 25px;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

/* 联系我们部分 */
.contact-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #dc143c 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

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

.btn {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

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

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .immigration-header h1 {
        font-size: 2.5rem;
    }
    
    .immigration-header .header-subtitle {
        font-size: 1.2rem;
    }
    
    .immigration-header .header-description {
        font-size: 1rem;
    }
    
    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card,
    .advantage-card {
        padding: 30px 20px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: row !important;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .step-content {
        margin: 0;
        max-width: none;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        white-space: normal;
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== 成功案例子页面样式 ===== */
.quota-cases-header,
.technical-cases-header {
    position: relative;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cases-overview-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.overview-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}

.case-detail-section {
    padding: 60px 0;
}

.detailed-case {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.case-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px;
    text-align: center;
}

.case-number {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.case-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.case-tags .tag {
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-content {
    padding: 40px;
}

.case-section {
    margin-bottom: 40px;
}

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

.case-section .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.section-icon {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
}

.section-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

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

.challenge-list {
    list-style: none;
    padding: 0;
}
.challenge-list li {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    line-height: 1.6;
}
.challenge-list li:last-child {
    margin-bottom: 0;
}

.solution-steps {
    display: grid;
    gap: 25px;
}

.solution-step {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.solution-step h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.solution-step p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.achievement-highlights {
    display: grid;
    gap: 25px;
}

.achievement-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.achievement-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.achievement-item ul {
    margin: 15px 0 0 0;
    padding-left: 20px;
}

.achievement-item li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #555;
}

.testimonial {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 0;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
}

.testimonial p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    padding-left: 40px;
}

.testimonial cite {
    display: block;
    text-align: right;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    font-style: normal;
}

.immigration-advantages-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.advantage-icon {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.advantage-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

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

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .quota-cases-header,
    .technical-cases-header {
        height: 50vh;
        min-height: 400px;
        max-height: 500px;
    }
    
    .case-header {
        padding: 30px 20px;
    }
    
    .case-title {
        font-size: 1.5rem;
    }
    
    .case-content {
        padding: 30px 20px;
    }
    
    .case-section .section-title {
        font-size: 1.1rem;
    }
    
    .solution-steps {
        gap: 20px;
    }
    
    .solution-step {
        padding: 20px;
    }
    
    .achievement-highlights {
        gap: 20px;
    }
    
    .achievement-item {
        padding: 20px;
    }
    
    .testimonial {
        padding: 25px 20px;
    }
    
    .testimonial p {
        padding-left: 30px;
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        white-space: normal;
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}

/* 成功案例子页面按钮样式 */
.quota-cases-btn,
.technical-cases-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quota-cases-btn::before,
.technical-cases-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.quota-cases-btn:hover::before,
.technical-cases-btn:hover::before {
    left: 100%;
}

.quota-cases-btn:hover,
.technical-cases-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(178, 34, 34, 0.3);
    text-decoration: none;
}

.quota-cases-btn .tab-icon,
.technical-cases-btn .tab-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.quota-cases-btn:hover .tab-icon,
.technical-cases-btn:hover .tab-icon {
    transform: scale(1.1);
}

/* ===== 德语培训页面优化样式 ===== */
.german-header {
    position: relative;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partnership-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.partnership-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.partnership-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.partnership-intro p:last-child {
    margin-bottom: 0;
}

.partnership-logo {
    text-align: center;
}

.partnership-logo .logo-image {
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.teachers-section {
    padding: 80px 0;
    background: white;
}

.teacher-showcase {
    margin-top: 50px;
}

.modern-teacher-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    border: 1px solid #f0f0f0;
}

.teacher-image {
    position: relative;
    text-align: center;
}

.teacher-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.teacher-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.teacher-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.teacher-credentials {
    display: grid;
    gap: 20px;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.credential-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.credential-title {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 100px;
    flex-shrink: 0;
}

.credential-desc {
    color: #666;
    line-height: 1.6;
}

.courses-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.platform-section {
    padding: 80px 0;
    background: white;
}

.past-courses-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-section {
    padding: 80px 0;
    background: white;
}

.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* 现代化课程卡片样式 */
.courses-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.modern-course-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.modern-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.course-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.course-level {
    font-size: 2rem;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.course-badge {
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.course-content {
    padding: 30px;
}

.course-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.course-hours {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.course-duration {
    font-size: 0.9rem;
    color: #666;
    background: white;
    padding: 6px 12px;
    border-radius: 15px;
}

.course-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
}

.course-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.course-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.course-link {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.course-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.course-enroll {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.course-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.3);
    color: white;
}

/* 现代化价格卡片样式 */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.featured-card {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.featured-card:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-level-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(207, 169, 104, 0.3);
}

.pricing-content {
    padding: 30px;
}

.pricing-details {
    text-align: center;
    margin-bottom: 25px;
}

.price-info {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
}

.price-euro {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-rmb {
    font-size: 1.2rem;
    color: #666;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 15px;
}

.course-hours {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.course-duration {
    font-size: 0.9rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: #666;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178, 34, 34, 0.3);
    color: white;
}
.featured-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.featured-btn:hover {
    box-shadow: 0 8px 25px rgba(207, 169, 104, 0.4);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .german-header {
        height: 50vh;
        min-height: 400px;
        max-height: 500px;
    }
    
    .partnership-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .modern-teacher-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
        text-align: center;
    }
    
    .teacher-avatar {
        width: 150px;
        height: 150px;
    }
    
    .teacher-name {
        font-size: 1.5rem;
    }
    
    .credential-item {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }
    
    .credential-title {
        min-width: auto;
    }
    
    .courses-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-card {
        transform: none;
    }
    
    .featured-card:hover {
        transform: translateY(-8px);
    }
    
    .course-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .course-link,
    .course-enroll {
        flex: none;
    }
    
    .price-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .price-euro {
        font-size: 2rem;
    }
}

/* 现代化案例卡片样式 */
.modern-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.modern-case-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.case-status {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #999;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.modern-case-card .case-content {
    padding: 30px;
    padding-top: 50px;
}

.modern-case-card .case-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.modern-case-card .case-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.modern-case-card .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.modern-case-card .case-tags .tag {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modern-case-card .case-tags .tag:hover {
    background: var(--primary-color);
    color: white;
}

.modern-case-card .case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.modern-case-card .case-date {
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
}

.modern-case-card .case-type {
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .modern-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .modern-case-card .case-content {
        padding: 25px;
        padding-top: 45px;
    }
    
    .modern-case-card .case-content h3 {
        font-size: 1.2rem;
    }
    
    .modern-case-card .case-content p {
        font-size: 0.9rem;
    }
    
    .case-status {
        top: 12px;
        left: 12px;
        font-size: 0.75rem;
        padding: 3px 10px;
    }
}