/* ============================================================
   Value Comparison Dashboard — Free vs DNA Decoder
   De-Abstraction & Blurred Reveal feature
   ============================================================ */

/* ── Section shell ─────────────────────────────────────────── */
#value-comparison {
    padding: 4rem 1.5rem;
    background: #FAF3E8;
    border-top: 1px solid #e8ddd0;
    border-bottom: 1px solid #e8ddd0;
}

.vc-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

/* ── Section header ─────────────────────────────────────────── */
.vc-eyebrow {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-oak, #A0522D);
    margin: 0 0 0.5rem;
}

.vc-heading {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--text-dark, #1A1A1A);
    line-height: 1.25;
    margin: 0 auto 2.5rem;
    max-width: 560px;
}

/* ── Two-column grid ────────────────────────────────────────── */
.vc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

/* ── Card base ──────────────────────────────────────────────── */
.vc-card {
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* Free tier card */
.vc-card--free {
    background: #FFFFFF;
    border: 2px solid #e8ddd0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Premium card */
.vc-card--premium {
    background: linear-gradient(160deg, #2C1A0E 0%, #5D3010 100%);
    border: 2px solid var(--brand-gold, #D4A574);
    box-shadow: 0 8px 32px rgba(44, 26, 14, 0.35);
}

/* ── Tier label ─────────────────────────────────────────────── */
.vc-tier-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
}

.vc-tier-label--premium {
    color: var(--brand-gold, #D4A574);
}

/* ── Recommended badge ──────────────────────────────────────── */
.vc-recommended-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--brand-gold, #D4A574);
    color: #2C1A0E;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-bottom-left-radius: 12px;
}

/* ── Card title ─────────────────────────────────────────────── */
.vc-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.2;
}

.vc-card-title--premium {
    color: #FAF8F3;
}

/* ── Card description ───────────────────────────────────────── */
.vc-card-desc {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

.vc-card-desc--premium {
    color: rgba(255, 255, 255, 0.82);
}

/* ── Feature list ───────────────────────────────────────────── */
.vc-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.vc-feature {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    line-height: 1.4;
}

.vc-feature--yes  { color: #444; }
.vc-feature--no   { color: #bbb; }
.vc-feature--gold { color: rgba(255, 255, 255, 0.9); }

/* SVG icons inside feature rows */
.vc-check,
.vc-x {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.vc-check         { color: #4CAF50; }
.vc-check--gold   { color: var(--brand-gold, #D4A574); }
.vc-x             { color: #ccc; }

/* ── CTA buttons ────────────────────────────────────────────── */
.vc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    border: none;
    transition: filter 0.18s, transform 0.18s, box-shadow 0.18s;
    margin-top: auto;
    min-height: 48px;
    text-align: center;
}

.vc-btn svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.vc-btn--free {
    background: var(--bg-warm, #FAF3E8);
    color: var(--brand-mahogany, #8B4513);
    border: 2px solid var(--brand-gold, #D4A574);
}

.vc-btn--free:hover {
    background: #f0e8d8;
    transform: translateY(-1px);
}

.vc-btn--premium {
    background: var(--brand-gold, #D4A574);
    color: #2C1A0E;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.4);
}

.vc-btn--premium:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(212, 165, 116, 0.55);
}

/* ── Subtext below premium button ───────────────────────────── */
.vc-subtext {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
}

/* ── Responsive: stack on mobile ────────────────────────────── */
@media (max-width: 640px) {
    #value-comparison { padding: 3rem 1.25rem; }

    .vc-grid {
        grid-template-columns: 1fr;
    }

    /* Premium card first on mobile — it's the recommended action */
    .vc-card--premium { order: -1; }

    .vc-heading { font-size: 1.4rem; margin: 0 auto 2rem; max-width: 100%; }
    .vc-eyebrow { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   Blurred Reveal — Locked Insight Card
   Used by DNAResultsDisplay.renderLockedInsightCard()
   ============================================================ */

.dna-locked-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--brand-gold, #D4A574);
    background: var(--bg-parchment, #FAF8F3);
    margin-bottom: 1.5rem;
}

.dna-locked-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e8ddd0;
}

.dna-locked-header h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: #2C1A0E;
    margin: 0;
}

.dna-locked-blur-body {
    padding: 1.5rem;
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

.dna-locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(
        to top,
        rgba(250, 248, 243, 0.97) 55%,
        rgba(250, 248, 243, 0.55)
    );
}

.dna-locked-icon {
    width: 48px;
    height: 48px;
    background: #2C1A0E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dna-locked-msg {
    font-size: 1rem;
    font-weight: 700;
    color: #2C1A0E;
    margin: 0;
    text-align: center;
    max-width: 320px;
    line-height: 1.4;
}

.dna-unlock-btn {
    background: var(--gradient-brand, linear-gradient(135deg, #8B4513, #A0522D));
    color: #fff;
    border: none;
    padding: 0.95rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 18px rgba(139, 69, 19, 0.35);
    transition: filter 0.18s, transform 0.18s;
    min-height: 48px;
    white-space: nowrap;
}

.dna-unlock-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}
