/* ── Honest Story Section ───────────────────────────────────── */
.honest-story { padding: 80px 0; }

.founder-note {
    max-width: 760px;
    margin: 3rem auto;
    background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.06) 100%);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.founder-note__quotemark {
    font-size: 5rem;
    line-height: 1;
    color: rgba(99,102,241,0.3);
    font-family: Georgia, serif;
    margin-bottom: -1rem;
}

.founder-note p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
}

.founder-note__sig {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.founder-note__avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.founder-note__name { font-weight: 600; font-size: 0.95rem; }
.founder-note__role { color: var(--text-secondary); font-size: 0.82rem; }

[data-theme="light"] .founder-note {
    background: linear-gradient(135deg, rgba(99,102,241,0.05) 0%, rgba(139,92,246,0.04) 100%);
    border-color: rgba(99,102,241,0.2);
}

/* ── Before / After Table ────────────────────────────────────── */
.before-after {
    background: var(--bg-layer-1, rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.ba-header { text-align: center; margin-bottom: 2rem; }
.ba-header h3 { font-size: 1.3rem; font-weight: 700; }

.ba-table-wrap {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    overflow-x: auto;
}

.ba-col {
    flex: 1;
    min-width: 280px;
}

.ba-arrow {
    font-size: 2rem;
    color: #6366f1;
    display: flex;
    align-items: center;
    padding-top: 50px;
    flex-shrink: 0;
    font-weight: 700;
}

.ba-col-label {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px 8px 0 0;
    text-align: center;
}
.ba-col-label--before { background: rgba(239,68,68,0.15); color: #ef4444; }
.ba-col-label--after  { background: rgba(16,185,129,0.15); color: #10b981; }

.ba-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.2fr 80px;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: default;
    transition: background 0.15s;
}
.ba-row:hover { background: rgba(255,255,255,0.04); }

.ba-row--header {
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255,255,255,0.04);
}

.ba-row--bad  { opacity: 0.65; }
.ba-row--warn { opacity: 0.8; }
.ba-row--good { }

.ba-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
    text-align: center;
}
.ba-badge--red    { background: rgba(239,68,68,0.15); color: #ef4444; }
.ba-badge--yellow { background: rgba(245,158,11,0.15); color: #f59e0b; }
.ba-badge--green  { background: rgba(16,185,129,0.15); color: #10b981; }

.ba-summary {
    font-size: 0.82rem;
    padding: 10px 12px;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
}
.ba-summary--before { background: rgba(239,68,68,0.08); color: #ef4444; }
.ba-summary--after  { background: rgba(16,185,129,0.08); color: #10b981; }

.ba-footnote {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 1.5rem;
    font-style: italic;
}

[data-theme="light"] .before-after {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .ba-row:hover { background: rgba(0,0,0,0.03); }
[data-theme="light"] .ba-row--header { background: rgba(0,0,0,0.04); }

/* ── Honest Stats Row ────────────────────────────────────────── */
.honest-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.hs-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    transition: border-color 0.2s, transform 0.2s;
}
.hs-item:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-2px);
}

.hs-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.hs-num  { font-size: 1.4rem; font-weight: 800; color: var(--text-primary); }
.hs-label{ font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; line-height: 1.4; }

[data-theme="light"] .hs-item { background: #fff; border-color: rgba(0,0,0,0.07); }

@media (max-width: 900px) {
    .honest-stats { grid-template-columns: repeat(2, 1fr); }
    .ba-table-wrap { flex-direction: column; }
    .ba-arrow { display: none; }
}
@media (max-width: 600px) {
    .honest-stats { grid-template-columns: 1fr; }
    .ba-row { grid-template-columns: 1fr 1.2fr 70px; }
    .ba-row span:nth-child(3) { display: none; }
}

/* ── CSV Comedy Strip ────────────────────────────────────────── */
.csv-comedy { padding: 60px 0; }

.comedy-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0;
    overflow-x: auto;
}

.cs-panel {
    flex: 1;
    min-width: 180px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}
.cs-panel:hover { transform: translateY(-3px); border-color: rgba(99,102,241,0.3); }

.cs-panel--highlight {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.1));
    border-color: rgba(99,102,241,0.4);
}

.cs-emoji { font-size: 2.8rem; margin-bottom: 0.8rem; }

.cs-caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.cs-panel--highlight .cs-caption { color: var(--text-primary); }

.cs-caption code {
    background: rgba(255,255,255,0.08);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.82rem;
}

.cs-arrow {
    font-size: 1.4rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

[data-theme="light"] .cs-panel { background: #fff; border-color: rgba(0,0,0,0.07); }
[data-theme="light"] .cs-panel--highlight { background: rgba(99,102,241,0.07); }
[data-theme="light"] .cs-caption code { background: rgba(0,0,0,0.07); }

@media (max-width: 768px) {
    .comedy-strip {
        flex-direction: column;
        align-items: stretch;
    }
    .cs-arrow { transform: rotate(90deg); text-align: center; }
    .cs-panel { min-width: auto; }
}
