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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

.section {
    padding: 80px 0;
}

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

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: #27ae60;
}

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

.btn-primary {
    background-color: #27ae60;
    color: white;
}

.btn-primary:hover {
    background-color: #219653;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #27ae60;
    border: 2px solid #27ae60;
}

.btn-secondary:hover {
    background-color: #27ae60;
    color: white;
    transform: translateY(-3px);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    color: #27ae60;
    margin-right: 10px;
    font-size: 1.8rem;
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #27ae60;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
}

/* 首页横幅 */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: #5d6d7e;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #27ae60;
}

.stat-label {
    font-size: 1rem;
    color: #7f8c8d;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 项目介绍 */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-icon {
    width: 80px;
    height: 80px;
    background-color: #e8f6f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.about-icon i {
    font-size: 2.5rem;
    color: #27ae60;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.about-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 核心优势 */
.benefits {
    background-color: #f8f9fa;
}

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

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.benefit-card h3 i {
    color: #27ae60;
    margin-right: 10px;
    font-size: 1.2rem;
}

.benefit-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 合作流程 */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: #27ae60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.step p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 联系方式 */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 50px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #27ae60;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    color: #27ae60;
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #7f8c8d;
}

.info-item p {
    color: #2c3e50;
    font-weight: 500;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-logo i {
    color: #27ae60;
    margin-right: 10px;
    font-size: 2rem;
}

.footer-description {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #27ae60;
}

.copyright {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-top: 30px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .stats {
        justify-content: center;
    }
    
    .about-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step {
        max-width: 100%;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
/* ============ 移动端适配增强 ============ */

/* 平板竖屏 */
@media (max-width: 992px) {
    .about-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .process-steps {
        flex-direction: column;
        gap: 20px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* 手机横屏 & 大屏手机 */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem !important;
    }
    .section-subtitle {
        font-size: 1rem !important;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .about-grid,
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    .about-item,
    .benefit-item,
    .service-item {
        padding: 20px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: rgba(0,0,0,0.95);
        padding: 20px;
        z-index: 1000;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }
    .nav-menu a {
        font-size: 1.1rem;
        padding: 10px;
    }
    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 5px 10px;
    }
    .process-steps {
        flex-direction: column;
    }
    .step {
        flex-direction: row;
        text-align: left;
        padding: 15px;
    }
    .step-number {
        margin-bottom: 0;
        margin-right: 15px;
        min-width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    .contact-item {
        min-width: auto !important;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .section {
        padding: 40px 15px !important;
    }
    .hero {
        padding: 80px 15px 40px !important;
    }
    .section-title {
        font-size: 1.5rem !important;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-content .highlight {
        font-size: 1.5rem;
    }
    .about-item,
    .benefit-item,
    .service-item {
        padding: 15px;
    }
    .about-item h3,
    .benefit-item h3,
    .service-item h3 {
        font-size: 1.1rem;
    }
    .about-item p,
    .benefit-item p,
    .service-item p {
        font-size: 0.9rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    .region-selectors {
        flex-direction: column;
        gap: 8px;
    }
    .region-selectors select {
        min-width: auto;
        width: 100%;
    }
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .step {
        padding: 12px;
    }
    .step-number {
        min-width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .stat-card {
        padding: 15px;
    }
    .stat-card .number {
        font-size: 24px;
    }
    .contact-info {
        padding: 20px;
    }
}

/* 导航栏汉堡菜单 */
.menu-toggle {
    display: none;
}

/* 确保图片在手机上自适应 */
img {
    max-width: 100%;
    height: auto;
}

/* 表单输入在手机上不缩放 */
@media (max-width: 480px) {
    input, select, textarea {
        font-size: 16px !important; /* 防止iOS缩放 */
    }
}

/* 管理员后台移动端适配 */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .charts-grid {
        grid-template-columns: 1fr;
    }
    .header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .header .links {
        flex-wrap: wrap;
        justify-content: center;
    }
    table {
        font-size: 12px;
    }
    th, td {
        padding: 6px 8px;
    }
}
