/* ========================================
   Hero — satu-satunya tempat gradient dipakai leluasa di halaman index,
   sesuai anti-ai-slop-checklist.md poin #1 (gradient jadi aksen langka).
   ======================================== */

.hero-section {
    position: relative;
    padding: 6rem 0 5rem;
    background: var(--bg-surface);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: var(--brand-gradient);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 147, 233, 0.08);
    color: var(--brand-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.hero-title .highlight {
    color: var(--brand-primary);
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 3rem;
}

/* Tombol .btn-outline-neutral dipindah ke css/buttons.css (.btn-kh-outline) */

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.hero-stat__number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

.hero-stat__label {
    font-size: 0.825rem;
    color: var(--text-muted);
}

/* --- Chat preview card di sisi kanan hero --- */
.hero-chat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-chat-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-chat-card__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-chat-card__title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-primary);
}

.hero-chat-card__status {
    font-size: 0.75rem;
    color: var(--success-color);
}

.hero-chat-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-bubble {
    padding: 0.7rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 85%;
}

.chat-bubble--ai {
    background: var(--bg-surface-alt);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble--user {
    background: var(--brand-primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.hero-chat-card__footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-subtle);
}
