/* 全局样式 */
:root {
    --primary-color: #1890ff;
    --secondary-color: #52c41a;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    padding: 0;
}

.navbar .container {
    padding-top: 2px;
    padding-bottom: 2px;
}

.navbar-brand img {
    max-height: 100px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar .nav-link {
    font-size: 16px;
    padding: 4px 15px !important;
    color: #333 !important;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #1890ff !important;
}

/* 下拉菜单hover效果 */
.navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.navbar .nav-item.dropdown .dropdown-toggle:after {
    transition: transform 0.2s ease;
}

.navbar .nav-item.dropdown:hover .dropdown-toggle:after {
    transform: rotate(-180deg);
}

/* 首页横幅 */
.hero-section {
    padding: 65px 0 0px;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    margin-bottom: 0;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%231890ff" stroke-width="0.5" stroke-opacity="0.1"/></svg>') repeat;
    opacity: 0.1;
}

/* 轮播图样式 */
#heroCarousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

#heroCarousel .carousel-item {
    height: 500px;
}

#heroCarousel .carousel-item img {
    height: 100%;
    width: 100%;
    padding: 0;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

#heroCarousel .carousel-indicators {
    margin-bottom: 1rem;
}

#heroCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

#heroCarousel .carousel-indicators button.active {
    opacity: 1;
}

/* 视频容器样式 */
.video-container {
    position: relative;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 100%;
}

.video-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    transform: rotate(-3deg);
    z-index: -1;
}

.video-container video {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 100%;
    object-fit: cover;
}

.cta-buttons {
    margin-top: 15px;
}

.cta-buttons .btn {
    padding: 0.75rem 2rem;
    margin-right: 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

/* 特性部分 */
.features-section {
    padding: 20px 0;
    position: relative;
    padding-bottom: 0px;
    margin-bottom: -60px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:hover:before {
    transform: scaleX(1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* 开发者部分 */
.developers-section {
    padding: 80px 0;
    position: relative;
}

.developer-image {
    position: relative;
    padding: 20px;
}

 
.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
}

.feature-list li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 客户案例横向滚动样式 */
.case-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.case-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
.case-carousel::-webkit-scrollbar {
    display: none;
}

.case-card {
    min-width: 320px;
    max-width: 320px;
    flex: 0 0 320px;
    margin-bottom: 0;
}

.case-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.2s;
}
.case-arrow:hover {
    background: #f0f6ff;
}
.case-arrow-left {
    left: -20px;
}
.case-arrow-right {
    right: -20px;
}

@media (max-width: 768px) {
    .case-card {
        min-width: 85vw;
        max-width: 85vw;
        flex: 0 0 85vw;
    }
    .case-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    .case-arrow-left {
        left: 0;
    }
    .case-arrow-right {
        right: 0;
    }
}

/* 下载部分 */
.download-section {
    padding: 80px 0;
    position: relative;
}

.qrcode-container {
    position: relative;
    display: inline-block;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.qrcode-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    transform: rotate(-3deg);
    z-index: -1;
}

.download-buttons {
    gap: 64px !important;
}

.qrcode-item {
    margin-bottom: 12px;
}

.download-buttons .btn {
    padding: 0.75rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.download-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer ul li {
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.footer ul li:hover {
    transform: translateX(5px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    #heroCarousel .carousel-item {
        height: 300px;
    }

    #heroCarousel .carousel-item img {
        padding: 10px;
    }

    .video-container {
        padding: 5px;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }

    .case-card {
        margin-bottom: 1.5rem;
    }

    .footer {
        text-align: center;
    }

    .footer h5:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .download-buttons {
        gap: 36px !important;
    }
}

/* 下拉菜单样式优化 */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 15px 0;
    min-width: 280px;
    margin-top: 10px;
    animation: fadeInDown 0.3s ease;
    display: none;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    border-radius: 4px;
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.04);
}

.dropdown-item {
    padding: 12px 25px;
    color: #666;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    display: block;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1890ff;
    padding-left: 30px;
}

.dropdown-item-content {
    width: 100%;
}

.dropdown-item-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.dropdown-item-title i {
    font-size: 18px;
    color: #1890ff;
    flex-shrink: 0;
}

.dropdown-item-title span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.dropdown-item-title .badge {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    background-color: #ff4d4f;
    color: white;
    font-weight: normal;
    margin-left: 8px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 20px;
    line-height: 1;
}

.dropdown-item small {
    display: block;
    font-size: 12px;
    color: #999;
    padding-left: 26px;
}

.dropdown-item .badge {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    background-color: #ff4d4f;
    color: white;
    font-weight: normal;
    margin-left: 8px;
    flex-shrink: 0;
}

/* 展开更多按钮样式 */
.dropdown-item.expand-more {
    color: #1890ff;
    font-weight: 500;
}

.dropdown-item.expand-more i {
    margin-right: 5px;
}

.dropdown-item.expand-more:hover {
    background-color: #e6f7ff;
}

/* 下拉动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 产品和解决方案分组样式 */
.dropdown-header {
    color: #999;
    font-size: 13px;
    padding: 8px 25px;
    margin-top: 5px;
}

/* 图标样式 */
.dropdown-item i {
    margin-right: 8px;
    font-size: 16px;
    color: #1890ff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .dropdown-item-title span {
        font-size: 15px;
    }
}

/* 开发者部分 */
.developers-section h2,
.features-section h2,
.cases-section h2,
.download-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.developers-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.developers-section p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* 下载部分 */
.download-section .lead {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

/* 特性部分横向滚动样式 */
.feature-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.feature-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
.feature-carousel::-webkit-scrollbar {
    display: none;
}

.feature-card {
    min-width: 320px;
    max-width: 320px;
    flex: 0 0 320px;
    margin-bottom: 0;
}

.feature-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.2s;
}
.feature-arrow:hover {
    background: #f0f6ff;
}
.feature-arrow-left {
    left: -20px;
}
.feature-arrow-right {
    right: -20px;
}

@media (max-width: 768px) {
    .feature-card {
        min-width: 85vw;
        max-width: 85vw;
        flex: 0 0 85vw;
    }
    .feature-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    .feature-arrow-left {
        left: 0;
    }
    .feature-arrow-right {
        right: 0;
    }
}

/* 手机APP管理模块专属背景色 */
.app-manage-section {
    background: #fff;
}

.app-manage-section .developer-image {
    background: none;
}

.app-manage-section h2,
.app-manage-section h3 {
    color: #222;
}

.app-manage-section p,
.app-manage-section li {
    color: #333;
}

.app-manage-section .btn-primary {
    background-color: #1890ff;
    border-color: #1890ff;
}

.app-manage-section .btn-primary:hover {
    background-color: #1476c2;
    border-color: #1476c2;
} 