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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    text-decoration: none;
    color: #2c3e50;
    transition: transform 0.3s ease;
}

.nav-logo a:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 16px;
    /* border-radius: 20px; */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: #3498db;
    /* background: rgba(52, 152, 219, 0.1); */
    /* transform: translateY(-2px); */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(52, 152, 219, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 响应式导航栏 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 20px;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .nav-link {
        padding: 12px 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        top: 60px;
    }
    
    body {
        padding-top: 60px;
    }
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 70px; /* 为固定导航栏留出空间 */
}

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

/* Hero Section with Background Image */


.hero-bg-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}




.cta-button {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #3498db;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}



.phone-screen {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.phone-screen:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.phone-1 {
    width: 200px;
    height: 300px;
    top: 50px;
    left: 50px;
    transform: rotate(-15deg);
}

.phone-2 {
    width: 180px;
    height: 280px;
    top: 100px;
    right: 30px;
    transform: rotate(10deg);
}

.phone-3 {
    width: 160px;
    height: 240px;
    bottom: 80px;
    left: 100px;
    transform: rotate(-5deg);
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.phone-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #3498db;
}
/* .footer-copy{
    text-align: center;
} */
.menu-item i {
    font-size: 1rem;
}

.dashboard-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 2rem;
    color: #e74c3c;
}

/* Recommendations Section */
.recommendations {
    /* background: #f8f9fa; */
    padding: 100px 0 0 0;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: left;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.solution-card {
    cursor:pointer;
    background: white;
    padding: 20px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    /* text-align: center; */
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    /* border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center; */
    margin: 0 auto 10px;
    font-size: 2rem;
    color: white;
}

.card-icon.blue {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.card-icon.teal {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
}

.card-icon.orange {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.card-icon.pink {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.card-icon.purple {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
 
   .recommendations{
            padding-top: 20px;
        }
    .phone-1, .phone-2, .phone-3 {
        transform: none;
        position: relative;
        margin: 10px;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-graphics {
        height: 300px;
        flex-direction: column;
    }
    
    .phone-screen {
        width: 150px;
        height: 200px;
        padding: 15px;
        margin: 5px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .solutions-grid {
        /*grid-template-columns: 1fr;*/
        gap: 20px;
    }
    
    .solution-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .phone-screen {
        width: 120px;
        height: 160px;
        padding: 10px;
    }
    
    .menu-item {
        font-size: 0.75rem;
        padding: 6px 8px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}

/* 图片加载优化 */
.hero-bg-img {
    transition: opacity 0.3s ease;
}

.hero-bg-img.loading {
    opacity: 0;
}

/* 确保图片在不同设备上的显示效果 */
@media (max-width: 768px) {
    .hero-bg-img {
        object-position: center center;
        /* height: 100px; */
    }
}

@media (max-width: 480px) {
    .hero-bg-img {
        object-position: center center;
    }
}

/* 底部栏 */
.site-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 50px 0 20px 0;
    margin-top: 60px;
}

.site-footer .container {
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    margin-top: 10px;
    color: #cbd5e1;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #e2e8f0;
}

.footer-nav {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #60a5fa;
}

.footer-contact-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 12px;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #60a5fa;
}

/* 响应式 */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

