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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: #e67e22;
}

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

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

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

.nav-links .contact-phone {
    color: #e67e22;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links .phone-icon {
    font-size: 1.4rem;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #d35400;
}

.btn-secondary {
    background: transparent;
    color: #e67e22;
    border: 1px solid #e67e22;
}

.btn-secondary:hover {
    background: #e67e22;
    color: white;
}

/* 英雄区域 */
.hero {
    margin-top: 70px;
    padding: 6rem 5% 4rem;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* 应用展示样式 */
.hero-app-demo {
    margin: 3rem auto;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.app-screen {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: #333;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
    color: #e67e22;
}

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

.app-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

.app-feature span:first-child {
    font-size: 2rem;
}

.app-feature span:last-child {
    font-weight: 500;
    color: #555;
}

/* 特色区域 */
.features {
    padding: 5rem 5%;
    background: #f8f9fa;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

/* 辅助色蓝色的图标（只在一个卡片上使用） */
.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

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

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

/* 服务区域 */
.services {
    padding: 5rem 2%;
}

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

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    min-width: 0;
}

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

.service-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* 保持所有服务卡片使用橙色主色调 */

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.service-content p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 产品图片展示 */
.product-gallery {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-item-large {
    grid-column: span 2;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-large {
        grid-column: span 1;
    }
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-height: 400px;
    margin: 0 auto;
}

.gallery-caption {
    padding: 1.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1));
}

/* 产品购买 */
.pricing {
    padding: 5rem 5%;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.pricing-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    color: #e67e22;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.pricing-features {
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features p {
    color: #555;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.pricing-card .btn {
    margin-top: auto;
}

/* 关于我们 */
.about {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* 联系我们 */
.contact {
    padding: 5rem 5%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #555;
}

/* 底部联系信息 */
.bottom-contact {
    padding: 3rem 5%;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    text-align: center;
}

.bottom-contact-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bottom-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bottom-logo p {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #e67e22;
    padding: 1rem;
    border-radius: 10px;
    min-width: 100px;
}

.qr-code span {
    font-size: 3rem;
}

.qr-code p {
    margin: 0;
    font-weight: 500;
}

.bottom-info {
    text-align: left;
}

.bottom-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.bottom-tag {
    text-align: right;
}

.bottom-tag p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: #ddd;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #e67e22;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-links li:not(.contact-phone) {
        display: none;
    }
    
    .nav-links .contact-phone {
        font-size: 1.1rem;
        gap: 0.3rem;
    }
    
    .nav-links .phone-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}