@charset "utf-8";
/*
    Theme Name: meimodu AI官网
    Theme URI: 
    Author: 阿叶
    Author URI: 
    Description:
    Version: 0.0.1
*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========== 导航 (daohang) ========== */
.mmd-dh {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 68px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 110, 151, 0.06);
}
.mmd-dh-nr {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.mmd-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.mmd-logo-tb {
    width: 38px; height: 38px; background: #ff6e97; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: white;
}
.mmd-logo-tb img {height:100%;width:100%}
.mmd-logo-wz { font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.mmd-logo-wz span { color: #ff6e97; }
.mmd-dhl { display: flex; gap: 2rem; }
.mmd-dhl a {
    color: #777; text-decoration: none; font-size: 0.88rem; font-weight: 500;
    transition: color 0.3s; position: relative;
}
.mmd-dhl a:hover { color: #ff6e97; }
.mmd-dh-an { display: flex; gap: 0.75rem; }
.mmd-an {
    padding: 0.55rem 1.3rem; border-radius: 10px; font-size: 0.85rem;
    font-weight: 600; cursor: pointer; transition: all 0.3s; border: none;
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.mmd-an-wx { background: transparent; border: 1px solid rgba(255,110,151,0.2); color: #ff6e97; }
.mmd-an-wx:hover { border-color: #ff6e97; background: rgba(255,110,151,0.06); }
.mmd-an-zy { background: #ff6e97; color: #0a0a0a; }
.mmd-an-zy:hover { box-shadow: 0 4px 20px rgba(255,110,151,0.35); transform: translateY(-1px); }
.mmd-cd-kg { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }

/* ========== 首页 (shouye) ========== */
.mmd-sy {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 100px 2rem 60px; text-align: center;
    position: relative; overflow: hidden;
}
.mmd-sy-bj { position: absolute; inset: 0; pointer-events: none; }
.mmd-sy-bj::before {
    content: ''; position: absolute;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255,110,151,0.1) 0%, transparent 65%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.mmd-sy-bj::after {
    content: ''; position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,110,151,0.06) 0%, transparent 70%);
    top: 20%; left: 30%;
}
.mmd-sy-nr { position: relative; z-index: 1; max-width: 720px; }
.mmd-sy-bq {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem; background: rgba(255,110,151,0.08);
    border: 1px solid rgba(255,110,151,0.12); border-radius: 50px;
    font-size: 0.78rem; color: #ff6e97; margin-bottom: 2rem;
}
.mmd-sy-bq::before {
    content: ''; width: 6px; height: 6px; background: #ff6e97;
    border-radius: 50%; animation: mmd-ms 2s infinite;
}
@keyframes mmd-ms { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.mmd-sy h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 800;
    line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1.5px; color: #fff;
}
.mmd-sy h1 .mmd-jb-wz {
    background: linear-gradient(135deg, #ff6e97, #ff9eb5);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mmd-sy-ms { font-size: 1.05rem; color: #777; margin-bottom: 2.5rem; line-height: 1.8; }
.mmd-sy-an { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; }
.mmd-sy-an-zy {
    padding: 0.85rem 2rem; border-radius: 12px; font-size: 0.95rem;
    font-weight: 600; cursor: pointer; transition: all 0.3s; border: none;
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #ff6e97; color: #0a0a0a;
}
.mmd-sy-an-zy:hover { box-shadow: 0 6px 24px rgba(255,110,151,0.4); transform: translateY(-2px); }
.mmd-sy-an-cy {
    padding: 0.85rem 2rem; border-radius: 12px; font-size: 0.95rem;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03);
    color: #ccc; text-decoration: none;
}
.mmd-sy-an-cy:hover { border-color: #ff6e97; color: #ff6e97; }
.mmd-sy-tj { display: flex; gap: 3rem; justify-content: center; }
.mmd-tj { display: flex; flex-direction: column; }
.mmd-tj-hm { font-size: 1.6rem; font-weight: 800; color: #ff6e97; line-height: 1; }
.mmd-tj-bq { font-size: 0.78rem; color: #555; margin-top: 0.3rem; }

/* 聊天展示 (liaotian) */
.mmd-sy-lt {
    margin-top: 4rem; position: relative; z-index: 1;
    max-width: 900px; width: 100%;
}
.mmd-sy-kp {
    background: #111; border: 1px solid rgba(255,110,151,0.08);
    border-radius: 20px; padding: 1.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.mmd-sy-kp-bt {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1rem; padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mmd-sy-tx {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #ff6e97, #ff9eb5);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: white;
}
.mmd-sy-kp-xx h4 { font-size: 0.9rem; color: #fff; }
.mmd-sy-kp-xx span { font-size: 0.75rem; color: #555; }
.mmd-lt-hx {
    display: flex; gap: 1rem; align-items: flex-end;
}
.mmd-lt-qp {
    background: #1a1a1a; border-radius: 14px; padding: 0.8rem 1rem;
    font-size: 0.85rem; color: #ddd; max-width: 280px;
}
.mmd-lt-qp.ai { background: rgba(255,110,151,0.06); border: 1px solid rgba(255,110,151,0.08); }
.mmd-lt-qp.ss::after { content: '...'; animation: mmd-ss 1.5s infinite; }
@keyframes mmd-ss { 0%,100%{opacity:.3} 50%{opacity:1} }
.mmd-lt-qp:nth-child(1) { align-self: flex-start; }
.mmd-lt-qp:nth-child(2) { align-self: flex-end; }
.mmd-lt-qp:nth-child(3) { align-self: flex-start; }
.mmd-lt-qp:nth-child(4) { align-self: flex-end; }

/* ========== 通用标题 (biaoti) ========== */
.mmd-bk-bt { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.mmd-bk-bq {
    display: inline-block; padding: 0.35rem 1rem;
    background: rgba(255,110,151,0.08); border: 1px solid rgba(255,110,151,0.1);
    border-radius: 50px; font-size: 0.78rem; color: #ff6e97; margin-bottom: 0.8rem;
}
.mmd-bk-bt h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800;
    margin-bottom: 0.8rem; letter-spacing: -0.5px; color: #fff;
}
.mmd-bk-ms { color: #777; font-size: 0.95rem; }

/* ========== 产品介绍 (chanpin) - 4列网格 ========== */
.mmd-cp { padding: 80px 2rem; background: #0e0e0e; }
.mmd-cp-wg {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1200px; margin: 0 auto;
}
.mmd-cp-tp { 
    border-radius: 16px; overflow: hidden; position: relative;
}
.mmd-cp-tp::after {
    content: ''; position: absolute; inset: 0; border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.04); pointer-events: none;
    transition: border-color 0.3s;
}
.mmd-cp-tp:hover::after { border-color: rgba(255,110,151,0.25); }
.mmd-cp-tp img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.5s;
}
.mmd-cp-tp:hover img { transform: scale(1.05); }

/* ========== 功能特色 (gongneng) ========== */
.mmd-gn { padding: 100px 2rem; }
.mmd-gn-wg {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    max-width: 1000px; margin: 0 auto;
}
.mmd-gn-xm {
    background: #111; border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px; padding: 2rem; transition: all 0.3s;
    position: relative; overflow: hidden;
}
.mmd-gn-xm::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: linear-gradient(90deg, transparent, #ff6e97, transparent);
    opacity: 0; transition: opacity 0.3s;
}
.mmd-gn-xm:hover { border-color: rgba(255,110,151,0.15); transform: translateY(-4px); }
.mmd-gn-xm:hover::before { opacity: 1; }
/* 大卡片 */
.mmd-gn-xm.mmd-dp .mmd-gn-nr { display: flex; gap: 1.5rem; align-items: flex-start; }
.mmd-gn-xm.mmd-dp .mmd-gn-tb { margin-bottom: 0; flex-shrink: 0; }
.mmd-gn-xm.mmd-dp .mmd-gn-wb { flex: 1; }
/* 小卡片 */
.mmd-gn-xm.mmd-xp { padding: 1.5rem; }
.mmd-gn-tb {
    width: 48px; height: 48px; background: rgba(255,110,151,0.08);
    border: 1px solid rgba(255,110,151,0.12); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #ff6e97; margin-bottom: 1rem;
}
.mmd-gn-xm h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: #fff; }
.mmd-gn-xm p { color: #777; font-size: 0.85rem; line-height: 1.7; }

/* ========== 使用指南 (shiyong) ========== */
.mmd-syzn { padding: 100px 2rem; background: #0e0e0e; }
.mmd-sx {
    max-width: 600px; margin: 0 auto; position: relative;
    padding-left: 60px;
}
.mmd-sx::before {
    content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(180deg, transparent, rgba(255,110,151,0.3), rgba(255,110,151,0.3), transparent);
}
.mmd-sx-xm { position: relative; margin-bottom: 3rem; }
.mmd-sx-xm:last-child { margin-bottom: 0; }
.mmd-sx-hm {
    position: absolute; left: -60px; top: 0;
    width: 50px; height: 50px; background: #111;
    border: 2px solid rgba(255,110,151,0.2); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #ff6e97; z-index: 1;
}
.mmd-sx-xm h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #fff; }
.mmd-sx-xm p { color: #777; font-size: 0.9rem; line-height: 1.7; }

/* ========== 常见问题 (wenti) ========== */
.mmd-wt { padding: 100px 2rem; }
.mmd-wt-lb { max-width: 720px; margin: 0 auto; }
.mmd-wt-xm {
    background: #111; border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px; margin-bottom: 0.6rem; overflow: hidden;
    transition: all 0.3s;
}
.mmd-wt-xm:hover { border-color: rgba(255,110,151,0.12); }
.mmd-wt-xm.mmd-active { border-color: rgba(255,110,151,0.25); }
.mmd-wt-wt {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; cursor: pointer; gap: 1rem;
}
.mmd-wt-wt-l { display: flex; align-items: center; gap: 0.6rem; }
.mmd-wt-wt-l i { font-size: 1rem; color: #ff6e97; }
.mmd-wt-wt-l h4 { font-size: 0.9rem; font-weight: 600; color: #ddd; }
.mmd-wt-jt {
    width: 28px; height: 28px; background: rgba(255,110,151,0.06);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all 0.3s;
}
.mmd-wt-jt i { font-size: 1.1rem; color: #ff6e97; transition: transform 0.3s; }
.mmd-wt-xm.mmd-active .mmd-wt-jt { background: #ff6e97; }
.mmd-wt-xm.mmd-active .mmd-wt-jt i { color: #0a0a0a; transform: rotate(180deg); }
.mmd-wt-da { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.mmd-wt-da-nr { padding: 0 1.25rem 1rem 2.8rem; color: #777; font-size: 0.85rem; line-height: 1.7; }
.mmd-wt-xm.mmd-active .mmd-wt-da { max-height: 300px; }

/* ========== 用户评论 (pinglun) ========== */
.mmd-pl { padding: 100px 2rem; background: #0e0e0e; }
.mmd-pl-wg {
    max-width: 1000px; margin: 0 auto;
}
.mmd-pl-kp {
    margin-bottom: 15px;
    background: #111; border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px; padding: 1.8rem; transition: all 0.3s;
    position: relative; display: flex; flex-direction: column;
}
.mmd-pl-kp:first-child { grid-row: 1 / 3; }
.mmd-pl-kp:hover { border-color: rgba(255,110,151,0.12); transform: translateY(-3px); }
.mmd-pl-xx { color: #ff6e97; margin-bottom: 0.8rem; font-size: 0.9rem; }
.mmd-pl-wz { color: #888; font-size: 0.88rem; line-height: 1.8; margin-bottom: 1.2rem; font-style: italic; flex: 1; }
.mmd-pl-zz { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.mmd-pl-tx {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #ff6e97, #ff9eb5);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem; color: #0a0a0a;
}
.mmd-pl-zz-xx h4 { font-size: 0.85rem; color: #ddd; }
.mmd-pl-zz-xx span { font-size: 0.75rem; color: #555; }

/* ========== 号召 (haozhao) ========== */
.mmd-hz {
    padding: 100px 2rem; position: relative; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.03);
}
.mmd-hz::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,110,151,0.06) 0%, transparent 55%);
}
.mmd-hz-nr {
    max-width: 600px; margin: 0 auto; text-align: center;
    position: relative; z-index: 1;
}
.mmd-hz h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
    margin-bottom: 0.8rem; color: #fff;
}
.mmd-hz p { color: #777; font-size: 0.95rem; margin-bottom: 2rem; }
.mmd-hz-an { display: flex; gap: 1rem; justify-content: center; }

/* ========== 底部 (dibu) ========== */
.mmd-db { padding: 24px 2rem; border-top: 1px solid rgba(255,255,255,0.04); }
.mmd-db-nr { max-width: 1200px; margin: 0 auto; }
.mmd-db-wz { display: flex; justify-content: space-between; align-items: center; }
.mmd-db-bq { color: #444; font-size: 0.8rem; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .mmd-cp-wg { grid-template-columns: repeat(2, 1fr); }
    .mmd-gn-wg { grid-template-columns: 1fr; }
    .mmd-gn-xm.mmd-dp .mmd-gn-nr { flex-direction: column; }
    .mmd-gn-xm.mmd-dp .mmd-gn-tb { margin-bottom: 1rem; }
    .mmd-pl-wg { grid-template-columns: 1fr; }
    .mmd-pl-kp:first-child { grid-row: auto; }
}

/* 移动端产品介绍横向滑动 */
@media (max-width: 768px) {
    .mmd-dhl { display: none; }
    .mmd-dh-an .mmd-an { display: none; }
    .mmd-cd-kg { display: block; }
    .mmd-sy { padding: 100px 1.5rem 40px; }
    .mmd-sy-lt { display: none; }
    .mmd-sy-an { flex-direction: column; align-items: center; }
    .mmd-sy-an-zy, .mmd-sy-an-cy { width: 100%; justify-content: center; }
    .mmd-sy-tj { gap: 1.5rem; }

    /* 产品介绍横向滑动 */
    .mmd-cp { padding: 60px 0 60px 1.5rem; }
    .mmd-cp-wg {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-right: 1.5rem;
    }
    .mmd-cp-wg::-webkit-scrollbar { display: none; }
    .mmd-cp-tp {
        flex: 0 0 calc(60% - 0.5rem);
        scroll-snap-align: start;
        aspect-ratio: 3/4;
    }
    .mmd-cp-tp:last-child {
        margin-right: 1.5rem;
    }

    .mmd-gn, .mmd-syzn, .mmd-wt, .mmd-pl, .mmd-hz { padding: 60px 1.5rem; }
    .mmd-db-wz { flex-direction: column; text-align: center; gap: 0.8rem; }
}

@media (max-width: 480px) {
    .mmd-cp-tp {
        flex: 0 0 calc(65% - 0.5rem);
    }
}