/* ============================================================
   2033AI 官网 - 静态复刻版
   从阿里云建站迁移为纯静态 HTML/CSS/JS
   ============================================================ */

:root {
    --color-dark: #13131b;        /* 页头背景 */
    --color-title: #13163e;       /* 大标题 */
    --color-text: #777777;        /* 卡片描述 */
    --color-desc: #666666;        /* 正文描述 */
    --color-blue: #0487f9;        /* Self-Model 标签 */
    --color-footer-bg: #444444;   /* 页脚背景 */
    --container-w: 1200px;
    --font-sans: 'Source Han Sans CN', 'Source Han Sans', 'Noto Sans SC',
        'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: #333;
    background: #fff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: var(--container-w);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* ============ 页头 ============ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 64px;
    background-color: var(--color-dark);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 64px;
}

.logo-link img {
    display: block;
    width: 208px;
    height: 31px;
}

/* ============ 首屏 ============ */

.hero {
    height: 555px;
    background: #02030a url('../images/hero-bg.png') no-repeat bottom center;
    background-size: cover;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hero-content {
    padding-top: 202px;
    text-align: center;
}

.hero-logo {
    display: block;
    width: 380px;
    height: 56px;
    margin: 0 auto;
}

.hero-slogan {
    margin-top: 15px;
    font-size: 20px;
    color: #dddddd;
    letter-spacing: 2px;
}

/* ============ 三大自研模型 ============ */

.models {
    background: #fff;
    padding: 74px 0 64px;
}

.section-label {
    text-align: center;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-blue);
}

.section-title {
    margin-top: 10px;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: var(--color-title);
    line-height: 1.1;
}

.model-cards {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 34px;
}

.model-card {
    width: 370px;
    max-width: 100%;
    text-align: center;
}

.model-icon {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.model-icon img {
    width: 198px;
    height: 198px;
    transition: transform .4s ease;
}

.model-card:hover .model-icon img {
    transform: scale(1.3);
}

.model-name {
    margin-top: 14px;
    font-size: 20px;
    font-weight: bold;
    color: #101127;
}

.model-desc {
    margin-top: 6px;
    font-size: 16px;
    color: var(--color-text);
    line-height: 2;
    padding: 0 24px;
}

/* ============ NYXverse 预告 ============ */

.nyxverse {
    background: #fff;
    padding: 40px 0 20px;
}

.nyxverse-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 53px;
}

.nyxverse-logo {
    width: 148px;
    height: 148px;
    flex: none;
}

.nyxverse-title {
    font-family: 'Microsoft YaHei', var(--font-sans);
    font-size: 40px;
    font-weight: bold;
    color: var(--color-title);
    line-height: 1;
}

/* ============ NutNut 产品 ============ */

.nutnut {
    background: #fff;
    padding: 72px 0 90px;
}

.nutnut-inner {
    display: flex;
    justify-content: center;
    gap: 68px;
}

.nutnut-visual {
    flex: none;
}

.nutnut-visual img {
    display: block;
    width: 588px;
    height: 538px;
    max-width: 100%;
    object-fit: cover;
}

.nutnut-info {
    width: 518px;
    max-width: 100%;
    margin-top: 31px;
}

.nutnut-title {
    font-family: 'Microsoft YaHei', var(--font-sans);
    font-size: 40px;
    font-weight: bold;
    color: var(--color-title);
    line-height: 1;
}

.nutnut-desc {
    margin-top: 20px;
    font-size: 16px;
    color: var(--color-desc);
    line-height: 2;
}

.nutnut-download {
    display: inline-block;
    margin-top: 29px;
}

.nutnut-download img {
    display: block;
    width: 150px;
    height: 52px;
    transition: transform .3s ease;
}

.nutnut-download:hover img {
    transform: translateY(-2px);
}

.nutnut-features {
    margin-top: 37px;
}

.nutnut-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
}

.nutnut-features li:last-child {
    margin-bottom: 0;
}

.nutnut-features img {
    width: 21px;
    height: 21px;
    flex: none;
}

/* 下载统计卡片 */
.download-stats {
    margin-top: 17px;
    padding: 24px;
    max-width: 420px;
    background: #f8f9fa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    font-size: 17px;
    color: #444;
    line-height: 1.6;
}

.stat-num {
    display: inline-block;
    margin-left: 8px;
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

/* ============ 页脚 ============ */

.site-footer {
    background-color: var(--color-footer-bg);
    padding: 85px 0 60px;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    flex: none;
    margin-right: 186px;
    padding-top: 6px;
}

.footer-logo img {
    display: block;
    width: 158px;
    height: 107px;
}

.contact-title {
    font-size: 16px;
    font-weight: normal;
    color: #dddddd;
    line-height: 1.5;
}

.contact-item {
    margin-top: 9px;
    font-size: 14px;
    color: #dddddd;
    line-height: 1.75;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.contact-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dddddd;
}

.contact-item a:hover {
    color: #fff;
}

.contact-icon {
    flex: none;
    color: #dddddd;
}

.contact-label {
    white-space: pre;
}

.footer-copyright {
    margin-top: 22px;
    font-size: 14px;
    color: #bbbbbb;
    line-height: 1.75;
}

.footer-copyright a {
    color: #bbbbbb;
}

.footer-copyright a:hover {
    color: #fff;
}

/* ============ 子页面（协议/政策/资质） ============ */

.subpage {
    padding-top: 66px; /* fixed 页头 64px + 2px */
    background: #fff;
    min-height: 60vh;
}

.doc-content {
    width: 1183px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8px 48px;
    color: #555555;
    /* 与原站一致：p 默认 12px，实际文字大小由内联 span 控制，
       空段落（&nbsp;）也按 12px 渲染，保持原版段落间距 */
    font-size: 12px;
    line-height: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 建站工具会把标题 reset 为常规字重，文字大小由内联样式控制 */
.doc-content h1,
.doc-content h2 {
    font-size: 24px;
    font-weight: 400;
}

/* ---- ICP 资质展示页 ---- */

.subpage-icp {
    background: #fff url('../images/page-bg.jpg') no-repeat center top;
    background-size: cover;
}

.icp-tab {
    margin: 27px auto 0;
    width: max-content;
    max-width: 90%;
    height: 45px;
    background: #ff9900;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 45px;
    padding: 0 48px;
    font-family: 'Noto Sans CJK SC', 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
}

.icp-img {
    display: block;
    width: 800px;
    max-width: 100%;
    height: auto;
    margin: 62px auto 0;
}

.icp-img + .icp-img {
    margin-top: 61px;
}

.subpage-icp .container {
    padding-bottom: 130px;
}

/* ============ 响应式 ============ */

@media (max-width: 1240px) {
    .model-cards {
        gap: 20px;
    }

    .model-card {
        width: 340px;
    }

    .nutnut-inner {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .nutnut-inner {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .nutnut-info {
        margin-top: 0;
    }

    .nutnut-visual img {
        width: 480px;
        height: 440px;
    }

    .footer-logo {
        margin-right: 80px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .subpage {
        padding-top: 66px;
    }

    .doc-content {
        padding: 0 8px 40px;
    }

    .doc-content h1,
    .doc-content h2 {
        font-size: 20px;
    }

    .icp-tab {
        padding: 0 24px;
    }

    .icp-img {
        margin-top: 32px;
    }

    .icp-img + .icp-img {
        margin-top: 30px;
    }

    .subpage-icp .container {
        padding-bottom: 64px;
    }

    .logo-link img {
        width: 168px;
        height: 25px;
    }

    .hero {
        height: 420px;
    }

    .hero-content {
        padding-top: 140px;
    }

    .hero-logo {
        width: 280px;
        height: 41px;
    }

    .hero-slogan {
        margin-top: 12px;
        font-size: 16px;
    }

    .models {
        padding: 48px 0 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .model-cards {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 24px;
    }

    .model-card {
        width: 100%;
    }

    .model-icon {
        height: 170px;
    }

    .model-icon img {
        width: 160px;
        height: 160px;
    }

    .model-desc {
        padding: 0 12px;
    }

    .nyxverse {
        padding: 32px 0 16px;
    }

    .nyxverse-inner {
        flex-direction: column;
        gap: 20px;
    }

    .nyxverse-logo {
        width: 110px;
        height: 110px;
    }

    .nyxverse-title {
        font-size: 24px;
        text-align: center;
    }

    .nutnut {
        padding: 40px 0 56px;
    }

    .nutnut-visual img {
        width: 100%;
        height: auto;
        aspect-ratio: 588 / 538;
    }

    .nutnut-title {
        font-size: 28px;
    }

    .nutnut-desc {
        font-size: 15px;
    }

    .download-stats {
        font-size: 15px;
    }

    .site-footer {
        padding: 48px 0 40px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin-right: 0;
        margin-bottom: 32px;
        padding-top: 0;
    }

    .contact-item {
        justify-content: center;
    }
}
