/* 基础样式和重置 */
:root {
    /* 主色调 */
    --primary-color: #3366ff;
    --primary-light: #5c83ff;
    --primary-dark: #0040cb;
    
    /* 辅助色 */
    --secondary-color: #00bcd4;
    --accent-color: #ff5722;
    
    /* 中性色 */
    --dark: #212121;
    --medium-dark: #424242;
    --medium: #757575;
    --medium-light: #bdbdbd;
    --light: #f5f5f5;
    
    /* 功能色 */
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;
    
    /* 尺寸 */
    --header-height: 60px;
    --footer-height: 50px;
    --border-radius: 8px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* 字体 */
    --font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    --font-size-small: 12px;
    --font-size-normal: 14px;
    --font-size-medium: 16px;
    --font-size-large: 18px;
    --font-size-xlarge: 20px;
    --font-size-xxlarge: 24px;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 亮度和对比度 */
    --brightness-hover: 1.05;
    --contrast-hover: 1.05;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    height: auto;
    font-family: var(--font-family);
    font-size: var(--font-size-normal);
    color: var(--dark);
    line-height: 1.5;
    background-color: var(--light);
}

body {
    min-height: 100%;
    height: auto;
    font-family: var(--font-family);
    font-size: var(--font-size-normal);
    color: var(--dark);
    line-height: 1.5;
    background-color: var(--light);
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .button {
    cursor: pointer;
    font-family: var(--font-family);
    font-size: var(--font-size-normal);
    border: none;
    background: none;
    outline: none;
}

input, textarea, select {
    font-family: var(--font-family);
    font-size: var(--font-size-normal);
    border: 1px solid var(--medium-light);
    outline: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
}

ul, ol {
    list-style: none;
}

/* 布局组件 */
#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
    box-shadow: var(--shadow-sm);
    z-index: 100;
}

.header .logo {
    height: 32px;
}

.header .logo img {
    height: 100%;
}

.header-right {
    display: flex;
    align-items: center;
}

/* Login button styles removed */

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 主页样式 */
.main-content {
    flex: 1;
    padding: var(--spacing-md);
    position: relative;
    z-index: 1;
    padding-bottom: 80px; /* 增加底部padding，留出固定footer的空间 */
    min-height: calc(100vh - 100px); /* 确保内容区域足够高，不会出现滚动问题 */
    overflow-x: hidden; /* 防止水平滚动 */
}

/* 修改footer样式，固定在页面底部 */
.footer {
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
}

/* 主页样式 */
.hero {
    text-align: center;
    margin-bottom: 40px; /* 增加hero与features之间的间距 */
    padding: var(--spacing-xl) 0 20px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, rgba(51, 102, 255, 0), rgba(51, 102, 255, 0.7), rgba(51, 102, 255, 0));
    border-radius: 3px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 10px rgba(51, 102, 255, 0.1);
    letter-spacing: -0.5px;
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    color: var(--medium-dark);
    margin-bottom: 25px;
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-size: var(--font-size-medium);
    font-weight: bold;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* 特色功能区域 */
.features {
    padding: 0 0 30px 0; /* 调整features上下边距 */
    margin-bottom: 20px; /* 增加features与新闻模块之间的间距 */
}

/* 修改为田字形布局 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 改为2列 */
    grid-template-rows: repeat(2, 1fr); /* 2行 */
    gap: 20px;
    max-width: 800px; /* 控制整体宽度 */
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon img {
    height: 48px;
    width: 48px;
}

.feature-title {
    font-size: var(--font-size-medium);
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

.feature-desc {
    font-size: var(--font-size-small);
    color: var(--medium);
}

/* 客户评价 */
.testimonials {
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--font-size-medium);
    color: var(--medium);
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.testimonial-slider {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--spacing-sm) 0;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    display: inline-block;
    width: 280px;
    white-space: normal;
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-right: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: var(--font-size-medium);
    margin-bottom: var(--spacing-md);
    color: var(--medium-dark);
}

.testimonial-author {
    font-size: var(--font-size-small);
    color: var(--medium);
}

/* 最终CTA */
.final-cta {
    text-align: center;
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.final-cta-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: #333;
    font-weight: 600;
}

.final-cta-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

/* 智能体区域样式 */
.ai-agents {
    margin-bottom: var(--spacing-xl);
    padding-top: var(--spacing-lg);
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: var(--spacing-md);
}

.agent-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
}

.agent-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.agent-avatar {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light);
    overflow: hidden;
}

.agent-avatar img {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
}

.agent-name {
    font-size: var(--font-size-medium);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.agent-desc {
    font-size: var(--font-size-small);
    color: var(--medium);
    line-height: 1.4;
}

/* 联享名片模块样式 */
.business-cards {
    padding: 20px 0 40px; /* 调整联享名片部分的内边距 */
}

.card-slider {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    width: 100%;
    padding: var(--spacing-sm) 0;
}

.business-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    height: calc(100vh - 120px);
    max-height: 700px;
    position: relative;
}

.business-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: var(--spacing-lg);
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.card-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
    border: 3px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

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

.card-identity {
    flex: 1;
}

.card-name {
    font-size: var(--font-size-large);
    font-weight: bold;
    margin-bottom: 4px;
}

.card-title {
    font-size: var(--font-size-normal);
    margin-bottom: 2px;
    opacity: 0.9;
}

.card-company {
    font-size: var(--font-size-small);
    opacity: 0.8;
}

.card-content {
    padding: var(--spacing-md);
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.card-section {
    margin-bottom: var(--spacing-sm);
}

.section-label {
    font-size: var(--font-size-small);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.section-label:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.expertise-tag {
    background-color: var(--light);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 16px;
    font-size: var(--font-size-small);
    border: 1px solid var(--primary-light);
}

.background-list {
    margin-top: 6px;
    padding-left: var(--spacing-md);
}

.background-list li {
    margin-bottom: 4px;
    position: relative;
    font-size: var(--font-size-small);
    color: var(--medium-dark);
}

.background-list li:before {
    content: '•';
    position: absolute;
    left: -15px;
    color: var(--primary-color);
}

.strength-text {
    font-size: var(--font-size-small);
    color: var(--medium-dark);
    line-height: 1.5;
    margin-top: 6px;
}

.case-item {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 8px 12px;
    margin-bottom: 8px;
    border-left: 3px solid var(--primary-color);
}

.case-name {
    font-size: var(--font-size-small);
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 2px;
}

.case-result {
    font-size: var(--font-size-small);
    color: var(--primary-color);
}

.card-contact {
    margin-top: auto;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--medium-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-small);
    color: var(--medium);
}

.contact-item img {
    width: 16px;
    height: 16px;
}

.card-footer {
    padding: var(--spacing-md);
    background-color: var(--light);
    text-align: center;
    border-top: 1px solid var(--medium-light);
}

.card-cta {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.card-cta:hover {
    background-color: var(--primary-dark);
}

/* 媒体查询 - 在大屏幕上显示更多列 */
@media (min-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .agent-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* 联享名片响应式样式 */
    .card-slider {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: var(--spacing-md);
        gap: var(--spacing-lg);
    }
    
    .business-card {
        min-width: 350px;
        width: calc(50% - var(--spacing-md));
        scroll-snap-align: center;
    }
}

/* 修改响应式布局，确保田字形始终保持两行两列 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr); /* 确保在移动端也是2列 */
        grid-template-rows: repeat(2, 1fr);
        grid-gap: 15px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .feature-card {
        height: auto;
        min-height: 180px; /* 减小卡片高度 */
        padding: 15px 10px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin: 5px 0;
    }
    
    .feature-desc {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .fullscreen-news-module {
        padding: 30px 15px;
        margin: 30px 0 40px;
    }
    
    .fixed-news-item {
        margin-bottom: 25px;
    }
    
    .final-cta {
        padding: 25px 15px;
    }
    
    .final-cta-title {
        font-size: 1.5rem;
    }
    
    .final-cta-subtitle {
        font-size: 1rem;
    }
}

/* 超小屏幕设备上的特殊调整 */
@media (max-width: 480px) {
    .feature-grid {
        gap: 10px; /* 进一步减少间距 */
    }
    
    .feature-card {
        min-height: 150px; /* 更小的卡片高度 */
        padding: 10px 8px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }
    
    .feature-title {
        font-size: 0.9rem;
        margin: 4px 0;
    }
    
    .feature-desc {
        font-size: 0.75rem;
    }
}

/* 小屏幕设备的优化 */
@media (max-width: 375px) {
    .business-card {
        height: calc(100vh - 100px);
    }
    
    .card-header {
        padding: var(--spacing-md);
    }
    
    .card-avatar {
        width: 60px;
        height: 60px;
    }
    
    .card-name {
        font-size: var(--font-size-medium);
    }
    
    .card-content {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .expertise-tag {
        padding: 3px 8px;
        font-size: 10px;
    }
}

/* 中等屏幕设备的优化 */
@media (min-width: 376px) and (max-width: 767px) {
    .business-card {
        height: calc(100vh - 110px);
    }
    
    .tag-container {
        gap: 6px;
    }
    
    .expertise-tag {
        padding: 3px 8px;
    }
}

/* 确保在所有设备上名片内容可滚动 */
.card-content::-webkit-scrollbar {
    width: 4px;
}

.card-content::-webkit-scrollbar-track {
    background: var(--light);
}

.card-content::-webkit-scrollbar-thumb {
    background: var(--medium-light);
    border-radius: 2px;
}

.card-content::-webkit-scrollbar-thumb:hover {
    background: var(--medium);
}

/* 简化版名片样式 */
.business-card-simplified {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
    height: 280px; /* 固定高度使名片更整洁 */
}

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

.card-left {
    display: flex;
    flex-direction: row;
    width: 70%;
    padding: var(--spacing-md);
}

.card-right {
    width: 30%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.card-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--spacing-lg);
    border: 3px solid var(--primary-light);
    flex-shrink: 0;
}

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

.card-info {
    flex: 1;
}

.card-intro {
    margin-top: var(--spacing-lg);
}

.card-intro h4 {
    font-size: var(--font-size-medium);
    color: var(--primary-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.card-intro p {
    font-size: var(--font-size-normal);
    color: var(--medium);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

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

.card-service-name {
    font-size: var(--font-size-large);
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
}

.card-service-count {
    font-size: var(--font-size-normal);
    margin-bottom: var(--spacing-md);
}

.card-service-count span {
    font-size: var(--font-size-large);
    font-weight: bold;
}

.card-enter-btn {
    background-color: white;
    color: var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.card-enter-btn:hover {
    transform: translateY(-2px);
    background-color: var(--light);
    box-shadow: var(--shadow-md);
}

/* 响应式调整 */
@media (max-width: 767px) {
    .business-card-simplified {
        flex-direction: column;
        height: auto;
    }
    
    .card-left {
        width: 100%;
        flex-direction: column;
    }
    
    .card-right {
        width: 100%;
        padding: var(--spacing-md);
    }
    
    .card-avatar-large {
        margin: 0 auto var(--spacing-md);
    }
    
    .card-info {
        text-align: center;
    }
    
    .card-service-name {
        font-size: var(--font-size-medium);
    }
    
    .card-service-count {
        font-size: var(--font-size-small);
    }
}

/* 独立卡片展示区样式 */
.card-showcase {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding: 0 var(--spacing-md);
}

.card-container {
    width: 100% !important;
    max-width: 350px !important;
    perspective: 1000px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    margin-bottom: var(--spacing-lg) !important;
}

.business-card-standalone {
    width: 100%;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(51, 102, 255, 0.12);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    border: 2px solid var(--primary-color);
    height: auto;
}

.business-card-standalone:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(51, 102, 255, 0.15);
}

.card-left-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-sm);
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

/* 新增水平布局的卡片左侧内容 */
.card-left-content-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: var(--spacing-md);
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

.card-right-content {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.card-profile-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-md);
    width: 100%;
}

/* 新增水平布局的卡片个人信息 */
.card-profile-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.card-avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 3px 8px rgba(51, 102, 255, 0.1);
    margin-bottom: var(--spacing-md);
    background-color: white;
    flex-shrink: 0;
}

/* 新增水平布局的头像样式 */
.card-avatar-small {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 3px 8px rgba(51, 102, 255, 0.1);
    margin-right: var(--spacing-md);
    background-color: white;
    flex-shrink: 0;
}

.card-avatar-circle img, .card-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-person-info {
    flex: 1;
    text-align: center;
    width: 100%;
}

/* 新增水平布局的个人信息样式 */
.card-person-info-horizontal {
    flex: 1;
    text-align: left;
}

.person-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

/* 水平布局的人名样式 */
.card-person-info-horizontal .person-name {
    font-size: 20px;
}

.person-title {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-weight: 500;
}

.person-company {
    font-size: 14px;
    color: var(--medium);
}

.card-intro-text {
    font-size: 14px;
    color: var(--medium);
    line-height: 1.5;
    background-color: white;
    padding: 0;
    text-align: center;
    margin-top: var(--spacing-md);
}

/* 新增水平布局的介绍文本样式 */
.card-intro-text-horizontal {
    font-size: 14px;
    color: var(--medium);
    line-height: 1.5;
    background-color: white;
    padding: 0;
    text-align: left;
    margin-top: var(--spacing-xs);
}

.card-intro-text p, .card-intro-text-horizontal p {
    margin: 0;
}

.service-label {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
    width: 100%;
    text-align: left;
}

.service-stats {
    font-size: 16px;
    margin-bottom: var(--spacing-lg);
    color: var(--medium);
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
}

.service-stats strong {
    font-size: 26px;
    font-weight: 700;
    margin: 0 3px;
    color: var(--dark);
}

.service-button {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(51, 102, 255, 0.2);
    border: none;
    width: auto;
    text-align: center;
    display: inline-block;
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(51, 102, 255, 0.3);
    background-color: var(--primary-light);
}

/* 响应式调整 */
@media (max-width: 767px) {
    .card-container {
        max-width: 280px;
    }
    
    .person-name {
        font-size: 22px;
    }
    
    .service-label {
        font-size: 18px;
    }
    
    .service-stats strong {
        font-size: 24px;
    }
    
    /* 在小屏幕上保持水平布局 */
    .card-left-content-horizontal {
        flex-direction: row;
        padding: var(--spacing-sm);
    }
    
    .card-avatar-small {
        width: 60px;
        height: 60px;
        margin-right: var(--spacing-sm);
    }
    
    .card-person-info-horizontal .person-name {
        font-size: 18px;
    }
}

/* 调试辅助类 */
.debug-highlight .card-container {
    border: 2px dashed red !important;
    padding: 10px !important;
    margin: 10px !important;
    position: relative !important;
}

.debug-highlight .card-container::before {
    content: '.card-container';
    position: absolute;
    top: -20px;
    left: 0;
    background: red;
    color: white;
    padding: 2px 5px;
    font-size: 10px;
}

.debug-highlight .business-card-standalone {
    border: 2px dashed blue !important;
}

.debug-highlight .business-card-standalone::before {
    content: '.business-card-standalone';
    position: absolute;
    top: -20px;
    left: 0;
    background: blue;
    color: white;
    padding: 2px 5px;
    font-size: 10px;
    z-index: 100;
}

.debug-highlight .card-left-content {
    border: 2px dashed green !important;
}

.debug-highlight .card-right-content {
    border: 2px dashed orange !important;
}

/* 新卡片设计样式 */
.new-card-design {
    width: 100%;
    max-width: 500px;
    height: 240px;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    margin: 0 auto;
}

.card-header-section {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.card-service-counter {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    color: var(--medium);
    background-color: rgba(51, 102, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.card-service-counter strong {
    color: var(--primary-color);
    font-weight: 700;
}

.card-top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.card-person-info-new {
    flex: 1;
    text-align: left;
}

.card-avatar-right {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 3px 8px rgba(51, 102, 255, 0.1);
    background-color: white;
}

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

.card-intro-section {
    flex: 1;
    padding: var(--spacing-sm) 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: var(--spacing-md);
}

.card-intro-section p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--medium-dark);
    margin: 0;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.card-action-btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-card-btn {
    background-color: #f5f7ff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.view-card-btn:hover {
    background-color: #e8ecff;
}

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

.chat-btn:hover {
    background-color: var(--primary-dark);
}

/* 响应式调整 */
@media (max-width: 767px) {
    .new-card-design {
        height: auto;
        max-width: 100%;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .card-action-btn {
        width: 100%;
    }
}

/* 蓝色卡片设计 - 匹配截图 */
.business-card-blue {
    width: 100%;
    max-width: 350px;
    background-color: white;
    border: 2px solid #3366ff !important;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    box-shadow: 0 4px 12px rgba(51, 102, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 220px;
}

.business-card-blue .card-service-counter {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    font-size: 14px;
    color: var(--medium-dark);
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.business-card-blue .card-service-counter strong {
    color: var(--primary-color);
    font-weight: 600;
}

.card-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-bottom: 5px;
}

.card-person-info-blue {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-person-info-blue .person-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark);
}

.card-person-info-blue .person-title {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
}

.card-avatar-blue {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.card-intro-blue {
    padding: 8px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    flex: 1;
}

.card-intro-blue p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--medium-dark);
}

.card-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.card-btn {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.view-full-btn {
    background-color: #f0f4ff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.view-full-btn:hover {
    background-color: #e8ecff;
}

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

.chat-with-btn:hover {
    background-color: var(--primary-dark);
}

/* 响应式调整 */
@media (max-width: 767px) {
    .business-card-blue {
        max-width: 100%;
    }
    
    .card-buttons {
        flex-direction: column;
    }
    
    .card-btn {
        width: 100%;
    }
} 

/* 表单元素基础样式 */
.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--medium-dark, #424242);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #212121;
    background-color: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3366ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(51, 102, 255, 0.1);
}

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

.form-action {
    margin-top: 20px;
    text-align: center;
}

.submit-btn {
    background-color: #3366ff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #2952cc;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 767px) {
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 12px 0;
    }
} 

/* 新闻模块样式 */
.news-section {
    padding: 40px 0;
    background-color: white;
    margin-bottom: var(--spacing-xl);
}

.news-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.news-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
}

.news-wrapper::-webkit-scrollbar {
    display: none;
}

.news-item {
    flex: 0 0 80%;
    max-width: 80%;
    margin-right: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    background-color: white;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

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

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: var(--font-size-large);
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: var(--medium);
    font-size: var(--font-size-normal);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-small);
    color: var(--medium);
}

.news-date, .news-category {
    display: inline-block;
}

.news-category {
    background-color: var(--light);
    padding: 2px 8px;
    border-radius: 12px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--medium-light);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* 响应式设计 */
@media (min-width: 768px) {
    .news-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .news-item {
        max-width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .news-wrapper {
        padding: 0 16px;
    }
    
    .news-item {
        flex: 0 0 90%;
        max-width: 90%;
    }
}

/* 560px宽度设备特殊优化 */
@media (max-width: 560px) {
    .news-section {
        padding: 30px 0;
    }
    
    .news-wrapper {
        padding: 0 12px;
    }
    
    .news-item {
        flex: 0 0 85%;
        max-width: 85%;
        margin-right: 15px;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-title {
        font-size: 17px;
    }
    
    .news-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
} 

/* 全屏新闻模块样式 */
.fullscreen-news-module {
    padding: 40px 20px;
    background-color: #f8f9fa;
    margin: 40px 0 60px; /* 增加底部边距 */
    position: relative;
    z-index: 1;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.8s ease;
    cursor: pointer;
}

.news-slide-inner {
    display: flex;
    width: 100%;
    height: 100%;
}

.news-image {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.news-image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2));
    z-index: 1;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 4s ease;
}

.news-slide:hover .news-image img {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px; /* 减小内边距 */
    z-index: 2;
    color: white;
    padding-bottom: 40px; /* 为底部指示器留出空间 */
}

.news-category {
    display: inline-block;
    padding: 3px 10px; /* 减小内边距 */
    background-color: var(--primary-light);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 16px;
    margin-bottom: 10px; /* 减小间距 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.news-title {
    font-size: 24px; /* 减小字体大小 */
    font-weight: 700;
    line-height: 1.3;
    color: white;
    margin-bottom: 10px; /* 减小间距 */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.news-excerpt {
    font-size: 15px; /* 减小字体大小 */
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    max-width: 85%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 63px;
}

.news-navigation {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px; /* 减小间距 */
    z-index: 10;
}

.news-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.news-prev {
    left: 15px;
}

.news-next {
    right: 15px;
}

.news-nav-arrow:hover {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-nav-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--dark);
}

.news-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.news-indicator {
    width: 30px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-indicator.active {
    background-color: var(--primary-color);
    width: 45px;
}

/* 特别针对560px宽度设备优化 */
@media (max-width: 560px) {
    .hero {
        margin-bottom: 10px;
        padding: var(--spacing-md) 0 8px;
    }

    .hero-subtitle {
        margin-bottom: 10px;
    }

    .fullscreen-news-module {
        height: 260px;
        margin-bottom: 15px;
    }
    
    .news-overlay {
        padding: 15px;
        padding-bottom: 30px;
    }
    
    .news-category {
        padding: 2px 8px;
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .news-title {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .news-excerpt {
        font-size: 13px;
        line-height: 1.4;
        -webkit-line-clamp: 2;
        max-height: 36px;
    }
    
    .news-nav-arrow {
        width: 30px;
        height: 30px;
    }
    
    .news-prev {
        left: 10px;
    }
    
    .news-next {
        right: 10px;
    }
    
    .news-nav-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .news-indicators {
        bottom: 10px;
        gap: 8px;
    }
    
    .news-indicator {
        width: 24px;
        height: 2px;
    }
    
    .news-indicator.active {
        width: 36px;
    }
} 

/* 田字形布局 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 改为2列 */
    grid-template-rows: repeat(2, 1fr); /* 2行 */
    gap: 30px; /* 增加间距 */
    max-width: 900px; /* 调整整体宽度 */
    margin: 0 auto;
    padding: 20px 0; /* 增加上下内边距 */
}

/* 田字形布局 - 功能卡片优化 */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 20px;
    background-color: #ffffff;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 260px;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(230, 230, 230, 0.5);
}

.feature-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(51, 102, 255, 0.05) 0%, rgba(51, 102, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    transform: scale(1.5);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(51, 102, 255, 0.2);
}

.feature-card:hover .feature-hover-effect {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(51, 102, 255, 0.08) 0%, rgba(51, 102, 255, 0) 70%);
    z-index: -1;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

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

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

.feature-title {
    font-size: 1.6rem;
    margin: 15px 0 10px;
    color: #333;
    font-weight: 700;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary-color);
}

.feature-desc {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    max-width: 90%;
}

/* 修改新闻卡片为横向排列 */
.fixed-news-grid {
    display: flex;
    flex-direction: row; /* 改为横向排列 */
    justify-content: center; /* 居中对齐 */
    gap: 40px; /* 增加卡片间距 */
    width: 100%;
    padding: 30px 0 50px; /* 增加底部内边距 */
    flex-wrap: wrap; /* 允许换行 */
}

/* 确保在移动设备上能够正常显示三个新闻卡片 */
@media (max-width: 768px) {
    .fixed-news-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

/* 优化新闻卡片样式 */
.fixed-news-item {
    flex: none;
    width: 560px;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    background-color: #fff;
}

.fixed-news-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
}

.fixed-news-item .news-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.fixed-news-item .news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.7) 90%);
    z-index: 1;
}

.fixed-news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.fixed-news-item:hover img {
    transform: scale(1.05);
}

.fixed-news-item .news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fixed-news-item:hover .news-overlay {
    transform: translateY(-5px);
}

.fixed-news-item .news-category {
    display: inline-block;
    background-color: #4285f4;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.fixed-news-item .news-title {
    font-size: 1.8rem;
    margin: 10px 0;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.fixed-news-item .news-excerpt {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    max-width: 90%;
} 

/* 调整新闻模块的容器 */
.fullscreen-news-module {
    padding: 50px 20px;
    background: linear-gradient(165deg, #f8f9fa, #eef1f5);
    margin: 40px 0 60px;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 5px rgba(0, 0, 0, 0.03);
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px; /* 增加底部边距，防止被页脚遮挡 */
    position: relative;
    z-index: 30; /* 确保在页脚之上 */
}

/* 优化响应式布局 */
@media (max-width: 600px) {
    .fixed-news-item {
        width: 100%;
    }
    
    .fixed-news-item .news-image {
        height: 220px;
    }
    
    .fixed-news-item .news-title {
        font-size: 1.3rem;
    }
    
    .fixed-news-item .news-excerpt {
        font-size: 0.9rem;
    }
} 

/* 响应式布局优化 - 合并所有媒体查询 */
@media (min-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .agent-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* 联享名片响应式样式 */
    .card-slider {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: var(--spacing-md);
        gap: var(--spacing-lg);
    }
    
    .business-card {
        min-width: 350px;
        width: calc(50% - var(--spacing-md));
        scroll-snap-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
    
    .fixed-news-item {
        width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr); /* 确保在移动端也是2列 */
        grid-template-rows: repeat(2, 1fr);
        grid-gap: 15px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .feature-card {
        height: auto;
        min-height: 180px; /* 减小卡片高度 */
        padding: 15px 10px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin: 5px 0;
    }
    
    .feature-desc {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .fullscreen-news-module {
        padding: 30px 15px;
        margin: 30px 0 40px;
    }
    
    .fixed-news-item {
        margin-bottom: 25px;
    }
    
    .final-cta {
        padding: 25px 15px;
    }
    
    .final-cta-title {
        font-size: 1.5rem;
    }
    
    .final-cta-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        gap: 10px; /* 进一步减少间距 */
    }
    
    .feature-card {
        min-height: 150px; /* 更小的卡片高度 */
        padding: 10px 8px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }
    
    .feature-title {
        font-size: 0.9rem;
        margin: 4px 0;
    }
    
    .feature-desc {
        font-size: 0.75rem;
    }
} 

/* 竞争提示区域样式 */
.competition-alert {
    margin-top: 40px;
    margin-bottom: 100px; /* 进一步增加底部边距，确保完全不被页脚遮挡 */
    padding: 30px;
    background: linear-gradient(135deg, #ff4081, #c51162);
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 35px rgba(197, 17, 98, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    z-index: 20; /* 确保在页脚上方显示 */
}

.competition-alert::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    transform: rotate(30deg);
    z-index: 0;
    pointer-events: none;
}

.competition-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.competition-subtitle {
    font-size: 1.3rem;
    margin: 0 0 20px; /* 增加底部间距，为按钮腾出空间 */
    opacity: 0.95;
    position: relative;
    z-index: 1;
    letter-spacing: 0.3px;
}

/* 竞争区域按钮样式 */
.competition-alert .cta-button {
    background-color: white;
    color: #c51162;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.competition-alert .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}

/* 在移动设备上调整竞争提示区域样式 */
@media (max-width: 768px) {
    .competition-alert {
        padding: 20px 15px;
        margin-bottom: 80px; /* 在移动设备上增加更多底部边距 */
    }
    
    .competition-title {
        font-size: 1.5rem;
    }
    
    .competition-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .competition-alert .cta-button {
        font-size: 1rem;
        padding: 10px 25px;
    }
} 

/* 简单页脚 - 固定在底部 */
.simple-footer {
    background-color: #f5f5f5;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    width: 100%;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 5; /* 进一步降低z-index，确保不会遮挡其他重要内容 */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    height: 40px; /* 固定高度 */
} 