/* 基础样式重置与变量定义 */
:root {
    --primary: #4F46E5;
    --secondary: #10B981;
    --dark: #111827;
    --light: #F9FAFB;
    --accent: #8B5CF6;
    --gradient: linear-gradient(135deg, #4F46E5, #8B5CF6);
    --neon-blue: #06B6D4;
    --tech-gray: #1F2937;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--light);
    background-color: #0F172A;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-brand:hover {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.navbar-brand i {
    margin-right: 10px;
    font-size: 1.5em;
    text-shadow: 0 0 15px rgba(79, 70, 229, 0.5);
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.navbar-brand:hover i {
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.7);
}

.navbar-toggler {
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar-collapse {
    display: flex;
    justify-content: flex-end;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 1rem;
}

.nav-link {
    color: #E2E8F0;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.05rem;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--neon-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    color: white;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.4);
    color: white;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.btn-outline:hover {
    background-color: var(--neon-blue);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
}

.btn-light {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
    transition: all 0.6s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    color: var(--primary);
}

.btn-light:hover::before {
    left: 100%;
}

/* Banner区域 */
.banner {
    padding: 8rem 0;
    background-color: #0F172A;
    position: relative;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner p {
    font-size: 1.2rem;
    color: #94A3B8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.typed-text {
    border-right: 3px solid var(--neon-blue);
    padding-right: 5px;
    animation: blink 0.7s infinite;
    color: var(--neon-blue);
}

@keyframes blink {
    from { border-color: transparent; }
    to { border-color: var(--neon-blue); }
}

.banner-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 400px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* 介绍部分 */
.intro-section {
    padding: 8rem 0;
    background-color: var(--tech-gray);
    position: relative;
    overflow: hidden;
}

.intro-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    color: #94A3B8;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #E2E8F0;
}

.intro-image {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(79, 70, 229, 0.05), rgba(139, 92, 246, 0.05));
    z-index: 1;
}

.intro-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.03);
}

/* 功能展示部分 */
.features-section {
    padding: 8rem 0;
    background-color: #0F172A;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234F46E5' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: var(--tech-gray);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light);
}

.feature-desc {
    color: #94A3B8;
}

/* 案例展示部分 */
.cases-section {
    padding: 8rem 0;
    background-color: var(--tech-gray);
}

.industry-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.industry-tab {
    padding: 0.8rem 1.5rem;
    background-color: #1E293B;
    border-radius: 50px;
    border: 1px solid rgba(79, 70, 229, 0.1);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #CBD5E1;
}

.industry-tab.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
    border-color: transparent;
}

.industry-content {
    display: none;
}

.industry-content.active {
    display: block;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #1E293B;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.3);
}

.case-image {
    height: 220px;
    background-color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(79, 70, 229, 0.05), rgba(139, 92, 246, 0.05));
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
}

.case-info {
    padding: 1.5rem;
}

.case-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.case-desc {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-bottom: 1rem;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background-color: #0F172A;
    border-radius: 50px;
    color: #94A3B8;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

/* 分隔页 */
.cta-section {
    padding: 10rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* 页脚 */
footer {
    background-color: #0F172A;
    color: #94A3B8;
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 5px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--neon-blue);
}

.footer-links a:hover {
    color: white;
    padding-left: 10px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -10px;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--neon-blue);
    width: 20px;
    text-align: center;
}

.friend-links-container {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.friend-links-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.friend-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.friend-links a:hover {
    color: white;
    border-color: rgba(79, 70, 229, 0.3);
    background-color: rgba(79, 70, 229, 0.05);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 0.9rem;
}

/* 科技感装饰元素 */
.tech-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    z-index: 0;
}

.glow-1 {
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -200px;
    right: -100px;
}

.glow-2 {
    background: radial-gradient(circle, var(--accent), transparent 70%);
    bottom: -150px;
    left: -100px;
}

/* 网格和布局辅助类 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.align-items-center {
    align-items: center !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.ms-auto {
    margin-left: auto !important;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .banner h1 {
        font-size: 2.5rem;
    }
    
    .banner-image {
        height: 350px;
        margin-top: 3rem;
    }
    
    .cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .banner {
        padding: 5rem 0;
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-section, .features-section, .cases-section {
        padding: 5rem 0;
    }
    
    .cta-section {
        padding: 7rem 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .banner h1 {
        font-size: 1.8rem;
    }
    
    .banner-image {
        height: 250px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .button-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* 图标字体样式 - 基础图标支持 */
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fa-palette:before { content: "\f53f"; }
.fa-bars:before { content: "\f0c9"; }
.fa-magic:before { content: "\f0d0"; }
.fa-paint-brush:before { content: "\f1fc"; }
.fa-download:before { content: "\f019"; }
.fa-lightbulb:before { content: "\f0eb"; }
.fa-clock:before { content: "\f017"; }
.fa-gift:before { content: "\f06b"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-phone:before { content: "\f095"; }
