/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
     /* max-width: 1200px; */
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    /*align-items: center;*/
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 25px;
    font-weight: bold;
    color: #333;
    line-height: 50px;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: #555;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #1a73e8;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a73e8;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.login-btn {
    padding: 10px 25px;
    border: 2px solid #1a73e8;
    color: #1a73e8;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #1a73e8;
    color: white;
}

.register-btn {
    padding: 10px 25px;
    background: #1a73e8;
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 115, 232, 0.4);
}

.hero-services-background{
    background-image: url('/images/photos/总背景.png');
    background-position: 0 50px;
    background-size: cover;
}

/* 英雄区域样式 */
.hero {
    padding: 150px 300px 100px;
     /* max-width: 1200px; */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
}

.hero-content h1 {
    font-size: 5.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-content p {
    font-size: 3.65rem;
    color: #0034b4;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cta-button {
    width: 200px;
    height: 60px;

    /* 图片背景 */
    background-image: url('/images/icons/立即体验按钮.svg');
    background-size: cover;        /* 或 contain */
    background-position: center;
    background-repeat: no-repeat;

    /* 文字样式 */
    color: #1B46AE;
    font-size: 24px;
    font-weight: bold;

    /* 按钮样式 */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    /* 可选：透明背景色 */
    background-color: transparent;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

.secondary-button {
    padding: 15px 35px;
    background: transparent;
    border: 2px solid #1a73e8;
    color: #1a73e8;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: #1a73e8;
    color: white;
}

.hero-image img {
    border-radius: 20px;
    /*box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);*/
    transition: transform 0.3s ease;
    width: 400px;
    height: 800px;
    margin: 0 0 0 205px;
}

.hero-image:hover img {
    transform: translateY(-10px);
}

/* 通用区块标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* 核心业务板块样式 */
.services {
    padding: 100px 30px;
     /* max-width: 1200px; */
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.service-icon {
    /*width: 80px;*/
    /*height: 80px;*/
    margin: -120px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.service-icon img {
    width: 150px;
    height: 150px;
}

.service-card:hover .service-icon {
    transform: rotate(10deg);
}

.service-card h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* 产品展示板块样式 */
.products {
    padding: 100px 30px;
     /* max-width: 1200px; */
    margin: 0 auto;
    background: #f8f9fa;
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.product-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 关于我们板块样式 */
.about {
    padding: 100px 30px;
     /* max-width: 1200px; */
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.about-content p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 5px;
}

.feature-label {
    color: #666;
    font-size: 0.9rem;
}

/* 联系我们板块样式 */
.contact {
    padding: 100px 30px;
     /* max-width: 1200px; */
    margin: 0 auto;
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    background: #1a73e8;
    color: white;
}

.info-item:hover h4,
.info-item:hover p {
    color: white;
}

.info-item h4 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px 25px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.4);
}

/* 页脚样式 */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 80px 30px 30px;
}

.footer-container {
     /* max-width: 1200px; */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-column a {
    display: block;
    color: #aaa;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #1a73e8;
    transform: translateX(5px);
}

.footer-bottom {
     /* max-width: 1200px; */
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-showcase {
        grid-template-columns: 1fr;
    }

    .about-features {
        flex-direction: column;
        gap: 25px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

