/* === MODULE 4: TEAM DNA STYLES (UPDATED) === */

.dna-block {
    margin-bottom: 100px;
}

/* Card Container */
.dna-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.dna-header {
    background: #0f172a;
    padding: 12px 20px;
    border-bottom: 1px solid #334155;
    font-size: 0.8rem; font-weight: 700; color: #94a3b8;
    display: flex; align-items: center; gap: 8px; letter-spacing: 1px;
}
.dna-header .icon { color: #a855f7; }

/* Body Layout */
.dna-body {
    display: flex;
    flex-direction: row;
    min-height: 320px; /* Ensure height consistency */
}

/* --- Left: Chart Column --- */
.dna-chart-col {
    flex: 1;
    padding: 30px;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.dna-svg { width: 100%; max-width: 260px; overflow: visible; }

.d-grid { fill: none; stroke: #334155; stroke-width: 1; stroke-dasharray: 4 2; opacity: 0.5; }
.d-axis { stroke: #334155; stroke-width: 1; opacity: 0.5; }

/* DNA Shape (Purple) */
.shape-team-dna {
    fill: rgba(168, 85, 247, 0.25);
    stroke: #a855f7;
    stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
    animation: dnaPulse 4s infinite alternate;
}
@keyframes dnaPulse {
    0% { opacity: 0.8; transform: scale(0.98); transform-origin: center; }
    100% { opacity: 1; transform: scale(1.02); transform-origin: center; }
}

.d-dot { fill: #1e293b; stroke: #a855f7; stroke-width: 2; }

.d-lbl { 
    font-size: 10px; fill: #64748b; font-weight: 700; 
    text-anchor: middle; dominant-baseline: middle;
}
.d-lbl.top { fill: #a855f7; font-weight: 800; } /* Highlight key stat */


/* --- Right: Info Column --- */
.dna-info-col {
    flex: 1.3;
    padding: 35px; /* Більше відступів */
    display: flex; flex-direction: column; 
    justify-content: flex-start; /* Align top */
}

/* Archetype Title */
.archetype-header {
    margin-bottom: 30px;
}
.arch-sub {
    display: block; font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px; font-weight: 600;
}
.arch-title {
    font-size: 1.2rem; font-weight: 800; color: #fff; line-height: 1.1; margin: 0;
}
.fire-icon { color: #f97316; }

/* Analysis Stack (Full Width) */
.analysis-stack {
    display: flex;
    flex-direction: column; /* Stack vertically */
    gap: 15px;
    width: 100%;
    margin-bottom: 30px;
}

.analysis-box {
    padding: 15px; 
    border-radius: 8px; 
    width: 100%; /* Force full width */
}

.analysis-box.strength {
    background: rgba(34, 197, 94, 0.08); 
    border-left: 3px solid #4ade80;
}
.analysis-box.risk {
    background: rgba(239, 68, 68, 0.08); 
    border-left: 3px solid #f87171;
}

.ab-head {
    font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; font-size: 0.75rem; letter-spacing: 0.5px;
}
.strength .ab-head { color: #4ade80; }
.risk .ab-head { color: #f87171; }

.analysis-box p { 
    margin: 0; color: #e2e8f0; line-height: 1.5; font-size: 0.9rem;
}


/* Abench Advice */
.abench-advice {
    margin-top: auto; /* Push to bottom */
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.aa-head {
    font-size: 0.75rem; color: #facc15; font-weight: 800; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}
.abench-advice p {
    font-size: 0.95rem; color: #fff; font-style: italic; margin: 0; line-height: 1.4;
}


/* Responsive */
@media (max-width: 900px) {
    .dna-body { flex-direction: column; }
    .dna-chart-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 20px; }
    .dna-info-col { padding: 25px; }
    .analysis-box { width: 100%; }
}