/* ========================================
   Two Me 官网样式
   主色: #47C4AF | 简约亲和 | 白底为主
   ======================================== */

/* --- CSS Variables --- */
:root {
    --primary: #47C4AF;
    --primary-hover: #3BAE9A;
    --primary-light: #EDF9F6;
    --primary-pale: #D1F0E9;
    --bg-white: #FFFFFF;
    --bg-gray: #F7F8FA;
    --text-primary: #1A1A2E;
    --text-secondary: #5A6070;
    --text-muted: #9CA3AF;
    --border: #E8ECF0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg-white);
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }

img { max-width: 100%; height: auto; }

ul { list-style: none; }

/* --- Container --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section --- */
.section {
    padding: 100px 0;
}

.section-gray { background: var(--bg-gray); }

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 56px;
}

.text-left { text-align: left !important; }
.text-primary { color: var(--primary); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(71,196,175,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-btn {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
}
.nav-btn:hover {
    background: var(--primary-hover) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* --- Hero --- */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-white);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
/* --- Phone Mockup --- */
.phone-mockup {
    width: 280px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 32px;
    border: 3px solid var(--border);
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    border-radius: 22px;
    overflow: hidden;
    background: #FAFBFC;
}

.mock-chat { padding: 0; }

.mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.mock-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-pale);
}

.mock-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.mock-messages { padding: 16px 12px; }

.mock-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.mock-msg-user {
    background: var(--primary);
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.mock-msg-ai {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-pale);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    padding: 12px;
    color: var(--primary);
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Split Layout --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.check-list {
    margin-top: 24px;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

/* --- Chat Demo --- */
.chat-demo {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.chat-demo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #FAFBFC;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.chat-demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.chat-demo-body { padding: 20px; }

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.chat-bubble-user {
    background: var(--primary);
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-bubble-ai {
    background: #F0F2F5;
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-bubble-group {
    background: #F0F2F5;
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

/* --- Knowledge --- */
.knowledge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.knowledge-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.knowledge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.knowledge-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: var(--primary);
    color: #fff;
    margin-bottom: 20px;
}

.tag-enterprise {
    background: var(--text-primary);
}

.knowledge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    padding: 12px;
    color: var(--primary);
    margin-bottom: 20px;
}

.knowledge-icon svg { width: 24px; height: 24px; }

.knowledge-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.knowledge-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.knowledge-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}
/* --- MCP Visual --- */
.mcp-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 340px;
    margin: 0 auto 48px;
}

.mcp-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.mcp-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.mcp-center span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.mcp-nodes {
    position: absolute;
    inset: 0;
}

.mcp-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mcp-node svg {
    width: 32px;
    height: 32px;
    padding: 6px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--primary);
    transition: all 0.3s;
}

.mcp-node:hover svg {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(71,196,175,0.2);
}

.mcp-node span {
    font-size: 12px;
    color: var(--text-muted);
}

.mcp-node-1 { top: 5%; left: 12%; }
.mcp-node-2 { top: 5%; right: 12%; }
.mcp-node-3 { top: 45%; left: 0; }
.mcp-node-4 { top: 45%; right: 0; }
.mcp-node-5 { bottom: 5%; left: 20%; }
.mcp-node-6 { bottom: 5%; right: 20%; }

.mcp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.mcp-feature { padding: 24px; }

.mcp-feature-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    padding: 10px;
    color: var(--primary);
}

.mcp-feature-icon svg { width: 22px; height: 22px; }

.mcp-feature h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.mcp-feature p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- Fusion Timeline --- */
.fusion-timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.fusion-track {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    position: relative;
    margin-bottom: 40px;
}

.fusion-progress {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 1.5s ease;
}

.fusion-stages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fusion-stage { text-align: center; }

.fusion-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--border);
    margin: 0 auto 16px;
    transition: all 0.5s ease;
}

.fusion-dot.active,
.fusion-dot.lit {
    background: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.fusion-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.fusion-score {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.fusion-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Security --- */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.security-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.security-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    padding: 12px;
    color: var(--primary);
}

.security-icon svg { width: 24px; height: 24px; }

.security-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.security-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- CTA --- */
.section-cta {
    background: var(--primary-light);
    text-align: center;
    padding: 80px 0;
}

.cta-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Footer --- */
.footer {
    background: var(--text-primary);
    color: #C8CCD4;
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    color: #8B90A0;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: #8B90A0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #5A5F70;
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 36px; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: -1; }
    .phone-mockup { width: 240px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    .split-reverse { direction: ltr; }
    .section-title.text-left, .section-subtitle.text-left { text-align: center !important; }
    .check-list { max-width: 400px; margin: 24px auto 0; }
    .knowledge-grid { grid-template-columns: 1fr; }
    .mcp-visual { height: 280px; }
    .mcp-features { grid-template-columns: 1fr; gap: 16px; }
    .fusion-stages { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .fusion-track { display: none; }
    .security-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .section-title { font-size: 26px; }
    .section-subtitle { font-size: 15px; margin-bottom: 40px; }
    .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
    .hero-title { font-size: 30px; }
    .hero-subtitle { font-size: 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .mcp-visual { height: 240px; }
    .mcp-node svg { width: 28px; height: 28px; }
    .mcp-node span { font-size: 11px; }
    .fusion-stages { grid-template-columns: 1fr; }
    .footer-links { gap: 40px; }
    .cta-title { font-size: 26px; }
}
