/* ==========================================================================
   Seele AI - 全部样式表
   品牌：Seele AI | AI情感陪伴产品
   ========================================================================== */

/* ======================== CSS 变量定义 ======================== */
:root {
    /* 主题色 */
    --color-primary: #6C5CE7;
    --color-primary-light: #A29BFE;
    --color-primary-dark: #5546D9;
    --color-accent: #FD79A8;
    --color-accent-light: #FDCBE5;
    --color-cyan: #00CEC9;
    --color-gold: #FDCB6E;

    /* 背景色 */
    --bg-dark: #0F0E17;
    --bg-dark-2: #1A1A2E;
    --bg-card: #1E1E32;
    --bg-card-hover: #25254A;
    --bg-overlay: rgba(15, 14, 23, 0.85);

    /* 文字色 */
    --text-primary: #FFFFFF;
    --text-secondary: #C8C8D8;
    --text-muted: #8888A0;
    --text-dim: #5A5A72;

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    --gradient-accent: linear-gradient(135deg, #FD79A8 0%, #FDCB6E 100%);
    --gradient-mix: linear-gradient(135deg, #6C5CE7 0%, #FD79A8 100%);
    --gradient-hero: linear-gradient(160deg, #0F0E17 0%, #1A1A2E 50%, #1E1E32 100%);

    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

    /* 间距 */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-2xl: 7rem;

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.3);

    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* 容器宽度 */
    --container-max: 1200px;

    /* 导航栏高度 */
    --nav-height: 70px;
}

/* ======================== 全局重置 ======================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* ======================== 通用工具类 ======================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(108, 92, 231, 0.15);
    color: var(--color-primary-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--color-primary-light);
    background: rgba(108, 92, 231, 0.1);
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}

.btn-light {
    background: #fff;
    color: var(--bg-dark);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ======================== Header / 导航栏 ======================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    display: flex;
    align-items: center;
}

.header.scrolled {
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-icon {
    color: var(--color-primary-light);
    font-size: 1.3rem;
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.logo-footer .logo-img {
    height: 44px;
}

/* 移动端专用下载按钮 - 桌面端隐藏 */
.btn-download-mobile {
    display: none;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ======================== Hero 首屏 ======================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 2rem) 0 var(--space-xl);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-bg-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    bottom: -50px;
    right: 10%;
    animation-delay: 2s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--color-cyan);
    top: 40%;
    right: -50px;
    animation-delay: 4s;
    opacity: 0.15;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    color: var(--color-primary-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.gradient-text {
    background: var(--gradient-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.hero-features {
    margin-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hero-features li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero 视觉区域 */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-roles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.role-avatar {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
}

/* 角色头像 - 400x400px */
.role-avatar-1 {
    background: url('assets/role01.webp') center/cover no-repeat;
    top: 5%;
    left: 0;
    animation: floatAvatar 4s ease-in-out infinite;
}

.role-avatar-2 {
    background: url('assets/role02.webp') center/cover no-repeat;
    top: 10%;
    right: 5%;
    animation: floatAvatar 4s ease-in-out infinite 1s;
}

.role-avatar-3 {
    background: url('assets/role03.webp') center/cover no-repeat;
    bottom: 15%;
    left: 8%;
    animation: floatAvatar 4s ease-in-out infinite 2s;
}

.role-avatar-4 {
    background: url('assets/role04.webp') center/cover no-repeat;
    bottom: 5%;
    right: 0;
    animation: floatAvatar 4s ease-in-out infinite 3s;
}

@keyframes floatAvatar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 聊天演示框 */
.chat-demo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    background: rgba(30, 30, 50, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-mix);
    flex-shrink: 0;
}

.chat-name {
    display: flex;
    flex-direction: column;
}

.chat-name strong {
    font-size: 0.95rem;
}

.chat-name span {
    font-size: 0.75rem;
    color: var(--color-cyan);
}

.chat-name span::before {
    content: '●';
    margin-right: 4px;
}

.chat-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 280px;
}

.chat-message {
    max-width: 80%;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.6;
    animation: chatFadeIn 0.5s ease forwards;
    opacity: 0;
}

.chat-message:nth-child(1) { animation-delay: 0.3s; }
.chat-message:nth-child(2) { animation-delay: 0.8s; }
.chat-message:nth-child(3) { animation-delay: 1.3s; }

@keyframes chatFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message-ai {
    align-self: flex-start;
    background: rgba(108, 92, 231, 0.2);
    border-bottom-left-radius: 4px;
}

.chat-message-user {
    align-self: flex-end;
    background: var(--gradient-primary);
    border-bottom-right-radius: 4px;
}

.chat-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-input span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.chat-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.chat-send:hover {
    transform: scale(1.1);
}

/* ======================== 产品展示 ======================== */
.showcase {
    background: var(--bg-dark-2);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.showcase-item {
    text-align: center;
}

/* 产品截图 - 竖版手机截图展示 */
.showcase-image {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* 底部渐变遮罩 + 标题文字 */
.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(15, 14, 23, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
}

.showcase-caption {
    color: #F0EFFF;
    font-size: 1rem;
    font-weight: 600;
}

.showcase-image-1 { background: url('assets/show1.jpg') center/cover no-repeat; }
.showcase-image-2 { background: url('assets/show2.jpg') center/cover no-repeat; }
.showcase-image-3 { background: url('assets/show3.jpg') center/cover no-repeat; }
.showcase-image-4 { background: url('assets/show4.jpg') center/cover no-repeat; }

.showcase-item:hover .showcase-image {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ======================== 角色世界 ======================== */
.characters {
    background: var(--bg-dark);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.character-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.character-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 92, 231, 0.3);
}

/* 角色头像 - 圆角缩小 */
.character-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: block;
    margin: var(--space-md) auto 0;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.character-avatar-1 { background: url('assets/role01.webp') center/cover no-repeat; }
.character-avatar-2 { background: url('assets/role02.webp') center/cover no-repeat; }
.character-avatar-3 { background: url('assets/role03.webp') center/cover no-repeat; }
.character-avatar-4 { background: url('assets/role04.webp') center/cover no-repeat; }

.character-avatar::after {
    content: attr(title);
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.character-info {
    padding: var(--space-md);
}

.character-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.character-tags {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-primary-light);
    margin-bottom: 0.6rem;
}

.character-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.character-link {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
    transition: var(--transition);
}

.character-link:hover {
    color: var(--color-accent-light);
    letter-spacing: 0.02em;
}

/* ======================== 核心功能 ======================== */
.features {
    background: var(--bg-dark-2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: rgba(108, 92, 231, 0.12);
    border-radius: var(--radius-md);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ======================== 自定义角色创建 ======================== */
.customize {
    background: var(--bg-dark);
}

.customize-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

/* 角色创建面板占位 */
.customize-panel {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}

.panel-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--space-md);
}

.panel-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 40px;
}

.panel-slider {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.panel-slider span {
    display: block;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.panel-tag {
    text-align: center;
    margin-top: var(--space-md);
    padding: 0.6rem;
    background: rgba(108, 92, 231, 0.12);
    border-radius: var(--radius-sm);
    color: var(--color-primary-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.customize-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.step-item {
    position: relative;
    padding-left: 3.5rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ======================== 用户评价 ======================== */
.testimonials {
    background: var(--bg-dark-2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* 用户头像占位 - 建议真实尺寸 80x80px */
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-avatar-1 { background: url('assets/avatar01.jpg') center/cover no-repeat; }
.testimonial-avatar-2 { background: url('assets/avatar02.jpg') center/cover no-repeat; }
.testimonial-avatar-3 { background: url('assets/avatar03.gif') center/cover no-repeat; }
.testimonial-avatar-4 { background: url('assets/avatar04.jpg') center/cover no-repeat; }
.testimonial-avatar-5 { background: url('assets/avatar05.jpg') center/cover no-repeat; }
.testimonial-avatar-6 { background: url('assets/avatar06.jpg') center/cover no-repeat; }

.testimonial-meta {
    display: flex;
    flex-direction: column;
}

.testimonial-meta strong {
    font-size: 0.9rem;
}

.testimonial-meta span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ======================== FAQ 常见问题 ======================== */
.faq {
    background: var(--bg-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(108, 92, 231, 0.2);
}

.faq-item.active {
    border-color: rgba(108, 92, 231, 0.4);
    box-shadow: var(--shadow-glow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-primary-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary-light);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ======================== CTA 行动号召 ======================== */
.cta-section {
    padding: var(--space-2xl) 0;
    background: var(--gradient-mix);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: #fff;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ======================== 页脚 ======================== */
.footer {
    background: var(--bg-dark);
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-brand .logo {
    margin-bottom: var(--space-sm);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ======================== 返回顶部 ======================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ======================== 滚动动画 ======================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ======================== 响应式 - 平板 (max-width: 992px) ======================== */
@media (max-width: 992px) {
    :root {
        --space-2xl: 5rem;
        --space-xl: 4rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .hero-features {
        align-items: center;
    }

    .hero-features li {
        text-align: left;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }

    .characters-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .customize-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-desc {
        max-width: 100%;
    }
}

/* ======================== 响应式 - 移动端 (max-width: 768px) ==================== */
@media (max-width: 768px) {
    :root {
        --space-2xl: 4rem;
        --space-xl: 3rem;
        --space-lg: 2rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    /* 导航栏移动端折叠 */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-dark-2);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: calc(var(--nav-height) + 1rem) var(--space-md) var(--space-md);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-link::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions .btn-sm {
        display: none;
    }

    .btn-download-mobile {
        display: inline-flex;
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }

    /* 遮罩层 */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        max-width: 100%;
    }

    .role-avatar {
        width: 55px;
        height: 55px;
    }

    .characters-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-desc {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .back-to-top {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 42px;
        height: 42px;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.2rem;
    }

    .faq-answer p {
        font-size: 0.88rem;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .showcase-image {
        aspect-ratio: 9 / 16;
    }
}

/* ======================== 响应式 - 小屏移动端 (max-width: 480px) ==================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-badge {
        font-size: 0.78rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .chat-demo {
        max-width: 100%;
    }

    .role-avatar {
        width: 45px;
        height: 45px;
    }
}

/* ======================== 法律页面（隐私政策/服务条款）======================== */
.legal-section {
    background: var(--bg-dark);
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.9;
}

.legal-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content p {
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--space-sm);
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.legal-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary-light);
    font-size: 1.2rem;
    line-height: 1;
}

.legal-list strong {
    color: var(--text-primary);
}

.legal-link {
    color: var(--color-primary-light);
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--color-accent);
}

/* 法律页面移动端适配 */
@media (max-width: 768px) {
    .legal-title {
        font-size: 1.7rem;
    }

    .legal-heading {
        font-size: 1.1rem;
    }

    .legal-content p,
    .legal-list li {
        font-size: 0.88rem;
    }
}
