:root {
    --primary-color: #02a2ed;
    --primary-light: #E6F7FF;
    --primary-dark: #0178B8;
    --secondary-color: #666666;
    --text-primary: #000000;
    --text-secondary: #666666;
    --background-light: #FFFFFF;
    --border-color: #E0E0E0;
    --hover-color: #0178B8;
    --shadow-color: rgba(2, 162, 237, 0.1);
}

/* 导航栏样式 */
.navbar {
    background: white !important;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link {
    color: var(--text-primary) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* 按钮样式 */
.btn-primary {
    background: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
    background: var(--hover-color);
}

/* 卡片样式 */
.card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* 标题样式 */
.section-title {
    color: var(--text-primary);
    font-weight: 600;
}

/* 文本样式 */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

/* 背景样式 */
.bg-light {
    background-color: var(--background-light) !important;
}

/* 边框样式 */
.border {
    border-color: var(--border-color) !important;
}

/* 页脚样式 */
footer {
    background: var(--primary-color) !important;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    margin-top: 3rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer .row {
    align-items: center;
}

footer .col-md-4 {
    padding: 1rem;
}

footer h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

footer h5:hover::after {
    width: 60px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

footer a:hover::after {
    width: 100%;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}


@media (max-width: 768px) {
    footer {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    footer .col-md-4 {
        text-align: center !important;
        padding: 0.5rem;
    }

    footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    footer p {
        font-size: 0.9rem;
    }

}

/* 渐变背景 */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

/* 图标样式 */
.feature-icon {
    background: var(--primary-color);
    color: white;
}

/* 链接样式 */
a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

/* 返回按钮样式 */
.back-button {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.back-button:hover {
    background: var(--primary-color);
    color: white;
}

/* 产品卡片样式 */
.product-card {
    border: 1px solid var(--border-color);
    background: white;
}

.product-title {
    color: var(--text-primary);
    font-weight: 600;
}

.product-description {
    color: var(--text-secondary);
}

/* 联系信息样式 */
.contact-item {
    border: 1px solid var(--border-color);
    background: white;
}

.contact-icon {
    background: var(--primary-color);
    color: white;
}

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

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

/* 产品详情页样式 */
.product-hero {
    background: var(--primary-color);
    color: white;
}

.thumbnail {
    border: 2px solid var(--border-color);
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: white;
}

.cta-button:hover {
    background: var(--hover-color);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* 特色功能样式 */
.feature-item {
    background: white;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* 规格列表样式 */
.specs-list li {
    border-bottom: 1px solid var(--border-color);
}

.spec-label {
    color: var(--text-secondary);
}

.spec-value {
    color: var(--text-primary);
    font-weight: 500;
} 