/* 全局样式 */
:root {
    --primary-color: #ff6900;
    --secondary-color: #ff8533;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --text-color: #666666;
    --border-color: #e5e5e5;
    --xiaomi-orange: #ff6900;
    --xiaomi-gray: #f5f5f5;
    --xiaomi-dark: #212121;
}

/* 移动端轮播图优化 - 减少空白区域 */
@media (max-width: 768px) {
    #w19Modal .carousel-inner img {
        height: 200px;
        object-fit: contain;
        background: #f8f9fa;
    }
    
    #w19Carousel {
        margin: 0;
        border-radius: 8px;
        max-height: 200px;
    }
    
    #w19Carousel .carousel-inner {
        border-radius: 8px;
        min-height: 200px;
        max-height: 200px;
        background: #f8f9fa;
    }
    
    #w19Carousel .carousel-item {
        min-height: 200px;
        max-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
    }
    
    #w19Carousel .carousel-item img {
        width: 100%;
        height: 200px;
        object-fit: contain;
        background: #f8f9fa;
        border-radius: 8px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    border-radius: 2px;
    padding: 12px 30px;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--xiaomi-orange);
    border-color: var(--xiaomi-orange);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.3);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.title-line {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto;
}

/* 导航栏 */
.navbar {
    padding: 12px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--xiaomi-dark);
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--xiaomi-dark);
    font-weight: 400;
    padding: 12px 20px;
    position: relative;
    font-size: 14px;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--xiaomi-orange);
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--xiaomi-orange);
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 60%;
}

/* 主横幅轮播区域 */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero-container {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
}

.carousel-indicators {
    bottom: 30px;
    z-index: 15;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* 自定义轮播控制按钮 */
.custom-carousel-btn {
    width: 70px !important;
    height: 70px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    backdrop-filter: none !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
}

.custom-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-50%) scale(1.1) !important;
    opacity: 1 !important;
}

.custom-carousel-btn:focus {
    box-shadow: none !important;
    opacity: 1 !important;
}

.custom-carousel-btn.carousel-control-prev {
    left: 40px !important;
}

.custom-carousel-btn.carousel-control-next {
    right: 40px !important;
}

.custom-carousel-btn i {
    font-size: 1.8rem !important;
    color: #fff !important;
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    display: block !important;
}

/* 覆盖Bootstrap默认样式 */
.carousel-control-prev,
.carousel-control-next {
    width: 70px !important;
    height: 70px !important;
    opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none !important;
}

/* 自定义滑块选择器 */
.custom-carousel-selector {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.selector-container {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 40px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.selector-item {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.selector-item.active {
    opacity: 1;
    transform: scale(1.05);
}

.selector-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 60px;
}

.selector-item:hover .selector-thumb {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.selector-item.active .selector-thumb {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.selector-thumb i {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 3px;
}

.selector-thumb span {
    font-size: 0.7rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.7) 0%, rgba(255, 105, 0, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
}

/* 新品发布徽章 */
.new-release-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #ff6900, #ff8533);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.3);
    animation: pulse 2s infinite;
}

.new-release-badge i {
    margin-right: 6px;
    font-size: 16px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(255, 105, 0, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 105, 0, 0.5);
        transform: translateY(-1px);
    }
    100% {
        box-shadow: 0 4px 12px rgba(255, 105, 0, 0.3);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.85;
    line-height: 1.7;
    font-weight: 300;
}

.hero-buttons {
    margin-top: 40px;
}

.hero-image {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-image img {
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* 关于我们 */
.section-title-left {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-stats {
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 产品展示区域 */
.product-showcase-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
}

/* 左侧分类导航 */
.category-sidebar {
    width: 234px;
    background: #fafafa;
    padding: 0;
    border-right: 1px solid #e5e5e5;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #424242;
    font-weight: 400;
}

.category-item:hover {
    background: rgba(255, 105, 0, 0.05);
    color: var(--xiaomi-orange);
}

.category-item.active {
    background: var(--xiaomi-orange);
    color: #fff;
}

/* 确保学生证类别默认选中 */
.category-item[data-category="student"].active {
    background: var(--xiaomi-orange);
    color: #fff;
}

.category-item i {
    font-size: 12px;
    opacity: 0.6;
}

.category-item.active i {
    opacity: 1;
}

/* 右侧产品展示 */
.product-display {
    flex: 1;
    padding: 40px;
    position: relative;
}

.crowdfunding-header {
    margin-bottom: 30px;
}

.brand-logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
}

.brand-logo i {
    font-size: 24px;
    margin-right: 10px;
    color: var(--primary-color);
}

/* 主要产品展示 */
.main-product {
    display: flex;
    align-items: center;
    gap: 40px;
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.5;
}

.price-section {
    margin-bottom: 30px;
}

.new-product-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6900, #ff8533);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 15px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.crowdfunding-price {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6900;
    margin-right: 20px;
    display: block;
    margin-bottom: 5px;
}

.suggested-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-bottom: 20px;
}

/* 发布信息 */
.launch-info {
    background: rgba(255, 105, 0, 0.05);
    border: 1px solid rgba(255, 105, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.launch-date, .launch-status {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--xiaomi-dark);
}

.launch-date:last-child, .launch-status:last-child {
    margin-bottom: 0;
}

.launch-date i, .launch-status i {
    color: var(--xiaomi-orange);
    margin-right: 8px;
    font-size: 16px;
}

.launch-status {
    font-weight: 600;
}

.crowdfunding-btn {
    background: var(--xiaomi-orange);
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.crowdfunding-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.3);
}

.product-image-main {
    flex: 1;
    max-width: 500px;
}

/* 产品轮播组件样式 */
#productCarousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

#productCarousel .carousel-inner {
    border-radius: 12px;
}

#productCarousel .main-product-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

/* 轮播提示文字 */
#productCarousel::before {
    content: "← 滑动查看更多图片 →";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    z-index: 15;
    opacity: 0.8;
    animation: fadeInOut 3s ease-in-out infinite;
    white-space: nowrap;
    text-align: center;
    min-width: max-content;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* 鼠标悬停时隐藏提示文字 */
#productCarousel:hover::before {
    opacity: 0;
}

/* 轮播控制按钮样式 - 鼠标悬停时显示 */
#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next {
    width: 40px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5) !important;
    opacity: 0 !important;
    transition: all 0.3s ease;
    z-index: 20 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
}

/* 轮播容器悬停时显示按钮 */
#productCarousel:hover .carousel-control-prev,
#productCarousel:hover .carousel-control-next {
    opacity: 0.8 !important;
}

#productCarousel .carousel-control-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
    padding-left: 8px;
    padding-right: 12px;
}

#productCarousel .carousel-control-next {
    right: 0;
    border-radius: 4px 0 0 4px;
    padding-right: 8px;
    padding-left: 12px;
}

#productCarousel .carousel-control-prev:hover,
#productCarousel .carousel-control-next:hover {
    opacity: 0.9 !important;
    background: rgba(0,0,0,0.5) !important;
    width: 50px;
}

/* 轮播控制按钮图标样式 */
#productCarousel .carousel-control-prev-icon,
#productCarousel .carousel-control-next-icon {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    background-size: 20px 20px !important;
    filter: brightness(0) invert(1);
}

/* 自定义箭头样式 */
#productCarousel .carousel-control-prev::before,
#productCarousel .carousel-control-next::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-style: solid;
    border-width: 2px 2px 0 0;
    position: absolute;
    top: 50%;
}

#productCarousel .carousel-control-prev::before {
    border-color: #fff;
    transform: translateY(-50%) rotate(-135deg);
    left: 16px;
}

#productCarousel .carousel-control-next::before {
    border-color: #fff;
    transform: translateY(-50%) rotate(45deg);
    right: 16px;
}

/* 轮播指示器样式 */
#productCarousel .carousel-indicators {
    bottom: 8px;
    margin-bottom: 0;
    z-index: 15;
    position: absolute;
}

#productCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.4);
    opacity: 0.8;
    margin: 0 4px;
    transition: all 0.3s ease;
    text-indent: 0;
}

#productCarousel .carousel-indicators button.active {
    background: rgba(255,255,255,1);
    border-color: rgba(255,255,255,1);
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

#productCarousel .carousel-indicators button:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255,255,255,0.7);
}

.product-image-carousel {
    position: relative;
    margin-bottom: 20px;
}

.main-product-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    transition: opacity 0.3s ease;
}

.image-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.3);
}

/* 产品特色功能 */
.product-features {
    margin: 25px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 105, 0, 0.05);
    border-radius: 6px;
    border-left: 3px solid var(--xiaomi-orange);
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--xiaomi-orange);
    margin-right: 10px;
}

.feature-item span {
    font-size: 14px;
    color: var(--xiaomi-dark);
    font-weight: 500;
}

/* 产品规格 */
.product-specs {
    margin: 25px 0;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.product-specs h4 {
    font-size: 1.1rem;
    color: var(--xiaomi-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list strong {
    color: var(--xiaomi-dark);
    font-weight: 500;
}

/* 轮播指示器 */
.product-indicators {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--secondary-color);
}

/* 产品占位符样式 */
.product-placeholder {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

.product-placeholder:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-5px);
}

.product-placeholder p {
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

/* 合作伙伴占位符样式 */
.partner-placeholder {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.partner-placeholder:hover {
    background: #e9ecef;
}

/* 二维码占位符样式 */
.qr-placeholder {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

/* 产品卡片样式 */
.product-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.product-icon i {
    font-size: 2rem;
    color: #fff;
}

.product-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* 成功案例 */
.case-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    height: 100%;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.case-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.case-img {
    position: relative;
    overflow: hidden;
}

.case-img img {
    transition: all 0.5s ease;
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.case-card:hover .case-img img {
    transform: scale(1.1);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-content {
    padding: 20px;
}

.case-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* 新闻动态 */
.news-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    height: 100%;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.news-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.news-img {
    position: relative;
}

.news-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--xiaomi-orange);
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    border-radius: 0 2px 0 0;
    font-size: 12px;
}

.news-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.news-date .month {
    font-size: 0.9rem;
}

.news-content {
    padding: 20px;
}

.news-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.news-link {
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.news-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.news-link:hover i {
    transform: translateX(5px);
}

/* 合作伙伴 */
.partner-logo {
    padding: 20px;
    text-align: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* 联系我们 */
.contact-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info ul li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-form h3 {
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border-radius: 4px;
    padding: 10px 15px;
}

textarea.form-control {
    height: auto;
}

/* 页脚 */
.footer {
    background-color: var(--dark-color);
}

.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 10px;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 10px;
    margin-top: 5px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* W19轮播图移动端触摸优化 */
@media (max-width: 768px) {
    /* 修复轮播控制按钮变形问题 */
    #w19Carousel .carousel-control-prev,
    #w19Carousel .carousel-control-next {
        width: 40px !important;
        height: 60px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        opacity: 0.8 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 10 !important;
        border: none !important;
        border-radius: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }
    
    #w19Carousel .carousel-control-prev {
        left: 0 !important;
        border-radius: 0 6px 6px 0 !important;
    }
    
    #w19Carousel .carousel-control-next {
        right: 0 !important;
        border-radius: 6px 0 0 6px !important;
    }
    
    /* 修复按钮图标显示 */
    #w19Carousel .carousel-control-prev-icon,
    #w19Carousel .carousel-control-next-icon {
        width: 20px !important;
        height: 20px !important;
        background-size: 20px 20px !important;
        filter: brightness(0) invert(1) !important;
        display: inline-block !important;
    }
    
    /* 按钮悬停效果 */
    #w19Carousel .carousel-control-prev:hover,
    #w19Carousel .carousel-control-next:hover {
        opacity: 1 !important;
        background: rgba(0, 0, 0, 0.7) !important;
        width: 45px !important;
    }
    
    /* 重置并增大轮播指示器的触摸区域 */
    #w19Carousel .carousel-indicators button {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        margin: 0 8px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        opacity: 0.8 !important;
        background-color: rgba(255, 255, 255, 0.9) !important;
        border: 2px solid rgba(0, 0, 0, 0.3) !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        text-indent: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        flex-shrink: 0 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
        transition: all 0.3s ease !important;
        overflow: visible !important;
    }
    
    #w19Carousel .carousel-indicators button.active {
        opacity: 1 !important;
        background-color: #007bff !important;
        border-color: #007bff !important;
        transform: scale(1.3) !important;
        box-shadow: 0 3px 8px rgba(0, 123, 255, 0.4) !important;
    }
    
    /* 强制覆盖激活状态的内部span样式 */
    #w19Carousel .carousel-indicators button.active .indicator-dot {
        background-color: #007bff !important;
        box-shadow: 0 0 12px rgba(0, 123, 255, 0.8) !important;
        transform: translate(-50%, -50%) scale(1.3) !important;
    }
    
    /* 移除非激活状态的内部span样式干扰 */
    #w19Carousel .carousel-indicators button:not(.active) .indicator-dot {
        display: none !important;
    }
    
    /* 轮播图容器触摸优化 */
    #w19Carousel {
        touch-action: pan-y pinch-zoom !important;
        user-select: none;
    }
    
    #w19Carousel .carousel-inner {
        touch-action: pan-y pinch-zoom !important;
    }
    
    /* 轮播图片优化 */
    #w19Carousel .carousel-item img {
        pointer-events: none;
        user-select: none;
        -webkit-user-drag: none;
        -webkit-touch-callout: none;
    }
    
    /* 确保轮播指示器容器有足够的触摸区域 */
    #w19Carousel .carousel-indicators {
        bottom: 15px !important;
        padding: 15px 0 !important;
        margin: 0 !important;
        background: rgba(0, 0, 0, 0.2) !important;
        border-radius: 25px !important;
        backdrop-filter: blur(5px) !important;
    }
}

/* 小屏幕设备进一步优化 */
@media (max-width: 480px) {
    #w19Carousel .carousel-control-prev,
    #w19Carousel .carousel-control-next {
        width: 35px !important;
        height: 50px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: rgba(0, 0, 0, 0.6) !important;
        border-radius: 0 !important;
    }
    
    #w19Carousel .carousel-control-prev {
        left: 0 !important;
        border-radius: 0 4px 4px 0 !important;
    }
    
    #w19Carousel .carousel-control-next {
        right: 0 !important;
        border-radius: 4px 0 0 4px !important;
    }
    
    #w19Carousel .carousel-control-prev-icon,
    #w19Carousel .carousel-control-next-icon {
        width: 16px !important;
        height: 16px !important;
        background-size: 16px 16px !important;
    }
    
    #w19Carousel .carousel-control-prev:hover,
    #w19Carousel .carousel-control-next:hover {
        width: 35px !important;
        background: rgba(0, 0, 0, 0.8) !important;
    }
    
    #w19Carousel .carousel-indicators button {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        margin: 0 6px !important;
    }
    
    #w19Carousel .carousel-indicators {
        padding: 12px 0 !important;
    }
}

/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 产品展示样式 */
.product-showcase {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.product-showcase:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.product-showcase i {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.fade-in-left {
    animation: fadeInLeft 1s ease-out 0.3s both;
}

/* 轮播切换动画 */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active .hero-content {
    animation: fadeInUp 1s ease-out;
}

.carousel-item.active .hero-image {
    animation: fadeInRight 1s ease-out 0.3s both;
}

/* 响应式样式 */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .product-content h3 {
        font-size: 1.8rem;
    }
    
    .hero-buttons .btn {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-content h3 {
        font-size: 2rem;
    }
    
    .stat-item h4 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    /* 产品展示响应式 */
    .product-showcase-container {
        flex-direction: column;
        margin: 0 15px;
    }
    
    .category-sidebar {
        width: 100%;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .category-item {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .product-display {
        padding: 20px;
    }
    
    .main-product {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .crowdfunding-price {
        font-size: 1.5rem;
    }
    
    .product-indicators {
        position: static;
        justify-content: center;
        margin-top: 20px;
    }
    
    /* 移动端产品功能网格优化 */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature-item {
        padding: 8px 12px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .feature-item i {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .feature-item span {
        font-size: 13px;
    }
    
    .feature-item small {
        font-size: 11px;
        color: var(--text-color);
        margin-top: 3px;
        display: block;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
        font-size: 0.85rem;
    }
    
    .product-specs {
        padding: 20px 15px;
    }
    
    .spec-item {
        padding: 8px 0;
        font-size: 0.9rem;
    }
    
    /* 移动端产品轮播图优化 */
    #productCarousel {
        margin: 20px 0 10px 0;
        min-height: auto;
    }
    
    #productCarousel .carousel-inner {
        min-height: auto;
    }
    
    #productCarousel .carousel-item {
        min-height: auto;
    }
    
    #productCarousel .main-product-img {
        height: auto;
        max-height: 300px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
    
    /* 移动端轮播控制按钮调整 */
    #productCarousel .carousel-control-prev,
    #productCarousel .carousel-control-next {
        height: 60px;
        width: 35px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* 移动端提示文字调整 */
    #productCarousel::before {
        font-size: 11px;
        padding: 4px 12px;
        top: 8px;
    }
}

/* W19智能手表模态框样式 */
#w19Modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#w19Modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    position: relative;
    z-index: 1050;
}

#w19Modal .modal-title {
    font-weight: 600;
    font-size: 1.3rem;
}

#w19Modal .btn-close {
    filter: invert(1);
    z-index: 1051;
    position: relative;
}

#w19Modal .modal-body {
    position: relative;
    z-index: 1040;
    padding: 20px;
}

#w19Modal .carousel-inner img {
    border-radius: 10px;
    height: 300px;
    object-fit: contain;
    background: #f8f9fa;
}

/* W19模态框轮播控制按钮 - 参照产品展示样式 */
#w19Modal .carousel-control-prev,
#w19Modal .carousel-control-next {
    width: 40px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5) !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease;
    z-index: 1045 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
}

/* 轮播容器悬停时显示按钮 */
#w19Modal .carousel:hover .carousel-control-prev,
#w19Modal .carousel:hover .carousel-control-next {
    opacity: 1 !important;
}

#w19Modal .carousel-control-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
    padding-left: 8px;
    padding-right: 12px;
}

#w19Modal .carousel-control-next {
    right: 0;
    border-radius: 4px 0 0 4px;
    padding-right: 8px;
    padding-left: 12px;
}

#w19Modal .carousel-control-prev:hover,
#w19Modal .carousel-control-next:hover {
    opacity: 0.9 !important;
    background: rgba(0,0,0,0.7) !important;
    width: 50px;
}

/* 轮播控制按钮图标样式 */
#w19Modal .carousel-control-prev-icon,
#w19Modal .carousel-control-next-icon {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    background-size: 20px 20px !important;
    filter: brightness(0) invert(1);
}

/* W19模态框轮播指示器 */
#w19Modal .carousel-indicators,
#w19Carousel .carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1045;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#w19Modal .carousel-indicators button,
#w19Carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
    transition: all 0.3s ease;
    text-indent: 0;
    overflow: visible;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0 4px;
}

#w19Modal .carousel-indicators button.active,
#w19Carousel .carousel-indicators button.active {
    background-color: #667eea !important;
    border-color: #667eea !important;
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
}

#w19Modal .carousel-indicators button:hover,
#w19Carousel .carousel-indicators button:hover {
    opacity: 1 !important;
    background-color: rgba(102, 126, 234, 0.3);
    border-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.05);
}

/* 移动端指示器优化 - 合适的小尺寸设计 */
@media (max-width: 768px) {
    #w19Modal .carousel-indicators,
    #w19Carousel .carousel-indicators {
        bottom: 15px;
        margin-bottom: 0;
        z-index: 1050 !important;
        position: absolute !important;
        pointer-events: auto !important;
    }
    
    #w19Modal .carousel-indicators button,
    #w19Carousel .carousel-indicators button {
        width: 10px !important;
        height: 10px !important;
        border: 1px solid rgba(0, 0, 0, 0.3) !important;
        background-color: rgba(255, 255, 255, 0.7) !important;
        margin: 0 4px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        opacity: 0.8 !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        transition: all 0.3s ease !important;
        text-indent: -9999px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
        flex-shrink: 0 !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 1051 !important;
        min-width: 10px !important;
        min-height: 10px !important;
        max-width: 10px !important;
        max-height: 10px !important;
        display: inline-block !important;
        transform: none !important;
    }
    
    #w19Modal .carousel-indicators button.active,
    #w19Carousel .carousel-indicators button.active {
        background-color: #667eea !important;
        border-color: #667eea !important;
        opacity: 1 !important;
        transform: scale(1.1) !important;
        box-shadow: 0 0 6px rgba(102, 126, 234, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    #w19Modal .carousel-indicators button:hover,
    #w19Carousel .carousel-indicators button:hover {
        opacity: 1 !important;
        background-color: rgba(102, 126, 234, 0.3) !important;
        border-color: rgba(0, 0, 0, 0.5) !important;
        transform: scale(1.05) !important;
    }
    
    /* 移除内部span元素的样式干扰 */
    #w19Modal .carousel-indicators button .indicator-dot,
    #w19Carousel .carousel-indicators button .indicator-dot {
        display: none !important;
    }
    
    /* 确保轮播容器不会阻挡指示器点击 */
    #w19Modal .carousel-inner,
    #w19Carousel .carousel-inner {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 1040 !important;
    }
    
    #w19Modal .carousel-item,
    #w19Carousel .carousel-item {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 1040 !important;
    }
}

/* W19模态框图片张数显示组件 */
#w19Modal .image-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1046;
    backdrop-filter: blur(5px);
}

#w19Modal .image-counter .current {
    color: #667eea;
    font-weight: 600;
}

/* 移动端图片计数器优化 - 极简紧凑设计 */
@media (max-width: 768px) {
    #w19Modal .image-counter {
        padding: 2px 6px;
        border-radius: 8px;
        font-size: 11px;
        top: 10px;
        right: 10px;
        min-width: auto;
        white-space: nowrap;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: none;
        line-height: 1.2;
    }
    
    #w19Modal .image-counter.compact {
        padding: 1px 4px;
        border-radius: 6px;
        font-size: 10px;
        background: rgba(0, 0, 0, 0.7);
        min-width: 24px;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 18px;
    }
    
    #w19Modal .image-counter .separator {
        margin: 0;
        opacity: 0.7;
        font-size: 9px;
    }
    
    #w19Modal .image-counter .current,
    #w19Modal .image-counter .total {
        font-size: 10px;
        line-height: 1;
    }
}

/* 超小屏幕进一步优化 - 最小化设计 */
@media (max-width: 480px) {
    #w19Modal .image-counter {
        padding: 1px 4px;
        border-radius: 4px;
        font-size: 9px;
        top: 8px;
        right: 8px;
        height: 16px;
        min-width: 20px;
    }
    
    #w19Modal .image-counter.compact {
        padding: 0px 3px;
        border-radius: 4px;
        font-size: 8px;
        min-width: 18px;
        height: 14px;
        background: rgba(0, 0, 0, 0.8);
    }
    
    #w19Modal .image-counter .separator {
        font-size: 7px;
        margin: 0 -1px;
    }
    
    #w19Modal .image-counter .current,
    #w19Modal .image-counter .total {
        font-size: 8px;
    }
}

/* W19模态框其他样式 */
#w19Modal .feature-badge {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

#w19Modal .feature-badge:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

#w19Modal .feature-badge i {
    margin-right: 8px;
    color: #667eea;
    font-size: 1rem;
}

#w19Modal .specs-list {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

#w19Modal .spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

#w19Modal .spec-item:last-child {
    border-bottom: none;
}

#w19Modal .spec-label {
    font-weight: 600;
    color: #495057;
}

#w19Modal .spec-value {
    color: #6c757d;
    text-align: right;
}

#w19Modal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 20px;
}

#w19Modal .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#w19Modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 移动端模态框优化 */
@media (max-width: 768px) {
    #w19Modal .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    #w19Modal .carousel-inner img {
        height: 200px;
        object-fit: contain;
        background: #f8f9fa;
    }
    
    /* 移动端轮播图容器优化 */
    #w19Carousel {
        margin: 0;
        border-radius: 8px;
    }
    
    #w19Carousel .carousel-inner {
        border-radius: 8px;
        min-height: 200px;
        max-height: 250px;
    }
    
    #w19Carousel .carousel-item {
        min-height: 200px;
        max-height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #w19Carousel .carousel-item img {
        width: 100%;
        height: 200px;
        object-fit: contain;
        background: #f8f9fa;
        border-radius: 8px;
    }
    
    #w19Modal .feature-badge {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    #w19Modal .spec-item {
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    #w19Modal .spec-value {
        text-align: left;
        margin-top: 4px;
        color: #667eea;
        font-weight: 500;
    }
}

/* 智能手表型号选择下拉菜单样式 */
.category-item {
    position: relative;
}

.watch-options-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 2px;
    overflow: visible;
    min-height: 120px;
    max-height: 300px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-out;
}

.watch-options-dropdown.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.3s ease-out;
}

.watch-options-dropdown.closing {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-item.expanded .watch-options-dropdown {
    display: block !important;
}

.watch-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.watch-option:last-child {
    border-bottom: none;
}

.watch-option:hover {
    background-color: #f8f9fa;
}

.watch-option-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    border: 1px solid #e0e0e0;
}

.watch-option-info h6 {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.watch-option-info p {
    margin: 0;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.3;
}

/* 展开状态的分类项样式 */
.category-item.expanded {
    background-color: #f8f9fa;
    color: #424242; /* 确保展开状态下文字颜色清晰可见 */
}

.category-item.expanded .bi-chevron-right {
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}

/* 选中反馈效果 */
.category-item.selection-feedback {
    background: linear-gradient(135deg, rgba(255, 105, 0, 0.1) 0%, rgba(255, 133, 51, 0.1) 100%);
    border-left: 3px solid var(--xiaomi-orange);
    transform: translateX(2px);
    transition: all 0.2s ease;
}

.category-item.selection-feedback::after {
    content: '✓';
    position: absolute;
    right: 15px;
    color: var(--xiaomi-orange);
    font-weight: bold;
    font-size: 14px;
    opacity: 0.8;
}

/* 移动端下拉菜单优化 */
@media (max-width: 768px) {
    .watch-options-dropdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    }
    
    .watch-option {
        padding: 15px;
    }
    
    .watch-option-img {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }
    
    .watch-option-info h6 {
        font-size: 1rem;
    }
    
    .watch-option-info p {
        font-size: 0.85rem;
    }
}

/* 移动端滑块选择器调整 */
@media (max-width: 576px) {
    .custom-carousel-selector {
        bottom: 40px;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        z-index: 20;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .selector-container {
        gap: 6px;
        padding: 6px 10px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 20px;
        backdrop-filter: blur(15px);
    }
    
    .selector-thumb {
        padding: 4px 6px;
        min-width: 40px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .selector-thumb i {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .selector-thumb span {
        font-size: 0.55rem;
        line-height: 1;
    }
    
    /* 确保轮播选择器不与其他元素重叠 */
    .carousel-indicators {
        bottom: 80px;
    }
}

/* 平板端调整 */
@media (max-width: 768px) and (min-width: 577px) {
    .custom-carousel-selector {
        bottom: 70px;
    }
    
    .selector-container {
        gap: 15px;
        padding: 12px 20px;
    }
    
    .selector-thumb {
        min-width: 70px;
    }
}
