/* 全局变量定义 - 定义网站的主要颜色和样式变量，方便统一管理和修改 */
:root {
    --primary-color: #0080FF;    /* 主色调 - 蓝色 */
    --secondary-color: #00B0FF;  /* 次要色调 - 浅蓝色 */
    --text-color: #333;          /* 文本颜色 - 深灰色 */
    --light-bg: #f8f9fa;         /* 浅色背景 */
    --gradient-primary: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); /* 主要渐变色 */
}

/* 全局基础样式 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; /* 中文字体优先 */
    color: var(--text-color);
    background: #fff;
    min-height: 100vh;
    overflow-x: hidden; /* 防止水平滚动条 */
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

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

/* 统一所有导航链接的样式 */
.navbar .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* 导航链接下划线效果 - 默认不显示 */
.navbar .nav-link::after {
    display: none;
}

.navbar .nav-link:hover::after {
    display: none;
}

.navbar .nav-link.active::after {
    display: none;
}

/* 下拉菜单链接样式 */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* 确保下拉菜单链接样式正确 */
.mega-dropdown .nav-link {
    padding-right: 1.5rem !important;
}

/* 下拉菜单的CSS过渡效果 */
.mega-dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    pointer-events: none;
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--primary-color);
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.98);
}

.mega-dropdown:hover .mega-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* 产品导航下拉菜单样式 */
.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.98);
    transition: all 0.3s ease;
    border-top: 2px solid var(--primary-color);
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item:hover {
    background: rgba(0, 128, 255, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-item:active {
    background: var(--primary-color);
    color: white;
}

.dropdown-divider {
    margin: 0.5rem 1rem;
    opacity: 0.1;
}

/* 确保下拉菜单在移动端显示正常 */
@media (max-width: 992px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0.5rem 0;
        background: transparent;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem 0.5rem 2rem;
        color: var(--text-color);
    }
    
    .dropdown-item:hover {
        background: transparent;
        transform: translateX(0);
    }
    
    .dropdown-divider {
        display: none;
    }
}

/* Banner部分样式 */
.banner {
    background: transparent;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.5),
        rgba(0, 64, 128, 0.5));
    z-index: 1;
}

/* 视频背景相关样式 */
.banner-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.banner-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.banner .container {
    position: relative;
    z-index: 3;
}

.banner-image {
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
    box-shadow: 0 20px 40px rgba(0, 128, 255, 0.2);
    border-radius: 20px;
}

.banner-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* 按钮样式 */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 128, 255, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 128, 255, 0.2);
}

/* 区块通用样式 */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 20px auto;
    border-radius: 3px;
}

/* 场景卡片样式 */
.scene-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.scene-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 128, 255, 0.15);
}

.scene-image {
    position: relative;
    overflow: hidden;
}

.scene-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scene-card:hover .scene-image img {
    transform: scale(1.1);
}

.scene-content {
    padding: 1.5rem;
}

.scene-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

/* 智能场景模块样式 */
.scene-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

/* 房型选择模块样式 */
.house-type-tabs {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.05), rgba(0, 255, 255, 0.1));
    padding: 25px 20px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 128, 128, 0.1);
    position: relative;
}

#houseTypeTabs {
    margin-left: 0;
    padding-left: 0;
}

.house-type-tabs .nav-pills {
    background: var(--light-bg);
    border-radius: 50px;
    padding: 0.5rem;
    display: inline-flex;
    margin-bottom: 2rem;
    justify-content: flex-start;
    width: auto;
}

.house-type-tabs .nav-link {
    padding: 15px 30px;
    margin: 0 10px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.house-type-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 128, 255, 0.2);
}

.house-type-tabs .nav-link:hover:not(.active) {
    background: rgba(0, 128, 255, 0.1);
}

.house-type-image {
    position: relative;
    border-radius: 20px;
    overflow: visible; /* 修改为visible确保内容不被裁剪 */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    display: block; /* 确保显示为块级元素 */
    max-width: 100%; /* 确保不超出父容器 */
}

.house-type-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 128, 255, 0.2);
}

.house-type-image img {
    width: 100%;
    height: auto; /* 修改为自动高度，保持图片比例 */
    max-height: 400px; /* 设置最大高度 */
    object-fit: contain; /* 修改为contain确保图片完整显示 */
    transition: transform 0.5s ease;
    display: block; /* 确保图片显示为块级元素 */
}

.house-type-image:hover img {
    transform: scale(1.05);
}

.house-type-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.house-type-devices {
    padding: 1rem;
}

.house-type-devices h4 {
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.device-list {
    margin-top: 1.5rem;
}

.device-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.device-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 128, 255, 0.1);
}

.device-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.device-item:hover .device-icon {
    transform: rotate(15deg);
}

.device-info {
    flex: 1;
}

.device-info h5 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.device-info p {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.device-status {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.device-status .progress {
    flex: 1;
    height: 8px;
    margin-right: 10px;
    background-color: #f0f0f0;
}

.device-status .progress-bar {
    background: var(--gradient-primary);
    border-radius: 4px;
}

.device-status span {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}

.device-tag {
    display: inline-block;
    background: rgba(0, 128, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.scene-card:hover .scene-overlay {
    opacity: 1;
}

.scene-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 128, 255, 0.2);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.3s ease;
}

.scene-card:hover .scene-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.scene-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.scene-devices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.device-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(0, 128, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.device-tag i {
    margin-right: 5px;
    font-size: 0.9rem;
}

.device-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 产品卡片样式 */
.product-card {
    background: white;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 128, 255, 0.15);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-image-wrapper img, .card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    width: 100%;
    position: relative;
}

.product-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.icon-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 128, 255, 0.1);
}

.icon-overlay i {
    font-size: 24px;
    color: var(--primary-color);
}

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

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

/* 关于我们模块样式 */
.about-content {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 255, 0.9));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 128, 255, 0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 128, 255, 0.1);
    transition: all 0.4s ease;
    z-index: 1;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.05), rgba(0, 176, 255, 0.05));
    z-index: -1;
}

.about-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 128, 255, 0.25);
    border-color: rgba(0, 128, 255, 0.3);
}

.about-stats {
    margin-bottom: 2rem;
}

.stat-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 247, 255, 0.8));
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 128, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 128, 255, 0.05);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 128, 255, 0.2);
    border-color: rgba(0, 128, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
}

.feature-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-row:hover {
    background: rgba(0, 128, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 128, 255, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    box-shadow: 0 5px 15px rgba(0, 128, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-row:hover .feature-icon {
    transform: rotate(15deg);
    box-shadow: 0 8px 20px rgba(0, 128, 255, 0.3);
}

.feature-content {
    flex: 1;
}

.feature-content h5 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.feature-content p {
    margin-bottom: 0;
    color: #555;
    font-size: 0.9rem;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 128, 255, 0.2);
    transition: all 0.4s ease;
}

.about-image-wrapper:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 25px 50px rgba(0, 128, 255, 0.3);
}

.about-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    transition: all 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 128, 255, 0.3);
    transition: all 0.3s ease;
}

.experience-badge:hover {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 128, 255, 0.4);
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-align: center;
}

/* 预加载动画 */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #0a1a2f, #1c2e4a);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 80px 0 30px;
    margin-top: 50px;
    border-top: 4px solid var(--primary-color);
}

.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-brand h3 {
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(90deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 176, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.1);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 128, 255, 0.3);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

.footer-links li, .footer-contact li {
    margin-bottom: 12px;
}

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

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    width: 30px;
    height: 30px;
    background: rgba(0, 128, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 176, 255, 0.2);
}

.footer-divider {
    margin: 40px 0 30px;
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.5;
}

.footer-bottom {
    padding-top: 10px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .banner {
        padding: 80px 0 40px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
        margin: 0;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-title {
        margin-top: 20px;
    }
}

/* 联系表单样式 */
.contact-form {
    background: linear-gradient(135deg, white, rgba(240, 247, 255, 0.95));
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 128, 255, 0.15);
    border: 1px solid rgba(0, 128, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 128, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.contact-form .form-control {
    border: 1px solid rgba(0, 128, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.2);
    border-color: var(--primary-color);
    background: white;
}

.contact-form .btn-hover-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form .btn-hover-effect::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: all 0.6s ease;
    z-index: -1;
}

.contact-form .btn-hover-effect:hover::before {
    left: 100%;
}

/* 微信二维码样式 */
.wechat-qr {
    max-width: 180px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wechat-qr:hover {
    transform: scale(1.05);
}

.qr-code-container {
    padding: 15px;
    background: linear-gradient(135deg, #f8f8f8, #f0f7ff);
    border-radius: 15px;
    display: inline-block;
    border: 1px solid rgba(0, 128, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 128, 255, 0.1);
}

.wechat-display-card {
    display: inline-block;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 255, 0.9));
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 128, 255, 0.1);
    border: 1px solid rgba(0, 128, 255, 0.1);
    transition: all 0.4s ease;
}

.wechat-display-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 128, 255, 0.2);
}

.wechat-info {
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
}

.divider-vertical {
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 128, 255, 0.3), transparent);
    margin: 0 auto;
}

.contact-info {
    font-size: 1.1rem;
}

/* 联系信息卡片科技感样式 */
.info-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 255, 0.9));
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 128, 255, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 128, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.05), rgba(0, 176, 255, 0.05));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 128, 255, 0.2);
    border-color: rgba(0, 128, 255, 0.3);
}

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

.info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 128, 255, 0.3);
    position: relative;
    z-index: 2;
}

.info-card:hover .info-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 128, 255, 0.4);
}

.info-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.info-content h5 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.info-content p {
    margin-bottom: 0;
    color: #555;
    font-size: 1rem;
}

.wechat-link {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(0, 128, 255, 0.1);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.wechat-link:hover {
    background: var(--primary-color);
    color: white !important;
    box-shadow: 0 5px 15px rgba(0, 128, 255, 0.3);
}

.wechat-link i {
    margin-left: 8px;
}

/* 联系部分背景效果 */
.contact-section {
    position: relative;
    overflow: hidden;
}

.tech-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.tech-circles::before,
.tech-circles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.03), rgba(0, 176, 255, 0.03));
    z-index: -1;
}

.tech-circles::before {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    border: 1px solid rgba(0, 128, 255, 0.1);
}

.tech-circles::after {
    width: 500px;
    height: 500px;
    bottom: -200px;
    left: -200px;
    border: 1px solid rgba(0, 128, 255, 0.1);
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 解决方案部分样式 */
#solutions {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(240, 247, 255, 0.95));
}

#solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.05), rgba(0, 176, 255, 0.05));
    z-index: 0;
}

.solutions-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

#solutions .container {
    position: relative;
    z-index: 2;
}

/* 标题和副标题背景色样式 */
.title-with-bg {
    background: var(--gradient-primary);
    color: white;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 128, 255, 0.4);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease;
}

.title-with-bg:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 128, 255, 0.5);
}

.subtitle-with-bg {
    background: rgba(0, 176, 255, 0.85);
    color: white;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 128, 255, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    animation: fadeInUp 1.3s ease;
}

.subtitle-with-bg:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 128, 255, 0.4);
}

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

/* 全屏滚动相关样式 */
.fullpage-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.fullpage-section.section-active {
    opacity: 1;
    transform: translateY(0);
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-in.item-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 基于欧瑞博网站设计的滚动指示器 */
.scroll-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.scroll-dot:hover {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 128, 255, 0.5);
}

/* 为欧瑞博风格的布局添加样式 */
.orvibo-style-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.orvibo-style-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.03), rgba(0, 176, 255, 0.03));
    z-index: 0;
}

.orvibo-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.orvibo-section-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    z-index: 1;
}

.orvibo-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.orvibo-section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.orvibo-feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.orvibo-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 128, 255, 0.15);
}

.orvibo-feature-image {
    height: 200px;
    overflow: hidden;
}

.orvibo-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.orvibo-feature-card:hover .orvibo-feature-image img {
    transform: scale(1.1);
}

.orvibo-feature-content {
    padding: 1.5rem;
}

.orvibo-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.orvibo-feature-text {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.orvibo-feature-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 128, 255, 0.3);
    z-index: 2;
}

/* 智能控制中心banner图展示相关样式 */
.banner-showcase {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.banner-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 128, 255, 0.2);
    transition: all 0.5s ease;
}

.banner-main-image {
    transition: transform 0.6s ease;
    width: 100%;
}

.banner-image-container:hover .banner-main-image {
    transform: scale(1.05);
}

.banner-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.banner-image-container:hover .banner-image-overlay {
    opacity: 1;
}

.banner-feature-bubble {
    transition: all 0.3s ease;
    z-index: 3;
    cursor: pointer;
}

.banner-feature-bubble:hover {
    transform: scale(1.2);
}

.feature-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    transform: translateY(10px);
}

.banner-feature-bubble:hover .feature-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* 根据位置调整提示框位置 */
.banner-feature-bubble[data-feature="无线连接"] .feature-tooltip {
    top: 100%;
    left: 0;
    margin-top: 10px;
}

.banner-feature-bubble[data-feature="安全防护"] .feature-tooltip {
    top: 100%;
    right: 0;
    margin-top: 10px;
}

.banner-feature-bubble[data-feature="智能场景"] .feature-tooltip {
    bottom: 100%;
    left: 0;
    margin-bottom: 10px;
}

.banner-feature-bubble[data-feature="智能设置"] .feature-tooltip {
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
}

/* 粒子容器样式 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8; /* 增强粒子可见度 */
}

/* 调整粒子容器在不同背景下的效果 */
.fullpage-section.bg-light .particles-container {
    opacity: 0.9; /* 在浅色背景上增加粒子不透明度 */
}

/* 增强粒子容器效果 */
.banner-particles, #particles-js, #solutions-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9; /* 增强可见度 */
}

/* 调整移动端的粒子效果 */
@media (max-width: 768px) {
    .particles-container, .banner-particles, #particles-js, #solutions-particles {
        opacity: 0.7; /* 移动端稍微降低粒子效果以提高性能 */
    }
}

/* 产品中心大型下拉菜单样式 */
.mega-dropdown {
    position: static;
}

.mega-dropdown-menu {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    padding: 30px 0;
    margin-top: 0;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.mega-dropdown:hover .mega-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 产品分类列表样式 */
.product-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    background: rgba(0, 128, 255, 0.02);
}

.product-category-list li {
    padding: 12px 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.product-category-list li span {
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}

.product-category-list li.active, 
.product-category-list li:hover {
    background-color: rgba(0, 128, 255, 0.05);
    border-left: 3px solid var(--primary-color);
}

.product-category-list li.active span, 
.product-category-list li:hover span {
    color: var(--primary-color);
    transform: translateX(3px);
}

.product-category-list li.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
    display: none; /* 使用左边框代替 */
}

/* 产品展示区域样式 */
.product-display-area {
    padding: 0 15px;
    transition: opacity 0.3s ease;
}

.product-category-content {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

/* 产品分类内容的过渡效果 */
.product-category-content.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.product-category-content.fade-in,
.product-category-content[style*="display: block"] {
    opacity: 1;
    transform: translateY(0);
}

.product-category-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.product-item-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.product-item {
    width: 25%;
    padding: 0 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.product-item .img {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-item .img img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .img {
    box-shadow: 0 8px 20px rgba(0, 128, 255, 0.15);
    transform: translateY(-5px);
}

.product-item:hover .img img {
    transform: scale(1.05);
}

.product-item .proTitle {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: block;
    margin-top: 8px;
    transition: all 0.3s ease;
}

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

.product-item .proTitle {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.product-item:hover .proTitle {
    color: var(--bs-primary);
}

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

/* 响应式调整 */
@media (max-width: 991px) {
    .mega-dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 15px;
    }
    
    .product-category-list {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
        padding-bottom: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-wrap: nowrap;
    }
    
    .product-item {
        width: 50%;
    }
}

/* 房型选择模块整体样式 */
#house-types {
    padding-top: 100px;    /* 调整顶部间距 */
    padding-bottom: 80px;   /* 调整底部间距 */
    margin-top: 50px;      /* 或使用margin调整位置 */
}

/* 选项卡导航样式 */
#houseTypeTabs {
    margin-bottom: 40px;  /* 调整选项卡与内容的间距 */
}

.house-type-tabs .nav {
    justify-content: center;     /* 居中对齐 */
    /* 或者使用其他值：
    justify-content: flex-start; /* 左对齐 */
    justify-content: flex-end;   /* 右对齐 */
    
}

/* 调整选项卡内容的布局 */
.house-type-tabs .tab-content {
    margin-top: 30px;
}

/* 房型选项卡响应式调整 */
@media (max-width: 576px) {
    #houseTypeTabs .nav-link {
        font-size: 14px;
        padding: 8px 12px;
        text-align: center;
    }
    
    #house-types .tab-content {
        margin-top: 1rem;
    }
}

/* 房型选项卡美化样式 */
.custom-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.custom-tabs .nav-item {
    flex: 1;
    padding: 3px;
}

/* 每个选项卡按钮的样式与背景色 */
.custom-tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#apartment-tab {
    background: linear-gradient(135deg, rgba(0, 180, 180, 0.1), rgba(0, 215, 215, 0.2));
}

#flat-tab {
    background: linear-gradient(135deg, rgba(0, 160, 200, 0.1), rgba(0, 195, 235, 0.2));
}

#villa-tab {
    background: linear-gradient(135deg, rgba(0, 140, 220, 0.1), rgba(0, 175, 255, 0.2));
}

/* 悬停效果 */
.custom-tabs .nav-link:hover {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.2), rgba(0, 180, 180, 0.3));
    color: var(--bs-primary);
    transform: translateY(-2px);
}

/* 激活状态 */
.custom-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--bs-primary), #008b8b);
    color: white;
    transform: translateY(0);
}

/* 图标样式 */
.custom-tabs .tab-icon {
    margin-bottom: 8px;
    font-size: 22px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-tabs .nav-link.active .tab-icon {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.custom-tabs .nav-link.active .tab-icon i {
    color: var(--bs-primary);
}

.custom-tabs .tab-title {
    font-weight: 600;
    display: block;
    font-size: 16px;
    line-height: 1.2;
}

.custom-tabs .tab-subtitle {
    font-size: 13px;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .house-type-tabs {
        padding: 20px 10px;
        border-radius: 12px;
    }
    
    .custom-tabs .nav-link {
        padding: 12px 8px;
    }
    
    .custom-tabs .tab-icon {
        font-size: 16px;
        width: 35px;
        height: 35px;
        margin-bottom: 5px;
    }
    
    .custom-tabs .tab-title {
        font-size: 14px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 400px) {
    .custom-tabs .nav-link {
        padding: 10px 5px;
    }
    
    .custom-tabs .tab-icon {
        font-size: 14px;
        width: 30px;
        height: 30px;
        margin-bottom: 4px;
    }
    
    .custom-tabs .tab-title {
        font-size: 12px;
    }
}

/* 装饰元素 */
.tab-decoration-dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary), rgba(0, 255, 255, 0.7));
    opacity: 0.1;
    z-index: 0;
}

.tab-decoration-dot.dot-1 {
    width: 60px;
    height: 60px;
    top: -15px;
    left: -15px;
}

.tab-decoration-dot.dot-2 {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 10%;
}

.tab-decoration-dot.dot-3 {
    width: 25px;
    height: 25px;
    top: 30px;
    right: -10px;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .house-type-tabs {
        padding: 20px 10px;
        border-radius: 12px;
    }
    
    .tab-decoration-dot.dot-1 {
        width: 40px;
        height: 40px;
    }
    
    .tab-decoration-dot.dot-2, 
    .tab-decoration-dot.dot-3 {
        width: 20px;
        height: 20px;
    }
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.9), rgba(0, 255, 255, 0.8));
    padding: 120px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* 页面头部波浪效果 */
.page-header-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.page-header-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* 内容卡片通用样式 */
.content-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.content-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.content-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bs-primary), #008b8b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.content-card-icon i {
    font-size: 22px;
    color: #fff;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.feature-list li {
    display: flex;
    margin-bottom: 15px;
}

.feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 128, 128, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--bs-primary);
    font-size: 14px;
}

.feature-text {
    flex-grow: 1;
}

.feature-title {
    margin: 0 0 5px;
    font-weight: 600;
}

.feature-desc {
    margin: 0;
    color: #666;
}

/* 高亮区块 */
.highlight-block {
    background: rgba(0, 128, 128, 0.05);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
}

/* 页面标题Banner样式 - 参考index.html */
.page-banner {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background-image: url('./image/banner1.jpg'); /* 可以为每个页面设置不同的背景图 */
    background-size: cover;
    background-position: center;
    padding: 120px 0 50px;
    margin-bottom: 0;
    overflow: hidden;
}

.page-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.85), rgba(0, 255, 255, 0.75));
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-weight: 700;
}

.page-banner .breadcrumb {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
}

.page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-banner .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* 可以为每个页面设置不同的背景图 */
.solutions-banner {
    background-image: url('./image/solutions-banner.jpg');
}

.scenes-banner {
    background-image: url('./image/scenes-banner.jpg');
}

.smart-scenes-banner {
    background-image: url('./image/smart-scenes-banner.jpg');
}

.advantages-banner {
    background-image: url('./image/advantages-banner.jpg');
}

/* 应用场景页面样式 */
.scenario-example {
    background: rgba(0, 128, 128, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.scenario-title h5 {
    font-weight: 600;
    color: var(--bs-primary);
}

.scenario-steps {
    padding-left: 0;
    list-style-type: none;
}

.scenario-steps li {
    margin-bottom: 10px;
    position: relative;
}

.scene-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.scene-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.scene-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.scene-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scene-card:hover .scene-image img {
    transform: scale(1.1);
}

.scene-content {
    padding: 20px;
}

.scene-content h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.scene-content p {
    color: #666;
    margin-bottom: 0;
}

/* 产品搜索区域样式 */
.search-container {
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    overflow: visible;
}

@media screen and (max-width: 824px) {
    .search-container {
        margin: 10px;
        width: calc(100% - 20px);
    }

    .product-search-input {
        padding: 12px 50px 12px 20px;
        font-size: 14px;
    }

    .search-btn {
        width: 35px;
        height: 35px;
        right: 6px;
        top: 6px;
        font-size: 16px;
    }
}

.product-search-input {
    width: 100%;
    padding: 18px 60px 18px 30px;
    border: none;
    background-color: #fff;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.product-search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--bs-primary);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0088cc 100%);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

/* 搜索下拉框样式 */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 15px;
    margin-top: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-dropdown li {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.search-dropdown li:last-child {
    border-bottom: none;
}

.search-dropdown li:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.search-dropdown .product-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 15px;
    object-fit: cover;
    background-color: rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.search-dropdown .product-info {
    flex: 1;
}

.search-dropdown .product-title {
    font-weight: 600;
    margin-bottom: 3px;
    color: #333;
}

.search-dropdown .product-category {
    font-size: 12px;
    color: #666;
    display: inline-block;
    padding: 2px 8px;
    background-color: rgba(0, 123, 255, 0.08);
    border-radius: 10px;
}

.search-highlight {
    background-color: rgba(255, 230, 0, 0.3);
    padding: 0 2px;
}

/* 产品筛选按钮组样式 */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-outline-primary {
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 500;
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0088cc 100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-outline-primary:hover {
    color: white;
}

.btn-outline-primary:hover::before {
    width: 100%;
}

.btn-outline-primary.active {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0088cc 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

/* 搜索结果信息样式 */
.search-result-message {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: rgba(0, 123, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
}

.search-result-message span {
    color: #555;
    font-weight: 500;
}

#result-count, #search-keyword {
    color: var(--bs-primary);
    font-weight: 600;
}

.clear-search-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--bs-primary);
}

/* 产品卡片样式优化 */
.product-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: none;
    position: relative;
}

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

.product-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .product-id {
    display: none; /* 隐藏产品ID，用于搜索定位 */
}

.product-card .card-body {
    padding: 20px;
}

.product-card .card-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.product-card .card-text {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-card .card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

.product-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(0, 123, 255, 0.08);
    border-radius: 20px;
    color: var(--bs-primary);
    font-size: 12px;
    margin-bottom: 10px;
}

/* 无搜索结果样式 */
.no-results-container {
    background-color: white;
    border-radius: 15px;
    padding: 50px 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.no-results-container i {
    color: rgba(0, 123, 255, 0.2);
}

.no-results-container h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.no-results-container p {
    color: #666;
    margin-bottom: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .filter-container {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    
    .btn-outline-primary {
        white-space: nowrap;
    }
    
    .product-section {
        scroll-margin-top: 100px;
    }
}

/* 替代方案 - 为产品中心链接添加特定类名 */
.navbar .nav-link.no-underline::after {
    display: none !important;
}

.navbar .nav-link.no-underline:hover::after {
    width: 0 !important;
}

/* 产品中心链接不显示下划线 */
.navbar .nav-link.product-link::after {
    display: none;
}

.navbar .nav-link.product-link:hover::after {
    width: 0;
}

/* 只针对产品中心导航链接移除下划线 */
.navbar .nav-item a[href="products.html"]::after,
.navbar .nav-item a[href="./products.html"]::after {
    display: none !important;
}

/* 产品中心链接悬停时也不显示下划线 */
.navbar .nav-item a[href="products.html"]:hover::after,
.navbar .nav-item a[href="./products.html"]:hover::after {
    width: 0 !important;
}

/* 页脚样式 */
.footer-section {
    background: #132235;
    padding-top: 0;
    color: #fff;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-info h3 {
    margin: 0 0 20px 0;
    padding: 2px 0 2px 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--bs-primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    color: #fff;
}

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

.footer-links ul li {
    padding: 8px 0;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-contact p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p strong {
    color: #fff;
}
/*页脚样式*/
.footer-bottom {
    background: #1c2e4a;
    padding: 20px 0;
    text-align: center;


}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.copyright strong {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-info, .footer-links, .footer-contact {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* 回到顶部按钮样式 */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0088cc 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.4s;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.back-to-top i {
    font-size: 20px;
}

.back-to-top:hover {
    background: #0088cc;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

/* ===== 解决方案部分背景样式 ===== */
.solutions-section {
    /* 添加纹理背景 */
    background-color: #f8f9fa; /* 基础背景色 */
    background-image: url('../image/pattern.png'); /* 纹理图案 */
    /* 或使用CSS生成的图案 */
    /* background-image: radial-gradient(circle, #d7d7d7 1px, transparent 1px); */
    /* background-size: 20px 20px; */ /* 控制图案大小 */
    padding: 80px 0;
    position: relative;
}

/* 添加暗色叠加层 */
.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 黑色半透明叠加，数值控制暗度 */
    /* 或使用彩色叠加 */
    /* background: rgba(0, 128, 128, 0.3); */ /* 青色半透明叠加 */
    z-index: 1; /* 确保叠加层在内容之下 */
}

/* 确保内容在叠加层之上 */
.solutions-section .container {
    position: relative;
    z-index: 2;
}

/* ===== 首页横幅部分样式 ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* 视频背景相关样式（暂时注释） */
/*
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/

/* 新增：图片背景样式 */
.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/banner.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

/* 添加暗色叠加层，提高文字可读性 */
.image-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 可调整透明度 */
}

/* 保留现有的加载动画样式 */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: all 0.5s ease;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid var(--bs-primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 确保内容在背景之上 */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
}

/* banner部分的样式保持不变 */
.banner-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 其他现有样式保持不变 */

/* 解决方案链接特殊样式 - 默认不显示下划线 */
.navbar .nav-item a[href="solutions.html"]::after,
.navbar .nav-item a[href="./solutions.html"]::after {
    width: 0;
}

/* 解决方案链接悬停时不显示下划线 */
.navbar .nav-item a[href="solutions.html"]:hover::after,
.navbar .nav-item a[href="./solutions.html"]:hover::after {
    width: 0;
}

/* 解决方案激活状态下不显示下划线 */
.navbar .nav-item a[href="solutions.html"].active::after,
.navbar .nav-item a[href="./solutions.html"].active::after {
    width: 0;
}/* 解决方案链接特殊样式 - 默认不显示下划线，只在鼠标悬停时显示 */
