/* css/style.css - 前端科技感样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0f;
    color: #eef2ff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
    padding: 1rem 0;
    transition: all 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #40e0d0;
    text-decoration: none;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #eef2ff;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #40e0d0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #40e0d0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero 区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(64,224,208,0.15), transparent 70%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #40e0d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.accent {
    color: #40e0d0;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a0aec0;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #40e0d0, #2c9e90);
    color: #0a0a0f;
    box-shadow: 0 4px 15px rgba(64,224,208,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(64,224,208,0.4);
}

.btn-outline {
    border: 1px solid #40e0d0;
    color: #40e0d0;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(64,224,208,0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #40e0d0;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #8a8f99;
}

/* 通用区域样式 */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.dot {
    color: #40e0d0;
    font-size: 2.8rem;
}

.section-header p {
    color: #9ca3af;
    margin-top: 12px;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(64,224,208,0.2);
    transition: transform 0.3s, border-color 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #40e0d0;
    box-shadow: 0 20px 35px -15px rgba(0,0,0,0.5);
}

.product-media {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #111;
}

.product-media img,
.product-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.product-info p {
    color: #b9c3d4;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 服务卡片 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(20, 20, 30, 0.5);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card i {
    font-size: 2.5rem;
    color: #40e0d0;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #a0aec0;
    font-size: 0.9rem;
}

.service-card:hover {
    background: rgba(64,224,208,0.1);
    border-color: #40e0d0;
}

/* 关于我们 */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 2;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.company-intro p {
    color: #cbd5e0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e0;
}

.feature i {
    color: #40e0d0;
}

.about-stats {
    flex: 1;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat-circle {
    text-align: center;
}

.circle-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #40e0d0;
}

/* 联系区域双卡片布局 */
.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.contact-card {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 32px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    width: 280px;
    max-width: 90%;
    border: 1px solid rgba(64, 224, 208, 0.3);
    transition: transform 0.3s, border-color 0.3s;
}
.contact-card:hover {
    transform: translateY(-5px);
    border-color: #40e0d0;
}
.qr-icon i {
    font-size: 2.2rem;
    color: #40e0d0;
    margin-bottom: 0.5rem;
}
.contact-card h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    color: #fff;
}
.qr-code {
    margin: 1rem 0;
}
.contact-card .qr-code img {
    width: 140px;
    height: auto;
    max-width: 100%;
    border-radius: 16px;
    border: 2px solid #2a2a3a;
    background: #fff;
    padding: 4px;
}
.wechat-id {
    font-size: 0.85rem;
    color: #cbd5e0;
    margin: 0.5rem 0;
    word-break: break-all;
}
.btn-copy {
    background: transparent;
    border: 1px solid #40e0d0;
    color: #40e0d0;
    padding: 5px 14px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
    margin-top: 6px;
}
.btn-copy:hover {
    background: rgba(64, 224, 208, 0.2);
}
@media (max-width: 640px) {
    .contact-card .qr-code img {
        width: 110px;
    }
    .contact-card {
        padding: 1.2rem;
    }
}

/* 页脚 */
.footer {
    background: #05050a;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #1a1a2a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #1a1a2a;
    font-size: 0.8rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        flex-direction: column;
    }
    .contact-wrapper {
        flex-direction: column;
    }
}
/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}
.modal-content {
    background: #1a1a2a;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #40e0d0;
    border-radius: 24px;
    width: 280px;
    text-align: center;
    color: white;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: #40e0d0;
}