/* 全局样式 */
:root {
    --primary-color: #0066cc;
    --secondary-color: #00a0e9;
    --accent-color: #00cccc;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --gray-bg: #f0f2f5;
    --border-color: #e0e0e0;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #0055aa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-text i {
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(5px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 15px auto 20px;
    border-radius: 2px;
    position: relative;
}

.divider span {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: -3px;
    right: 0;
}

/* 头部样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImcxIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDA2NmNjIiBzdG9wLW9wYWNpdHk9IjAuMDUiIC8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDBjY2NjIiBzdG9wLW9wYWNpdHk9IjAuMDUiIC8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBhdHRlcm4gaWQ9InAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBwYXR0ZXJuVHJhbnNmb3JtPSJyb3RhdGUoNDUgNTAgNTApIj48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNnMSkiLz48L3BhdHRlcm4+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwKSIvPjwvc3ZnPg==');
    opacity: 0.8;
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-bg);
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    height: 400px; /* 添加明确的高度 */
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* 轮播样式 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    min-height: 300px; /* 添加最小高度 */
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
    display: flex; /* 添加flex布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 修改为contain，确保图片完整显示 */
    border-radius: 10px;
    max-height: 100%; /* 确保图片不超出容器 */
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

/* 产品服务样式 */
.products {
    padding: 100px 0;
    background-color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 15px;
}

/* 技术创新样式 */
.technology {
    padding: 100px 0;
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.technology .section-header h2,
.technology .section-header p {
    color: var(--light-text);
}

.technology .divider {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-feature {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-feature:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    font-size: 30px;
    color: var(--light-text);  /* 修正：添加缺失的 text 属性值 */
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 160, 233, 0.1) 0%, rgba(0, 160, 233, 0) 70%);
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 204, 204, 0.1) 0%, rgba(0, 204, 204, 0) 70%);
    z-index: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.contact-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 40px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 10px;
    margin-right: 20px;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background-color: var(--primary-color);
}

.contact-item:hover .contact-icon i {
    color: #fff;
}

.contact-icon i {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-bg);
}

.contact-details p {
    color: #666;
    font-size: 16px;
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 10px;
    transition: var(--transition);
    font-size: 20px;
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: #1a1616;
}

/* 表单样式 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-bg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
    background-color: #fff;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    font-size: 16px;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 30px;
    }
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content, .hero-image {
    z-index: 2;
}

/* 科技感装饰元素 */
.tech-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.tech-decoration:nth-child(1) {
    top: -150px;
    right: -150px;
    border-color: rgba(0, 102, 204, 0.05);
}

.tech-decoration:nth-child(2) {
    bottom: -150px;
    left: -150px;
    border-color: rgba(0, 204, 204, 0.05);
    animation-direction: reverse;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 增强产品卡片科技感 */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 102, 204, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 6s infinite;
    z-index: 1;
}

.product-image, .product-info {
    position: relative;
    z-index: 2;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* 增强技术特性科技感 */
.tech-icon {
    position: relative;
    overflow: hidden;
}

.tech-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 204, 204, 0.5) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-feature:hover .tech-icon::after {
    opacity: 1;
}

/* 页脚样式 */
footer {
    position: relative;
    background: linear-gradient(135deg, #0c1a2d, #1a3a5f);
    color: var(--light-text);
    padding: 80px 0 20px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* 左侧公司信息区域 */
.footer-about {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: translateY(-5px);
}

.footer-about h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon-wrapper {
    position: relative;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.qr-code {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 15px;
    width: 140px;
    height: 140px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.qr-code::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
    margin-top: -1px;
}

.social-icon:hover {
    background: #0066cc;
    transform: translateY(-5px);
}

.social-icon:hover .qr-code {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 中间导航链接区域 */
.footer-nav h3,
.footer-products h3,
.footer-contact h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.footer-nav h3::after,
.footer-products h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.footer-nav ul,
.footer-products ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li,
.footer-products ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
    transition: all 0.3s ease;
}

.footer-nav ul li::before,
.footer-products ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s ease;
}

.footer-nav ul li:hover,
.footer-products ul li:hover {
    padding-left: 20px;
}

.footer-nav ul li:hover::before,
.footer-products ul li:hover::before {
    color: #fff;
}

.footer-nav ul li a,
.footer-products ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
}

.footer-nav ul li a:hover,
.footer-products ul li a:hover {
    color: #fff;
}

/* 右侧联系信息区域 */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--accent-color);
    font-size: 16px;
    margin-right: 15px;
    margin-top: 3px;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

/* 底部版权区域 */
.footer-bottom {
    position: relative;
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    transition: color 0.3s ease;
}

.copyright p:hover {
    color: rgba(255, 255, 255, 0.8);
}

.copyright .icp-info {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.copyright .icp-info::before {
    content: '';
    width: 14px;
    height: 14px;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjYpIiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=') no-repeat center center;
    background-size: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* 科技感装饰元素 */
.footer-tech-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 102, 204, 0.1);
    animation: rotate 30s linear infinite;
}

.tech-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    right: 10%;
    border-width: 2px;
    border-color: rgba(0, 102, 204, 0.05);
}

.tech-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 5%;
    border-width: 2px;
    border-color: rgba(0, 204, 204, 0.05);
    animation-direction: reverse;
}

/* 响应式页脚 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-nav h3::after,
    .footer-products h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav,
    .footer-products,
    .footer-contact {
        text-align: center;
    }
    
    .footer-nav ul li,
    .footer-products ul li {
        padding-left: 0;
    }
    
    .footer-nav ul li::before,
    .footer-products ul li::before {
        display: none;
    }
    
    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom {
        padding: 15px;
    }
    
    .copyright p {
        font-size: 12px;
    }
    
    .copyright .icp-info {
        margin-top: 3px;
    }
}

/* 为移动设备添加触摸反馈 */
@media (hover: none) {
    .footer-social .social-icon:active {
        transform: scale(0.95);
        background-color: var(--primary-color);
    }
    
    .footer-nav ul li a:active,
    .footer-products ul li a:active {
        color: var(--accent-color);
    }
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content, .hero-image {
    z-index: 2;
}

/* 科技感装饰元素 */
.tech-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.tech-decoration:nth-child(1) {
    top: -150px;
    right: -150px;
    border-color: rgba(0, 102, 204, 0.05);
}

.tech-decoration:nth-child(2) {
    bottom: -150px;
    left: -150px;
    border-color: rgba(0, 204, 204, 0.05);
    animation-direction: reverse;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 增强产品卡片科技感 */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 102, 204, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 6s infinite;
    z-index: 1;
}

.product-image, .product-info {
    position: relative;
    z-index: 2;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* 增强技术特性科技感 */
.tech-icon {
    position: relative;
    overflow: hidden;
}

.tech-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 204, 204, 0.5) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-feature:hover .tech-icon::after {
    opacity: 1;
}

/* 触摸设备优化 */
@media (hover: none) {
    .btn, .product-card, .tech-feature, .contact-card, .social-icon {
        transition: transform 0.2s ease;
    }
    
    .btn:active, .product-card:active, .tech-feature:active, .contact-card:active, .social-icon:active {
        transform: scale(0.98);
    }
    
    .footer-links-column ul li a:active {
        color: var(--accent-color);
    }
}

/* iPhone特定优化 */
.iphone-device header .container {
    height: 65px;
}

.iphone-device .mobile-menu-btn {
    padding: 10px;
}

.iphone-device nav ul {
    top: 65px;
    height: calc(100vh - 65px);
}

.iphone-device .hero-content h1 {
    font-size: 26px;
}

.iphone-device .section-header h2 {
    font-size: 24px;
}

.iphone-device .section-header p {
    font-size: 14px;
}

.iphone-device .btn {
    padding: 8px 18px;
    font-size: 13px;
}

/* 添加到styles.css文件末尾 */

/* iPhone 14 Pro Max 及类似尺寸设备优化 */
@media screen and (max-width: 430px) {
    /* 优化导航栏 */
    header .container {
        height: 70px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 22px;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        transition: var(--transition);
        z-index: 999;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li a {
        font-size: 16px;
        display: block;
        padding: 10px 15px;
        width: 100%;
        text-align: center;
    }
    
    /* 优化英雄区域 */
    .hero {
        height: auto;
        padding: 100px 0 50px;
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* 优化按钮大小 */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 25px;
    }
    
    .btn-secondary {
        border-width: 1px;
    }
    
    /* 优化产品卡片 */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 180px;
    }
    
    /* 优化联系卡片 */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    /* 优化页脚 */
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo img {
        width: 120px;
    }
}

/* 表单样式 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-bg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
    background-color: #fff;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    font-size: 16px;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 30px;
    }
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content, .hero-image {
    z-index: 2;
}

/* 科技感装饰元素 */
.tech-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.tech-decoration:nth-child(1) {
    top: -150px;
    right: -150px;
    border-color: rgba(0, 102, 204, 0.05);
}

.tech-decoration:nth-child(2) {
    bottom: -150px;
    left: -150px;
    border-color: rgba(0, 204, 204, 0.05);
    animation-direction: reverse;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 增强产品卡片科技感 */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 102, 204, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 6s infinite;
    z-index: 1;
}

.product-image, .product-info {
    position: relative;
    z-index: 2;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* 增强技术特性科技感 */
.tech-icon {
    position: relative;
    overflow: hidden;
}

.tech-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 204, 204, 0.5) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-feature:hover .tech-icon::after {
    opacity: 1;
}

/* 触摸设备优化 */
@media (hover: none) {
    .btn, .product-card, .tech-feature, .contact-card, .social-icon {
        transition: transform 0.2s ease;
    }
    
    .btn:active, .product-card:active, .tech-feature:active, .contact-card:active, .social-icon:active {
        transform: scale(0.98);
    }
    
    .footer-links-column ul li a:active {
        color: var(--accent-color);
    }
}

/* iPhone特定优化 */
.iphone-device header .container {
    height: 65px;
}

.iphone-device .mobile-menu-btn {
    padding: 10px;
}

.iphone-device nav ul {
    top: 65px;
    height: calc(100vh - 65px);
}

.iphone-device .hero-content h1 {
    font-size: 26px;
}

.iphone-device .section-header h2 {
    font-size: 24px;
}

.iphone-device .section-header p {
    font-size: 14px;
}

.iphone-device .btn {
    padding: 8px 18px;
    font-size: 13px;
}
