/* ================================================
   POSH PUPPIES - HUB-SPOKE SYSTEM & CHARTS
   ================================================ */

/* HUB-SPOKE VISUALIZATION */
.hub-spoke-system {
    margin: 48px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(250, 248, 245, 0.6), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(107, 142, 78, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(44, 66, 81, 0.08);
}

.hub-spoke-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 0 auto;
}

/* CENTRAL HUB */
.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #6B8E4E, #7FA05E);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(107, 142, 78, 0.35);
    z-index: 10;
    border: 4px solid #FFFFFF;
}

.hub-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-icon i {
    font-size: 28px;
    color: #FFFFFF;
    animation: hubRotate 3s linear infinite;
}

@keyframes hubRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.central-hub h6 {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.central-hub p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

/* SPOKES */
.spoke {
    position: absolute;
}

/* Spoke Positions */
.spoke-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.spoke-left {
    bottom: 0;
    left: 0;
}

.spoke-right {
    bottom: 0;
    right: 0;
}

/* SPOKE CONNECTORS (LINES) */
.spoke-connector {
    position: absolute;
    background: linear-gradient(135deg, rgba(107, 142, 78, 0.4), rgba(107, 142, 78, 0.15));
    z-index: 1;
}

.spoke-top .spoke-connector {
    width: 3px;
    height: 130px;
    left: 50%;
    top: 150px;
    transform: translateX(-50%);
}

.spoke-left .spoke-connector {
    width: 200px;
    height: 3px;
    right: -10px;
    top: 80px;
    transform: rotate(-45deg);
    transform-origin: right center;
}

.spoke-right .spoke-connector {
    width: 200px;
    height: 3px;
    left: -10px;
    top: 80px;
    transform: rotate(45deg);
    transform-origin: left center;
}

/* SPOKE CARDS */
.spoke-card {
    background: #FFFFFF;
    border: 2px solid rgba(107, 142, 78, 0.2);
    border-radius: 12px;
    padding: 20px;
    width: 240px;
    box-shadow: 0 4px 16px rgba(44, 66, 81, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.spoke-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(107, 142, 78, 0.18);
    border-color: rgba(107, 142, 78, 0.4);
}

.spoke-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: linear-gradient(135deg, #6B8E4E, #7FA05E);
    color: #FFFFFF;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.spoke-card h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2C4251;
    margin: 0 0 12px 0;
}

.spoke-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spoke-card li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5A6C7A;
    padding: 6px 0 6px 20px;
    position: relative;
}

.spoke-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6B8E4E;
    font-weight: 700;
}

/* RESPONSIVE DESIGN */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .hub-spoke-container {
        height: auto;
        padding: 40px 20px;
    }
    
    .central-hub {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto 40px;
        width: 160px;
        height: 160px;
    }
    
    .hub-icon {
        width: 48px;
        height: 48px;
    }
    
    .hub-icon i {
        font-size: 24px;
    }
    
    .central-hub h6 {
        font-size: 1.1rem;
    }
    
    .spoke {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin-bottom: 24px;
    }
    
    .spoke-connector {
        display: none;
    }
    
    .spoke-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .hub-spoke-system {
        padding: 24px 20px;
        margin: 32px 0;
    }
    
    .hub-spoke-container {
        padding: 20px 0;
    }
    
    .central-hub {
        width: 140px;
        height: 140px;
        margin-bottom: 32px;
        padding: 16px;
    }
    
    .hub-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 8px;
    }
    
    .hub-icon i {
        font-size: 20px;
    }
    
    .central-hub h6 {
        font-size: 1rem;
    }
    
    .central-hub p {
        font-size: 0.8rem;
    }
    
    .spoke {
        margin-bottom: 16px;
    }
    
    .spoke-card {
        padding: 16px;
    }
    
    .spoke-number {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .spoke-card h6 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .spoke-card li {
        font-size: 0.85rem;
        padding: 4px 0 4px 18px;
    }
}

/* POSH PUPPIES USES SENDIFY'S DUAL CHART CONTAINER */
/* (Already defined in sendify-enhancements.css) */

/* Additional Posh-specific chart styles if needed */
.posh-chart-emphasis {
    border-left: 4px solid #6B8E4E;
}
