/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f8ff;
    opacity: 1;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* 页面加载进度条 */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00bcd4);
    z-index: 9999;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.7);
}



/* 预加载动画 */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9997;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    gap: 10px;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00ffcc;
    animation: bounce 0.6s infinite ease-in-out;
    box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
}

.dot:nth-child(2) {
    background: #00ccff;
    animation-delay: 0.05s;
    box-shadow: 0 0 10px #00ccff, 0 0 20px #00ccff;
}

.dot:nth-child(3) {
    background: #cc00ff;
    animation-delay: 0.1s;
    box-shadow: 0 0 10px #cc00ff, 0 0 20px #cc00ff;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 移动设备优先的全局设置 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 6px 20px rgba(0, 123, 255, 0.4),
        0 0 0 2px rgba(0, 123, 255, 0.2) inset,
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* 触摸设备上的点击反馈 */
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 25px rgba(0, 123, 255, 0.5),
        0 0 0 2px rgba(0, 123, 255, 0.3) inset,
        inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn:hover::before {
    left: 100%;
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    .btn:hover::before {
        left: 100%;
    }
    
    /* 增加触摸目标大小 */
    .section-title {
        padding: 10px 0;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .case-details ul li {
        padding: 15px 0;
    }
}

/* 头部样式 */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    color: #007bff;
    font-weight: 700;
    background: linear-gradient(120deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .nav ul li {
        margin-left: 20px;
    }
    
    .nav ul li a {
        padding: 10px 5px;
    }
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    /* 改善触摸体验 */
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    z-index: 1;
}

.nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #007bff, #0056b3);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 20px;
    opacity: 0.9;
}

.nav ul li a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.nav ul li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* 触摸设备上的导航链接 */
@media (hover: none) and (pointer: coarse) {
    .nav ul li a {
        padding: 12px 15px;
    }
}

/* 移动端导航样式 */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    
    .nav ul li {
        margin: 10px 0;
    }
    
    .nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        min-width: 150px;
        text-align: center;
    }
    

    
    /* 移动端统计数据样式 */
    .stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        margin: 10px 0;
    }
}

/* 英雄区域样式 */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #001e3c, #003366, #005599, #0077cc);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: 0;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 200, 255, 0.7);
    animation: float 15s infinite linear;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.8);
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.9), transparent);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.8);
    border-radius: 10px;
}

@keyframes pulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000%) translateX(1000%) rotate(720deg);
        opacity: 0;
    }
}

@keyframes lineMoveRight {
    0% {
        transform: translateX(-100vw);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

@keyframes lineMoveLeft {
    0% {
        transform: translateX(100vw);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-100vw);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
    }
    50% {
        box-shadow: 0 2px 10px rgba(0, 123, 255, 0.5);
    }
    100% {
        box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
    }
}

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

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* 服务区域样式 */
.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f0f4f8, #e3eaf3);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* 在中等屏幕设备上优化服务网格 */
@media (max-width: 1024px) and (min-width: 769px) {
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

.service-card {
    background: linear-gradient(145deg, #ffffff, #f0f8ff);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 123, 255, 0.08),
        inset 0 0 20px rgba(0, 123, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.15);
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, 
        rgba(0, 123, 255, 0.05), 
        rgba(0, 188, 212, 0.05), 
        rgba(0, 123, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 123, 255, 0.2),
        0 0 0 1px rgba(0, 123, 255, 0.2),
        inset 0 0 30px rgba(0, 123, 255, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    position: relative;
    padding-left: 20px;
}

.service-card h3::before {
    content: '»';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

/* 案例区域样式 */
.cases {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa, #eef2f5);
}

.cases .container > h2 {
    margin-bottom: 30px;
}

.case-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 123, 255, 0.05);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    position: relative;
}

.tab-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    opacity: 0.2;
}

.tab-button {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tab-button:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.05);
    transform: translateY(-2px);
}

.tab-button.active {
    color: #007bff;
}

.tab-button.active::after {
    transform: scaleX(1);
}

.tab-button:focus {
    outline: 2px solid #007bff;
    outline-offset: -2px;
    z-index: 1;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-pane {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.tab-pane.active {
    transform: translateY(0);
    opacity: 1;
    animation: none;
}

.case-study {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    padding: 0;
    border-radius: 15px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.case-study:hover {
    box-shadow: none;
    transform: none;
}

/* 在大屏幕设备上优化案例研究布局 */
@media (min-width: 1024px) {
    .case-study {
        gap: 50px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .case-study {
        gap: 30px;
    }
}

.case-image {
    flex: 1;
    position: relative;
}

.case-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid #007bff;
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
}

.case-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    min-height: 200px;
    background: linear-gradient(120deg, #f0f8ff, #e3eaf3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
}

.case-image img:not([src*='.'])::before {
    content: '项目案例展示';
    font-size: 1.2rem;
    color: #999;
}

.case-image .placeholder {
    width: 100%;
    min-height: 200px;
    background: linear-gradient(120deg, #f0f8ff, #e3eaf3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.case-image img:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 123, 255, 0.3);
}

.case-details {
    flex: 1;
    padding: 20px 0;
}

.case-details h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
}

.case-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    border-radius: 2px;
}

.case-details h3 .confidential-tag {
    background: linear-gradient(120deg, #007bff, #00bcd4);
    color: white;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 15px;
    font-weight: normal;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
    animation: pulse 2s infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.case-details ul {
    list-style: none;
    margin-top: 20px;
}

.case-details ul li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
    transition: all 0.2s ease;
}

.case-details ul li:hover {
    transform: translateX(5px);
}

.case-details ul li:before {
    content: "✓";
    color: #00bcd4;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.case-details .confidential-note {
    position: relative;
    padding: 15px;
    background: linear-gradient(120deg, rgba(0, 123, 255, 0.05), rgba(0, 188, 212, 0.05));
    border-radius: 8px;
    margin-top: 15px;
    border-left: 3px solid #007bff;
    font-size: 0.9rem;
    color: #666;
}

.case-details .confidential-note::before {
    content: "🔒";
    margin-right: 8px;
}

/* 关于我们区域样式 */
.about {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff, #f0f4f8);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
}

.stats {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* 联系方式区域样式 */
.contact {
    padding: 100px 0;
    background: linear-gradient(to bottom, #eef2f5, #e3eaf3);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* 在中等屏幕设备上优化联系信息网格 */
@media (max-width: 1024px) and (min-width: 769px) {
    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2);
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item h3 {
    color: #007bff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 8px;
    background: linear-gradient(120deg, rgba(0, 123, 255, 0.1), rgba(0, 188, 212, 0.1));
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 4px 10px rgba(0, 123, 255, 0.1),
        0 0 0 1px rgba(0, 123, 255, 0.1) inset,
        inset 0 0 10px rgba(0, 123, 255, 0.05);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow: hidden;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 123, 255, 0.2);
}

.contact-item h3::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item h3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    z-index: 0;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-item h3:hover::after {
    transform: translateX(100%);
}

.contact-item h3 .underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
    transform-origin: left;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

.contact-item h3:hover .underline {
    transform: scaleX(1.2);
    height: 4px;
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.4);
}

.contact-item h3:hover {
    background: linear-gradient(120deg, rgba(0, 123, 255, 0.2), rgba(0, 188, 212, 0.2));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 6px 15px rgba(0, 123, 255, 0.2),
        0 0 0 1px rgba(0, 123, 255, 0.2) inset,
        inset 0 0 15px rgba(0, 123, 255, 0.1);
    text-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.contact-item h3:hover::before {
    opacity: 0.2;
}

.contact-item h3:hover::after {
    transform: translateX(100%);
}

.contact-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

.contact-item h3:hover::after {
    transform: scaleX(1.2);
    height: 4px;
}

.contact-item p a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 4px;
}

.contact-item p a:hover {
    color: #0056b3;
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.contact-item p a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.contact-item p a:hover::after {
    width: 100%;
}

.contact-item p a::first-letter {
    font-size: 1.2em;
    margin-right: 5px;
}

.contact-item p {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 4px;
}

.contact-item p:hover {
    background: rgba(0, 123, 255, 0.05);
    transform: translateY(-2px);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(120deg, #001e3c, #003366);
    color: white;
    text-align: center;
    padding: 30px 0;
    position: relative;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(120deg, #007bff, #00bcd4);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.copyright, .beian, .tech-info {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.copyright:hover, .tech-info:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.beian {
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
    border-radius: 4px;
}

.beian:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: translateY(-2px);
}

.beian::before, .beian::after {
    content: '';
    height: 15px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.copyright, .tech-info {
    padding: 5px 10px;
    border-radius: 4px;
}

.copyright:hover, .tech-info:hover {
    background: rgba(255, 255, 255, 0.1);
}

.beian a {
    color: #00bcd4;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 3px 8px;
    border-radius: 4px;
}

.beian a {
    color: #00bcd4;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    position: relative;
    font-weight: 500;
}

.beian a:hover {
    color: white;
    background: rgba(0, 188, 212, 0.3);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 188, 212, 0.3);
}

.beian a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #00bcd4;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.beian a:hover::after {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        position: relative;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .case-study {
        flex-direction: column;
        padding: 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .cases {
        padding: 60px 0;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .service-grid {
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .case-details h3 {
        font-size: 1.5rem;
    }
    
    .case-details h3 .confidential-tag {
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 8px;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    
    .tab-button:last-child {
        border-bottom: none;
    }
    
    .tab-content {
        padding: 20px 0;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-item h3 {
        padding: 6px 12px;
        font-size: 1.1rem;
    }
    
    .contact-item h3 .underline {
        height: 2px;
    }
    
    .contact-item p {
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .beian a {
        padding: 8px 12px;
    }
}

/* 小屏幕设备优化 */
@media (max-width: 480px) {
    .header .container {
        padding: 15px 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav ul {
        margin-top: 15px;
    }
    
    .nav ul li {
        margin: 3px 5px;
    }
    
    .nav ul li a {
        font-size: 0.9rem;
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero h2 {
        font-size: 1.7rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study {
        padding: 20px;
    }
    
    .case-details h3 {
        font-size: 1.3rem;
    }
    
    .case-details h3 .confidential-tag {
        font-size: 0.6rem;
        padding: 2px 5px;
        border-radius: 6px;
    }
    
    .case-details ul li {
        padding-left: 15px;
        font-size: 0.9rem;
    }
    
    .case-details .confidential-note {
        font-size: 0.8rem;
        padding: 10px;
    }
    
    .tab-button {
        padding: 15px;
        font-size: 1rem;
    }
    
    .tab-content {
        padding: 15px 0;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-item h3 {
        padding: 5px 10px;
        font-size: 1rem;
    }
    
    .contact-item h3 .underline {
        height: 2px;
    }
    
    .beian::before,
    .beian::after {
        display: none;
    }
    
    .beian {
        gap: 5px;
        padding: 10px 5px;
    }
    
    .beian a {
        padding: 10px 15px;
    }
}