/* 全局样式 */
:root {
    --primary-color: #4f46e5;
    --secondary-color: #6366f1;
    --accent-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 30%, #2563eb 70%, #1e40af 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* 粒子背景 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #1e40af 50%, #7c3aed 75%, #4f46e5 100%);
    animation: breathingBackground 12s ease-in-out infinite;
}

@keyframes breathingBackground {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.01);
    }
}

/* 导航栏样式 */
.navbar {
    background: rgba(30, 27, 75, 0.9) !important;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.1);
}

.navbar.scrolled {
    background: rgba(30, 27, 75, 0.95) !important;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.15);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(79, 70, 229, 0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.1);
    filter: brightness(1.2) drop-shadow(0 4px 15px rgba(79, 70, 229, 0.4));
}

.navbar-brand:hover .logo-text {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.4);
}

.navbar-brand:hover .logo-text::before {
    opacity: 1;
    animation: logoShine 0.6s ease;
}

@keyframes logoShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-text {
    color: #e0e7ff;
    text-shadow: 0 0 10px rgba(79, 70, 229, 0.5);
}

.navbar-nav {
    position: relative;
}

.navbar-nav .nav-item {
    position: relative;
    margin: 0 0.2rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1.2rem !important;
    border-radius: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::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;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    transform: translateX(-50%);
    transition: width 0.4s ease;
    border-radius: 1px;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 英雄区域 */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1400px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border: 1px solid rgba(79, 70, 229, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.2);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
    background: linear-gradient(45deg, #7c3aed, #4f46e5);
}

.hero-buttons .btn:hover::before {
    left: 100%;
}



.hero-image {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

/* 首屏轮播样式 */
.hero-carousel {
    position: relative;
    z-index: 3;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 20px;
    width: calc(100% + 40px);
    margin-left: 60px;
}

.hero-carousel:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    background: #1a1a2e;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%) scale(0.95);
    border-radius: 20px;
    overflow: hidden;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.carousel-slide.prev {
    transform: translateX(-100%) scale(0.95);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s ease;
    filter: brightness(0.9) contrast(1.1);
    border-radius: 20px;
    display: block;
}

.carousel-slide:hover .carousel-image {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.2);
}

/* 确保图片完全填充容器 */
.carousel-slide img {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-slide.active .carousel-image {
    animation: floatIn 1.5s ease-out;
}

@keyframes floatIn {
    0% {
        transform: scale(0.9) translateY(20px);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.carousel-slide:hover .carousel-overlay {
    transform: translateY(0);
}

.carousel-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.carousel-overlay p {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* 通用区域样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* 产品展示区域 */
#products {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

#products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="50" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="90" cy="30" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

/* 产品卡片 */
.product-card {
    background: rgba(30, 27, 75, 0.9);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(79, 70, 229, 0.3);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border-radius: 1.5rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.4);
}

.product-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 1.5rem;
    overflow: hidden;
}

.product-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.3;
}

.product-card:hover .product-background {
    transform: scale(1.1);
    opacity: 0.5;
}

.product-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}



.product-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.product-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.product-card:hover .product-icon::before {
    left: 100%;
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.4);
}



.product-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 1;
    position: relative;
}

.product-card h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

.product-card h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.product-card:hover h4::after {
    width: 60px;
}

.product-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.7;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease forwards;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.product-features li:nth-child(1) { animation-delay: 0.1s; }
.product-features li:nth-child(2) { animation-delay: 0.2s; }
.product-features li:nth-child(3) { animation-delay: 0.3s; }

.product-features li:before {
    content: '✨';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.product-card:hover .product-features li:before {
    transform: scale(1.2) rotate(10deg);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 客户评价部分样式 */
.testimonials-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    z-index: -2;
}

.testimonials-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e2e8f0" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23cbd5e1" opacity="0.2"/><circle cx="50" cy="10" r="0.5" fill="%23e2e8f0" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(79, 70, 229, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
    z-index: -1;
}

/* 标题部分样式 */
.section-header {
    max-width: 600px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.testimonials-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.testimonials-section .section-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

/* 主要评价卡片样式 */
.testimonials-main {
    margin-bottom: 80px;
}

.testimonial-featured {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12), 0 5px 20px rgba(79, 70, 229, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(79, 70, 229, 0.15);
    backdrop-filter: blur(10px);
}

.testimonial-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--success-color));
    background-size: 200% 100%;
    animation: gradientFlow 3s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.testimonial-featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18), 0 10px 30px rgba(79, 70, 229, 0.15);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
}

.testimonial-quote i {
    color: white;
    font-size: 1.2rem;
}



/* 星级评分样式 */
.stars-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.stars-rating i {
    color: #fbbf24;
    font-size: 1.1rem;
    animation: starTwinkle 2s ease-in-out infinite;
}

.stars-rating i:nth-child(1) { animation-delay: 0s; }
.stars-rating i:nth-child(2) { animation-delay: 0.2s; }
.stars-rating i:nth-child(3) { animation-delay: 0.4s; }
.stars-rating i:nth-child(4) { animation-delay: 0.6s; }
.stars-rating i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* 评价文本样式 */
.testimonial-content .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 2.5rem;
    font-style: italic;
    position: relative;
    font-weight: 500;
    text-align: left;
    padding-left: 1rem;
    border-left: 3px solid rgba(79, 70, 229, 0.2);
}

.testimonial-content .testimonial-text::before {
    content: '"';
    position: absolute;
    left: -15px;
    top: -5px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.4;
    font-family: serif;
}

/* 作者信息样式 */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
}

.author-info .author-title {
    margin: 0;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 600;
}

/* 统计数据样式 */
.testimonials-stats {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 24px;
    margin-top: 40px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.stat-item {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(79, 70, 229, 0.1);
}

.stat-label {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .testimonials-scroll-container {
        height: 350px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100vw + 40px);
    }

    .testimonials-scroll-track {
        gap: 6px;
        padding: 10px 0;
    }

    .testimonials-row {
        gap: 8px;
    }

    .testimonials-row[data-row="1"] { animation-duration: 15s; }
    .testimonials-row[data-row="2"] { animation-duration: 18s; }
    .testimonials-row[data-row="3"] { animation-duration: 16s; }
    .testimonials-row[data-row="4"] { animation-duration: 19s; }
    .testimonials-row[data-row="5"] { animation-duration: 17s; }

    .testimonial-card.card-large {
        width: 200px;
        height: 80px;
        padding: 0.8rem;
    }

    .testimonial-card.card-medium {
        width: 170px;
        height: 70px;
        padding: 0.7rem;
    }

    .testimonial-card.card-small {
        width: 140px;
        height: 60px;
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .testimonials-scroll-container {
        height: 300px;
    }

    .testimonials-row {
        gap: 6px;
    }

    .testimonials-row[data-row="1"] { animation-duration: 12s; }
    .testimonials-row[data-row="2"] { animation-duration: 14s; }
    .testimonials-row[data-row="3"] { animation-duration: 13s; }
    .testimonials-row[data-row="4"] { animation-duration: 15s; }
    .testimonials-row[data-row="5"] { animation-duration: 14s; }

    .testimonial-card.card-large {
        width: 160px;
        height: 65px;
        padding: 0.6rem;
    }

    .testimonial-card.card-medium {
        width: 140px;
        height: 55px;
        padding: 0.5rem;
    }

    .testimonial-card.card-small {
        width: 120px;
        height: 50px;
        padding: 0.4rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonials-section .section-title {
        font-size: 2.2rem;
    }

    .testimonials-section .section-subtitle {
        font-size: 1.1rem;
    }

    .testimonial-featured {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .testimonial-content .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .testimonials-stats {
        padding: 40px 0;
        margin-top: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-section .section-title {
        font-size: 1.8rem;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }

    .testimonial-featured {
        padding: 1.5rem;
    }

    .testimonial-content .testimonial-text {
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item {
        padding: 1.5rem 0.5rem;
    }
}







/* 联系表单 */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.form-floating > .form-control {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
}

.form-floating > label {
    color: var(--text-secondary);
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
}

/* 页脚样式 */
/* 底部区域样式 */
.footer {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e40af 100%) !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="80" cy="80" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrain)"/></svg>') repeat;
    pointer-events: none;
}

/* 底部Logo样式 */
.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-brand-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* 联系信息样式 */
.footer-contact-info {
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #e0e7ff;
    transform: translateX(5px);
}

.contact-item i {
    color: #4f46e5;
    width: 20px;
    text-align: center;
}

/* 底部标题和链接 */
.footer h5, .footer h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #4f46e5;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 15px;
}

.footer-links a:hover::before {
    width: 10px;
}

/* 社交媒体链接 */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(79, 70, 229, 0.4);
    color: white !important;
}

/* 底部分割线 */
.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2.5rem 0 1.5rem 0;
}

/* 版权信息 */
.footer .row:last-child p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .product-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .carousel-container {
        height: 350px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .carousel-overlay {
        padding: 20px 15px 15px;
    }
    
    .carousel-overlay h3 {
        font-size: 1.2rem;
    }
    
    .carousel-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
        white-space: normal;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-logo {
        height: 35px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 加载动画 */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 悬浮效果 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 脉冲动画 */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 查看更多按钮样式 */
.more-testimonials-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.more-testimonials-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
    border-color: var(--primary-color);
}

.more-testimonials-btn:hover i {
    transform: translateX(3px);
}

.more-testimonials-btn i {
    transition: transform 0.3s ease;
}

/* 公司图标样式 */
.company-icon {
    font-size: 1.1rem;
    margin-right: 0.5rem;
    opacity: 0.8;
    display: inline-block;
}

/* Hero区域间距优化 */
.hero-content {
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .hero-content {
        padding-right: 1.5rem;
    }
}

@media (min-width: 992px) {
    .hero-content {
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .hero-content {
        padding-right: 2.5rem;
    }
}

@media (min-width: 1400px) {
    .hero-content {
        padding-right: 3rem;
    }
}

/* 可点击产品卡片样式 */
.clickable-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.product-link-hint {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
}

.clickable-card .fas.fa-external-link-alt {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.clickable-card:hover .fas.fa-external-link-alt {
    opacity: 1;
    transform: translateX(2px);
}

/* 几何图形背景动画 */
.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.geometric-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.geometric-shape::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-1::before {
    border-radius: 20%;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.shape-2::before {
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.shape-3::before {
    border-radius: 0;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    transform: rotate(45deg);
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 70%;
    animation-delay: -15s;
    animation-duration: 35s;
}

.shape-4::before {
    border-radius: 30%;
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.shape-5 {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 5%;
    animation-delay: -20s;
    animation-duration: 15s;
}

.shape-5::before {
    border-radius: 50%;
    background: linear-gradient(45deg, #ffecd2, #fcb69f);
}

.shape-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 60%;
    animation-delay: -8s;
    animation-duration: 28s;
}

.shape-6::before {
    border-radius: 10%;
    background: linear-gradient(135deg, #e0c3fc, #9bb5ff);
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) translateX(20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) translateX(-20px) rotate(240deg);
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
    }
}