/* 全局样式 */
:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --purple: #9d4edd;
    --purple-dark: #7b2cbf;
    --purple-light: #c77dff;
    --accent: #3a86ff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img{
    user-select: none;
    pointer-events: none;
}

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

.purple {
    color: var(--purple);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--purple);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--purple);
}

.btn-secondary:hover {
    background-color: rgba(157, 78, 221, 0.1);
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--purple);
}

.section-header p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: var(--bg-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin-left: 30px;
}

.nav-links ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links ul li a:hover {
    color: var(--purple);
}

.nav-links ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--purple);
    transition: var(--transition);
}

.nav-links ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-secondary);
    z-index: 9999;
    transition: var(--transition);
    padding: 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 50px;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.mobile-menu ul li a:hover {
    color: var(--purple);
}

/* 英雄区域样式 */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 50px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.product-main {
    width: 100%;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.2);
}

.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(to right, rgba(157, 78, 221, 0.1) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(157, 78, 221, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    border-radius: 10px;
}

/* 特性区域样式 */
.features {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg-primary), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-tertiary);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(157, 78, 221, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(157, 78, 221, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* 规格区域样式 */
.specs {
    padding: 100px 0;
    position: relative;
}

.specs-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.specs-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.specs-main {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.specs-list {
    flex: 1;
    min-width: 300px;
}

.specs-category {
    margin-bottom: 40px;
}

.specs-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--purple);
}

.specs-category ul {
    list-style: none;
}

.specs-category ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.specs-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--purple);
    font-size: 1.5rem;
    line-height: 1;
}

.specs-category ul li span {
    font-weight: 600;
    color: var(--text-primary);
}

.specs-table{
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    border: 1px solid #7e7e7e;
}
.specs-table thead {
    background-color: var(--purple-dark);
    color: #ffffff;
    border-bottom: 1px solid #7e7e7e;
}

.specs-table th {
    padding: 10px 20px;
    text-align: left;
    font-weight: 600;
    position: relative;
    border-right: 1px solid #7e7e7e;
}

.specs-table td {
    padding: 10px 20px;
    border-bottom: 1px solid #7e7e7e;
    border-right: 1px solid #7e7e7e;
}

.specs-table tbody tr {
    transition: background-color 0.2s ease;
}

.specs-table tbody tr:nth-child(even) {
    background-color: #1d1d1d;
}
.specs-table tbody tr:hover {
    background-color: var(--purple-dark);
}


/* 展示区域样式 */
.gallery {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* 价格区域样式 - 已更新 */
.pricing {
    padding: 100px 0;
}

.pricing-container {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.pricing-card {
    background-color: var(--bg-tertiary);
    border-radius: 10px;
    padding: 50px;
    width: 100%;
    max-width: 800px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.pricing-card .price-warp{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pricing-card.featured {
    background-color: rgba(157, 78, 221, 0.05);
    border-color: rgba(157, 78, 221, 0.2);
    box-shadow: 0 10px 40px rgba(157, 78, 221, 0.15);
}

.pricing-header {
    margin-bottom: 40px;
    text-align: center;
    flex: 1;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 10px;
}

.price-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
}


.pricing-includes {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-includes h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--purple-light);
}

.pricing-includes ul {
    list-style: none;
}

.pricing-includes ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.pricing-includes ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple);
    font-weight: bold;
}

.warranty-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(157, 78, 221, 0.1);
    border-radius: 8px;
}

.warranty-icon {
    font-size: 2rem;
    color: var(--purple);
}

.warranty-text {
    text-align: left;
}

.warranty-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.warranty-text p {
    color: var(--text-secondary);
}

.pricing-card .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}


/* 联系区域样式 */
.contact {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

form {
    background-color: var(--bg-tertiary);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.2rem;
}
.contact-item p{
    line-height: 30px;
}

/* 页脚样式 */
.footer {
    background-color: var(--bg-primary);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-logo p {
    color: var(--text-secondary);
    margin-top: 10px;
    max-width: 300px;
}

.footer-links {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--purple);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
}
.footer-bottom a{
    color: var(--text-secondary);
    text-decoration: none;
}


.footer-policies a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-policies a:hover {
    color: var(--purple);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--purple);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--purple-dark);
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .features, .specs, .gallery, .pricing, .contact, .footer {
        padding: 80px 0;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        gap: 30px;
    }

    .price {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .features-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-header h3 {
        font-size: 1.7rem;
    }

    .price {
        font-size: 2.5rem;
    }
}
