/* 树上APP页面样式 */
.app-page {
    position: relative;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* 下载按钮图片样式 */
.download-img {
    width: 200px;
    height: auto;
    display: block;
}

/* 平台图标链接样式 */
.platform-icon {
    text-decoration: none;
    color: inherit;
    outline: none;
    cursor: pointer;
}

.platform-icon:hover {
    text-decoration: none;
    color: inherit;
}

.platform-icon:focus {
    outline: none;
}

.app-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.app-content {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.app-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.5;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #c71b1b;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-download-btn:hover {
    background-color: #a81717;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 27, 27, 0.3);
}

.app-download-btn::before {
    content: '📱';
    font-size: 20px;
}

.app-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
}

.app-phone {
    position: relative;
    width: 320px;
    height: 640px;
    background-color: #f8f9fa;
    border-radius: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid #333;
}

.app-phone-screen {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.app-phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}

.app-phone-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

.app-phone-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.app-phone-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-phone-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f8f9fa;
}

.app-phone-btn {
    width: 100%;
    padding: 12px;
    background-color: #c71b1b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.app-raspberry {
    position: absolute;
    bottom: -20px;
    left: -60px;
    width: 120px;
    height: 120px;
    background-color: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 智慧园区解决方案模块样式 */
.solution-section {
    background-color: #fff;
    padding: 80px 0;
}

.solution-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.solution-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.solution-highlight {
    color: #c71b1b;
}

.solution-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.solution-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #c71b1b;
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.solution-download-btn:hover {
    background-color: #a81717;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 27, 27, 0.3);
}

.solution-download-btn .qr-icon {
    font-size: 20px;
}

/* 选择"树上"的三大理由模块样式 */
.reasons-section {
    background-color: #fff;
    padding: 80px 0;
}

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

.reasons-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

.reasons-title span {
    color: #C71B1B;
}

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

.reason-card {
    background-color: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    margin-bottom: 90px;
    display: flex;
    justify-content: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle.green {
    background-color: #28a745;
}

.icon-circle.blue {
    background-color: #007bff;
}

.icon-circle.red {
    background-color: #dc3545;
}

.reason-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.reason-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* 为每类用户量身定制模块样式 */
.users-section {
    background-color: #fff;
    padding: 80px 0;
}

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

.users-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

.users-highlight {
    color: #C71B1B;
}

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

.user-card {
    background-color: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.user-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #7f181d;
}

.user-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1;
}

/* 四大场景模块样式 */
.scenes-section {
    background-color: #fff;
    padding: 80px 0;
}

.scenes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.scenes-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

.scenes-highlight {
    color: #C71B1B;
}

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

.scene-card {
    background-color: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 企业服务模块独占一行 */
.enterprise-grid {
    grid-template-columns: 1fr;
}

.enterprise-scene {
    margin-top: 40px;
}

/* 企业服务模块 */
.enterprise-section {
    margin-top: 60px;
}

.enterprise-section .scene-card {
    width: 100%;
}

.scene-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.scene-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1;
}

.scene-icon {
    margin-left: 20px;
}

.scene-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.scene-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scene-features li {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.scene-features li:nth-child(odd) {
    font-weight: bold;
    color: #333;
}

.raspberry-image {
    position: absolute;
    bottom: -20px;
    right: 40px;
    z-index: 10;
}

.raspberry-cartoon {
    width: 100px;
    height: 120px;
}

.raspberry-head {
    width: 80px;
    height: 80px;
    background-color: #FF6B6B;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
}

.raspberry-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.raspberry-eyes {
    width: 20px;
    height: 5px;
    background-color: #fff;
    border-radius: 5px;
    margin: 0 auto 10px;
}

.raspberry-mouth {
    width: 25px;
    height: 10px;
    background-color: #fff;
    border-radius: 10px;
    margin: 0 auto;
}

.raspberry-body {
    width: 40px;
    height: 40px;
    background-color: #FFD93D;
    border-radius: 50% 50% 0 0;
    margin: 0 auto;
    position: relative;
    top: -10px;
}

.app-desc {
    color: #ffffff;
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}
/* 企业服务模块样式已合并到场景模块样式中 */

/* 响应式设计 */
@media (max-width: 992px) {
    .app-container {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    
    .app-visual {
        justify-content: center;
    }
    
    .app-title {
        font-size: 36px;
    }
    
    .app-content {
        max-width: 100%;
    }
    
    .scenes-grid {
        grid-template-columns: 1fr;
    }
    
    .raspberry-image {
        position: static;
        text-align: center;
        margin-top: 40px;
    }
    
    .enterprise-content {
        flex-direction: column;
        text-align: center;
    }
    
    .enterprise-visual {
        margin-top: 40px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .app-page {
        padding: 40px 0;
    }
    
    .app-container {
        padding: 0 20px;
    }
    
    .app-title {
        font-size: 28px;
    }
    
    .app-phone {
        width: 280px;
        height: 560px;
    }
    
    .solution-section {
        padding: 60px 0;
    }
    
    .solution-container {
        padding: 0 20px;
    }
    
    .solution-title {
        font-size: 28px;
    }
    
    .solution-description {
        font-size: 14px;
    }
    
    .solution-download-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .scenes-section,
    .enterprise-section,
    .reasons-section,
    .users-section {
        padding: 60px 0;
    }
    
    .scenes-container,
    .enterprise-container,
    .reasons-container,
    .users-container {
        padding: 0 20px;
    }
    
    .scenes-title,
    .reasons-title,
    .users-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .scene-card,
    .reason-card,
    .user-card {
        padding: 20px;
    }
    
    .reasons-grid,
    .users-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .icon-circle svg {
        width: 30px;
        height: 30px;
    }
}