:root {
    --primary: #6366f1;
}
.hero {
    padding: 4rem 0;
}
.section {
    padding: 4rem 0;
}
.feature-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.nav-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}
.code-block {
    background-color: #0f172a;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.875rem;
    position: relative;
}

.codeComment {
    color: #777;
}

.demo-chat {
    height: 420px;
    overflow-y: auto;
    background: #0f172a;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.chat-bubble {
    max-width: 80%;
    padding: 0.65rem 1rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
}
.chat-bubble.user {
    background: #6366f1;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-bubble.bot {
    background: #334155;
    color: #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-meta {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 0.15rem;
}
.stat-badge {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-weight: 600;
}
.tip-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1e7ff;
    color: #6366f1;
    border-radius: 50%;
    flex-shrink: 0;
}
.footer {
    background: #0f172a;
    color: #94a3b8;
}
.nav-link.active {
    color: var(--primary) !important;
    font-weight: 500;
}
.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0.85;
}
.metric {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}