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

:root {
    --primary-color: #1a4a7c;
    --secondary-color: #2c5f8d;
    --accent-color: #d4a574;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 20px;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Banner (Home Page) */
.hero-banner {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.banner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9) contrast(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
}

.banner-text {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 1000px;
    padding: 0;
    background: transparent;
    margin-top: 0;
}

.banner-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.6);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    letter-spacing: 2px;
    position: relative;
}

.banner-title::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.banner-title::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}

.banner-line {
    display: block;
    margin-bottom: 18px;
    letter-spacing: 3px;
    line-height: 1.4;
    font-size: 1.05em;
    position: relative;
}

.banner-line:last-child {
    margin-bottom: 0;
}

.banner-line:last-child {
    margin-bottom: 0;
}

.banner-line .no-wrap {
    white-space: nowrap;
}

.banner-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.5;
}

/* Page Header (Other Pages) */
.page-header {
    position: relative;
    margin-top: 70px;
    padding: 100px 0;
    color: white;
    text-align: center;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    transform: scale(1.1);
    z-index: 0;
}

.page-header::after {
    display: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* 各页面背景图片 */
.page-header-practices::before {
    background-image: url('header-practices.jpg');
}

.page-header-attorney::before {
    background-image: url('header-attorney.jpg');
}

.page-header-insight::before {
    background-image: url('header-insight.jpg');
}

.page-header-our-firm::before {
    background-image: url('header-our-firm.jpg');
}

.page-header-contact::before {
    background-image: url('header-contact.jpg');
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hero区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

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

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #c29564;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-image {
    position: relative;
}

.image-placeholder {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    width: 100%;
    position: relative;
}

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

/* 服务领域 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    display: none;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.08) 0%, rgba(44, 95, 141, 0.05) 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
    text-align: left;
    margin-top: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.service-list li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 律师团队 */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Attorney页面 - 预览卡片网格 */
.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.team-preview-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.team-preview-card .team-photo {
    flex: none;
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.team-preview-card .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.8);
}

.team-preview-card .team-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-preview-card .team-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.team-preview-card .team-title {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.team-preview-card .team-expertise {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 500;
}

.team-preview-card .team-brief {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.team-preview-card .btn-more {
    margin-top: auto;
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
}

/* Attorney页面 - 确保一行一个律师（覆盖首页的4列样式） */
section.team.section:not(.bg-light) .team-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 40px;
}

/* 锚点滚动时考虑固定导航栏 */
section.team.section:not(.bg-light) .team-card[id] {
    scroll-margin-top: 100px;
}

section.team.section:not(.bg-light) .team-card {
    flex-direction: column;
    text-align: left;
}

section.team.section:not(.bg-light) .team-header {
    padding: 40px 40px 25px 40px;
    border-bottom: 1px solid var(--border-color);
}

section.team.section:not(.bg-light) .team-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
    white-space: nowrap;
}

section.team.section:not(.bg-light) .team-header .team-title {
    font-size: 1.05rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 8px;
}

section.team.section:not(.bg-light) .team-header .team-expertise {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

section.team.section:not(.bg-light) .team-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 45px;
    padding: 35px 40px 40px 40px;
    background: linear-gradient(to right, rgba(26, 74, 124, 0.02) 0%, transparent 100%);
}

section.team.section:not(.bg-light) .team-photo {
    flex: 0 0 300px;
    width: 300px;
    height: 600px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: var(--bg-light);
    flex-shrink: 0;
}

section.team.section:not(.bg-light) .team-photo .photo-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

section.team.section:not(.bg-light) .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    display: block;
}

section.team.section:not(.bg-light) .team-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

section.team.section:not(.bg-light) .team-intro-text {
    padding-top: 0;
    margin-bottom: 30px;
}

section.team.section:not(.bg-light) .team-intro-text p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1.05rem;
    font-weight: 400;
}

section.team.section:not(.bg-light) .team-description {
    width: 100%;
    margin-top: 0;
    padding-left: 0;
}

section.team.section:not(.bg-light) .team-description {
    width: 100%;
    margin-top: 0;
    padding-left: 0;
}

section.team.section:not(.bg-light) .team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

section.team.section:not(.bg-light) .team-title {
    font-size: 1rem;
    margin-bottom: 10px;
}

section.team.section:not(.bg-light) .team-expertise {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

section.team.section:not(.bg-light) .team-description-list {
    display: block;
}

section.team.section:not(.bg-light) .team-achievements {
    margin-top: 15px;
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-photo {
    flex: 0 0 200px;
    background: var(--bg-light);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.photo-placeholder svg {
    width: 100%;
    height: 100%;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.team-info {
    padding: 30px;
    flex: 1;
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-title {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
}

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

.team-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.team-description p:last-child {
    margin-bottom: 0;
}

.team-subheading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
    position: relative;
}

.team-subheading:first-of-type {
    margin-top: 0;
}

.team-description-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 15px 0;
    color: var(--text-light);
    line-height: 1.8;
}

.team-description-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.team-description-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.team-description-list li:last-child {
    margin-bottom: 0;
}

.team-achievements {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.achievement-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.08) 0%, rgba(44, 95, 141, 0.05) 100%);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(26, 74, 124, 0.15);
    transition: all 0.3s ease;
}

.achievement-tag:hover {
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.12) 0%, rgba(44, 95, 141, 0.08) 100%);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

/* 成功案例 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.case-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.case-card > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.case-result {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 5px;
    border-left: 3px solid var(--accent-color);
    color: var(--text-dark);
}

/* 联系我们 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

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

.contact-details h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.8;
}

.qr-codes {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.qr-code-item {
    text-align: center;
    flex: 1;
}

.qr-code-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    background: white;
    margin-bottom: 10px;
}

.qr-code-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.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(26, 74, 124, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
}

/* Introduction Section */
.intro-section {
    padding: 100px 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-description p {
    margin-bottom: 20px;
}

.section-description p:last-child {
    margin-bottom: 0;
}

.intro-features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.intro-features-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    line-height: 1.8;
}

.intro-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    top: 0;
}

.intro-features-list li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 600;
}

/* What Sets Us Apart Section */
.what-sets-apart-section {
    padding: 80px 0;
}

.what-sets-apart {
    max-width: 1200px;
    margin: 0 auto;
}

.what-sets-apart-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 35px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.what-sets-apart-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.what-sets-apart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.advantage-card {
    background: white;
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.05) 0%, rgba(44, 95, 141, 0.02) 100%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    border-left-color: var(--primary-color);
}

.advantage-card:hover::before {
    transform: translate(20%, -20%) scale(1.2);
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.1) 0%, rgba(44, 95, 141, 0.05) 100%);
}

.advantage-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.3;
    position: relative;
    padding-left: 15px;
}

.advantage-card h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 2px;
}

.advantage-card:hover h4::before {
    background: var(--primary-color);
    height: 24px;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* 问题版块 - 橙色/红色主题 */
.feature-item-problem {
    border-top-color: #ff6b6b;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.feature-item-problem .feature-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    padding: 25px 30px;
    color: white;
}

.feature-item-problem h3 {
    color: white;
    margin: 0;
}

/* 解决方案版块 - 鲜艳蓝色主题 */
.feature-item-solution {
    border-top-color: #00d4ff;
    background: linear-gradient(135deg, #e6f7ff 0%, #ffffff 100%);
}

.feature-item-solution .feature-header {
    background: linear-gradient(135deg, #0096ff 0%, #00bfff 100%);
    padding: 25px 30px;
    color: white;
}

.feature-item-solution h3 {
    color: white;
    margin: 0;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

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

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

.feature-item .feature-content {
    padding: 30px;
}

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

.feature-list {
    list-style: none;
    padding: 30px;
    margin: 0;
}

.feature-list li {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 18px;
    padding-left: 30px;
    position: relative;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.feature-list li:hover {
    color: var(--primary-color);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.feature-list li:hover::before {
    transform: translateX(5px);
    color: var(--primary-color);
}

.feature-item-problem .feature-list li::before {
    color: #ff6b6b;
}

.feature-item-solution .feature-list {
    background: linear-gradient(135deg, #0088dd 0%, #00aaff 100%);
}

.feature-item-solution .feature-list li {
    color: white;
}

.feature-item-solution .feature-list li:hover {
    color: #d4a574;
}

.feature-item-solution .feature-list li::before {
    color: #d4a574;
}

.feature-item-solution .feature-list li:hover::before {
    color: #f4d5a6;
    transform: translateX(5px);
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* Quick Links */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.quick-link-card {
    position: relative;
    background: white;
    padding: 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: inherit;
}

/* 服务背景图片 */
.service-trade {
    background-image: url('service-trade.jpg');
}

.service-labor {
    background-image: url('service-labor.jpg');
}

.service-finance {
    background-image: url('service-finance.jpg');
}

.service-corporate {
    background-image: url('service-corporate.jpg');
}

.service-ip {
    background-image: url('service-ip.jpg');
}

.service-litigation {
    background-image: url('service-litigation.jpg');
}

/* 遮罩层 - 确保文字可读 */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 33, 61, 0.45) 0%, rgba(13, 33, 61, 0.35) 100%);
    transition: all 0.3s ease;
}

.quick-link-card:hover .service-overlay {
    background: linear-gradient(135deg, rgba(13, 33, 61, 0.35) 0%, rgba(13, 33, 61, 0.25) 100%);
}

/* 内容层 - 在遮罩层之上 */
.service-content {
    position: relative;
    z-index: 1;
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.quick-link-card h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.quick-link-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

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

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    color: var(--text-dark);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

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

.cta-section:not(.bg-light) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-dark);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
    opacity: 1;
}

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

.cta-section .btn-secondary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.cta-section .btn-secondary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Insights Section */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.insight-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.insight-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.insight-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.insight-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.insight-link:hover {
    color: var(--secondary-color);
}

.insight-author {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 15px;
}

/* Home Page Insights */
.home-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.home-insight-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.home-insight-card .insight-date {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.home-insight-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-insight-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.home-insight-card .insight-author {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/* Article Detail Page */
.article-detail {
    padding: 120px 0 80px;
}

.article-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--secondary-color);
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-date {
    color: var(--accent-color);
    font-weight: 600;
}

.article-author {
    color: var(--text-light);
    font-style: italic;
}

.article-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 12px;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.article-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-content em {
    color: var(--text-light);
    font-style: italic;
}

.article-footer {
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.article-intro {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 40px;
}

.article-intro p:first-child {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.case-box {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 5px;
}

.case-box p {
    margin-bottom: 12px;
}

.case-box p:last-child {
    margin-bottom: 0;
}

.case-citation {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .home-insights-grid {
        grid-template-columns: 1fr;
    }
    
    .case-box {
        padding: 15px 20px;
    }
}

/* Home Page Team Grid (Compact) */
.team.section.bg-light .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team.section .team-card {
    flex-direction: column;
    text-align: center;
}

.team.section .team-photo {
    flex: none;
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.team.section .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.8);
}

.team.section .team-info {
    padding: 20px;
}

.team.section .team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.team.section .team-title {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.team.section .team-expertise {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.team-brief {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* Testimonials Section */
.testimonials-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin-top: 40px;
}

.testimonials-scroll {
    display: flex;
    gap: 30px;
    animation: scroll-testimonials 40s linear infinite;
    width: fit-content;
}

.testimonial-item {
    background: white;
    padding: 25px 35px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    min-width: 350px;
    flex-shrink: 0;
    border-left: 4px solid var(--accent-color);
}


.testimonial-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonials-scroll-container:hover .testimonials-scroll {
    animation-play-state: paused;
}

/* Why Choose Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-choose-item {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    border-left: 4px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.05) 0%, rgba(44, 95, 141, 0.02) 100%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-color);
}

.why-choose-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.15;
    font-family: 'Inter', sans-serif;
    letter-spacing: -2px;
}

.why-choose-content {
    flex: 1;
}

.why-choose-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.why-choose-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.value-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Stats Section */
.stats-section .stats {
    grid-template-columns: repeat(5, 1fr);
}

/* Help Section */
.help-section {
    background: var(--bg-light);
}

.help-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: stretch;
}

.help-left {
    position: relative;
    height: 100%;
    display: flex;
}

.help-image-bg {
    position: relative;
    min-height: 600px;
    height: 100%;
    background-image: url('banner1.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.85) 0%, rgba(44, 95, 141, 0.75) 100%);
    z-index: 1;
}

.help-text-content {
    position: relative;
    z-index: 2;
    padding: 35px 30px;
    color: white;
    width: 100%;
}

.help-text-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    white-space: nowrap;
    line-height: 1.2;
}

.problems-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.problems-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 10px;
    color: rgba(255, 255, 255, 0.95);
}

.problems-list li:last-child {
    margin-bottom: 0;
}

.help-box {
    background: linear-gradient(135deg, var(--accent-color) 0%, #c8965a 100%);
    padding: 20px 18px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35),
                0 5px 10px rgba(0, 0, 0, 0.25),
                inset 0 2px 4px rgba(255, 255, 255, 0.3),
                inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateX(3deg) translateZ(10px);
    transition: all 0.3s ease;
    margin-top: 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.help-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.5;
}

.help-box:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-8px) translateZ(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45),
                0 8px 15px rgba(0, 0, 0, 0.35),
                inset 0 2px 4px rgba(255, 255, 255, 0.4),
                inset 0 -2px 4px rgba(0, 0, 0, 0.25);
}

.help-box span {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    white-space: nowrap;
    display: block;
}

.help-right {
    background: white;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.help-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 35px;
    text-align: center;
    white-space: nowrap;
}

.help-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 74, 124, 0.1);
}

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

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Map Section */
.map-section {
    width: 100%;
}

.map-placeholder {
    width: 100%;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a7c 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    background-image: url('footer-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.95) 0%, rgba(26, 74, 124, 0.85) 100%);
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color) 0%, rgba(255, 193, 7, 0.8) 50%, var(--accent-color) 100%);
    z-index: 2;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section:first-child {
    max-width: 400px;
    position: relative;
}

.footer-section:first-child::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    width: 3px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, rgba(255, 193, 7, 0.5) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 2px;
}

.footer-section p {
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.8;
    font-size: 0.95rem;
}

.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(--accent-color);
    font-weight: bold;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.7em;
    top: 2px;
}

.footer-section ul li:hover::before {
    opacity: 1;
    transform: translateX(5px);
    color: #ffd700;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
}

.email-icon {
    display: inline-block;
    font-size: 1.4em;
    margin-right: 10px;
    vertical-align: middle;
    filter: drop-shadow(0 2px 6px rgba(255, 193, 7, 0.4));
    transition: all 0.3s ease;
}

.footer-section p:hover .email-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.6));
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.9;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
}

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

.footer-bottom p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    .section-title {
        font-size: 2rem;
    }
    
    .team-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .intro-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team.section.bg-light .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    section.team.section:not(.bg-light) .team-grid {
        grid-template-columns: 1fr !important;
    }
    
    section.team.section:not(.bg-light) .team-card {
        flex-direction: column;
    }
    
    section.team.section:not(.bg-light) .team-photo {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        min-width: 300px;
        padding: 20px 25px;
    }
    
    .testimonials-scroll {
        gap: 20px;
    }
    
    .help-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .help-image-bg {
        min-height: 500px;
    }
    
    .help-right {
        padding: 40px 30px;
    }
    
    .what-sets-apart-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo img {
        height: 40px;
        max-width: 150px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .banner-text {
        max-width: 100%;
        padding: 20px;
    }
    
    .banner-title {
        font-size: 3.5rem;
        letter-spacing: 1.5px;
    }
    
    .banner-title::before,
    .banner-title::after {
        display: none;
    }
    
    .banner-line {
        margin-bottom: 15px;
        letter-spacing: 2px;
        font-size: 1em;
    }
    
    .banner-text {
        padding: 40px 25px;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        padding: 12px 15px;
        white-space: normal;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .qr-codes {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .qr-code-image {
        width: 120px;
        height: 120px;
    }
    
    .team-card {
        flex-direction: column;
    }
    
    .team.section .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-photo {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .help-content {
        grid-template-columns: 1fr;
    }
    
    .help-image-bg {
        min-height: 400px;
        height: auto;
    }
    
    .help-text-content {
        padding: 30px 20px;
    }
    
    .help-text-content h3 {
        font-size: 1.5rem;
        white-space: normal;
    }
    
    .help-box span {
        white-space: normal;
        font-size: 1.1rem;
    }
    
    .problems-list li {
        font-size: 1rem;
    }
    
    .help-box {
        padding: 20px 25px;
    }
    
    .help-box span {
        font-size: 1.1rem;
    }
    
    .help-right {
        padding: 30px 20px;
    }
    
    .help-title {
        font-size: 1.8rem;
        white-space: normal;
    }
    
    section.team.section:not(.bg-light) .team-header h3 {
        white-space: normal;
        font-size: 1.5rem;
    }
    
    .what-sets-apart {
        margin: 30px 0;
        padding: 30px 0;
    }
    
    .what-sets-apart-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .advantage-card {
        padding: 30px 25px;
    }
    
    .advantage-card::before {
        width: 60px;
        height: 60px;
    }
    
    .advantage-card h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding-left: 12px;
    }
    
    .advantage-card h4::before {
        width: 3px;
        height: 18px;
    }
    
    .advantage-card:hover h4::before {
        height: 20px;
    }
    
    .advantage-card p {
        font-size: 0.95rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stats-section .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .intro-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .feature-item h3 {
        font-size: 1.2rem;
    }
    
    .feature-item p {
        font-size: 0.95rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .why-choose-item {
        padding: 30px 25px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .why-choose-number {
        font-size: 3rem;
    }
    
    .why-choose-content {
        width: 100%;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-section:first-child {
        max-width: 100%;
    }
    
    .footer {
        padding: 60px 0 25px;
    }
    
    .footer-section h3 {
        font-size: 1.6rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section h3::after,
    .footer-section h4::after {
        width: 40px;
    }
    
    .footer-section:first-child {
        max-width: 100%;
    }
    
    .footer {
        padding: 60px 0 25px;
    }
    
    .footer-section h3 {
        font-size: 1.6rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .banner-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .banner-title::before,
    .banner-title::after {
        display: none;
    }
    
    .banner-line {
        margin-bottom: 12px;
        letter-spacing: 1.5px;
        font-size: 0.95em;
    }
    
    .banner-text {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .stats-section .stats {
        grid-template-columns: 1fr;
    }
    
    .hero-banner {
        height: 50vh;
        min-height: 400px;
    }
}

