/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: #000;
    margin: 10px auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #000;
    cursor: pointer;
    font-size: 1rem;
    background: #fff;
    color: #000;
}

.btn.primary {
    background: #000;
    color: #fff;
}

.btn.primary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.btn.secondary {
    background: #fff;
    color: #000;
}

.btn.secondary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
}

/* 导航栏样式 */
.navbar {
    background: #fff;
    border-bottom: 1px solid #000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.nav-logo a span {
    color: #000;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #000;
    text-decoration: underline;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: #000;
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页横幅 */
.hero {
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000;
    padding: 0 20px;
    border-bottom: 1px solid #000;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    animation: fadeIn 1.5s ease;
}

/* 产品中心 */
.products {
    padding: 5rem 0;
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    padding: 2rem;
    text-align: center;
    border: 1px solid #000;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    margin-bottom: 1rem;
}

.product-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    border: 1px solid #000;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.product-description {
    margin-bottom: 1.5rem;
    color: #000;
}

.product-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* 技术优势 */
.technology {
    padding: 5rem 0;
    background: #fff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 2rem;
}

.tech-icon {
    width: 80px;
    height: 80px;
    border: 1px solid #000;
    color: #000;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tech-item h3 {
    margin-bottom: 1rem;
    color: #000;
}

/* 应用场景 */
.applications {
    padding: 5rem 0;
    background: #fff;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.app-item {
    background: #fff;
    padding: 2rem;
    border: 1px solid #000;
    transition: transform 0.3s ease;
}

.app-item:hover {
    transform: translateY(-5px);
}

.app-item h3 {
    color: #000;
    margin-bottom: 1rem;
}

/* 关于我们 */
.about {
    padding: 5rem 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #000;
}

.about-text p {
    margin-bottom: 1rem;
    color: #000;
}

/* 联系我们 */
.contact {
    padding: 5rem 0;
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #000;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #000;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #000;
    font-family: inherit;
    background: #fff;
    color: #000;
}

.contact-form button {
    width: 100%;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    color: #000;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* 页脚 */
.footer {
    background: #fff;
    color: #000;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #000;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.footer-logo a {
    font-size: 1.5rem;
    color: #000;
    text-decoration: none;
}

.footer-logo a span {
    color: #000;
}

.footer-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #000;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #000;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid #000;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}