/* 
南宁乐飞网络科技 - 超级SIM来电名片产品官网
主色调：#0066CC
辅助色：#3399FF
科技感商务风格
*/

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.header {
    background: linear-gradient(135deg, #0066CC 0%, #3399FF 100%);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo h1 span {
    color: #fffacd;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    /*background: linear-gradient(135deg, #0066CC 0%, #3399FF 100%);*/
    background-image: url('../images/bg1.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #033589;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: #033589;
    color: #ffffff;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: #01aafa;
    color: white;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: white;
    color: #0066CC;
}

/* 特性区 */
.features {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #0066CC;
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e6f0ff;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066CC, #3399FF);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e6f0ff, #cce6ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #0066CC;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #0066CC;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* 产品详情区 */
.product-detail {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.product-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.product-image {
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: 650px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.2);
}

.product-info h2 {
    font-size: 2.5rem;
    color: #0066CC;
    margin-bottom: 1.5rem;
}

.product-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-features {
    margin-top: 2rem;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #333;
}

.product-features li::before {
    content: '✓';
    color: #0066CC;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* 场景区 */
.scenario {
    padding: 100px 0;
    background-color: white;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.scenario-grid img {
    width: 200px;
    margin: 0 auto 1rem;
    display: block;
}

.scenario-grid p {
    height: 100px;
}


.scenario-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
}

.scenario-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0066CC, #3399FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.scenario-card h3 {
    font-size: 1.4rem;
    color: #0066CC;
    margin-bottom: 1rem;
}

.scenario-card p {
    color: #666;
    line-height: 1.6;
}

/* 案例展示 */
.cases {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, #0066CC, #3399FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.case-content {
    padding: 2rem;
}

.case-content h3 {
    font-size: 1.5rem;
    color: #0066CC;
    margin-bottom: 1rem;
}

.case-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    color: #0066CC;
    font-weight: 600;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #0066CC 0%, #3399FF 100%);
    color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fffacd;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-detail i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.form-submit {
    text-align: center;
}

/* 页脚 */
.footer {
    background: #0d2242;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: #3399FF;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3399FF;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1a3a6c;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3399FF;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2a4a7a;
    color: #aaa;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .product-intro,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        background: linear-gradient(135deg, #0066CC 0%, #3399FF 100%);
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .features,
    .product-detail,
    .scenario,
    .cases,
    .contact {
        padding: 60px 0;
    }
    
    .btn {
        display: block;
        margin: 0.5rem auto;
        width: 80%;
        max-width: 300px;
    }

}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .scenario-card,
    .case-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* 卡片式组件 */
.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
}

/* 科技感线条装饰 */
.tech-line {
    position: relative;
}

.tech-line::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0066CC, #3399FF);
    border-radius: 3px;
}