/* ═══ DISTRIBUTION SECTION ═══ */
.distribution-section {
    padding: 6rem 5%;
    background-color: #FAFAFB;
    text-align: center;
}

.distribution-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.distribution-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2D2D35;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.distribution-subtitle {
    font-size: 1rem;
    color: #8C8C94;
    margin-bottom: 4rem;
    line-height: 1.6;
    max-width: 800px;
    margin-inline: auto;
}

.distribution-visual {
    position: relative;
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
    background-color: #fff;
}

.distribution-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.distribution-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 100%);
    pointer-events: none;
}

.distribution-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.distribution-rings-svg {
    width: 100%;
    height: 100%;
}

.floating-chips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
}

/* Individual Chip */
.chip {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -12px;
    }
}

.chip-icon-box {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);
}

.chip-icon-inner {
    background: #50505A; /* Darker blue/grey */
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
}

.chip-icon-inner .material-icons {
    font-size: 18px;
}

.chip-label {
    background: rgba(240, 240, 245, 0.85); /* Very light grey blurred background overlay */
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #333333;
    backdrop-filter: blur(8px);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

/* Chip Adjustments based on the mockup */
/* 7 Chips Positions */
.chip-feature { top: 40%; left: 25%; transform: translate(-50%, -50%); animation-delay: 0s; }
.chip-payments { top: 40%; left: 75%; transform: translate(-50%, -50%); animation-delay: 1.2s; }
.chip-usage { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 2.5s; }
.chip-billing { top: 60%; left: 35%; transform: translate(-50%, -50%); animation-delay: 0.8s; }
.chip-revenue { top: 60%; left: 68%; transform: translate(-50%, -50%); animation-delay: 3.1s; }
.chip-quotes { top: 70%; left: 20%; transform: translate(-50%, -50%); animation-delay: 1.7s; }
.chip-sales { top: 72%; left: 85%; transform: translate(-50%, -50%); animation-delay: 0.4s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .distribution-title {
        font-size: 2rem;
    }
    .distribution-subtitle {
        font-size: 0.875rem;
        margin-bottom: 2rem;
    }
    .chip {
        transform: scale(0.7) translate(-50%, -50%);
        transform-origin: top left;
    }
}

/* ═══ DARK MODE SUPPORT ═══ */
[data-theme="dark"] .distribution-section {
    background-color: var(--bg-color); /* Matches deep black */
}

[data-theme="dark"] .distribution-title {
    color: var(--text-color);
}

[data-theme="dark"] .distribution-subtitle {
    color: var(--text-muted);
}

[data-theme="dark"] .distribution-visual {
    background-color: var(--card-bg); /* Dark gray card background */
}

[data-theme="dark"] .distribution-image-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(23, 23, 23, 0) 0%, rgba(23, 23, 23, 0.8) 100%);
}

[data-theme="dark"] .chip-icon-box {
    background: #2A2A2A;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.4), 0px 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .chip-icon-inner {
    background: #404040;
}

[data-theme="dark"] .chip-label {
    background: rgba(30, 30, 30, 0.85);
    color: var(--text-color);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
}
