/* === EXAMPLES-QUESTIONS.CSS === */
/* assets/css/examples-questions.css */
/* НАЗНАЧЕНИЕ: блок "Примеры вопросов и ответов" с фильтрами по сферам бизнеса */
/* РАЗМЕР: ~380 строк */

.brain-examples {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.brain-examples::before {
    content: "";
    position: absolute;
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.04), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.brain-examples::after {
    content: "";
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.04), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.brain-examples .mkt-container {
    position: relative;
    z-index: 1;
}

.brain-examples .brain-section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--electric);
    padding: 6px 14px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.04);
    margin-bottom: 20px;
}

/* Filters */
.examples-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 50px 0 40px;
}

.examples-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
    user-select: none;
    min-height: 44px;
}

.examples-filter:hover {
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.examples-filter--active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(0, 240, 255, 0.10));
    border-color: var(--gold);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.15);
}

.examples-filter__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.examples-filter__dot--sales { background: #FFD700; }
.examples-filter__dot--marketing { background: #00F0FF; }
.examples-filter__dot--finance { background: #10b981; }
.examples-filter__dot--operations { background: #a855f7; }

/* Grid */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .examples-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .examples-grid { grid-template-columns: 1fr; gap: 16px; }
    .brain-examples { padding: 60px 0; }
    .examples-filters { margin: 30px 0; }
    .examples-filter { font-size: 13px; padding: 8px 14px; }
}

/* Card */
.example-card {
    position: relative;
    padding: 22px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--border);
    transition: transform 0.4s var(--ease-out-quart), border-color 0.3s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: example-reveal 0.6s var(--ease-out-quart) forwards;
    animation-delay: var(--example-delay, 0s);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@keyframes example-reveal {
    to { opacity: 1; transform: translateY(0); }
}

.example-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.example-card.example-card--hidden {
    display: none;
}

.example-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.example-card__cat {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 4px;
}

.example-card__cat--sales {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.10);
    border: 1px solid rgba(255, 215, 0, 0.30);
}
.example-card__cat--marketing {
    color: #00F0FF;
    background: rgba(0, 240, 255, 0.10);
    border: 1px solid rgba(0, 240, 255, 0.30);
}
.example-card__cat--finance {
    color: #10b981;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.30);
}
.example-card__cat--operations {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.10);
    border: 1px solid rgba(168, 85, 247, 0.30);
}

.example-card__num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.example-card__question,
.example-card__answer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.example-card__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.example-card__avatar--user {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.example-card__avatar--brain {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(0, 240, 255, 0.15));
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--gold);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.2);
}

.example-card__q-text {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 4px 0 0 0;
}

.example-card__a-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.example-card__a-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 4px 0 0 0;
}

.example-card__a-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.example-card__sources {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 11px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    border-left: 2px solid rgba(255, 215, 0, 0.4);
}

.example-card__sources-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 1px;
    font-weight: 600;
}

.example-card__sources-text {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 11px;
}

.example-card__time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #10b981;
    margin-top: 2px;
}

/* Footer */
.examples-footer {
    margin-top: 50px;
    text-align: center;
    padding: 30px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(0, 240, 255, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.20);
}

.examples-footer__text {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 0 18px 0;
}

.examples-footer__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--gradient-text);
    color: #0a0a0a;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25);
}

.examples-footer__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.35);
}

/* Light theme */
html.light-theme .example-card {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0.01));
    border-color: rgba(0, 0, 0, 0.12);
}

html.light-theme .example-card:hover {
    border-color: rgba(184, 134, 11, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

html.light-theme .example-card__q-text {
    color: #1a1a1a;
}

html.light-theme .example-card__a-text {
    color: #4a4a4a;
}

html.light-theme .example-card__a-text strong {
    color: #1a1a1a;
}

html.light-theme .example-card__sources {
    background: rgba(0, 0, 0, 0.04);
    border-left-color: rgba(184, 134, 11, 0.5);
}

html.light-theme .example-card__sources-label {
    color: #b8860b;
}

html.light-theme .example-card__sources-text {
    color: #5a5a5a;
}

html.light-theme .example-card__avatar--user {
    background: rgba(0, 0, 0, 0.04);
    color: #5a5a5a;
}

html.light-theme .example-card__avatar--brain {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.18), rgba(14, 116, 144, 0.15));
    border-color: rgba(184, 134, 11, 0.5);
    color: #b8860b;
}

html.light-theme .examples-filter {
    background: rgba(0, 0, 0, 0.03);
    color: #5a5a5a;
}

html.light-theme .examples-filter--active {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.12), rgba(14, 116, 144, 0.10));
    border-color: #b8860b;
    color: #1a1a1a;
}

html.light-theme .brain-examples .brain-section-eyebrow {
    color: #0e7490;
    border-color: rgba(14, 116, 144, 0.4);
    background: rgba(14, 116, 144, 0.06);
}

html.light-theme .examples-footer {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.06), rgba(14, 116, 144, 0.05));
    border-color: rgba(184, 134, 11, 0.25);
}

html.light-theme .examples-footer__text {
    color: #4a4a4a;
}

@media (prefers-reduced-motion: reduce) {
    .example-card { animation: none; opacity: 1; transform: none; transition: none; }
}
