/* 页面样式保留在 index.html 中 */ 

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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background: linear-gradient(
        135deg, 
        #121620 0%, 
        #0a0c10 25%, 
        #4a6cf7 50%, 
        #7b5be6 75%, 
        #1a1e25 100%
    );
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    color: white;
    font-family: 'Inter', 'Microsoft YaHei', sans-serif;
    text-align: center;
    padding: 20px;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 5px;
    object-fit: contain;
}

.logo-text {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    left: -6px;
}

.content {
    position: absolute;
    top: calc(50% - 180px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
}

.main-title {
    margin-bottom: 30px;
}

.main-title h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(
        to right, 
        white, 
        #7b93ff
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.main-title h2 {
    font-size: 2.2rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 0 10px rgba(123, 147, 255, 0.3);
}

.subtitle {
    margin-bottom: 40px;
}

.subtitle h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #7b93ff;
    margin: 0;
    text-shadow: 0 0 5px rgba(123, 147, 255, 0.5);
}

.description {
    max-width: 600px;
    margin: 0 auto;
}

.description p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #ffffffcc;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .logo-container {
        top: 10px;
        left: 10px;
    }

    .logo {
        width: 40px;
        height: 40px;
        margin-right: 4px;
    }

    .logo-text {
        font-size: 1rem;
        left: -4px;
    }

    .content {
        max-width: 90%;
        padding: 0 15px;
    }

    .main-title h1 {
        font-size: 2.2rem;
    }

    .main-title h2 {
        font-size: 1.6rem;
    }

    .subtitle h3 {
        font-size: 1.2rem;
    }

    .description p {
        font-size: 1rem;
        text-align: center;
    }
}

/* 联系图标样式 */
.contact-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 2px solid transparent;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.contact-icon:hover {
    background-color: rgba(123, 147, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 
        0 0 10px rgba(123, 147, 255, 0.5),
        0 0 20px rgba(123, 147, 255, 0.3),
        0 0 30px rgba(123, 147, 255, 0.2);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .contact-icons {
        top: 10px;
        right: 10px;
        gap: 10px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, 
        rgba(10, 12, 16, 0.95) 0%, 
        rgba(26, 30, 37, 0.95) 50%, 
        rgba(18, 22, 32, 0.95) 100%);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 70%;
    overflow: auto;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(74, 108, 247, 0.5);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1001;
}

.modal-content.show {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(74, 108, 247, 0.5);
    padding-bottom: 10px;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(74, 108, 247, 0.5);
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #7b93ff;
    text-shadow: 0 0 10px rgba(123, 147, 255, 0.5);
}

.modal-body {
    text-align: center;
    font-weight: 300;
}

.contact-detail {
    background: linear-gradient(135deg, 
        rgba(74, 108, 247, 0.15) 0%, 
        rgba(123, 91, 230, 0.1) 100%);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(74, 108, 247, 0.4);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.contact-detail p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 300;
    word-break: break-all;
    color: #ffffff;
}

.copy-btn {
    background: linear-gradient(135deg, #4a6cf7 0%, #7b5be6 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
    font-size: 0.9rem;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.copy-btn:hover {
    background: linear-gradient(135deg, #7b93ff 0%, #9b7bff 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.copy-btn:disabled {
    background: linear-gradient(135deg, #4a5568 0%, #6a7a8a 100%);
    cursor: not-allowed;
    transform: none;
}

iframe {
    border-radius: 10px;
    margin-bottom: 15px;
    width: 100%;
    height: 300px;
}

/* 产品图片滚动样式 */
.product-gallery {
    position: fixed;
    bottom: 170px;
    left: 0;
    width: 100vw;
    overflow: hidden;
    height: 260px;
    z-index: 10;
}

.product-scroll {
    display: flex;
    animation: scroll 60s linear infinite;
    width: calc(158px * 30 + 30px * 29); /* 15个产品 x 2组 = 30个项目 */
    position: absolute;
    bottom: 0;
    left: 0;
}

.product-item {
    flex-shrink: 0;
    width: 158px;
    height: 220px;
    margin-right: 30px;
    text-align: center;
}

.product-item img {
    width: 158px;
    height: 174px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(74, 108, 247, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    margin-top: 0;
}

.product-item:hover img {
    margin-top: -10px;
    box-shadow: 
        0 8px 25px rgba(74, 108, 247, 0.4),
        0 0 10px rgba(123, 147, 255, 0.5),
        0 0 20px rgba(123, 147, 255, 0.3),
        0 0 30px rgba(123, 147, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.product-name {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 300;
    color: #7b93ff;
    text-shadow: 0 0 5px rgba(123, 147, 255, 0.3);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-158px * 15 - 30px * 15));
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-gallery {
        bottom: 160px;
        height: 200px;
    }

    .product-item {
        width: 120px;
        height: 180px;
        margin-right: 20px;
    }

    .product-item img {
        width: 120px;
        height: 132px;
    }

    .product-scroll {
        width: calc(120px * 30 + 20px * 29);
        animation: scrollMobile 50s linear infinite;
    }

    @keyframes scrollMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 15 - 20px * 15));
        }
    }

    .product-name {
        font-size: 0.75rem;
    }
}

/* 版权信息样式 */
.footer {
    position: fixed;
    bottom: 60px;
    left: 0;
    width: 100vw;
    z-index: 5;
    padding: 0;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 3px 0;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.icp {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(123, 147, 255, 0.6);
    margin: 0;
}

.icp a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icp a:hover {
    color: rgba(123, 147, 255, 0.9);
    text-shadow: 0 0 3px rgba(123, 147, 255, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer {
        bottom: 50px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .copyright {
        font-size: 0.75rem;
        margin: 0 0 2px 0;
    }
    
    .icp {
        font-size: 0.65rem;
    }
} 