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

:root {
    /* 马卡龙色系 */
    --bg-color: #FFF5F7;
    --bg-secondary: #FFE4EC;
    --card-bg: #FFFFFF;
    --text-primary: #5A4A4A;
    --text-secondary: #8B7A7A;
    --text-muted: #B8A8A8;
    --accent-color: #FF8FAB;
    --accent-light: #FFE4EC;
    --accent-secondary: #B5E4F0;
    --accent-tertiary: #FFF4BD;
    --accent-quaternary: #C9E4DE;
    --border-color: #FFE4EC;
    --shadow: 0 4px 20px rgba(255, 143, 171, 0.15);
    --radius: 20px;
    --radius-sm: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 245, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.beta-badge {
    font-size: 11px;
    padding: 3px 8px;
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: 12px;
    font-weight: 500;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.login-btn {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    background: var(--accent-light);
}

.login-btn:hover {
    background: var(--accent-color);
    color: white;
}

/* 公告横幅 */
.announcement-bar {
    background: linear-gradient(135deg, #FFF4BD 0%, #FFE4EC 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 24px;
}

.announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.announcement-tag {
    font-size: 12px;
    padding: 4px 10px;
    background: #FF8FAB;
    color: white;
    border-radius: 12px;
    font-weight: 600;
}

.announcement-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.announcement-link {
    font-size: 14px;
    color: #FF6B9D;
    text-decoration: none;
    font-weight: 600;
}

/* Hero区域 */
.hero {
    padding: 80px 24px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-color) 0%, #FFF0F3 100%);
}

.hero-container {
    max-width: 680px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 20px;
    padding: 6px 14px;
    background: var(--accent-light);
    border-radius: 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%);
    color: white;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 4px 15px rgba(255, 143, 171, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8FAB 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 143, 171, 0.5);
}

.btn-text {
    color: var(--accent-color);
    background: transparent;
    padding: 8px;
}

.btn-text:hover {
    color: #FF6B9D;
}

.btn-large {
    padding: 16px 48px;
    font-size: 17px;
}

/* 演示区域 */
.demo-section {
    padding: 40px 24px;
    background: linear-gradient(180deg, #FFF0F3 0%, var(--bg-color) 100%);
}

.demo-container {
    max-width: 400px;
    margin: 0 auto;
}

.wechat-mockup {
    background: #FFF9FB;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid #FFE4EC;
}

.wechat-header {
    background: linear-gradient(135deg, #FFE4EC 0%, #FFF0F3 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #FFE4EC;
}

.star-icon, .plus-icon {
    font-size: 18px;
    color: var(--accent-color);
}

.wechat-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.wechat-search {
    background: white;
    margin: 8px 12px;
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
    border: 1px solid #FFE4EC;
}

.search-icon {
    font-size: 14px;
}

.wechat-notice {
    background: linear-gradient(135deg, #FFF4BD 0%, #FFE4EC 100%);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.computer-icon {
    font-size: 14px;
}

.chat-list {
    background: white;
    padding: 8px 0;
}

.chat-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    transition: background 0.2s;
}

.chat-item:hover {
    background: #FFF9FB;
}

.avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #FFE4EC;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar.file-transfer,
.avatar.wechat-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, #B5E4F0 0%, #C9E4DE 100%);
    border: none;
}

.unread-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.chat-info {
    flex: 1;
    min-width: 0;
}

.chat-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ai-badge {
    font-size: 10px;
    padding: 2px 6px;
    background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%);
    color: white;
    border-radius: 6px;
    font-weight: 500;
}

.chat-preview {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-time {
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* 功能特性 */
.features {
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    padding: 6px 14px;
    background: var(--accent-light);
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.features-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    background: var(--card-bg);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.feature-card:nth-child(1) {
    border-top: 4px solid #FF8FAB;
}

.feature-card:nth-child(2) {
    border-top: 4px solid #B5E4F0;
}

.feature-card:nth-child(3) {
    border-top: 4px solid #C9E4DE;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 价格方案 */
.pricing {
    padding: 80px 24px;
    background: linear-gradient(180deg, var(--bg-color) 0%, #FFF0F3 100%);
}

.pricing-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card {
    background: var(--card-bg);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card:nth-child(1) {
    border-color: #B5E4F0;
}

.pricing-card:nth-child(2) {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F7 100%);
}

.pricing-card:nth-child(3) {
    border-color: #C9E4DE;
}

.pricing-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 12px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-color);
}

.amount {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 16px;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-yearly {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.save-badge {
    background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ */
.faq {
    padding: 80px 24px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s;
}

.faq-item:hover {
    transform: translateX(4px);
}

.faq-item:nth-child(2) {
    border-left-color: #B5E4F0;
}

.faq-item:nth-child(3) {
    border-left-color: #C9E4DE;
}

.faq-item:nth-child(4) {
    border-left-color: #FFF4BD;
}

.faq-question {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.faq-answer {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA区域 */
.cta {
    padding: 80px 24px;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F7 100%);
    padding: 48px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--accent-light);
}

.cta-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    padding: 6px 14px;
    background: var(--accent-light);
    border-radius: 20px;
    margin-bottom: 16px;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.cta-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* 页脚 */
.footer {
    padding: 48px 24px;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-color) 0%, #FFF0F3 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FF8FAB 0%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.icp {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* 响应式设计 */
@media (min-width: 768px) {
    .hero-title {
        font-size: 52px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .btn-primary {
        width: auto;
        min-width: 200px;
    }

    .features-grid,
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

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

    .cta-title {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 16px 48px;
    }

    .hero {
        padding: 100px 48px 80px;
    }

    .features,
    .pricing,
    .faq,
    .cta {
        padding: 100px 48px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中样式 */
::selection {
    background: var(--accent-light);
    color: var(--accent-color);
}
