:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-gray: #f3f4f6;
    --white: #ffffff;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;  /* 添加这行防止水平滚动 */
    width: 100%;  /* 确保宽度不超过视口 */
}

.header {
    padding: 0;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(5px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100vw;
    right: -100vw;
    bottom: 0;
    background: inherit;
    z-index: -1;
    border-bottom: inherit;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    position: relative;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.phone-number {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .phone-number {
        display: none;
    }
}

.hero {
    padding-top: 6rem;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;  /* 从 4rem 减小到 2rem */
    padding: 8rem 2rem;  /* 增加上下内边距 */
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.02) 0%, rgba(37, 99, 235, 0.08) 50%, rgba(37, 99, 235, 0.02) 100%);
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: -80%;  /* 增加覆盖范围 */
    left: -20%;  /* 扩大左右范围 */
    right: -20%;
    height: 250%;  /* 增加高度 */
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.02) 70%, transparent 100%);
    transform: rotate(-3deg);
    z-index: 0;
}

.stats-container::after {
    content: '';
    position: absolute;
    top: -80%;  /* 增加覆盖范围 */
    left: -20%;  /* 扩大左右范围 */
    right: -20%;
    height: 250%;  /* 增加高度 */
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    transform: rotate(3deg);
    z-index: 0;
}

.stat-item {
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.05);
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.2) 50%, transparent 100%);
}

.stats-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.2) 50%, transparent 100%);
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.hero {
    padding-top: 8rem;
    text-align: center;
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* 删除重复的 nav 和 nav-links 定义，只保留一个完整版本 */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(5px);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* 修复 stats-container 相关样式的重复定义 */
.stats-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    padding: 6rem 2rem;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.01) 0%, rgba(37, 99, 235, 0.03) 50%, rgba(37, 99, 235, 0.01) 100%);
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
}

/* 修复 stat-item 的重复定义和样式错误 */
.stat-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem 1.5rem;
    text-align: center;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.03);
    margin-bottom: 0;  /* 移除多余的margin */
}

/* 修复 hero 的重复定义 */
.hero {
    padding-top: 8rem;
    text-align: center;
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    padding: 6rem 2rem;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.02) 0%, rgba(37, 99, 235, 0.08) 50%, rgba(37, 99, 235, 0.02) 100%);
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: -80%;
    left: -100vw;  /* 扩大到整个视口宽度 */
    right: -100vw;  /* 扩大到整个视口宽度 */
    height: 250%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.02) 70%, transparent 100%);
    transform: rotate(-3deg);
    z-index: 0;
}

.stats-container::after {
    content: '';
    position: absolute;
    top: -80%;
    left: -100vw;  /* 扩大到整个视口宽度 */
    right: -100vw;  /* 扩大到整个视口宽度 */
    height: 250%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    transform: rotate(3deg);
    z-index: 0;
}

/* 添加内容容器来控制统计项的布局 */
.stats-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem 1.5rem;
    text-align: center;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.03);
}

@media (max-width: 1024px) {
    .stats-container {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 640px) {
    .stat-item {
        flex: 0 0 100%;
    }
}
    margin-bottom: 4rem;
    padding: 2rem;
}

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

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

.stat-label {
    font-size: 1rem;
    color: #4b5563;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav {
        padding: 1rem;
    }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.phone-number {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .phone-number {
        display: none;
    }
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.hero {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

.features, .solutions, .pricing, .contact {
    padding: 3rem 2rem;  /* 从 5rem 减小到 3rem */
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -2rem;  /* 添加负边距使内容向上移动 */
}

.footer {
    background-color: var(--light-gray);
    padding: 4rem 2rem 2rem;
    margin-top: -2rem;  /* 添加负边距使页脚也向上移动 */
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* 为新增的卡片添加动画延迟 */
.feature-card:nth-child(4) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-card .price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.price-card .price-desc{
    border-bottom: 1px solid #eee;
    height: 245px;
    margin-bottom: 15px;
}
/* .price-card .price-desc:after {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
    transform: rotateY(70deg);
    transition: all 0.3s ease-in-out 0s;
    border-radius: 10px;
} */


.price-card .billing {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    font-weight: normal;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.price-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.price-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.price-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
}

.price-button:hover {
    background: var(--secondary-color);
}

.price-card .strike {
    text-decoration: line-through;
    color: #666;
    margin-right: 0.5rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0rem;
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    .price-card .price-desc{
        height: auto;
    }
}

.price-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

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

.price span {
    font-size: 1rem;
    color: #6b7280;
}

.price-card ul {
    list-style: none;
    margin: 0rem 0;
    padding: 0;
}

.price-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    text-align: left;
}

.price-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.price-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.price-button:hover {
    background-color: var(--secondary-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

.footer {
    background-color: var(--light-gray);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;  /* 改为两端对齐 */
    gap: 2rem;  /* 减小基础间距 */
    padding: 0 2rem;
}

.footer-links {
    flex: 1;  /* 添加 flex 属性 */
    display: flex;
    justify-content: space-between;  /* 平均分布三个栏目 */
    padding-left: 4rem;  /* 与 logo 保持一定距离 */
}

.footer-column {
    min-width: 120px;
}

.footer-main {
    display: flex;
    align-items: center;
    min-width: 300px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-desc {
    font-size: 1.1rem;
    color: #64748b;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
}

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

.footer-column a {
    text-decoration: none;
    color: #4b5563;
    line-height: 2;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* 添加到文件末尾 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .solution-item, .price-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.solution-item:nth-child(2) {
    animation-delay: 0.2s;
}

.price-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* 添加平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 添加悬停效果 */
.feature-card:hover, 
.solution-item:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.feature-list li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkmark {
    color: #22c55e;
    font-size: 1.2rem;
    font-weight: bold;
}

.price-card.featured .checkmark {
    color: var(--primary-color);
}

/* AI Support Styles */
.ai-support {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.ai-support-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.ai-support-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.ai-chat-window {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    height: 450px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    overflow: hidden;
}

.ai-chat-header {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-close-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.ai-chat-messages {
    height: 320px;
    overflow-y: auto;
    padding: 15px;
}

.ai-message {
    margin: 10px 0;
    padding: 12px;
    border-radius: 8px;
    max-width: 80%;
}

.ai-bot {
    background: #f0f0f0;
    margin-right: auto;
}

.ai-user {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.ai-chat-input {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.ai-chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.ai-chat-input button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ai-chat-input button:hover {
    background-color: var(--secondary-color);
}