/* ========================================
   Clawdbot 子页面专用样式
   ======================================== */

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-600);
    margin-bottom: var(--space-6);
}

.badge-icon {
    font-size: 1.2rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-10);
    padding: var(--space-6) var(--space-8);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Feature Cards */
.clawdbot-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.clawdbot-feature-card {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.clawdbot-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-size: 1.8rem;
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
}

.feature-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

.feature-insight {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(79, 156, 248, 0.08));
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.insight-icon {
    flex-shrink: 0;
}

/* Experience Section */
.clawdbot-experience {
    background: var(--white);
}

.experience-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.experience-content {
    max-width: 500px;
}

.experience-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
    margin: var(--space-6) 0;
    padding-left: var(--space-4);
    border-left: 3px solid var(--primary-500);
}

.experience-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.demo-bubble-wrapper {
    margin: var(--space-6) 0;
}

.demo-bubble {
    display: inline-block;
    padding: var(--space-4) var(--space-6);
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-2xl);
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.experience-highlight {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: var(--space-6);
}

/* Chat Demo */
.experience-visual {
    display: flex;
    justify-content: center;
}

.chat-demo {
    width: 320px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.chat-header-demo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-weight: 600;
}

.chat-avatar-demo {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-height: 400px;
    overflow-y: auto;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.chat-msg.sent {
    align-self: flex-end;
}

.chat-msg.received {
    align-self: flex-start;
}

.msg-bubble {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-msg.sent .msg-bubble {
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg.received .msg-bubble {
    background: var(--gray-100);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.step-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
}

.step-card h4 {
    margin-bottom: var(--space-3);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Status */
.cta-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #34c759;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 900px) {
    .clawdbot-features {
        grid-template-columns: 1fr;
    }

    .experience-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .experience-content {
        max-width: 100%;
        text-align: center;
    }

    .experience-quote {
        border-left: none;
        padding-left: 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }
}

@media (max-width: 600px) {
    .clawdbot-feature-card {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon-wrapper {
        margin: 0 auto;
    }

    .feature-insight {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .chat-demo {
        width: 100%;
        max-width: 320px;
    }
}
