* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a2e;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: #16213e;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: #e94560;
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.85rem;
    color: #a0a0a0;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #e94560;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/背景图片.png') center/cover no-repeat;
    opacity: 0.1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #e94560;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #d63550;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #e94560;
}

.btn-secondary:hover {
    background-color: #e94560;
}

.btn-outline {
    background-color: transparent;
    color: #e94560;
    border: 2px solid #e94560;
}

.btn-outline:hover {
    background-color: #e94560;
    color: #ffffff;
}

.o-ring-3d {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #e94560, #16213e, #e94560);
    box-shadow: 0 0 50px rgba(233, 69, 96, 0.3);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.products, .technical, .about, .contact {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.section-title .subtitle {
    color: #a0a0a0;
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #16213e;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.product-info .material {
    color: #e94560;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.product-info li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
}

.product-info li:last-child {
    border-bottom: none;
}

.technical {
    background-color: #16213e;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tech-card {
    background-color: #1a1a2e;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-3px);
}

.tech-card h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tech-card p {
    color: #a0a0a0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-content p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 30px;
}

.about-content ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.about-content li {
    background-color: #16213e;
    padding: 15px 30px;
    border-radius: 30px;
    color: #ffffff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #16213e;
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #1a1a2e;
    color: #ffffff;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.footer {
    background-color: #16213e;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    color: #a0a0a0;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #a0a0a0;
}

.contact-info a {
    color: #e94560;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #16213e;
        padding: 20px;
        gap: 15px;
    }

    .nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .o-ring-3d {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .hero::before {
        display: none;
    }

    .product-grid, .tech-grid {
        grid-template-columns: 1fr;
    }

    .about-content ul {
        flex-direction: column;
    }
}