/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Helvetica Neue", Helvetica, Tahoma, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* 头部导航 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: none;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: #000000;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #000000, #666666);
}

.nav-link:hover {
    color: #000000;
}

.github-img {
    height: 20px;
    margin-top: 4px;
}

/* 标题容器 */
.title-container {
    text-align: center;
    margin: 60px 0;
}

h1 {
    font-size: 3.5rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.3rem;
    color: #666666;
    margin-bottom: 40px;
    font-weight: 300;
}

/* 下载区域 */
.download-section {
    text-align: center;
    margin: 60px 0;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: linear-gradient(145deg, #000000, #1a1a1a);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-btn:hover::before {
    width: 300px;
    height: 300px;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.download-btn.mac {
    background: linear-gradient(145deg, #333333, #1a1a1a);
}

.download-btn.mac:hover {
    background: linear-gradient(145deg, #4a4a4a, #2a2a2a);
}

/* 章节标题 */
.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000000;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* 功能特性区域 */
.features-section {
    margin: 80px 0;
}

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

.feature-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: #cccccc;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(145deg, #000000, #333333);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-title {
    font-size: 1.35rem;
    color: #000000;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* 产品展示区域 */
.showcase-section {
    margin: 100px 0;
}

/* 精简架构区域 */
.architecture-section {
    margin: 100px 0;
}

.architecture-diagram {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.architecture-diagram img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12),
    0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.architecture-diagram img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18),
    0 5px 20px rgba(0, 0, 0, 0.12);
}

.architecture-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.arch-feature-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.arch-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.arch-feature-card:hover::before {
    left: 100%;
}

.arch-feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: #cccccc;
}

.arch-feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #000000, #333333);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.arch-feature-card:hover .arch-feature-icon {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.arch-feature-title {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 700;
}

.arch-feature-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* 信创支持区域 */
.xinchuang-section {
    margin: 100px 0;
}

.section-description {
    margin-bottom: 50px;
}

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

.xinchuang-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.xinchuang-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.xinchuang-card:hover::before {
    left: 100%;
}

.xinchuang-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: #cccccc;
}

.xinchuang-icon {
    width: 64px;
    height: 64px;
    background: unset;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    transition: all 0.3s ease;
}


.xinchuang-title {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 12px;
    font-weight: 700;
}

.xinchuang-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.showcase-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.showcase-item:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-image {
    flex: 1;
    position: relative;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15),
    0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2),
    0 5px 20px rgba(0, 0, 0, 0.15);
}

.showcase-content {
    flex: 1;
}

.showcase-badge {
    display: inline-block;
    background: linear-gradient(145deg, #000000, #333333);
    color: white;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.showcase-title {
    font-size: 1.9rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.showcase-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.showcase-features {
    list-style: none;
}

.showcase-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.showcase-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 网格背景 */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(45deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px,
    50px 50px,
    25px 25px;
    background-position: 0 0,
    0 0,
    25px 25px;
    overflow: hidden;
}

/* 几何形状漂浮动画 */
.shape {
    position: absolute;
    border-radius: 20%;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.06), rgba(128, 128, 128, 0.08));
    animation: drift 20s infinite linear;
    backdrop-filter: blur(3px);
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.5),
    0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.shape:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 5%;
    animation-duration: 20s;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 25%;
    left: 85%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 70%;
    left: 10%;
    animation-duration: 22s;
    animation-delay: 1s;
}

.shape:nth-child(4) {
    width: 50px;
    height: 50px;
    top: 60%;
    left: 75%;
    animation-duration: 16s;
    animation-delay: 3s;
}

.shape:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 40%;
    left: 45%;
    animation-duration: 24s;
    animation-delay: 4s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(40px, 60px) rotate(90deg);
    }
    50% {
        transform: translate(0, 120px) rotate(180deg);
    }
    75% {
        transform: translate(-40px, 60px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* 微光点 */
.glow-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4), rgba(128, 128, 128, 0.2));
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
    animation: pulse 6s infinite ease-in-out;
}

.glow-dot:nth-child(6) {
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.glow-dot:nth-child(7) {
    top: 80%;
    left: 75%;
    animation-delay: 1.5s;
}

.glow-dot:nth-child(8) {
    top: 45%;
    left: 50%;
    animation-delay: 2.5s;
}

.glow-dot:nth-child(9) {
    top: 70%;
    left: 20%;
    animation-delay: 3.5s;
}

.glow-dot:nth-child(10) {
    top: 25%;
    left: 80%;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* 页脚 */
footer {
    text-align: center;
    padding: 40px 0 30px;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

.footer-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
}

.wechat-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wechat-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 微信二维码放大弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 10% auto;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 16px;
    width: 500px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #666;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #000;
    transform: rotate(90deg);
}

.modal-wechat-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.modal-text {
    margin-top: 20px;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.email-label {
    color: #666;
}

.email-link {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000000;
    transition: width 0.3s ease;
}

.email-link:hover {
    color: #333333;
}

.email-link:hover::after {
    width: 100%;
}

.icp-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #777;
}

.icp-link {
    color: #777;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.icp-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #777;
    transition: width 0.3s ease;
}

.icp-link:hover {
    color: #000000;
}

.icp-link:hover::after {
    width: 100%;
}

.icp-divider {
    color: #ccc;
}

.police-info {
    color: #777;
}

.copyright {
    margin: 0;
    color: #888;
    font-size: 0.85rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .xinchuang-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .architecture-section {
        padding: 40px 20px;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .icp-info {
        flex-direction: column;
        gap: 8px;
    }

    .icp-divider {
        display: none;
    }

    .modal-wechat-img {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 968px) {
    .showcase-item,
    .showcase-item:nth-child(even) {
        flex-direction: column;
    }

    .showcase-image {
        width: 100%;
    }

    .showcase-content {
        width: 100%;
        text-align: center;
    }

    .showcase-title {
        font-size: 1.5rem;
    }
}
