/* 全局样式 */
:root {
    --primary-color: #2962ff;
    --secondary-color: #0039cb;
    --accent-color: #768fff;
    --dark-color: #1a237e;
    --light-color: #f5f5f5;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--light-color);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
}

.navbar-brand img {
    height: 80px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 80px;
}

.navbar .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--dark-color) !important;
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar.scrolled .nav-link::after {
    background: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* 首页标题部分特殊样式 */
.page-header .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.company-intro {
    background: #1a1a1a;
    color: white;
    padding: 6rem 0;
    position: relative;
}

.company-intro::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(0,0,0,0) 70%);
    opacity: 0.1;
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.company-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.timeline-wrapper {
    position: relative;
    padding: 2rem 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 50%;
}

.timeline-badge {
    position: absolute;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translateX(-50%);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-left: 2rem;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(41, 98, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(41, 98, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(41, 98, 255, 0);
    }
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: center;
}

/* 响应式时间线 */
@media (max-width: 768px) {
    .timeline-wrapper::before {
        left: 0;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .timeline-badge {
        left: 0;
        transform: none;
    }

    .timeline-content {
        margin-left: 3rem;
    }
} 

.achievement-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    margin-top: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(41, 98, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
    opacity: 0;
    transition: all 0.3s ease;
}

.achievement-box:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

.achievement-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.achievement-box:hover i {
    transform: scale(1.2);
    color: #fff;
}

.achievement-box .counter {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 1rem 0.2rem 1rem 0;
    text-shadow: 0 0 20px rgba(41, 98, 255, 0.5);
    display: inline-block;
}

.achievement-box .plus {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 20px rgba(41, 98, 255, 0.5);
    display: inline-block;
}

.achievement-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* 服务页面样式 */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.service-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.service-card .hover-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: rgba(41, 98, 255, 0.9);
    transition: all 0.3s ease;
}

.service-card:hover .hover-content {
    bottom: 0;
}

/* 技术优势样式 */
.advantage-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.advantage-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.advantage-box .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* 开发流程样式 */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.process-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
    color: white;
    font-size: 1.5rem;
} 

/* 案例展示页面样式 */
.cases-grid {
    background: #1a1a1a;
    min-height: 100vh;
}

.case-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image {
    position: relative;
    padding-top: 75%;  /* 4:3 比例 */
    overflow: hidden;
}

.case-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-content {
    color: white;
    text-align: center;
    padding: 2rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.case-card:hover .case-content {
    transform: translateY(0);
}

.case-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.case-content p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 案例详情模态框样式 */
.modal-content {
    background: #1a1a1a;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.case-info {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .modal-body .row {
        flex-direction: column;
    }
    
    .modal-body .col-md-6:first-child {
        margin-bottom: 1.5rem;
    }
} 

/* 新闻动态页面样式 */
.news-grid {
    background: #1a1a1a;
    min-height: 100vh;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.news-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    line-height: 1;
}

.news-date .day {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.news-content {
    padding: 1.5rem;
    color: white;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-meta span {
    color: rgba(255, 255, 255, 0.6);
}

.news-meta i {
    margin-right: 5px;
}

/* 新闻详情页样式 */
.news-detail {
    background: #1a1a1a;
    color: white;
    min-height: 100vh;
}

.news-detail .meta-info {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.news-detail .meta-info span {
    margin-right: 1.5rem;
}

.news-detail .content {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 分页样式 */
.pagination {
    margin-top: 3rem;
}

.pagination .page-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
} 

/* 联系我们页面样式 */
.contact-section {
    background: #1a1a1a;
    color: white;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(41, 98, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content h5 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.6;
    word-break: break-all;
}

.info-content a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
}

.form-floating {
    margin-bottom: 1rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: white;
    box-shadow: none;
}

.form-floating label {
    color: rgba(255, 255, 255, 0.5);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: rgba(255, 255, 255, 0.7);
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
} 

/* 页脚样式 */
footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

footer .social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--primary-color);
}

/* 备案信息样式 */
.icp-info {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.icp-info a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.icp-info a:hover {
    color: var(--primary-color);
}

/* Banner样式 */
.hero-banner {
    height: 85vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: -90px;  /* 仅首页banner需要负margin */
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
    max-width: 1200px;
    z-index: 3;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 按钮样式 */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 移动端样式 */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.6);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 10px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
} 

/* 移动端适配 */
@media (max-width: 991.98px) {
    .navbar-logo {
        height: 50px;
        max-width: 200px;
    }
}

@media (max-width: 575.98px) {
    .navbar-logo {
        height: 80px;
        max-width: 250px;
    }
} 

/* 面包屑导航样式 */
.hero-content .breadcrumb {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-top: 1rem;
}

.hero-content .breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-content .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.hero-content .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.hero-content .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
} 

/* 内页内容区域样式 */
main {
    padding-top: 90px;  /* 为固定导航栏留出空间 */
}

/* 首页特殊处理，取消顶部padding */
.home-page {
    padding-top: 0;
} 

/* 添加额外的遮罩层 */
.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
} 

.demo-link {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.demo-link i {
    transition: transform 0.3s ease;
}

.demo-link:hover i {
    transform: translateX(5px);
} 

/* 软件工具列表样式 */
.software-list {
    background: #1a1a1a;
    min-height: 100vh;
    padding-top: 120px;  /* 为固定导航栏留出空间 */
}

.software-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.software-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.software-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.software-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-content {
    padding: 1.5rem;
    color: white;
}

.software-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.software-content .version {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.software-content .description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.software-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.software-meta span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.software-meta i {
    margin-right: 0.5rem;
} 

/* 激活码按钮样式 */
.activation-btn {
    background: #ff3b3b;
    border-color: #ff3b3b;
    font-weight: 500;
    padding: 0.5rem 1rem;
    animation: pulse 2s infinite;
}

.activation-btn:hover {
    background: #e62e2e;
    border-color: #e62e2e;
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 59, 59, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
    }
} 

/* 微信二维码模态框样式 */
#wechatModal .modal-content {
    background: #fff;
    border: none;
    border-radius: 15px;
}

#wechatModal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

#wechatModal .modal-body {
    padding: 1.5rem;
}

#wechatModal .qr-code {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
} 