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

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0e27;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00d4ff 0%, #7b2cbf 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00d4ff 0%, #7b2cbf 100%);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0e27;
    overflow-x: hidden;
}

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

/* ========== 粒子背景 ========== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

/* ========== 头部导航 ========== */
.header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 36px;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 2px;
}

.logo .subtitle {
    font-size: 11px;
    color: #8892b0;
    letter-spacing: 2px;
}

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

.nav a {
    color: #ccd6f6;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #00d4ff;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.btn-outline {
    padding: 8px 20px;
    border: 1px solid #00d4ff;
    color: #00d4ff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* ========== 主横幅 - 全屏设计 ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    color: #00d4ff;
    font-size: 14px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease, badgePulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }
}

.hero h1 {
    font-size: 72px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}

.hero .highlight {
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(20deg);
    }
}

.hero-desc {
    font-size: 18px;
    color: #8892b0;
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary-large {
    padding: 15px 40px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary-large::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.5s;
}

.btn-primary-large:hover::before {
    left: 100%;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.btn-secondary-large {
    padding: 15px 40px;
    background: transparent;
    color: #00d4ff;
    text-decoration: none;
    border: 2px solid #00d4ff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-secondary-large:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.hero-stat .label {
    font-size: 14px;
    color: #8892b0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #00d4ff, transparent);
    animation: scrollBounce 2s infinite;
}

/* ========== 关于我们 - 左右分栏 ========== */
.about {
    padding: 120px 0;
    background: #0a0e27;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.about-left {
    position: sticky;
    top: 120px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 4px;
    color: #00d4ff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s;
    cursor: default;
}

.section-label:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.about-left h2 {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 30px;
    position: relative;
}

.about-left h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, transparent);
}

.about-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    border-radius: 2px;
}

.about-right p {
    font-size: 16px;
    line-height: 1.8;
    color: #8892b0;
    margin-bottom: 20px;
}

.about-intro {
    font-size: 18px !important;
    color: #ccd6f6 !important;
    font-weight: 500;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #ccd6f6;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* ========== 业务范围 - 卡片式布局 ========== */
.services {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0e27 0%, #111638 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #8892b0;
}

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

.service-card {
    background: rgba(17, 22, 56, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2cbf 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

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

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15), 0 0 0 1px rgba(0, 212, 255, 0.1);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(0, 212, 255, 0.1);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-size: 15px;
    color: #8892b0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-link {
    display: inline-block;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s;
}

.card-link:hover::after {
    width: 100%;
}

.card-link:hover {
    color: #7b2cbf;
    transform: translateX(5px);
}

/* ========== 技术优势 - 横向时间线 ========== */
.tech {
    padding: 120px 0;
    background: #0a0e27;
}

.tech-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.tech-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2cbf 100%);
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #0a0e27;
    border: 3px solid #00d4ff;
    border-radius: 50%;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 212, 255, 0);
    }
}

.timeline-item:hover .timeline-dot {
    background: #00d4ff;
    transform: scale(1.2);
}

.timeline-content {
    background: rgba(17, 22, 56, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-content:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.15);
}

.timeline-icon {
    font-size: 40px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.2) rotate(10deg);
}

.timeline-content h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 14px;
    color: #8892b0;
    line-height: 1.8;
}

/* ========== 联系我们 - 现代化布局 ========== */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0e27 0%, #111638 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-left h2 {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 16px;
    color: #8892b0;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item p {
    font-size: 14px;
    color: #8892b0;
    line-height: 1.6;
}

.contact-right {
    background: rgba(17, 22, 56, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 15px;
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.contact-right input:focus,
.contact-right textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.2);
    background: rgba(10, 14, 39, 1);
}

.contact-right input::placeholder,
.contact-right textarea::placeholder {
    color: #8892b0;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* ========== 底部 ========== */
.footer {
    background: #050817;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 24px;
    color: #00d4ff;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer-brand:hover h3 {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}

.footer-brand p {
    font-size: 14px;
    color: #8892b0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #8892b0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-col a:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.footer-bottom p {
    font-size: 14px;
    color: #8892b0;
    margin: 8px 0;
}

.footer-bottom a {
    color: #00d4ff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-bottom a:hover {
    opacity: 0.8;
}

.beian-divider {
    margin: 0 10px;
    opacity: 0.5;
}

.beian-police {
    color: #8892b0;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.beian-police:hover {
    color: #00d4ff;
    opacity: 0.9;
}

.beian-police img {
    height: 14px;
    width: auto;
    vertical-align: middle;
}

/* ========== 动画 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .tech-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-left {
        position: static;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-timeline {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
