@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', sans-serif;
    scroll-behavior: smooth;
}

/* 防止Vue未编译时显示模板语法 */
[v-cloak] {
    opacity: 0 !important;
    visibility: hidden !important;
}

[v-cloak] * {
    display: none !important;
}

.hero-gradient {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-number {
    display: inline-block;
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    transition: opacity 1s ease-in-out;
}

.carousel-indicator {
    cursor: pointer;
}

.carousel-indicator.active {
    width: 24px;
    border-radius: 6px;
}

.carousel-prev,
.carousel-next {
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.carousel-prev:hover,
.carousel-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* 右侧固定联系按钮组样式 */
.contact-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FF8C00;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    transform: scale(1.1);
    background-color: #FF6347;
}

/* 弹窗样式 */
.contact-popup {
    position: fixed;
    right: 80px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    display: none;
    border-top: 3px solid #FF8C00;
}

.popup-customer {
    top: 30%;
    width: 250px;
}

.popup-phone {
    top: 40%;
    width: 250px;
}

.popup-wechat {
    top: 50%;
    width: 180px;
}

/* 箭头样式 */
.popup-arrow {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-buttons {
        right: 10px;
    }

    .contact-btn {
        width: 40px;
        height: 40px;
    }

    .contact-popup {
        right: 60px;
        padding: 15px;
    }

    .popup-customer,
    .popup-phone {
        width: 200px;
    }

    .popup-wechat {
        width: 150px;
    }

    /* 轮播图移动端调整 */
    .carousel-container {
        height: 400px !important;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }
}