/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: rgba(13, 71, 161, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4fc3f7;
    transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #4fc3f7;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
    color: #fff;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    animation: fadeInLeft 1s ease;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero .subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn.primary {
    background: #4fc3f7;
    color: #0d47a1;
    border: 2px solid #4fc3f7;
}

.btn.primary:hover {
    background: transparent;
    color: #4fc3f7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 195, 247, 0.3);
}

.btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn.secondary:hover {
    background: #fff;
    color: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero-shape {
    width: 300px;
    height: 300px;
    background: rgba(79, 195, 247, 0.1);
    border-radius: 50%;
    position: absolute;
    animation: pulse 2s ease-in-out infinite;
}

.hero-icon {
    font-size: 8rem;
    color: #4fc3f7;
    position: relative;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

/* 关于我们样式 */
.about {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #0d47a1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0d47a1, #4fc3f7);
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #0d47a1;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #4fc3f7;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* 业务范围样式 */
.services {
    padding: 80px 0;
    background: #fff;
}

.services .section-header p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 195, 247, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0d47a1, #4fc3f7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-color: #4fc3f7;
}

.service-icon {
    font-size: 3rem;
    color: #0d47a1;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #4fc3f7;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #0d47a1;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* 产品服务样式 */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(13,71,161,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.products .container {
    position: relative;
    z-index: 2;
}

.product-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.product-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-shape {
    width: 350px;
    height: 350px;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 20px;
    position: absolute;
    transform: rotate(15deg);
    animation: rotate 8s linear infinite;
}

.product-icon {
    font-size: 10rem;
    color: #0d47a1;
    position: relative;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 2rem;
    color: #0d47a1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.product-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.product-features li {
    padding: 0.8rem 0;
    color: #0d47a1;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.product-features li:hover {
    transform: translateX(10px);
}

.product-features i {
    color: #4fc3f7;
    font-size: 1.2rem;
}

/* 联系方式样式 */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #4fc3f7;
    background: #fff;
}

.contact-icon {
    font-size: 2rem;
    color: #0d47a1;
    margin-top: 0.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    color: #4fc3f7;
    transform: scale(1.1);
}

.contact-text h4 {
    font-size: 1.2rem;
    color: #0d47a1;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-text p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    flex: 1;
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: #0d47a1;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* 页脚样式 */
.footer {
    background: #0d47a1;
    color: #fff;
    padding: 50px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4fc3f7, #0d47a1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #fff;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #4fc3f7;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #4fc3f7;
    padding-left: 10px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact i {
    color: #4fc3f7;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: #4fc3f7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 动画效果 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(15deg);
    }
    to {
        transform: rotate(375deg);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: rgba(13, 71, 161, 0.95);
        backdrop-filter: blur(10px);
        width: 250px;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .product-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-icon {
        font-size: 6rem;
    }
    
    .hero-shape {
        width: 250px;
        height: 250px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about, .services, .products, .contact {
        padding: 60px 0;
    }
    
    .product-icon {
        font-size: 8rem;
    }
    
    .product-shape {
        width: 300px;
        height: 300px;
    }
}