/* 福州鸿数起凡科技有限责任公司官网样式表 - 简洁优雅版 */

/* ========== 基础样式重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

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

/* ========== 导航栏 ========== */
.navbar {
    background: linear-gradient(135deg, #1a2a3a, #2c3e50);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #f0f4f8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2193b0, #6dd5fa);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #6dd5fa;
    text-shadow: 0 0 12px rgba(109, 213, 255, 0.6);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: #6dd5fa;
    font-weight: 600;
    text-shadow: 0 0 12px rgba(109, 213, 255, 0.6);
}

.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #f0f4f8;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========== 英雄区域 ========== */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #6dd5fa 100%);
    color: white;
    text-align: center;
    padding: 150px 20px 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.05);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* 扫描线效果 - 简洁版 */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(109, 213, 255, 0.9), transparent);
    animation: scan 8s linear infinite;
    z-index: 0;
    opacity: 0.6;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* 粒子效果 - 简洁版 */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(109, 213, 255, 0.9);
    border-radius: 50%;
    animation: float 15s infinite linear;
    box-shadow: 0 0 12px rgba(109, 213, 255, 0.6);
}

.particle:nth-child(1) { left: 10%; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 18s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 14s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 16s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 15s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 19s; }

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}

/* 数字雨效果 */
.digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
}

/* 科技感光圈 - 简洁版 */
.tech-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(109, 213, 255, 0.4);
    animation: ringPulse 8s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 25px rgba(109, 213, 255, 0.2);
}

.ring-1 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-2 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

.ring-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes ringPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

/* ========== AI 神经网络网络 ========== */
.ai-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.network-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #3498db, transparent);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.8);
    animation: nodePulse 3s infinite ease-in-out;
}

.network-node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: nodeGlow 2s infinite ease-in-out;
}

.node-1 { top: 30%; left: 20%; animation-delay: 0s; }
.node-2 { top: 50%; left: 50%; animation-delay: 0.5s; }
.node-3 { top: 30%; left: 80%; animation-delay: 1s; }
.node-4 { top: 70%; left: 30%; animation-delay: 1.5s; }
.node-5 { top: 70%; left: 70%; animation-delay: 2s; }

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes nodeGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.network-link {
    stroke: url('#lineGradient');
    stroke-width: 2;
    opacity: 0.6;
    animation: linkFlow 3s infinite linear;
}

.link-1 { animation-delay: 0s; }
.link-2 { animation-delay: 0.5s; }
.link-3 { animation-delay: 1s; }
.link-4 { animation-delay: 1.5s; }

@keyframes linkFlow {
    0%, 100% {
        stroke-dasharray: 10, 100;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 50, 100;
        stroke-dashoffset: -50;
    }
}



/* ========== 数据流效果 ========== */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.data-flow {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #3498db, transparent);
    animation: dataFall 4s infinite linear;
    opacity: 0.5;
}

.flow-1 {
    left: 10%;
    animation-delay: 0s;
}

.flow-2 {
    left: 50%;
    animation-delay: 1.5s;
}

.flow-3 {
    left: 90%;
    animation-delay: 3s;
}

@keyframes dataFall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* 光效网格 - 简洁版 */
.light-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(52, 152, 219, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 152, 219, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    animation: gridGlow 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

.logo-badge {
    display: inline-block;
    background: rgba(109, 213, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(109, 213, 255, 0.5);
    box-shadow: 0 4px 15px rgba(109, 213, 255, 0.3);
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(109, 213, 255, 0.4);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

.tagline-wrapper {
    margin-bottom: 2rem;
}

.main-tagline {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 1;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.stat-label {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cta-button.primary {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5fa 100%);
    color: white;
    font-weight: 600;
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #6dd5fa 0%, #2193b0 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(109, 213, 255, 0.5);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

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

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    40% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.7;
    }
    60% {
        transform: translateX(-50%) translateY(5px);
        opacity: 0.8;
    }
}

/* ========== 通用区块样式 ========== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a3c5e;
    text-shadow: 0 2px 10px rgba(33, 147, 176, 0.1);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2193b0, #6dd5fa);
    margin: 15px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #5a6c7d;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background: linear-gradient(180deg, #f8f9fa 0%, #eef2f7 100%);
}

/* ========== 内容卡片 ========== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(33, 147, 176, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid rgba(33, 147, 176, 0.15);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(33, 147, 176, 0.25);
    border-color: rgba(33, 147, 176, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.content-card h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-link {
    color: #3498db;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
}

/* ========== 标签页 ========== */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 15px 25px;
    background: #ecf0f1;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.tab-button.active {
    background: #3498db;
    color: white;
}

.tab-icon {
    font-size: 1.2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ========== 优势网格 ========== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.4s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.15);
}

.item-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.advantage-item:hover .item-icon {
    transform: scale(1.1);
}

.item-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stat {
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ========== 行业标签页 ========== */
.industry-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.industry-tab {
    padding: 15px 25px;
    background: #ecf0f1;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.industry-tab.active {
    background: #27ae60;
    color: white;
}

.industry-content {
    display: none;
}

.industry-content.active {
    display: block;
}

.product-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-intro h3 {
    color: #34495e;
    margin-bottom: 0.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ========== 产品卡片 ========== */
.product-card {
    background: white;
    padding: 1.8rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(33, 147, 176, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(33, 147, 176, 0.15);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(33, 147, 176, 0.25);
    border-color: rgba(33, 147, 176, 0.3);
}

.product-card h3 {
    color: #1a3c5e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card-badge {
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.hot-item .badge-hot {
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ========== 统计卡片 ========== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    text-align: center;
    padding: 1.8rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(33, 147, 176, 0.1);
    border: 1px solid rgba(33, 147, 176, 0.15);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(33, 147, 176, 0.2);
    border-color: rgba(33, 147, 176, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* ========== 企业文化 ========== */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.culture-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.culture-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.culture-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* ========== 时间线 ========== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: #3498db;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #3498db;
    border-radius: 50%;
    top: 25px;
    right: -8px;
    z-index: 1;
    box-shadow: 0 0 0 3px white, 0 0 0 5px #3498db;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.timeline-period {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-keywords {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.keyword {
    background: linear-gradient(135deg, #2193b0, #6dd5fa);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ========== 案例卡片 ========== */
.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(33, 147, 176, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(33, 147, 176, 0.15);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(33, 147, 176, 0.25);
    border-color: rgba(33, 147, 176, 0.3);
}

.case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.case-results {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.result {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.result.positive {
    background: #27ae60;
    color: white;
}

/* ========== 联系表单 ========== */
.contact-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #34495e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #d0dce8;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2193b0;
    box-shadow: 0 0 0 3px rgba(33, 147, 176, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5fa 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 500;
    font-family: inherit;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #6dd5fa 0%, #2193b0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 147, 176, 0.4);
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(33, 147, 176, 0.1);
    text-align: center;
    border: 1px solid rgba(33, 147, 176, 0.15);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(33, 147, 176, 0.2);
    border-color: rgba(33, 147, 176, 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-item h3 {
    color: #2193b0;
    margin-bottom: 1rem;
}

.contact-cta {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(42, 82, 152, 0.3);
}

.contact-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(109, 213, 255, 0.4);
}

/* ========== 页脚 ========== */
.footer {
    background: linear-gradient(135deg, #1a2a3a, #2c3e50);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #6dd5fa;
    text-shadow: 0 2px 12px rgba(109, 213, 255, 0.4);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    color: #6dd5fa;
    margin-bottom: 1rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.5rem;
}

.link-group a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #6dd5fa;
    text-shadow: 0 0 10px rgba(109, 213, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #ecf0f1;
}
.footer-bottom a{
    color: #ecf0f1;
}

/* ========== 高亮信息框 ========== */
.highlight-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #90caf9 100%);
    color: #1a3c5e;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid rgba(33, 147, 176, 0.3);
    box-shadow: 0 10px 30px rgba(33, 147, 176, 0.2);
}

.highlight-box h3 {
    color: #1a3c5e;
    text-shadow: 0 2px 8px rgba(109, 213, 255, 0.3);
}

/* ========== 信息网格 ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin: 1.2rem 0;
}

.info-item {
    background: linear-gradient(180deg, #e3f2fd 0%, #f0f7fb 100%);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 3px solid #2193b0;
    box-shadow: 0 2px 8px rgba(33, 147, 176, 0.15);
}

.info-item h3 {
    color: #2193b0;
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
}

/* ========== 模态框 ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    margin: 7.5vh auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #d0dce8;
}

.modal-title {
    flex: 1;
}

.modal-title h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #34495e;
}

.modal-breadcrumb {
    font-size: 0.8rem;
    color: #5a6c7d;
    margin-top: 3px;
}

.modal-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.modal-nav-btn, .modal-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(180deg, #f8f9fa 0%, #eef2f7 100%);
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.modal-nav-btn:hover, .modal-close:hover {
    background: linear-gradient(180deg, #e3f2fd 0%, #f0f7fb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(33, 147, 176, 0.2);
    color: #2193b0;
}

.modal-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.modal-body h2 {
    color: #1a3c5e;
    margin: 0 0 1.2rem 0;
    font-size: 1.6rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #2193b0;
    display: inline-block;
}

.modal-body h3 {
    color: #2193b0;
    margin: 1.8rem 0 0.8rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-body p {
    margin: 0.8rem 0;
    line-height: 1.7;
    color: #4a5568;
}

.modal-body ul {
    margin: 1.2rem 0;
    padding-left: 0;
    list-style: none;
}

.modal-body li {
    margin: 0.8rem 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    color: #4a5568;
}

.modal-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2193b0;
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: linear-gradient(180deg, #f8f9fa 0%, #eef2f7 100%);
    border-top: 1px solid #d0dce8;
}

.progress-bar {
    width: 150px;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2193b0, #6dd5fa);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: #6c757d;
}

.modal-share .share-btn {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.modal-share .share-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-loading.show {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== 返回顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5fa 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(33, 147, 176, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    display: block;
    animation: backToTopFadeIn 0.3s ease forwards;
}

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

.back-to-top:hover {
    background: linear-gradient(135deg, #6dd5fa 0%, #2193b0 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 25px rgba(109, 213, 255, 0.7);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.mobile-active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1a2a3a, #2c3e50);
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .main-tagline {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        width: 95%;
        margin: 5vh auto;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-title h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .modal-container {
        width: 98%;
        margin: 2vh auto;
    }
}

/* ========== 滚动条美化 ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* ========== 文本选择样式 ========== */
::selection {
    background: rgba(52, 152, 219, 0.3);
}


/* ========== 浮动代码块 ========== */
.floating-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.code-block {
    position: absolute;
    background: rgba(44, 62, 80, 0.7);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #3498db;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    animation: codeFloat 6s ease-in-out infinite;
}

.code-line {
    display: block;
    margin: 3px 0;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.code-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.code-2 {
    top: 35%;
    right: 20%;
    animation-delay: 2s;
}

.code-3 {
    bottom: 25%;
    left: 25%;
    animation-delay: 4s;
}

@keyframes codeFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

/* ========== 雷达扫描效果 ========== */
.radar-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.radar-1 {
    width: 150px;
    height: 150px;
}

.radar-2 {
    width: 250px;
    height: 250px;
}

.radar-3 {
    width: 350px;
    height: 350px;
}

.radar-beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.8));
    transform-origin: left center;
    animation: radarSweep 4s linear infinite;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
}

@keyframes radarSweep {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========== 六边形蜂巢结构 ========== */
.honeycomb-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.hexagon {
    position: absolute;
    width: 60px;
    height: 69px;
    background: rgba(52, 152, 219, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 1px solid rgba(52, 152, 219, 0.3);
    animation: hexPulse 5s ease-in-out infinite;
}

.hex-1 { top: 15%; left: 10%; animation-delay: 0s; }
.hex-2 { top: 25%; right: 15%; animation-delay: 1s; }
.hex-3 { top: 50%; left: 5%; animation-delay: 2s; }
.hex-4 { top: 60%; right: 10%; animation-delay: 3s; }
.hex-5 { bottom: 20%; left: 20%; animation-delay: 4s; }
.hex-6 { bottom: 30%; right: 25%; animation-delay: 5s; }

@keyframes hexPulse {
    0%, 100% {
        background: rgba(52, 152, 219, 0.1);
        transform: scale(1);
    }
    50% {
        background: rgba(52, 152, 219, 0.25);
        transform: scale(1.1);
    }
}

/* ========== 能量脉冲波 ========== */
.energy-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.pulse-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(52, 152, 219, 0.4);
    animation: pulseExpand 3s ease-out infinite;
}

.wave-1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.wave-2 {
    width: 100px;
    height: 100px;
    animation-delay: 1s;
}

.wave-3 {
    width: 100px;
    height: 100px;
    animation-delay: 2s;
}

@keyframes pulseExpand {
    0% {
        width: 100px;
        height: 100px;
        opacity: 0.8;
        border-width: 3px;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
        border-width: 0px;
    }
}
