/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航条样式 */
.navbar {
    background: #2c3e50;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.nav-logo h2 {
    color: #ecf0f1;
    font-size: 1.8rem;
    margin: 0;
}

/* 桌面端导航菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-link:hover {
    color: #3498db;
    background: rgba(255,255,255,0.1);
}

/* 移动端面包屑导航按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    transition: background 0.3s;
    border: none;
    color: inherit;
}

.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.breadcrumb-icon {
    font-size: 1.5rem;
    color: #ecf0f1;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.breadcrumb-text {
    color: #ecf0f1;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
}

/* 为body添加padding-top，为固定导航栏预留空间 */
body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px;
    margin: 0;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 0.5rem 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    
    .nav-container {
        max-width: 100%;
        margin: 0;
        padding: 0 15px;
        width: 100%;
    }
    
    body {
        padding-top: 70px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        min-width: 60px;
        justify-content: center;
        align-items: center;
        padding: 8px 12px;
        margin: 0;
    }
    
    .nav-logo h2 {
        font-size: 1.4rem;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
    
    /* 桌面端导航菜单在移动端隐藏 */
    .nav-menu {
        display: none;
    }
    
    /* 移动端菜单样式 */
    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #2c3e50;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 999;
        margin: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        font-size: 1.1rem;
        white-space: normal;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 60px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
        max-width: 100px;
    }
    
    .mobile-menu-toggle {
        padding: 6px 10px;
        min-width: 55px;
    }
    
    .breadcrumb-icon {
        font-size: 1.3rem;
    }
    
    .breadcrumb-text {
        font-size: 0.8rem;
    }
    
    .nav-menu.active {
        top: 60px;
    }
}

@media (max-width: 360px) {
    .nav-container {
        padding: 0 8px !important;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem !important;
        max-width: 90px;
    }
    
    .mobile-menu-toggle {
        padding: 5px 8px !important;
        min-width: 50px;
    }
    
    .breadcrumb-icon {
        font-size: 1.2rem !important;
    }
    
    .breadcrumb-text {
        font-size: 0.75rem !important;
    }
    
    .nav-menu {
        top: 60px !important;
        height: calc(100vh - 60px) !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        top: 60px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* 区域通用样式 */
.section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* 首页区域 */
.home-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #c0392b;
}

/* 功能区域 */
.features-section {
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

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

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.5;
}

/* 资源区域 */
.resources-section {
    background: white;
}

.resources-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.resource-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}
.resource-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.resource-item p {
    color: #666;
    line-height: 1.5;
}

/* 定价区域 */
.pricing-section {
    background: #f8f9fa;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem; /* 增加间距从2rem到3rem */
}

.pricing-card {
    background: white;
    padding: 3rem 2rem; /* 增加垂直内边距从2rem到3rem */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    min-height: 450px; /* 设置最小高度确保卡片更宽松 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.featured {
    border: 2px solid #3498db;
    transform: scale(1.05);
}

.pricing-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem; /* 增加标题底部间距 */
    font-size: 1.5rem;
}

.price {
    font-size: 2.8rem; /* 增大价格字体 */
    color: #e74c3c;
    margin-bottom: 2rem; /* 增加价格底部间距 */
    font-weight: bold;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2.5rem; /* 增加列表底部间距 */
    flex-grow: 1;
}

.pricing-card li {
    padding: 0.8rem 0; /* 增加列表项间距 */
    border-bottom: 1px solid #eee;
    font-size: 1.1rem; /* 稍微增大字体 */
}

.pricing-button {
    background: #3498db;
    color: white;
    padding: 15px 30px; /* 增加按钮内边距 */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1.2rem; /* 增大按钮字体 */
    transition: background 0.3s;
}

.pricing-button:hover {
    background: #2980b9;
}

/* 联系区域 */
.contact-section {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* 调整比例，右侧联系信息区域更宽 */
    gap: 4rem;
    align-items: start;
    max-width: 1300px; /* 进一步增加最大宽度 */
    margin: 0 auto;
    padding: 0 2rem; /* 添加左右内边距 */
}

.contact-form {
    background: #f8f9fa;
    padding: 3rem; /* 保持适当内边距 */
    border-radius: 10px;
    min-height: 550px;
    width: 100%;
}

.contact-form h3 {
    margin-bottom: 2.5rem;
    color: #2c3e50;
    font-size: 1.6rem;
}
.form-group {
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.2rem;
    box-sizing: border-box;
}

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

.submit-button {
    background: #27ae60;
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 1.3rem;
    transition: background 0.3s;
    font-weight: bold;
}

.submit-button:hover {
    background: #219a52;
    transform: translateY(-2px);
}

.contact-info {
    padding: 4rem; /* 增加内边距到4rem */
    background: #f8f9fa;
    border-radius: 10px;
    min-height: 600px; /* 增加最小高度 */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info h3 {
    margin-bottom: 3.5rem; /* 增加标题底部间距 */
    color: #2c3e50;
    font-size: 1.8rem; /* 进一步增大标题字体 */
    text-align: center;
}

.contact-items-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* 使用gap替代margin */
    flex-grow: 1;
}

.contact-item {
    padding: 2.5rem; /* 增加内边距 */
    background: white;
    border-radius: 10px; /* 增大圆角 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 增强阴影效果 */
    border-left: 4px solid #3498db; /* 添加左侧边框装饰 */
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
    transform: translateY(-3px); /* 添加悬停效果 */
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem; /* 增大字体 */
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-item h4::before {
    content: "📍"; /* 添加图标 */
    font-size: 1.2rem;
}

.contact-item p {
    font-size: 1.2rem; /* 增大字体 */
    line-height: 1.8; /* 增加行高 */
    color: #555;
}

.contact-item:last-child {
    margin-bottom: 0;
}

/* 表单结果提示样式 */
.form-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    opacity: 1;
}

.form-result.loading {
    background: #e2e3e5;
    border: 1px solid #d6d8db;
    color: #383d41;
}

.form-result.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-result.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.result-icon {
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.result-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.result-content p {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.result-content small {
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .resources-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2.5rem;
        min-height: auto;
    }
    
    .contact-items-container {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 2rem;
        margin-bottom: 0;
    }
    
    .contact-item h4 {
        font-size: 1.2rem;
    }
    
    .contact-item p {
        font-size: 1rem;
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .result-icon {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .resources-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .resource-icon {
        font-size: 2.5rem;
    }
}