/* ============================================
   AI短剧《我在寡妇村当老师》宣传落地页 样式
   文件：style.css
   说明：独立样式文件，负责页面全部视觉样式
   ============================================ */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面主体 */
body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(160deg, #0d1117 0%, #141a26 60%, #1a1028 100%);
    color: #e8eaf0;
    line-height: 1.7;
    min-height: 100vh;
}

/* 内容容器 */
.wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 32px;
}

/* 顶部徽标 */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #b8a3ff;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* 主标题 */
h1 {
    font-size: clamp(30px, 6vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #ff6ec4, #8b5cf6, #4cc9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 副标题 */
.subtitle {
    font-size: clamp(17px, 4vw, 22px);
    color: #c9ced8;
    margin-bottom: 12px;
    font-weight: 600;
}

/* 引导段落 */
.lead {
    font-size: 15px;
    color: #9aa3b2;
    margin-bottom: 36px;
}
.lead strong {
    color: #ff6ec4;
}

/* 区块间距 */
section {
    margin-bottom: 36px;
}

/* 二级标题 */
h2 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #f2f4f8;
    position: relative;
    padding-left: 14px;
}
h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    border-radius: 3px;
    background: linear-gradient(180deg, #ff6ec4, #8b5cf6);
}

/* 剧情简介段落 */
.desc p {
    margin-bottom: 14px;
    color: #c2c8d4;
    font-size: 15px;
}

/* 资源亮点卡片网格 */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* 单个资源卡片 */
.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 14px;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.5);
}
.card .icon {
    font-size: 30px;
    margin-bottom: 10px;
}
.card .title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}
.card .txt {
    font-size: 13px;
    color: #9aa3b2;
}

/* 用户好评区 */
.reviews {
    display: grid;
    gap: 14px;
}
.review {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
}
.rv-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.rv-name {
    font-weight: 700;
    color: #f2f4f8;
    font-size: 15px;
}
.rv-stars {
    color: #ffc53d;
    font-size: 14px;
    letter-spacing: 2px;
}
.rv-text {
    font-size: 14px;
    color: #c2c8d4;
}

/* 下载按钮区 */
.cta {
    text-align: center;
    margin: 40px 0;
}
.cta-top {
    margin: 24px 0 40px;
}
.cta .btn {
    display: inline-block;
    width: 100%;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(90deg, #ff416c, #ff6ec4, #8b5cf6);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    animation: pulse 2s infinite;
}
.cta .btn:hover {
    box-shadow: 0 12px 36px rgba(255, 110, 196, 0.5);
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
.cta .note {
    font-size: 13px;
    color: #9aa3b2;
    margin-top: 12px;
}

/* 图片展示区 */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.g-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}
.g-item img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.gallery-note {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-top: 10px;
}

/* 常见问题 FAQ 折叠样式 */
.faq {
    display: grid;
    gap: 12px;
}
.faq details {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
}
.faq summary {
    font-weight: 700;
    font-size: 15px;
    color: #f2f4f8;
    list-style: none;
    position: relative;
    padding-right: 26px;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b5cf6;
    font-size: 20px;
    font-weight: 800;
    transition: transform .2s ease;
}
.faq details[open] summary::after {
    content: "−";
}
.faq details p {
    margin-top: 10px;
    font-size: 14px;
    color: #c2c8d4;
}

/* 更多相关资源 */
.related ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px;
}
.related li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
}
.related a {
    color: #c9ced8;
    text-decoration: none;
    font-size: 14px;
    display: block;
    word-break: break-all;
    transition: color .2s ease;
}
.related a:hover {
    color: #ff6ec4;
}
@media (max-width: 480px) {
    .related ul { grid-template-columns: 1fr; }
}

/* 底部版权 */
footer {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-top: 20px;
    line-height: 1.8;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .cards { grid-template-columns: 1fr; }
    .wrap { padding: 36px 18px 24px; }
}