/* 首页特有样式 */

/* Hero Banner */
.hero {
    margin-top: 120px;
    height: calc(100vh - 120px);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('../images/hero.jpg') center/cover no-repeat;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--white) 0%, #e8f4fc 100%);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 80"><path fill="%23f5f5f5" d="M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z"/></svg>') no-repeat;
    background-size: cover;
}

/* 服务内容区块 */
.services-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.service-card {
    background: #f8f9fa;
    padding: 35px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    background: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    background: var(--white);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
    transition: fill 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon svg {
    fill: var(--primary-color);
}

.service-card h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover h3 {
    color: var(--white);
}

.service-card p {
    font-size: 13px;
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    transition: gap 0.3s, color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-link {
    color: var(--white);
}

.service-link:hover {
    gap: 10px;
}

/* 关于徕欧 */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.about-text p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.about-more-btn:hover {
    background: var(--primary-light);
    transform: translateX(4px);
}

.about-image {
    flex: 1;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 服务网络 */
.network-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.country-card {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.country-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.country-flag {
    width: 60px;
    height: 40px;
    margin: 0 auto 15px;
    border-radius: 4px;
    overflow: hidden;
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-card h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.country-card p {
    font-size: 12px;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.country-card-link {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0.5);
}

.country-card-link svg {
    width: 16px;
    height: 16px;
    color: var(--white);
    margin-left: -18px;
    margin-top: -18px;
}

.country-card:hover .country-card-link {
    bottom: -20px;
    right: -20px;
    opacity: 1;
    transform: scale(1);
}

.country-card-link:hover {
    background: var(--primary-light);
}

/* 徕欧智汇 */
.insights-section {
    padding: 100px 0;
    background: var(--white);
}

.insights-tabs {
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-item {
    padding: 15px 30px;
    font-size: 16px;
    color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-item:hover {
    color: var(--primary-color);
}

.tab-item.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 500;
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.insight-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.insight-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.insight-item:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(9, 81, 155, 0.12);
    transform: translateY(-4px);
}

.insight-img {
    width: 140px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(9, 81, 155, 0.2);
}

.insight-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.insight-info h4 {
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: 600;
}

.insight-info p {
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Q&A 区块 */
.qa-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.qa-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.qa-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.qa-question {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.qa-question-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    flex-shrink: 0;
}

.qa-answer {
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.7;
    padding-left: 40px;
}

/* 联系表单 */
.contact-form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
}

.contact-form-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.contact-form-left {
    flex: 1;
    color: var(--white);
}

.contact-form-left h2 {
    font-size: 42px;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-form-left p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 20px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-info-item h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.7;
}

.contact-info-item p {
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 1;
}

.contact-form-right {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form-right h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form .required {
    color: #e74c3c;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(9, 81, 155, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 首页响应式 */
@media (max-width: 1200px) {
    .services-grid,
    .country-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        padding: 40px 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
    }

    .contact-form-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .qa-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .services-grid,
    .country-grid,
    .qa-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        height: 250px;
    }

    .contact-form-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form-left {
        padding: 0 10px;
    }

    .contact-form-left h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .contact-form-left p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 25px;
    }

    .contact-info-item h4 {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .contact-info-item p {
        font-size: 12px;
    }

    .contact-form-right {
        margin: 0 auto;
    }

    .contact-form-right h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form .form-group {
        margin-bottom: 15px;
    }

    .contact-form label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 15px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .country-card {
        padding: 25px 15px;
    }

    .insight-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .insight-img {
        width: 100%;
        height: 160px;
    }

    .insight-info h4 {
        font-size: 16px;
    }

    .insight-info p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .services-section,
    .about-section,
    .network-section,
    .insights-section,
    .qa-section,
    .contact-form-section {
        padding: 60px 0;
    }

    .insight-img {
        height: 140px;
    }
}
