* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4DA6FF;
    --primary-gradient: linear-gradient(135deg, #4DA6FF 0%, #3D8BFF 100%);
    --secondary-gradient: linear-gradient(135deg, #9333EA 0%, #EC4899 100%);
    --page-bg: linear-gradient(180deg, #E6F2FF 0%, #F5F9FF 100%);
    --text-primary: #333;
    --text-secondary: #666;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(77, 166, 255, 0.1);
    --shadow-sm: 0 4px 16px rgba(77, 166, 255, 0.08);
    --shadow-lg: 0 8px 32px rgba(77, 166, 255, 0.15);
    --shadow-xl: 0 20px 60px rgba(77, 166, 255, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--page-bg);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(77, 166, 255, 0.1);
    padding: 16px 0;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(77, 166, 255, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.brand-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hero {
    padding: 140px 0 100px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #4DA6FF 0%, #9333EA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-subtitle .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(77, 166, 255, 0.1);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 18px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-demo {
    width: 100%;
    max-width: 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid var(--glass-border);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.chat-title {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
}

.chat-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    display: flex;
    gap: 12px;
    animation: messageIn 0.3s ease;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-message {
    align-items: flex-start;
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.message-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
    max-width: 280px;
}

.user-message .message-content {
    background: var(--primary-gradient);
    color: white;
}

.typing-dots {
    display: inline-flex;
    gap: 4px;
}

.typing-dots::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typing 1.4s infinite 0.2s;
}

.typing .typing-dots::before {
    animation: typing 1.4s infinite 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

.ai-demo-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.5);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.demo-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-sidebar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.demo-sidebar-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.demo-questions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-question-btn {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-primary);
}

.demo-question-btn:hover {
    background: rgba(77, 166, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.demo-chat {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.demo-chat-window {
    display: flex;
    flex-direction: column;
    height: 500px;
}

.demo-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-chat-input {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.5);
}

.demo-chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: white;
}

.demo-chat-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(77, 166, 255, 0.15);
}

.demo-chat-input button {
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.demo-chat-input button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.features {
    padding: 100px 0;
}

.feature-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 60px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.feature-main-badge {
    display: inline-block;
    background: var(--secondary-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-main-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-main-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.feature-main-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.point-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.point-text {
    flex: 1;
}

.point-text strong {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
}

.point-text br + span,
.point-text br {
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-main-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-visual {
    position: relative;
    width: 280px;
    height: 280px;
}

.ai-circles {
    position: absolute;
    inset: 0;
}

.ai-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.3;
    animation: pulse 3s infinite;
}

.circle-1 {
    inset: 20px;
    animation-delay: 0s;
}

.circle-2 {
    inset: 50px;
    animation-delay: 0.5s;
}

.circle-3 {
    inset: 80px;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

.ai-center {
    position: absolute;
    inset: 100px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 1;
}

.ai-icon {
    font-size: 48px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card-large {
    grid-column: span 2;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    padding: 6px 14px;
    background: rgba(77, 166, 255, 0.1);
    color: var(--primary-color);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
}

.how-it-works {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.5);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 40px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

.download {
    padding: 100px 0;
}

.download-content {
    text-align: center;
}

.download-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.download-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 32px;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 220px;
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.download-btn.android:hover {
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.1) 0%, rgba(61, 139, 255, 0.1) 100%);
}

.download-btn.ios:hover {
    background: linear-gradient(135deg, rgba(100, 100, 100, 0.1) 0%, rgba(50, 50, 50, 0.1) 100%);
}

.download-icon {
    font-size: 40px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-platform {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.download-hint {
    font-size: 13px;
    color: var(--text-secondary);
}

.download-note {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer {
    background: rgba(255, 255, 255, 0.9);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(77, 166, 255, 0.1);
}

.footer-content {
    text-align: center;
    margin-bottom: 32px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .feature-main {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card-large {
        grid-column: span 2;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .demo-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card-large {
        grid-column: span 1;
    }
    
    .feature-main {
        padding: 32px 24px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .demo-chat-window {
        height: 450px;
    }
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
