/* ===================================================================
   Diagnostic Radar – Layout & Visual Styles
   =================================================================== */

.axion-diagnostic-radar {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -----------------------------------------------------------------------
   Radar Rings
   ----------------------------------------------------------------------- */
.dr-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dr-ring {
    position: absolute;
    border-radius: 9999px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.dark .dr-ring {
    border-color: rgba(59, 130, 246, 0.4);
}

/* -----------------------------------------------------------------------
   Scanning Line
   ----------------------------------------------------------------------- */
.dr-scan-line-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dr-scan-line {
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, transparent, #3b82f6);
    transform-origin: right center;
}

/* -----------------------------------------------------------------------
   Center Core
   ----------------------------------------------------------------------- */
.dr-center {
    position: relative;
    z-index: 10;
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    background: white;
    border: 2px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.dark .dr-center { background: black; }

.dr-center-inner {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #2d69fb 0%, #d278fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dr-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

/* -----------------------------------------------------------------------
   Data Points
   ----------------------------------------------------------------------- */
.dr-data-points {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
}

.dr-data-point {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
}

.dr-dp-readiness  { top: 10%; left: 20%; }
.dr-dp-integrity  { top: 25%; right: 5%; }
.dr-dp-structure  { bottom: 15%; left: 10%; }
.dr-dp-balance    { bottom: 30%; right: 15%; }

.dr-dp-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    flex-shrink: 0;
}

.dr-dot-blue      { background: #3b82f6; }
.dr-dot-purple    { background: #a855f7; }
.dr-dot-emerald   { background: #10b981; }
.dr-dot-lightblue { background: #60a5fa; }

.dr-dp-label {
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    color: #334155;
}

.dark .dr-dp-label {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.8);
    color: #e2e8f0;
}

/* -----------------------------------------------------------------------
   Responsive – Tablet
   ----------------------------------------------------------------------- */
@media (max-width: 768px) {
    .dr-center {
        width: 4rem;
        height: 4rem;
    }
    .dr-center-inner {
        width: 2.5rem;
        height: 2.5rem;
    }
    .dr-icon {
        width: 1.2rem;
        height: 1.2rem;
    }
    .dr-dp-label {
        font-size: 8px;
        padding: 0.25rem 0.5rem;
        letter-spacing: 0.25em;
    }
}

/* -----------------------------------------------------------------------
   Responsive – Mobile
   ----------------------------------------------------------------------- */
@media (max-width: 480px) {
    .dr-center {
        width: 3.5rem;
        height: 3.5rem;
    }
    .dr-center-inner {
        width: 2rem;
        height: 2rem;
    }
    .dr-icon {
        width: 1rem;
        height: 1rem;
    }
    .dr-dp-label {
        font-size: 7px;
        padding: 0.2rem 0.4rem;
        letter-spacing: 0.15em;
    }
    .dr-dp-dot {
        width: 0.35rem;
        height: 0.35rem;
    }
    .dr-dp-readiness  { top: 8%; left: 5%; }
    .dr-dp-integrity  { top: 20%; right: 2%; }
    .dr-dp-structure  { bottom: 10%; left: 2%; }
    .dr-dp-balance    { bottom: 22%; right: 5%; }
}
