* {
    font-family: 'Noto Sans SC', sans-serif;
    scroll-behavior: smooth;
}

/* 固顶导航栏样式 */
.navbar-custom {
    background-color: transparent;
    backdrop-filter: blur(0px);
    padding: 20px 0;
    transition: all 0.4s ease;
    box-shadow: none;
}

.navbar-custom.scrolled {
    padding: 12px 0;
    background-color: rgba(13, 17, 23, 0.55);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: #0d6efd !important;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 8px 20px !important;
    margin: 0 5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #0d6efd !important;
}

.nav-link.active {
    color: #ffffff !important;
}

/* 导航菜单胶囊体容器 */
.navbar-nav-wrapper {
    padding: 10px 25px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-nav-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-custom.scrolled .navbar-nav-wrapper {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.05);
}

.navbar-custom.scrolled .navbar-nav-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.1);
}

/* 二级导航样式 */
.dropdown-menu {
    background: rgba(13, 17, 23, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    padding: 10px 0 !important;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

.dropdown-item {
    color: #ffffff !important;
    padding: 12px 25px !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    display: block !important;
    width: 100% !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(13, 110, 253, 0.3) !important;
    color: #ffffff !important;
    border-left-color: #0d6efd;
}

.dropdown-toggle::after {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-item.dropdown {
    position: relative;
}

/* 确保下拉菜单在最上层 */
.navbar-nav-wrapper {
    position: relative;
    z-index: 1000;
}

.dropdown-menu {
    z-index: 1001 !important;
}

/* 移除Bootstrap的点击边框效果 */
.nav-link:focus,
.dropdown-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

.dropdown-item:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* 轮播图样式 */
.carousel {
    height: 100vh;
    min-height: 600px;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.carousel-item:nth-child(1) {
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.carousel-item:nth-child(2) {
    background-image: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.carousel-item:nth-child(3) {
    background-image: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.carousel-caption {
    bottom: 35%;
    text-align: center;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

.btn-custom {
    padding: 15px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    animation: fadeInUp 1.4s ease;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.4);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators .active {
    background-color: #0d6efd;
    width: 30px;
    border-radius: 10px;
}

/* 关于我们样式 */
.about-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(13, 110, 253, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(13, 202, 240, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(13, 110, 253, 0.1);
}

.section-title .line {
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    margin: 0 auto;
    border-radius: 3px;
    position: relative;
}



.about-card {
    padding: 40px 35px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(13, 110, 253, 0.2);
    border-color: rgba(13, 110, 253, 0.3);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card {
    color: inherit;
    transition: all 0.4s ease;
}

.about-card:hover {
    color: inherit;
}

.about-icon {
    width: 85px;
    height: 85px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.about-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
}

.about-card:hover .about-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.4);
}

.about-card:hover .about-icon::after {
    opacity: 0.3;
}

.about-icon i {
    color: white;
    transition: all 0.3s ease;
}

.about-card:hover .about-icon i {
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #2c3e50;
    position: relative;
    transition: all 0.3s ease;
}

.about-card:hover h3 {
    color: #0d6efd;
    transform: translateX(5px);
}

.about-card p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 0.98rem;
}

.card-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    line-height: 1;
    transition: all 0.4s ease;
}

.about-card:hover .card-number {
    color: rgba(13, 110, 253, 0.1);
    transform: scale(1.1);
}

/* 不同卡片的渐变色 */
.about-card:nth-child(1) .about-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.about-card:nth-child(2) .about-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.about-card:nth-child(3) .about-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.about-card:nth-child(4) .about-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.about-card:nth-child(5) .about-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.about-card:nth-child(6) .about-icon {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.about-card:nth-child(1)::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.about-card:nth-child(2)::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.about-card:nth-child(3)::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.about-card:nth-child(4)::before {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.about-card:nth-child(5)::before {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.about-card:nth-child(6)::before {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* 关于我们按钮样式 */
.btn-about-more {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    border: none;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-about-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.4);
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
}

.btn-about-more:active {
    transform: translateY(-1px);
}

.btn-about-more::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.6s ease;
}

.btn-about-more:hover::before {
    left: 100%;
}

/* 产品展示样式 */
.products-section {
    padding: 120px 0;
    background-color: #f8f9fa;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.8) 0%, rgba(13, 202, 240, 0.8) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-image-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-image-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.product-image-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.product-image-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.product-image-5 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.product-image-6 {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.product-body {
    padding: 30px;
}

.product-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-body p {
    color: #6c757d;
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 20px;
}

/* 联系方式样式 */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    color: white;
}

.contact-info-item {
    padding: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-info-item .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    font-size: 1.8rem;
}

.contact-info-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-item p {
    color: #adb5bd;
    margin-bottom: 0;
}

.footer-bottom {
    padding: 30px 0;
    background-color: #0a0c10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式 */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar-nav-wrapper {
        border-radius: 20px;
        padding: 15px 20px;
    }

    .nav-link {
        padding: 10px 15px !important;
        text-align: center;
    }

    .navbar-nav {
        padding-top: 5px;
    }

    .dropdown-menu {
        background: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 5px 0;
        margin-top: 5px;
    }

    .dropdown-item {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}