/* 导航栏 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.logo a{
    /*color: white;*/
    text-decoration: none;
}
/*.logo span{*/
/*    color: #FF6B35;*/
/*}*/


.nav-links {
    display: flex;
}

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

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.hotline {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

.hotline i {
    margin-right: 8px;
}

/* 页脚样式 - 手机端优化 */
footer {
    background: var(--dark-color);
    color: var(--light-gray);
    padding: 30px 15px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 两列布局 */
    gap: 20px;
    margin-bottom: 25px;
}

.footer-column {
    margin-bottom: 15px;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--white);
    position: relative;
    padding-bottom: 8px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

/* 社交图标样式 */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.icon-container {
    position: relative;
    display: inline-block;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* 二维码样式 */
.qr-code {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 150px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.qr-code img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.qr-code p {
    font-size: 12px;
    color: #333;
    margin: 0;
}

/* 悬停/点击显示二维码 */
.icon-container:hover .qr-code,
.icon-container:focus-within .qr-code {
    opacity: 1;
    visibility: visible;
    margin-bottom: 15px;
}

/* 二维码箭头 */
.qr-code:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}
.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--gray-color);
}

  /* 悬浮按钮样式 - 避免冲突的专用class */
  .sousuo-icon {
    position: fixed;
    right: 30px;
    bottom: 80px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4d4d, #f9cb28);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    border: none;
    outline: none;
  }
  
  .sousuo-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }
  
  .sousuo-icon::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') no-repeat center;
  }
  
  /* 脉冲动画效果 */
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
  }
  
  .sousuo-icon.pulse {
    animation: pulse 1.5s infinite;
  }


/* 平板及以上设备 */
@media (min-width: 768px) {
    footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr); /* 四列布局 */
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .footer-column h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .footer-column ul li {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
    
    .copyright {
        font-size: 0.9rem;
    }
}


/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .highlight {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .highlight {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}