/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--border2); }
.card-grid {
    display: grid;
    gap: 16px;
}
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* ============================================================
   BADGE
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--f-head);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}
.badge-green { background: var(--bg-badge); color: var(--success); }
.badge-amber { background: var(--observe-l); color: var(--warning); }
.badge-blue { background: var(--learn-l); color: var(--info); }
.badge-purple { background: var(--explore-l); color: var(--explore); }

/* ============================================================
   QUOTE BOX
   ============================================================ */
.quote-box {
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    background: var(--accent-l);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 20px 0;
}
.quote-box p {
    font-size: 15px;
    color: var(--txt2);
    line-height: 1.7;
    font-style: italic;
}
.quote-box strong {
    color: var(--accent);
    font-style: normal;
}

/* ============================================================
   KNOWLEDGE OBJECT CARDS
   ============================================================ */
.ko-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.ko-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.ko-card .ko-type {
    font-family: var(--f-head);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 4px;
}
.ko-card .ko-title {
    font-family: var(--f-head);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}
.ko-card .ko-desc {
    font-size: 14px;
    color: var(--txt2);
    line-height: 1.5;
}
.ko-card .ko-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ko-card .ko-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    background: var(--bg-code);
    color: var(--txt3);
}
.ko-card .ko-badge.accent {
    background: var(--accent-l);
    color: var(--accent);
}

/* ============================================================
   IS / NOT LIST
   ============================================================ */
.is-not-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}
@media (max-width: 600px) {
    .is-not-list { grid-template-columns: 1fr; }
}
.is-list, .not-list {
    padding: 16px 20px;
    border-radius: var(--radius);
}
.is-list {
    background: rgba(5, 150, 105, 0.06);
    border: 1px solid rgba(5, 150, 105, 0.15);
}
.not-list {
    background: rgba(220, 38, 38, 0.04);
    border: 1px solid rgba(220, 38, 38, 0.1);
}
.is-list h4 {
    color: var(--success);
    font-family: var(--f-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.not-list h4 {
    color: var(--danger);
    font-family: var(--f-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.is-list li, .not-list li {
    font-family: var(--f-head);
    font-size: 13px;
    padding: 3px 0;
    list-style: none;
}
.is-list li::before { content: '✓ '; color: var(--success); }
.not-list li::before { content: '✗ '; color: var(--danger); }

.stagger-in > * {
    opacity: 0;
    animation: fadeIn 0.45s ease forwards;
}
.stagger-in > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-in > *:nth-child(2) { animation-delay: 0.10s; }
.stagger-in > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-in > *:nth-child(4) { animation-delay: 0.20s; }
.stagger-in > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-in > *:nth-child(6) { animation-delay: 0.30s; }